Home
last modified time | relevance | path

Searched refs:sw (Results 1 – 8 of 8) sorted by relevance

/include/linux/usb/
A Drole.h16 typedef int (*usb_role_switch_set_t)(struct usb_role_switch *sw,
18 typedef enum usb_role (*usb_role_switch_get_t)(struct usb_role_switch *sw);
52 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role);
53 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw);
56 void usb_role_switch_put(struct usb_role_switch *sw);
64 void usb_role_switch_unregister(struct usb_role_switch *sw);
66 void usb_role_switch_set_drvdata(struct usb_role_switch *sw, void *data);
67 void *usb_role_switch_get_drvdata(struct usb_role_switch *sw);
70 static inline int usb_role_switch_set_role(struct usb_role_switch *sw, in usb_role_switch_set_role() argument
92 static inline void usb_role_switch_put(struct usb_role_switch *sw) { } in usb_role_switch_put() argument
[all …]
A Dtypec_mux.h17 typedef int (*typec_switch_set_fn_t)(struct typec_switch_dev *sw,
28 void typec_switch_put(struct typec_switch *sw);
29 int typec_switch_set(struct typec_switch *sw,
40 void typec_switch_unregister(struct typec_switch_dev *sw);
42 void typec_switch_set_drvdata(struct typec_switch_dev *sw, void *data);
43 void *typec_switch_get_drvdata(struct typec_switch_dev *sw);
/include/linux/
A Drfkill.h224 void rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw);
303 static inline void rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw) in rfkill_set_states() argument
A Dconsole.h144 int do_take_over_console(const struct consw *sw, int first, int last, int deflt);
145 void give_up_console(const struct consw *sw);
A Dinput.h183 unsigned long sw[BITS_TO_LONGS(SW_CNT)]; member
/include/linux/input/
A Dsparse-keymap.h41 } sw; member
/include/scsi/
A Dlibsas.h206 static inline void INIT_SAS_WORK(struct sas_work *sw, void (*fn)(struct work_struct *)) in INIT_SAS_WORK() argument
208 INIT_WORK(&sw->work, fn); in INIT_SAS_WORK()
209 INIT_LIST_HEAD(&sw->drain_node); in INIT_SAS_WORK()
/include/net/
A Dtls.h305 struct tls_sw_context_rx sw; member

Completed in 24 milliseconds