Home
last modified time | relevance | path

Searched defs:ctrl (Results 1 – 25 of 2216) sorted by relevance

12345678910>>...89

/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dpciehp_hpc.c48 static inline struct pci_dev *ctrl_dev(struct controller *ctrl) in ctrl_dev()
57 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq()
77 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq()
85 static int pcie_poll_cmd(struct controller *ctrl, int timeout) in pcie_poll_cmd()
109 static void pcie_wait_cmd(struct controller *ctrl) in pcie_wait_cmd()
154 static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, in pcie_do_write_cmd()
210 static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd()
216 static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd_nowait()
232 int pciehp_check_link_active(struct controller *ctrl) in pciehp_check_link_active()
288 int pciehp_check_link_status(struct controller *ctrl) in pciehp_check_link_status()
[all …]
Dpciehp_ctrl.c31 static void set_slot_off(struct controller *ctrl) in set_slot_off()
59 static int board_added(struct controller *ctrl) in board_added()
109 static void remove_board(struct controller *ctrl, bool safe_removal) in remove_board()
135 void pciehp_request(struct controller *ctrl, int action) in pciehp_request()
144 struct controller *ctrl = container_of(work, struct controller, in pciehp_queue_pushbutton_work() local
161 void pciehp_handle_button_press(struct controller *ctrl) in pciehp_handle_button_press()
210 void pciehp_handle_disable_request(struct controller *ctrl) in pciehp_handle_disable_request()
225 void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events) in pciehp_handle_presence_or_link_change()
284 static int __pciehp_enable_slot(struct controller *ctrl) in __pciehp_enable_slot()
309 static int pciehp_enable_slot(struct controller *ctrl) in pciehp_enable_slot()
[all …]
Dpciehp_core.c50 static int init_slot(struct controller *ctrl) in init_slot()
89 static void cleanup_slot(struct controller *ctrl) in cleanup_slot()
102 struct controller *ctrl = to_ctrl(hotplug_slot); in set_attention_status() local
118 struct controller *ctrl = to_ctrl(hotplug_slot); in get_power_status() local
129 struct controller *ctrl = to_ctrl(hotplug_slot); in get_latch_status() local
140 struct controller *ctrl = to_ctrl(hotplug_slot); in get_adapter_status() local
165 static void pciehp_check_presence(struct controller *ctrl) in pciehp_check_presence()
186 struct controller *ctrl; in pciehp_probe() local
245 struct controller *ctrl = get_service_data(dev); in pciehp_remove() local
288 struct controller *ctrl = get_service_data(dev); in pciehp_resume_noirq() local
[all …]
Dpciehp.h35 #define ctrl_dbg(ctrl, format, arg...) \ argument
37 #define ctrl_err(ctrl, format, arg...) \ argument
39 #define ctrl_info(ctrl, format, arg...) \ argument
41 #define ctrl_warn(ctrl, format, arg...) \ argument
146 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) argument
147 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) argument
148 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) argument
149 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) argument
150 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) argument
151 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS) argument
[all …]
Dshpchp_ctrl.c45 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) in shpchp_handle_attention_button()
68 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_switch_change()
106 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_presence_change()
141 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) in shpchp_handle_power_fault()
178 static int change_bus_speed(struct controller *ctrl, struct slot *p_slot, in change_bus_speed()
193 static int fix_bus_speed(struct controller *ctrl, struct slot *pslot, in fix_bus_speed()
235 struct controller *ctrl = p_slot->ctrl; in board_added() local
339 struct controller *ctrl = p_slot->ctrl; in remove_board() local
461 struct controller *ctrl = p_slot->ctrl; in handle_button_press_event() local
546 struct controller *ctrl = p_slot->ctrl; in shpchp_enable_slot() local
[all …]
Dshpchp_hpc.c172 static inline u8 shpc_readb(struct controller *ctrl, int reg) in shpc_readb()
177 static inline void shpc_writeb(struct controller *ctrl, int reg, u8 val) in shpc_writeb()
182 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw()
187 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew()
192 static inline u32 shpc_readl(struct controller *ctrl, int reg) in shpc_readl()
197 static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) in shpc_writel()
202 static inline int shpc_indirect_read(struct controller *ctrl, int index, in shpc_indirect_read()
220 struct controller *ctrl = from_timer(ctrl, t, poll_timer); in int_poll_timeout() local
234 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer()
244 static inline int is_ctrl_busy(struct controller *ctrl) in is_ctrl_busy()
[all …]
/kernel/linux/linux-4.19/drivers/pci/hotplug/
Dpciehp_hpc.c30 static inline struct pci_dev *ctrl_dev(struct controller *ctrl) in ctrl_dev()
39 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq()
59 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq()
67 static int pcie_poll_cmd(struct controller *ctrl, int timeout) in pcie_poll_cmd()
93 static void pcie_wait_cmd(struct controller *ctrl) in pcie_wait_cmd()
138 static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, in pcie_do_write_cmd()
194 static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd()
200 static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd_nowait()
205 bool pciehp_check_link_active(struct controller *ctrl) in pciehp_check_link_active()
220 static void pcie_wait_link_active(struct controller *ctrl) in pcie_wait_link_active()
[all …]
Dpciehp_ctrl.c29 static void set_slot_off(struct controller *ctrl, struct slot *pslot) in set_slot_off()
57 struct controller *ctrl = p_slot->ctrl; in board_added() local
107 struct controller *ctrl = p_slot->ctrl; in remove_board() local
133 void pciehp_request(struct controller *ctrl, int action) in pciehp_request()
143 struct controller *ctrl = p_slot->ctrl; in pciehp_queue_pushbutton_work() local
161 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_button_press() local
211 struct controller *ctrl = slot->ctrl; in pciehp_handle_disable_request() local
228 struct controller *ctrl = slot->ctrl; in pciehp_handle_presence_or_link_change() local
290 struct controller *ctrl = p_slot->ctrl; in __pciehp_enable_slot() local
320 struct controller *ctrl = slot->ctrl; in pciehp_enable_slot() local
[all …]
Dpciehp.h47 #define ctrl_dbg(ctrl, format, arg...) \ argument
53 #define ctrl_err(ctrl, format, arg...) \ argument
55 #define ctrl_info(ctrl, format, arg...) \ argument
57 #define ctrl_warn(ctrl, format, arg...) \ argument
74 struct controller *ctrl; member
169 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) argument
170 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) argument
171 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) argument
172 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) argument
173 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) argument
[all …]
Dshpchp_ctrl.c45 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) in shpchp_handle_attention_button()
68 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_switch_change()
106 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_presence_change()
141 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) in shpchp_handle_power_fault()
178 static int change_bus_speed(struct controller *ctrl, struct slot *p_slot, in change_bus_speed()
193 static int fix_bus_speed(struct controller *ctrl, struct slot *pslot, in fix_bus_speed()
235 struct controller *ctrl = p_slot->ctrl; in board_added() local
340 struct controller *ctrl = p_slot->ctrl; in remove_board() local
474 struct controller *ctrl = p_slot->ctrl; in handle_button_press_event() local
559 struct controller *ctrl = p_slot->ctrl; in shpchp_enable_slot() local
[all …]
Dshpchp_hpc.c172 static inline u8 shpc_readb(struct controller *ctrl, int reg) in shpc_readb()
177 static inline void shpc_writeb(struct controller *ctrl, int reg, u8 val) in shpc_writeb()
182 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw()
187 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew()
192 static inline u32 shpc_readl(struct controller *ctrl, int reg) in shpc_readl()
197 static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) in shpc_writel()
202 static inline int shpc_indirect_read(struct controller *ctrl, int index, in shpc_indirect_read()
220 struct controller *ctrl = from_timer(ctrl, t, poll_timer); in int_poll_timeout() local
234 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer()
244 static inline int is_ctrl_busy(struct controller *ctrl) in is_ctrl_busy()
[all …]
/kernel/linux/linux-4.19/drivers/tty/serdev/
Dcore.c75 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release() local
102 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add() local
138 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_remove() local
147 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_open() local
175 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_close() local
222 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_buf() local
235 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write() local
263 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_flush() local
274 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_room() local
285 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_set_baudrate() local
[all …]
Dserdev-ttyport.c28 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf() local
50 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup() local
77 static int ttyport_write_buf(struct serdev_controller *ctrl, const unsigned char *data, size_t len) in ttyport_write_buf()
89 static void ttyport_write_flush(struct serdev_controller *ctrl) in ttyport_write_flush()
97 static int ttyport_write_room(struct serdev_controller *ctrl) in ttyport_write_room()
105 static int ttyport_open(struct serdev_controller *ctrl) in ttyport_open()
154 static void ttyport_close(struct serdev_controller *ctrl) in ttyport_close()
169 static unsigned int ttyport_set_baudrate(struct serdev_controller *ctrl, unsigned int speed) in ttyport_set_baudrate()
183 static void ttyport_set_flow_control(struct serdev_controller *ctrl, bool enable) in ttyport_set_flow_control()
197 static int ttyport_set_parity(struct serdev_controller *ctrl, in ttyport_set_parity()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c151 static int edp_clk_init(struct edp_ctrl *ctrl) in edp_clk_init()
200 static int edp_clk_enable(struct edp_ctrl *ctrl, u32 clk_mask) in edp_clk_enable()
286 static void edp_clk_disable(struct edp_ctrl *ctrl, u32 clk_mask) in edp_clk_disable()
300 static int edp_regulator_init(struct edp_ctrl *ctrl) in edp_regulator_init()
326 static int edp_regulator_enable(struct edp_ctrl *ctrl) in edp_regulator_enable()
359 static void edp_regulator_disable(struct edp_ctrl *ctrl) in edp_regulator_disable()
366 static int edp_gpio_config(struct edp_ctrl *ctrl) in edp_gpio_config()
392 static void edp_ctrl_irq_enable(struct edp_ctrl *ctrl, int enable) in edp_ctrl_irq_enable()
409 static void edp_fill_link_cfg(struct edp_ctrl *ctrl) in edp_fill_link_cfg()
443 static void edp_config_ctrl(struct edp_ctrl *ctrl) in edp_config_ctrl()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c142 static int edp_clk_init(struct edp_ctrl *ctrl) in edp_clk_init()
191 static int edp_clk_enable(struct edp_ctrl *ctrl, u32 clk_mask) in edp_clk_enable()
277 static void edp_clk_disable(struct edp_ctrl *ctrl, u32 clk_mask) in edp_clk_disable()
291 static int edp_regulator_init(struct edp_ctrl *ctrl) in edp_regulator_init()
317 static int edp_regulator_enable(struct edp_ctrl *ctrl) in edp_regulator_enable()
350 static void edp_regulator_disable(struct edp_ctrl *ctrl) in edp_regulator_disable()
357 static int edp_gpio_config(struct edp_ctrl *ctrl) in edp_gpio_config()
383 static void edp_ctrl_irq_enable(struct edp_ctrl *ctrl, int enable) in edp_ctrl_irq_enable()
400 static void edp_fill_link_cfg(struct edp_ctrl *ctrl) in edp_fill_link_cfg()
434 static void edp_config_ctrl(struct edp_ctrl *ctrl) in edp_config_ctrl()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serdev/
Dcore.c77 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release() local
104 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add() local
140 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_remove() local
149 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_open() local
177 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_close() local
239 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_buf() local
274 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write() local
320 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_flush() local
331 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_room() local
342 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_set_baudrate() local
[all …]
Dserdev-ttyport.c28 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf() local
50 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup() local
77 static int ttyport_write_buf(struct serdev_controller *ctrl, const unsigned char *data, size_t len) in ttyport_write_buf()
89 static void ttyport_write_flush(struct serdev_controller *ctrl) in ttyport_write_flush()
97 static int ttyport_write_room(struct serdev_controller *ctrl) in ttyport_write_room()
105 static int ttyport_open(struct serdev_controller *ctrl) in ttyport_open()
154 static void ttyport_close(struct serdev_controller *ctrl) in ttyport_close()
169 static unsigned int ttyport_set_baudrate(struct serdev_controller *ctrl, unsigned int speed) in ttyport_set_baudrate()
183 static void ttyport_set_flow_control(struct serdev_controller *ctrl, bool enable) in ttyport_set_flow_control()
197 static int ttyport_set_parity(struct serdev_controller *ctrl, in ttyport_set_parity()
[all …]
/kernel/linux/linux-5.10/drivers/nvme/host/
Dcore.c105 static void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan()
120 int nvme_try_sched_reset(struct nvme_ctrl *ctrl) in nvme_try_sched_reset()
130 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl()
140 int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_reset_ctrl_sync()
155 static void nvme_do_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_do_delete_ctrl()
169 struct nvme_ctrl *ctrl = in nvme_delete_ctrl_work() local
175 int nvme_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_delete_ctrl()
185 static void nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_delete_ctrl_sync()
334 void nvme_cancel_tagset(struct nvme_ctrl *ctrl) in nvme_cancel_tagset()
344 void nvme_cancel_admin_tagset(struct nvme_ctrl *ctrl) in nvme_cancel_admin_tagset()
[all …]
/kernel/linux/linux-5.10/drivers/nvme/target/
Dloop.c37 struct nvme_ctrl ctrl; member
42 static inline struct nvme_loop_ctrl *to_loop_ctrl(struct nvme_ctrl *ctrl) in to_loop_ctrl()
54 struct nvme_loop_ctrl *ctrl; member
175 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(arg); in nvme_loop_submit_async_event() local
193 static int nvme_loop_init_iod(struct nvme_loop_ctrl *ctrl, in nvme_loop_init_iod()
207 struct nvme_loop_ctrl *ctrl = set->driver_data; in nvme_loop_init_request() local
219 struct nvme_loop_ctrl *ctrl = data; in nvme_loop_init_hctx() local
239 struct nvme_loop_ctrl *ctrl = data; in nvme_loop_init_admin_hctx() local
262 static void nvme_loop_destroy_admin_queue(struct nvme_loop_ctrl *ctrl) in nvme_loop_destroy_admin_queue()
274 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(nctrl); in nvme_loop_free_ctrl() local
[all …]
Dcore.c133 static void nvmet_async_events_failall(struct nvmet_ctrl *ctrl) in nvmet_async_events_failall()
148 static void nvmet_async_events_process(struct nvmet_ctrl *ctrl) in nvmet_async_events_process()
171 static void nvmet_async_events_free(struct nvmet_ctrl *ctrl) in nvmet_async_events_free()
185 struct nvmet_ctrl *ctrl = in nvmet_async_event_work() local
191 void nvmet_add_async_event(struct nvmet_ctrl *ctrl, u8 event_type, in nvmet_add_async_event()
211 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log()
237 struct nvmet_ctrl *ctrl; in nvmet_ns_changed() local
254 struct nvmet_ctrl *ctrl; in nvmet_send_ana_event() local
303 struct nvmet_ctrl *ctrl; in nvmet_port_del_ctrls() local
380 struct nvmet_ctrl *ctrl = container_of(to_delayed_work(work), in nvmet_keep_alive_timer() local
[all …]
/kernel/linux/linux-4.19/drivers/nvme/host/
Dcore.c123 static void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan()
132 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl()
142 int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_reset_ctrl_sync()
160 struct nvme_ctrl *ctrl = in nvme_delete_ctrl_work() local
174 int nvme_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_delete_ctrl()
184 int nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_delete_ctrl_sync()
282 bool nvme_change_ctrl_state(struct nvme_ctrl *ctrl, in nvme_change_ctrl_state()
437 static int nvme_toggle_streams(struct nvme_ctrl *ctrl, bool enable) in nvme_toggle_streams()
453 static int nvme_disable_streams(struct nvme_ctrl *ctrl) in nvme_disable_streams()
458 static int nvme_enable_streams(struct nvme_ctrl *ctrl) in nvme_enable_streams()
[all …]
/kernel/linux/linux-4.19/drivers/nvme/target/
Dloop.c45 struct nvme_ctrl ctrl; member
51 static inline struct nvme_loop_ctrl *to_loop_ctrl(struct nvme_ctrl *ctrl) in to_loop_ctrl()
63 struct nvme_loop_ctrl *ctrl; member
196 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(arg); in nvme_loop_submit_async_event() local
214 static int nvme_loop_init_iod(struct nvme_loop_ctrl *ctrl, in nvme_loop_init_iod()
228 struct nvme_loop_ctrl *ctrl = set->driver_data; in nvme_loop_init_request() local
238 struct nvme_loop_ctrl *ctrl = data; in nvme_loop_init_hctx() local
250 struct nvme_loop_ctrl *ctrl = data; in nvme_loop_init_admin_hctx() local
275 static void nvme_loop_destroy_admin_queue(struct nvme_loop_ctrl *ctrl) in nvme_loop_destroy_admin_queue()
285 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(nctrl); in nvme_loop_free_ctrl() local
[all …]
/kernel/linux/linux-4.19/drivers/net/phy/
Dmdio-bitbang.c47 static void mdiobb_send_bit(struct mdiobb_ctrl *ctrl, int val) in mdiobb_send_bit()
59 static int mdiobb_get_bit(struct mdiobb_ctrl *ctrl) in mdiobb_get_bit()
72 static void mdiobb_send_num(struct mdiobb_ctrl *ctrl, u16 val, int bits) in mdiobb_send_num()
81 static u16 mdiobb_get_num(struct mdiobb_ctrl *ctrl, int bits) in mdiobb_get_num()
97 static void mdiobb_cmd(struct mdiobb_ctrl *ctrl, int op, u8 phy, u8 reg) in mdiobb_cmd()
137 static int mdiobb_cmd_addr(struct mdiobb_ctrl *ctrl, int phy, u32 addr) in mdiobb_cmd_addr()
157 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read() local
189 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write() local
208 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl) in alloc_mdio_bitbang()
228 struct mdiobb_ctrl *ctrl = bus->priv; in free_mdio_bitbang() local
/kernel/linux/linux-5.10/drivers/net/mdio/
Dmdio-bitbang.c44 static void mdiobb_send_bit(struct mdiobb_ctrl *ctrl, int val) in mdiobb_send_bit()
56 static int mdiobb_get_bit(struct mdiobb_ctrl *ctrl) in mdiobb_get_bit()
69 static void mdiobb_send_num(struct mdiobb_ctrl *ctrl, u16 val, int bits) in mdiobb_send_num()
78 static u16 mdiobb_get_num(struct mdiobb_ctrl *ctrl, int bits) in mdiobb_get_num()
94 static void mdiobb_cmd(struct mdiobb_ctrl *ctrl, int op, u8 phy, u8 reg) in mdiobb_cmd()
134 static int mdiobb_cmd_addr(struct mdiobb_ctrl *ctrl, int phy, u32 addr) in mdiobb_cmd_addr()
154 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read() local
186 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write() local
205 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl) in alloc_mdio_bitbang()
225 struct mdiobb_ctrl *ctrl = bus->priv; in free_mdio_bitbang() local
/kernel/linux/linux-4.19/drivers/isdn/hysdn/
Dhycapi.c65 hycapi_reset_ctr(struct capi_ctr *ctrl) in hycapi_reset_ctr()
81 hycapi_remove_ctr(struct capi_ctr *ctrl) in hycapi_remove_ctr()
117 hycapi_sendmsg_internal(struct capi_ctr *ctrl, struct sk_buff *skb) in hycapi_sendmsg_internal()
151 hycapi_register_internal(struct capi_ctr *ctrl, __u16 appl, in hycapi_register_internal()
196 static void hycapi_restart_internal(struct capi_ctr *ctrl) in hycapi_restart_internal()
223 hycapi_register_appl(struct capi_ctr *ctrl, __u16 appl, in hycapi_register_appl()
262 static void hycapi_release_internal(struct capi_ctr *ctrl, __u16 appl) in hycapi_release_internal()
299 hycapi_release_appl(struct capi_ctr *ctrl, __u16 appl) in hycapi_release_appl()
326 struct capi_ctr *ctrl; in hycapi_capi_release() local
346 struct capi_ctr *ctrl; in hycapi_capi_stop() local
[all …]

12345678910>>...89