Lines Matching refs:index

298                                                uint8_t        index,
309 NRF_STATIC_INLINE uint32_t nrf_ipc_send_config_get(NRF_IPC_Type * const p_reg, uint8_t index);
325 uint8_t index,
336 NRF_STATIC_INLINE uint32_t nrf_ipc_receive_config_get(NRF_IPC_Type * const p_reg, uint8_t index);
346 uint8_t index,
357 NRF_STATIC_INLINE uint32_t nrf_ipc_gpmem_get(NRF_IPC_Type const * p_reg, uint8_t index);
366 NRF_STATIC_INLINE nrf_ipc_task_t nrf_ipc_send_task_get(uint8_t index);
375 NRF_STATIC_INLINE nrf_ipc_event_t nrf_ipc_receive_event_get(uint8_t index);
453 uint8_t index, in nrf_ipc_send_config_set() argument
456 p_reg->SEND_CNF[index] = channels_mask; in nrf_ipc_send_config_set()
459 NRF_STATIC_INLINE uint32_t nrf_ipc_send_config_get(NRF_IPC_Type * const p_reg, uint8_t index) in nrf_ipc_send_config_get() argument
461 return p_reg->SEND_CNF[index]; in nrf_ipc_send_config_get()
465 uint8_t index, in nrf_ipc_receive_config_set() argument
468 p_reg->RECEIVE_CNF[index] = channels_mask; in nrf_ipc_receive_config_set()
472 NRF_STATIC_INLINE uint32_t nrf_ipc_receive_config_get(NRF_IPC_Type * const p_reg, uint8_t index) in nrf_ipc_receive_config_get() argument
474 return p_reg->RECEIVE_CNF[index]; in nrf_ipc_receive_config_get()
478 uint8_t index, in nrf_ipc_gpmem_set() argument
481 NRFX_ASSERT(index < IPC_GPMEM_NUM); in nrf_ipc_gpmem_set()
482 p_reg->GPMEM[index] = data; in nrf_ipc_gpmem_set()
485 NRF_STATIC_INLINE uint32_t nrf_ipc_gpmem_get(NRF_IPC_Type const * p_reg, uint8_t index) in nrf_ipc_gpmem_get() argument
487 NRFX_ASSERT(index < IPC_GPMEM_NUM); in nrf_ipc_gpmem_get()
488 return p_reg->GPMEM[index]; in nrf_ipc_gpmem_get()
491 NRF_STATIC_INLINE nrf_ipc_task_t nrf_ipc_send_task_get(uint8_t index) in nrf_ipc_send_task_get() argument
493 NRFX_ASSERT(index < IPC_CH_NUM); in nrf_ipc_send_task_get()
494 return (nrf_ipc_task_t)(NRFX_OFFSETOF(NRF_IPC_Type, TASKS_SEND[index])); in nrf_ipc_send_task_get()
497 NRF_STATIC_INLINE nrf_ipc_event_t nrf_ipc_receive_event_get(uint8_t index) in nrf_ipc_receive_event_get() argument
499 NRFX_ASSERT(index < IPC_CH_NUM); in nrf_ipc_receive_event_get()
500 return (nrf_ipc_event_t)(NRFX_OFFSETOF(NRF_IPC_Type, EVENTS_RECEIVE[index])); in nrf_ipc_receive_event_get()