Searched refs:qe_pin (Results 1 – 3 of 3) sorted by relevance
141 struct qe_pin { struct159 struct qe_pin *qe_pin_request(struct device_node *np, int index) in qe_pin_request()161 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()194 qe_pin->controller = qe_gc; 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() argument[all …]
177 struct qe_pin;179 extern struct qe_pin *qe_pin_request(struct device_node *np, int index);180 extern void qe_pin_free(struct qe_pin *qe_pin);181 extern void qe_pin_set_gpio(struct qe_pin *qe_pin);182 extern void qe_pin_set_dedicated(struct qe_pin *pin);184 static inline struct qe_pin *qe_pin_request(struct device_node *np, int index) in qe_pin_request()188 static inline void qe_pin_free(struct qe_pin *qe_pin) {} in qe_pin_free() argument189 static inline void qe_pin_set_gpio(struct qe_pin *qe_pin) {} in qe_pin_set_gpio() argument190 static inline void qe_pin_set_dedicated(struct qe_pin *pin) {} in qe_pin_set_dedicated()
244 struct qe_pin *pins[NUM_PINS];