Home
last modified time | relevance | path

Searched refs:cfg_data (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/ethernet/
Deth_ivshmem.c97 const struct eth_ivshmem_cfg_data *cfg_data = dev->config; in eth_ivshmem_send() local
118 ivshmem_int_peer(cfg_data->ivshmem, dev_data->peer_id, dev_data->tx_rx_vector); in eth_ivshmem_send()
127 const struct eth_ivshmem_cfg_data *cfg_data = dev->config; in eth_ivshmem_rx() local
158 ivshmem_int_peer(cfg_data->ivshmem, dev_data->peer_id, dev_data->tx_rx_vector); in eth_ivshmem_rx()
167 const struct eth_ivshmem_cfg_data *cfg_data = dev->config; in eth_ivshmem_set_state() local
173 ivshmem_set_state(cfg_data->ivshmem, state); in eth_ivshmem_set_state()
179 const struct eth_ivshmem_cfg_data *cfg_data = dev->config; in eth_ivshmem_state_update() local
181 uint32_t peer_state = ivshmem_get_state(cfg_data->ivshmem, dev_data->peer_id); in eth_ivshmem_state_update()
269 const struct eth_ivshmem_cfg_data *cfg_data = dev->config; in eth_ivshmem_initialize() local
274 if (!device_is_ready(cfg_data->ivshmem)) { in eth_ivshmem_initialize()
[all …]
/Zephyr-latest/tests/subsys/usb/desc_sections/src/
Ddesc_sections.c129 STRUCT_SECTION_FOREACH(usb_cfg_data, cfg_data) { in usb_get_cfg_data()
130 if (cfg_data->interface_descriptor == iface) { in usb_get_cfg_data()
131 return cfg_data; in usb_get_cfg_data()
139 const struct usb_cfg_data * const cfg_data, in find_cfg_data_ep() argument
142 for (int i = 0; i < cfg_data->num_endpoints; i++) { in find_cfg_data_ep()
143 if (cfg_data->endpoint[i].ep_addr == in find_cfg_data_ep()
162 struct usb_cfg_data *cfg_data = NULL; in check_endpoint_allocation() local
180 cfg_data = usb_get_cfg_data(if_descr); in check_endpoint_allocation()
181 zassert_not_null(cfg_data, "Check available cfg data"); in check_endpoint_allocation()
189 zassert_not_null(cfg_data, "Check available cfg data"); in check_endpoint_allocation()
[all …]
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dutil_app_cfg.h23 struct cfg_data { struct
59 psa_status_t cfg_load_data(struct cfg_data *p_cfg_data);
Dutil_app_cfg.c24 static struct cfg_data cfg_data_dflt = {
55 psa_status_t cfg_load_data(struct cfg_data *p_cfg_data) in cfg_load_data()
Dmain.c22 static struct cfg_data cfg;
/Zephyr-latest/subsys/usb/device/
Dusb_descriptor.c251 struct usb_cfg_data * const cfg_data, in usb_validate_ep_cfg_data() argument
254 for (unsigned int i = 0; i < cfg_data->num_endpoints; i++) { in usb_validate_ep_cfg_data()
255 struct usb_ep_cfg_data *ep_data = cfg_data->endpoint; in usb_validate_ep_cfg_data()
310 STRUCT_SECTION_FOREACH(usb_cfg_data, cfg_data) { in usb_get_cfg_data()
311 if (cfg_data->interface_descriptor == iface) { in usb_get_cfg_data()
312 return cfg_data; in usb_get_cfg_data()
420 struct usb_cfg_data *cfg_data = NULL; in usb_fix_descriptor() local
448 cfg_data = usb_get_cfg_data(if_descr); in usb_fix_descriptor()
449 if (!cfg_data) { in usb_fix_descriptor()
455 if (cfg_data->interface_config) { in usb_fix_descriptor()
[all …]
Dusb_device.c1012 STRUCT_SECTION_FOREACH(usb_cfg_data, cfg_data) { in is_ep_valid()
1013 ep_data = cfg_data->endpoint; in is_ep_valid()
1015 for (uint8_t n = 0; n < cfg_data->num_endpoints; n++) { in is_ep_valid()
1218 STRUCT_SECTION_FOREACH(usb_cfg_data, cfg_data) { in foreach_ep()
1219 ep_data = cfg_data->endpoint; in foreach_ep()
1221 for (uint8_t n = 0; n < cfg_data->num_endpoints; n++) { in foreach_ep()
1262 STRUCT_SECTION_FOREACH(usb_cfg_data, cfg_data) { in forward_status_cb()
1263 if (cfg_data->cb_usb_status) { in forward_status_cb()
1264 cfg_data->cb_usb_status(cfg_data, status, param); in forward_status_cb()
1467 STRUCT_SECTION_FOREACH(usb_cfg_data, cfg_data) { in class_handler()
[all …]