/Zephyr-latest/drivers/usb/udc/ |
D | udc_it82xx2.c | 525 struct it82xx2_data *priv = udc_get_private(dev); in ctrl_ep_stall_workaround() local 529 priv->stall_is_sent = true; in ctrl_ep_stall_workaround() 638 struct it82xx2_data *priv = udc_get_private(dev); in it82xx2_host_wakeup() local 655 ret = k_sem_take(&priv->suspended_sem, K_MSEC(500)); in it82xx2_host_wakeup() 734 struct it82xx2_data *priv = udc_get_private(dev); in it82xx2_dc_reset() local 745 atomic_clear_bit(&priv->out_fifo_state, IT82xx2_STATE_OUT_SHARED_FIFO_BUSY); in it82xx2_dc_reset() 747 k_sem_give(&priv->fifo_sem[0]); in it82xx2_dc_reset() 748 k_sem_give(&priv->fifo_sem[1]); in it82xx2_dc_reset() 749 k_sem_give(&priv->fifo_sem[2]); in it82xx2_dc_reset() 758 struct it82xx2_data *priv = udc_get_private(dev); in it82xx2_xfer_in_data() local [all …]
|
D | udc_virtual.c | 300 struct udc_vrt_data *priv = udc_get_private(dev); in udc_vrt_thread_handler() local 306 vrt_ev = k_fifo_get(&priv->fifo, K_FOREVER); in udc_vrt_thread_handler() 343 struct udc_vrt_data *priv = udc_get_private(dev); in vrt_submit_uvb_event() local 352 k_fifo_put(&priv->fifo, vrt_ev); in vrt_submit_uvb_event() 360 struct udc_vrt_data *priv = udc_get_private(dev); in udc_vrt_uvb_cb() local 381 if (udc_is_enabled(dev) && priv->addr == pkt->addr) { in udc_vrt_uvb_cb() 455 struct udc_vrt_data *priv = udc_get_private(dev); in udc_vrt_set_address() local 457 priv->addr = addr; in udc_vrt_set_address() 458 LOG_DBG("Set new address %u for %p", priv->addr, dev); in udc_vrt_set_address() 553 struct udc_vrt_data *priv = data->priv; in udc_vrt_driver_preinit() local [all …]
|
D | udc_rpi_pico.c | 131 struct rpi_pico_data *priv = udc_get_private(dev); in get_ep_data() local 134 return &priv->out_ep[USB_EP_GET_IDX(ep)]; in get_ep_data() 137 return &priv->in_ep[USB_EP_GET_IDX(ep)]; in get_ep_data() 296 struct rpi_pico_data *priv = udc_get_private(dev); in rpi_pico_handle_evt_setup() local 308 net_buf_add_mem(buf, priv->setup, sizeof(priv->setup)); in rpi_pico_handle_evt_setup() 471 struct rpi_pico_data *priv = udc_get_private(dev); in rpi_pico_handle_setup() local 485 sys_put_le32(sys_read32((uintptr_t)&dpram->setup_packet[0]), &priv->setup[0]); in rpi_pico_handle_setup() 486 sys_put_le32(sys_read32((uintptr_t)&dpram->setup_packet[4]), &priv->setup[4]); in rpi_pico_handle_setup() 593 struct rpi_pico_data *priv = udc_get_private(dev); in rpi_pico_isr_handler() local 618 priv->rwu_pending) { in rpi_pico_isr_handler() [all …]
|
/Zephyr-latest/samples/subsys/ipc/ipc_service/multi_endpoint/remote/src/ |
D | main.c | 35 static void ipc0A_ept_bound(void *priv) in ipc0A_ept_bound() argument 40 static void ipc0A_ept_recv(const void *data, size_t len, void *priv) in ipc0A_ept_recv() argument 107 static void ipc0B_ept_bound(void *priv) in ipc0B_ept_bound() argument 112 static void ipc0B_ept_recv(const void *data, size_t len, void *priv) in ipc0B_ept_recv() argument 187 static void ipc1_ept_bound(void *priv) in ipc1_ept_bound() argument 192 static void ipc1_ept_recv(const void *data, size_t len, void *priv) in ipc1_ept_recv() argument
|
/Zephyr-latest/samples/subsys/ipc/ipc_service/multi_endpoint/src/ |
D | main.c | 35 static void ipc0A_ept_bound(void *priv) in ipc0A_ept_bound() argument 40 static void ipc0A_ept_recv(const void *data, size_t len, void *priv) in ipc0A_ept_recv() argument 113 static void ipc0B_ept_bound(void *priv) in ipc0B_ept_bound() argument 118 static void ipc0B_ept_recv(const void *data, size_t len, void *priv) in ipc0B_ept_recv() argument 184 static void ipc1_ept_bound(void *priv) in ipc1_ept_bound() argument 189 static void ipc1_ept_recv(const void *data, size_t len, void *priv) in ipc1_ept_recv() argument
|
/Zephyr-latest/include/zephyr/ipc/ |
D | ipc_static_vrings.h | 44 typedef void (*ipc_notify_cb)(struct virtqueue *vq, void *priv); 85 void *priv; member
|
/Zephyr-latest/samples/subsys/ipc/ipc_service/static_vrings/remote/src/ |
D | main.c | 35 static void ipc0A_ept_bound(void *priv) in ipc0A_ept_bound() argument 40 static void ipc0A_ept_recv(const void *data, size_t len, void *priv) in ipc0A_ept_recv() argument 107 static void ipc0B_ept_bound(void *priv) in ipc0B_ept_bound() argument 112 static void ipc0B_ept_recv(const void *data, size_t len, void *priv) in ipc0B_ept_recv() argument 191 static void ipc1_ept_bound(void *priv) in ipc1_ept_bound() argument 196 static void ipc1_ept_recv(const void *data, size_t len, void *priv) in ipc1_ept_recv() argument
|
/Zephyr-latest/samples/subsys/ipc/ipc_service/static_vrings/src/ |
D | main.c | 35 static void ipc0A_ept_bound(void *priv) in ipc0A_ept_bound() argument 40 static void ipc0A_ept_recv(const void *data, size_t len, void *priv) in ipc0A_ept_recv() argument 113 static void ipc0B_ept_bound(void *priv) in ipc0B_ept_bound() argument 118 static void ipc0B_ept_recv(const void *data, size_t len, void *priv) in ipc0B_ept_recv() argument 189 static void ipc1_ept_bound(void *priv) in ipc1_ept_bound() argument 194 static void ipc1_ept_recv(const void *data, size_t len, void *priv) in ipc1_ept_recv() argument
|
/Zephyr-latest/include/zephyr/xen/ |
D | events.h | 14 typedef void (*evtchn_cb_t)(void *priv); 18 void *priv; member
|
/Zephyr-latest/subsys/sip_svc/ |
D | sip_svc_agilex_mailbox_shell.c | 165 struct private_data *priv = (struct private_data *)response->priv_data; in cmd_send_callback() local 166 const struct shell *sh = priv->sh; in cmd_send_callback() 198 k_sem_give(&(priv->semaphore)); in cmd_send_callback() 258 struct private_data priv; in cmd_send() local 300 k_sem_init(&(priv.semaphore), 0, 1); in cmd_send() 301 priv.sh = sh; in cmd_send() 314 request.priv_data = (void *)&priv; in cmd_send() 325 if (!k_sem_take(&(priv.semaphore), timeout)) { in cmd_send()
|
D | sip_svc_shell.c | 191 struct private_data *priv = (struct private_data *)response->priv_data; in cmd_send_callback() local 192 const struct shell *sh = priv->sh; in cmd_send_callback() 201 k_sem_give(&(priv->semaphore)); in cmd_send_callback() 210 struct private_data priv; in cmd_send() local 317 k_sem_init(&(priv.semaphore), 0, 1); in cmd_send() 318 priv.sh = sh; in cmd_send() 322 request.priv_data = (void *)&priv; in cmd_send() 332 k_sem_take(&(priv.semaphore), K_FOREVER); in cmd_send()
|
/Zephyr-latest/modules/nrf_wifi/os/ |
D | shim.c | 64 static unsigned int zep_shim_qspi_read_reg32(void *priv, unsigned long addr) in zep_shim_qspi_read_reg32() argument 67 struct zep_shim_bus_qspi_priv *qspi_priv = priv; in zep_shim_qspi_read_reg32() 81 static void zep_shim_qspi_write_reg32(void *priv, unsigned long addr, unsigned int val) in zep_shim_qspi_write_reg32() argument 83 struct zep_shim_bus_qspi_priv *qspi_priv = priv; in zep_shim_qspi_write_reg32() 91 static void zep_shim_qspi_cpy_from(void *priv, void *dest, unsigned long addr, size_t count) in zep_shim_qspi_cpy_from() argument 93 struct zep_shim_bus_qspi_priv *qspi_priv = priv; in zep_shim_qspi_cpy_from() 106 static void zep_shim_qspi_cpy_to(void *priv, unsigned long addr, const void *src, size_t count) in zep_shim_qspi_cpy_to() argument 108 struct zep_shim_bus_qspi_priv *qspi_priv = priv; in zep_shim_qspi_cpy_to() 201 void *priv; member 222 nbuff->priv = k_calloc(size, sizeof(char)); in zep_shim_nbuf_alloc() [all …]
|
/Zephyr-latest/subsys/usb/device/ |
D | usb_transfer.c | 36 void *priv; member 142 void *priv = trans->priv; in usb_transfer_work() local 158 cb(ep, tsize, priv); in usb_transfer_work() 244 trans->priv = cb_data; in usb_transfer() 306 static void usb_transfer_sync_cb(uint8_t ep, int size, void *priv) in usb_transfer_sync_cb() argument 308 struct usb_transfer_sync_priv *pdata = priv; in usb_transfer_sync_cb()
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_icmsg_me_initiator.c | 26 static void bound(void *priv) in bound() argument 28 const struct device *instance = priv; in bound() 34 static void received(const void *data, size_t len, void *priv) in received() argument 36 const struct device *instance = priv; in received() 59 ept->cb.bound(ept->priv); in received()
|
D | ipc_rpmsg_static_vrings.c | 214 ept->cb->bound(ept->priv); in bound_cb() 218 static int ept_cb(struct rpmsg_endpoint *ep, void *data, size_t len, uint32_t src, void *priv) in ept_cb() argument 222 ept = (struct ipc_rpmsg_ept *) priv; in ept_cb() 245 ept->cb->received(data, len, ept->priv); in ept_cb() 296 static void virtio_notify_cb(struct virtqueue *vq, void *priv) in virtio_notify_cb() argument 298 struct backend_config_t *conf = priv; in virtio_notify_cb() 389 rpmsg_ept->priv = cfg->priv; in register_ept_on_host() 391 rpmsg_ept->ep.priv = rpmsg_ept; in register_ept_on_host() 424 rpmsg_ept->priv = cfg->priv; in register_ept_on_remote() 426 rpmsg_ept->ep.priv = rpmsg_ept; in register_ept_on_remote() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | br.c | 335 struct bt_br_discovery_priv *priv; in report_discovery_results() local 337 priv = &discovery_results[i]._priv; in report_discovery_results() 343 if (request_name(&discovery_results[i].addr, priv->pscan_rep_mode, in report_discovery_results() 344 priv->clock_offset)) { in report_discovery_results() 348 priv->resolving = true; in report_discovery_results() 438 struct bt_br_discovery_priv *priv; in bt_hci_inquiry_result_with_rssi() local 454 priv = &result->_priv; in bt_hci_inquiry_result_with_rssi() 455 priv->pscan_rep_mode = evt->pscan_rep_mode; in bt_hci_inquiry_result_with_rssi() 456 priv->clock_offset = evt->clock_offset; in bt_hci_inquiry_result_with_rssi() 476 struct bt_br_discovery_priv *priv; in bt_hci_extended_inquiry_result() local [all …]
|
/Zephyr-latest/modules/hal_nordic/nrfs/backends/ |
D | nrfs_backend_ipc_service.c | 27 static void ipc_sysctrl_ept_bound(void *priv); 28 static void ipc_sysctrl_ept_recv(const void *data, size_t size, void *priv); 93 static void ipc_sysctrl_ept_bound(void *priv) in ipc_sysctrl_ept_bound() argument 104 static void ipc_sysctrl_ept_recv(const void *data, size_t size, void *priv) in ipc_sysctrl_ept_recv() argument
|
/Zephyr-latest/samples/subsys/ipc/openamp_rsc_table/src/ |
D | main_remote.c | 93 size_t len, uint32_t src, void *priv) in rpmsg_recv_cs_callback() argument 103 size_t len, uint32_t src, void *priv) in rpmsg_recv_tty_callback() argument 105 struct rpmsg_rcv_msg *msg = priv; in rpmsg_recv_tty_callback() 131 int mailbox_notify(void *priv, uint32_t id) in mailbox_notify() argument 133 ARG_UNUSED(priv); in mailbox_notify() 289 tty_ept.priv = &tty_msg; in app_rpmsg_tty()
|
/Zephyr-latest/samples/subsys/logging/multidomain/remote/src/ |
D | ipc_service.c | 24 static void ipc1_ept_bound(void *priv) in ipc1_ept_bound() argument 29 static void ipc1_ept_recv(const void *data, size_t len, void *priv) in ipc1_ept_recv() argument
|
/Zephyr-latest/samples/subsys/logging/multidomain/src/ |
D | ipc_service.c | 25 static void ipc1_ept_bound(void *priv) in ipc1_ept_bound() argument 30 static void ipc1_ept_recv(const void *data, size_t len, void *priv) in ipc1_ept_recv() argument
|
/Zephyr-latest/samples/subsys/usb/webusb/src/ |
D | webusb.c | 136 static void webusb_write_cb(uint8_t ep, int size, void *priv) in webusb_write_cb() argument 141 static void webusb_read_cb(uint8_t ep, int size, void *priv) in webusb_read_cb() argument 143 struct usb_cfg_data *cfg = priv; in webusb_read_cb()
|
/Zephyr-latest/drivers/usb/uvb/ |
D | uvb.h | 124 void (*notify)(const void *const priv, 132 const void *priv; member
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | proxy_cli.c | 200 } priv; member 212 memcpy(&in[8], res->data.priv.rand, 8); in is_hash_equal() 219 if (memcmp(&out[8], res->data.priv.hash, 8)) { in is_hash_equal() 266 res.data.priv.hash = net_buf_simple_pull_mem(buf, 8); in handle_net_id() 267 res.data.priv.rand = net_buf_simple_pull_mem(buf, 8); in handle_net_id()
|
D | beacon.h | 14 int bt_mesh_beacon_create(struct bt_mesh_subnet *sub, struct net_buf_simple *buf, bool priv);
|
/Zephyr-latest/drivers/xen/ |
D | events.c | 140 event_channels[port].priv = data; in bind_event_channel() 153 event_channels[port].priv = &event_channels[port]; in unbind_event_channel() 219 channel.cb(channel.priv); in process_event() 278 event_channels[i].priv = &event_channels[i]; in xen_events_init()
|