Searched refs:qe_pin (Results 1 – 3 of 3) sorted by relevance
141 struct qe_pin { struct161 struct qe_pin *qe_pin; in qe_pin_request() local167 qe_pin = kzalloc(sizeof(*qe_pin), GFP_KERNEL); in qe_pin_request()168 if (!qe_pin) { in qe_pin_request()195 qe_pin->num = err; in qe_pin_request()204 return qe_pin; in qe_pin_request()206 kfree(qe_pin); in qe_pin_request()220 void qe_pin_free(struct qe_pin *qe_pin) in qe_pin_free() argument230 kfree(qe_pin); in qe_pin_free()242 void qe_pin_set_dedicated(struct qe_pin *qe_pin) in qe_pin_set_dedicated() argument[all …]
175 struct qe_pin;177 extern struct qe_pin *qe_pin_request(struct device_node *np, int index);178 extern void qe_pin_free(struct qe_pin *qe_pin);179 extern void qe_pin_set_gpio(struct qe_pin *qe_pin);180 extern void qe_pin_set_dedicated(struct qe_pin *pin);182 static inline struct qe_pin *qe_pin_request(struct device_node *np, int index) in qe_pin_request()186 static inline void qe_pin_free(struct qe_pin *qe_pin) {} in qe_pin_free() argument187 static inline void qe_pin_set_gpio(struct qe_pin *qe_pin) {} in qe_pin_set_gpio() argument188 static inline void qe_pin_set_dedicated(struct qe_pin *pin) {} in qe_pin_set_dedicated()
244 struct qe_pin *pins[NUM_PINS];
Completed in 15 milliseconds