Home
last modified time | relevance | path

Searched refs:event_handler (Results 1 – 25 of 32) sorted by relevance

12

/Zephyr-latest/samples/subsys/mgmt/updatehub/src/
Dmain.c65 static void event_handler(struct net_mgmt_event_callback *cb, in event_handler() function
143 net_mgmt_init_event_callback(&mgmt_cb, event_handler, EVENT_MASK); in main()
/Zephyr-latest/samples/subsys/mgmt/osdp/control_panel/src/
Dmain.c52 int event_handler(void *unused, int pd, struct osdp_event *e) in event_handler() function
90 osdp_cp_set_event_callback(event_handler, NULL); in main()
/Zephyr-latest/drivers/i2c/
Di2c_nrfx_twi.c105 static void event_handler(nrfx_twi_evt_t const *p_event, void *p_context) in event_handler() function
165 .event_handler = event_handler, \
Di2c_nrfx_twis.c58 void (*event_handler)(nrfx_twis_evt_t const *event); member
277 err = nrfx_twis_init(&dev_config->twis, &config, dev_config->event_handler); in shim_nrf_twis_init()
301 static void SHIM_NRF_TWIS_NAME(id, event_handler)(nrfx_twis_evt_t const *event) \
316 .event_handler = SHIM_NRF_TWIS_NAME(id, event_handler), \
Di2c_nrfx_twi_rtio.c133 static void event_handler(nrfx_twi_evt_t const *p_event, void *p_context) in event_handler() function
195 .event_handler = event_handler, \
Di2c_nrfx_twi_common.h35 nrfx_twi_evt_handler_t event_handler; member
Di2c_nrfx_twim_common.h37 nrfx_twim_evt_handler_t event_handler; member
Di2c_nrfx_twim.c174 static void event_handler(nrfx_twim_evt_t const *p_event, void *p_context) in event_handler() function
252 .event_handler = event_handler, \
Di2c_nrfx_twim_rtio.c143 static void event_handler(nrfx_twim_evt_t const *p_event, void *p_context) in event_handler() function
203 .event_handler = event_handler, \
Di2c_nrfx_twim_common.c133 if (nrfx_twim_init(&config->twim, &config->twim_config, config->event_handler, in i2c_nrfx_twim_common_init()
Di2c_nrfx_twi_common.c20 config->event_handler, (void *)dev); in i2c_nrfx_twi_init()
/Zephyr-latest/samples/net/sockets/echo_server/src/
Decho-server.c84 static void event_handler(struct net_mgmt_event_callback *cb, in event_handler() function
191 event_handler, EVENT_MASK); in init_app()
/Zephyr-latest/drivers/audio/
Ddmic_nrfx_pdm.c39 nrfx_pdm_event_handler_t event_handler; member
62 static void event_handler(const struct device *dev, const nrfx_pdm_evt_t *evt) in event_handler() function
455 err = nrfx_pdm_init(drv_data->pdm, &nrfx_cfg, drv_cfg->event_handler); in dmic_nrfx_pdm_configure()
656 static void event_handler##idx(const nrfx_pdm_evt_t *evt) \
658 event_handler(DEVICE_DT_GET(PDM(idx)), evt); \
662 .event_handler = event_handler##idx, \
/Zephyr-latest/drivers/ieee802154/
Dieee802154_nrf5.h84 ieee802154_event_cb_t event_handler; member
Dieee802154_nrf5.c475 if (nrf5_data.event_handler) { in nrf5_tx_started()
476 nrf5_data.event_handler(dev, IEEE802154_EVENT_TX_STARTED, in nrf5_tx_started()
711 if (nrf5_data.event_handler) { in nrf5_stop()
712 nrf5_data.event_handler(dev, IEEE802154_EVENT_RX_OFF, NULL); in nrf5_stop()
919 nrf5_data.event_handler = config->event_handler; in nrf5_configure()
1143 } else if (nrf5_data.event_handler) { in nrf_802154_receive_failed()
1145 nrf5_data.event_handler(dev, IEEE802154_EVENT_RX_OFF, NULL); in nrf_802154_receive_failed()
1180 if (nrf5_data.event_handler) { in nrf_802154_receive_failed()
1181 nrf5_data.event_handler(dev, IEEE802154_EVENT_RX_FAILED, (void *)&reason); in nrf_802154_receive_failed()
/Zephyr-latest/subsys/net/lib/shell/
Devents.c46 static void event_handler(struct net_mgmt_event_callback *cb, in event_handler() function
373 net_mgmt_init_event_callback(&l2_cb, event_handler, in event_mon_handler()
377 net_mgmt_init_event_callback(&l3_ipv4_cb, event_handler, in event_mon_handler()
381 net_mgmt_init_event_callback(&l3_ipv6_cb, event_handler, in event_mon_handler()
385 net_mgmt_init_event_callback(&l4_cb, event_handler, in event_mon_handler()
/Zephyr-latest/samples/net/capture/src/
Dmain.c287 static void event_handler(struct net_mgmt_event_callback *cb, in event_handler() function
315 net_mgmt_init_event_callback(&mgmt_cb, event_handler, EVENT_MASK); in main()
/Zephyr-latest/drivers/adc/
Dadc_nrfx_adc.c255 static void event_handler(const nrfx_adc_evt_t *p_event) in event_handler() function
268 nrfx_err_t result = nrfx_adc_init(&config, event_handler); in init_adc()
/Zephyr-latest/drivers/spi/
Dspi_nrfx_spi.c38 static void event_handler(const nrfx_spi_evt_t *p_event, void *p_context);
147 event_handler, dev_data); in configure()
201 static void event_handler(const nrfx_spi_evt_t *p_event, void *p_context) in event_handler() function
/Zephyr-latest/samples/net/sockets/echo_client/src/
Decho-client.c299 static void event_handler(struct net_mgmt_event_callback *cb, in event_handler() function
378 event_handler, EVENT_MASK); in init_app()
/Zephyr-latest/samples/net/sockets/dumb_http_server_mt/src/
Dmain.c100 static void event_handler(struct net_mgmt_event_callback *cb, in event_handler() function
433 event_handler, EVENT_MASK); in main()
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.h282 nrfx_err_t nrf_usbd_common_init(nrf_usbd_common_event_handler_t event_handler);
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_mgmt.rst142 static void event_handler(uint32_t mgmt_event, struct net_if *iface,
160 event_handler, NULL);
162 event_handler, NULL);
/Zephyr-latest/drivers/modem/
Dhl7800.c958 static void event_handler(enum mdm_hl7800_event event, void *event_data) in event_handler() function
1387 event_handler(HL7800_EVENT_RSSI, &iface_ctx.mdm_rssi); in mdm_hl7800_generate_status_events()
1388 event_handler(HL7800_EVENT_SINR, &iface_ctx.mdm_sinr); in mdm_hl7800_generate_status_events()
1389 event_handler(HL7800_EVENT_APN_UPDATE, &iface_ctx.mdm_apn); in mdm_hl7800_generate_status_events()
1390 event_handler(HL7800_EVENT_RAT, &iface_ctx.mdm_rat); in mdm_hl7800_generate_status_events()
1391 event_handler(HL7800_EVENT_BANDS, iface_ctx.mdm_bands_string); in mdm_hl7800_generate_status_events()
1392 event_handler(HL7800_EVENT_ACTIVE_BANDS, iface_ctx.mdm_active_bands_string); in mdm_hl7800_generate_status_events()
1393 event_handler(HL7800_EVENT_REVISION, iface_ctx.mdm_revision); in mdm_hl7800_generate_status_events()
1774 event_handler(HL7800_EVENT_REVISION, iface_ctx.mdm_revision); in on_cmd_atcmdinfo_revision()
2327 event_handler(HL7800_EVENT_RAT, &iface_ctx.mdm_rat); in on_cmd_radio_tech_status()
[all …]
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c73 static void event_handler(struct net_mgmt_event_callback *cb, in event_handler() function
535 event_handler, EVENT_MASK); in main()
540 event_handler, in main()

12