Lines Matching refs:device
77 const struct device *clkctrl_dev;
78 void (*irq_config_func)(const struct device *dev);
79 void (*irq_unconfig_func)(const struct device *dev);
92 const struct device *dev; /* Pointer to the containing device */
171 static inline const struct device *numaker_usbd_device_get(void);
173 static inline void numaker_usbd_lock(const struct device *dev) in numaker_usbd_lock()
180 static inline void numaker_usbd_unlock(const struct device *dev) in numaker_usbd_unlock()
187 static inline void numaker_usbd_sw_connect(const struct device *dev) in numaker_usbd_sw_connect()
202 static inline void numaker_usbd_sw_disconnect(const struct device *dev) in numaker_usbd_sw_disconnect()
211 static inline void numaker_usbd_sw_reconnect(const struct device *dev) in numaker_usbd_sw_reconnect()
219 static inline void numaker_usbd_reset_addr(const struct device *dev) in numaker_usbd_reset_addr()
229 static inline void numaker_usbd_set_addr(const struct device *dev) in numaker_usbd_set_addr()
241 static inline USBD_EP_T *numaker_usbd_ep_base(const struct device *dev, uint32_t ep_hw_idx) in numaker_usbd_ep_base()
288 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_set_stall()
298 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_clear_stall_n_data_toggle()
310 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_is_stalled()
316 static int numaker_usbd_send_msg(const struct device *dev, const struct numaker_usbd_msg *msg) in numaker_usbd_send_msg()
342 static int numaker_usbd_hw_setup(const struct device *dev) in numaker_usbd_hw_setup()
411 static void numaker_usbd_hw_shutdown(const struct device *dev) in numaker_usbd_hw_shutdown()
444 static void numaker_usbd_bus_reset_th(const struct device *dev) in numaker_usbd_bus_reset_th()
470 static void numaker_usbd_remote_wakeup(const struct device *dev) in numaker_usbd_remote_wakeup()
485 static inline uint32_t numaker_usbd_buf_base(const struct device *dev) in numaker_usbd_buf_base()
494 static void numaker_usbd_setup_fifo_copy_to_user(const struct device *dev, uint8_t *usrbuf) in numaker_usbd_setup_fifo_copy_to_user()
512 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_fifo_copy_to_user()
542 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_fifo_copy_from_user()
572 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_fifo_update()
599 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_config_dmabuf()
611 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_abort()
625 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_config_major()
659 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_enable()
682 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_disable()
695 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_trigger()
701 static struct numaker_usbd_ep *numaker_usbd_ep_mgmt_alloc_ep(const struct device *dev) in numaker_usbd_ep_mgmt_alloc_ep()
725 static int numaker_usbd_ep_mgmt_alloc_dmabuf(const struct device *dev, uint32_t size, in numaker_usbd_ep_mgmt_alloc_dmabuf()
750 static void numaker_usbd_ep_mgmt_init(const struct device *dev) in numaker_usbd_ep_mgmt_init()
808 static struct numaker_usbd_ep *numaker_usbd_ep_mgmt_find_ep(const struct device *dev, in numaker_usbd_ep_mgmt_find_ep()
835 static struct numaker_usbd_ep *numaker_usbd_ep_mgmt_bind_ep(const struct device *dev, in numaker_usbd_ep_mgmt_bind_ep()
861 static void numaker_usbd_bus_reset_bh(const struct device *dev) in numaker_usbd_bus_reset_bh()
888 const struct device *dev = ep_cur->dev; in numaker_usbd_ep_bh()
935 static void numaker_usbd_msg_sw_reconn(const struct device *dev, struct numaker_usbd_msg *msg) in numaker_usbd_msg_sw_reconn()
946 static void numaker_usbd_msg_cb_state(const struct device *dev, struct numaker_usbd_msg *msg) in numaker_usbd_msg_cb_state()
971 static void numaker_usbd_msg_cb_ep(const struct device *dev, struct numaker_usbd_msg *msg) in numaker_usbd_msg_cb_ep()
1009 const struct device *dev = (const struct device *)arg1; in numaker_usbd_msg_hdlr_thread_main()
1042 static void numaker_udbd_isr(const struct device *dev) in numaker_udbd_isr()
1242 const struct device *dev = numaker_usbd_device_get(); in usb_dc_attach()
1278 const struct device *dev = numaker_usbd_device_get(); in usb_dc_detach()
1301 const struct device *dev = numaker_usbd_device_get(); in usb_dc_reset()
1317 const struct device *dev = numaker_usbd_device_get(); in usb_dc_set_address()
1337 const struct device *dev = numaker_usbd_device_get(); in usb_dc_set_status_callback()
1349 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_check_cap()
1404 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_set_callback()
1430 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_configure()
1475 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_set_stall()
1504 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_clear_stall()
1533 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_is_stalled()
1568 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_enable()
1608 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_disable()
1636 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_flush()
1665 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_write()
1738 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_read()
1762 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_read_wait()
1850 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_read_continue()
1894 const struct device *dev = numaker_usbd_device_get(); in usb_dc_ep_mps()
1922 const struct device *dev = numaker_usbd_device_get(); in usb_dc_wakeup_request()
1936 static int numaker_udbd_init(const struct device *dev) in numaker_udbd_init()
1964 static void numaker_usbd_irq_config_func_##inst(const struct device *dev) \
1972 static void numaker_uusbd_irq_unconfig_func_##inst(const struct device *dev) \
2004 static inline const struct device *numaker_usbd_device_get(void) in numaker_usbd_device_get()