Home
last modified time | relevance | path

Searched refs:p_args (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/drivers/can/
Dcan_renesas_ra.c342 static inline void can_renesas_ra_call_rx_cb(const struct device *dev, can_callback_args_t *p_args) in can_renesas_ra_call_rx_cb() argument
348 .dlc = can_bytes_to_dlc(p_args->frame.data_length_code), in can_renesas_ra_call_rx_cb()
349 .id = p_args->frame.id, in can_renesas_ra_call_rx_cb()
350 .flags = (((p_args->frame.id_mode == CAN_ID_MODE_EXTENDED) ? CAN_FRAME_IDE : 0UL) | in can_renesas_ra_call_rx_cb()
351 ((p_args->frame.type == CAN_FRAME_TYPE_REMOTE) ? CAN_FRAME_RTR : 0UL) | in can_renesas_ra_call_rx_cb()
352 ((p_args->frame.options & CANFD_FRAME_OPTION_FD) != 0 ? CAN_FRAME_FDF in can_renesas_ra_call_rx_cb()
354 ((p_args->frame.options & CANFD_FRAME_OPTION_ERROR) != 0 ? CAN_FRAME_ESI in can_renesas_ra_call_rx_cb()
356 ((p_args->frame.options & CANFD_FRAME_OPTION_BRS) != 0 ? CAN_FRAME_BRS in can_renesas_ra_call_rx_cb()
360 memcpy(frame.data, p_args->frame.data, p_args->frame.data_length_code); in can_renesas_ra_call_rx_cb()
793 void can_renesas_ra_fsp_cb(can_callback_args_t *p_args) in can_renesas_ra_fsp_cb() argument
[all …]
/Zephyr-latest/drivers/mipi_dsi/
Ddsi_renesas_ra.c59 void mipi_dsi_callback(mipi_dsi_callback_args_t *p_args);
68 void mipi_dsi_callback(mipi_dsi_callback_args_t *p_args) in mipi_dsi_callback() argument
70 const struct device *dev = (struct device *)p_args->p_context; in mipi_dsi_callback()
73 switch (p_args->event) { in mipi_dsi_callback()
75 if (MIPI_DSI_SEQUENCE_STATUS_DESCRIPTORS_FINISHED == p_args->tx_status) { in mipi_dsi_callback()
/Zephyr-latest/drivers/pwm/
Dpwm_renesas_ra.c388 static void fsp_callback(timer_callback_args_t *p_args) in fsp_callback() argument
390 const struct device *dev = p_args->p_context; in fsp_callback()
410 if (p_args->event == TIMER_EVENT_CAPTURE_A) { in fsp_callback()
411 if (p_args->capture != 0U) { in fsp_callback()
414 (data->capture.overflows * period) + p_args->capture; in fsp_callback()
420 (data->capture.overflows * period) + p_args->capture; in fsp_callback()
430 } else if (p_args->event == TIMER_EVENT_CYCLE_END) { in fsp_callback()
/Zephyr-latest/drivers/ethernet/
Deth_renesas_ra.c39 void renesas_ra_eth_callback(ether_callback_args_t *p_args);
138 void renesas_ra_eth_callback(ether_callback_args_t *p_args) in renesas_ra_eth_callback() argument
140 struct device *dev = (struct device *)p_args->p_context; in renesas_ra_eth_callback()
143 if (p_args->status_eesr & ETHER_EE_RECEIVE_EVENT_MASK) { in renesas_ra_eth_callback()
/Zephyr-latest/drivers/i2c/
Di2c_renesas_ra_iic.c256 static void i2c_ra_iic_callback(i2c_master_callback_args_t *p_args) in i2c_ra_iic_callback() argument
258 const struct device *dev = p_args->p_context; in i2c_ra_iic_callback()
261 data->event = p_args->event; in i2c_ra_iic_callback()
/Zephyr-latest/drivers/usb/udc/
Dudc_renesas_ra.c53 static void udc_renesas_ra_event_handler(usbd_callback_arg_t *p_args) in udc_renesas_ra_event_handler() argument
55 const struct device *dev = p_args->p_context; in udc_renesas_ra_event_handler()
58 switch (p_args->event.event_id) { in udc_renesas_ra_event_handler()
85 evt.hal_evt = p_args->event; in udc_renesas_ra_event_handler()
/Zephyr-latest/drivers/flash/
Dflash_hp_ra.c69 void bgo_callback(flash_callback_args_t *p_args) in bgo_callback() argument
71 if (FLASH_EVENT_ERASE_COMPLETE == p_args->event) { in bgo_callback()
/Zephyr-latest/drivers/sdhc/
Dsdhc_renesas_ra.c668 void r_sdhi_callback_##index(sdmmc_callback_args_t *p_args) \
672 if (p_args->event == SDMMC_EVENT_TRANSFER_COMPLETE) { \
675 } else if (p_args->event == SDMMC_EVENT_TRANSFER_ERROR) { \
/Zephyr-latest/drivers/spi/
Dspi_b_renesas_ra8.c61 static void spi_cb(spi_callback_args_t *p_args) in spi_cb() argument
63 struct device *dev = (struct device *)p_args->p_context; in spi_cb()
66 switch (p_args->event) { in spi_cb()
Dspi_renesas_ra.c57 static void spi_cb(spi_callback_args_t *p_args) in spi_cb() argument
59 struct device *dev = (struct device *)p_args->p_context; in spi_cb()
62 switch (p_args->event) { in spi_cb()