Lines Matching refs:dcfg
87 const struct hid_device_config *dcfg = dev->config; in hid_get_in_ep() local
88 struct usbd_hid_descriptor *desc = dcfg->desc; in hid_get_in_ep()
96 const struct hid_device_config *dcfg = dev->config; in hid_get_out_ep() local
97 struct usbd_hid_descriptor *desc = dcfg->desc; in hid_get_out_ep()
273 const struct hid_device_config *dcfg = dev->config; in handle_set_protocol() local
275 struct usbd_hid_descriptor *const desc = dcfg->desc; in handle_set_protocol()
311 const struct hid_device_config *dcfg = dev->config; in handle_get_protocol() local
313 struct usbd_hid_descriptor *const desc = dcfg->desc; in handle_get_protocol()
336 const struct hid_device_config *dcfg = dev->config; in handle_get_descriptor() local
340 struct usbd_hid_descriptor *const desc = dcfg->desc; in handle_get_descriptor()
430 const struct hid_device_config *dcfg = dev->config; in usbd_hid_enable() local
433 struct usbd_hid_descriptor *const desc = dcfg->desc; in usbd_hid_enable()
480 const struct hid_device_config *dcfg = dev->config; in usbd_hid_get_desc() local
483 return dcfg->hs_desc; in usbd_hid_get_desc()
486 return dcfg->fs_desc; in usbd_hid_get_desc()
501 static struct net_buf *hid_buf_alloc_ext(const struct hid_device_config *const dcfg, in hid_buf_alloc_ext() argument
510 buf = net_buf_alloc_with_data(dcfg->pool_in, data, size, K_NO_WAIT); in hid_buf_alloc_ext()
521 static struct net_buf *hid_buf_alloc(const struct hid_device_config *const dcfg, in hid_buf_alloc() argument
527 buf = net_buf_alloc(dcfg->pool_out, K_NO_WAIT); in hid_buf_alloc()
544 const struct hid_device_config *dcfg = dev->config; in hid_dev_output_handler() local
545 struct usbd_class_data *c_data = dcfg->c_data; in hid_dev_output_handler()
552 buf = hid_buf_alloc(dcfg, hid_get_out_ep(c_data)); in hid_dev_output_handler()
567 const struct hid_device_config *dcfg = dev->config; in hid_dev_submit_report() local
570 struct usbd_class_data *c_data = dcfg->c_data; in hid_dev_submit_report()
580 buf = hid_buf_alloc_ext(dcfg, size, (void *)report, hid_get_in_ep(c_data)); in hid_dev_submit_report()
603 const struct hid_device_config *dcfg = dev->config; in hid_dev_register() local
605 struct usbd_hid_descriptor *const desc = dcfg->desc; in hid_dev_register()