Home
last modified time | relevance | path

Searched refs:sig_idx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/espi/
Despi_npcx.c799 uint8_t reg_idx, bitmask, sig_idx, val = 0, vw_tbl_size; in espi_npcx_send_vwire() local
821 for (sig_idx = 0; sig_idx < vw_tbl_size; sig_idx++) { in espi_npcx_send_vwire()
822 if (vw_tbl[sig_idx].sig == signal) { in espi_npcx_send_vwire()
827 if (sig_idx == vw_tbl_size) { in espi_npcx_send_vwire()
832 reg_idx = vw_tbl[sig_idx].reg_idx; in espi_npcx_send_vwire()
833 bitmask = vw_tbl[sig_idx].bitmask; in espi_npcx_send_vwire()
865 uint8_t reg_idx, bitmask, sig_idx, val; in espi_npcx_receive_vwire() local
868 for (sig_idx = 0; sig_idx < ARRAY_SIZE(vw_in_tbl); sig_idx++) { in espi_npcx_receive_vwire()
869 if (vw_in_tbl[sig_idx].sig == signal) { in espi_npcx_receive_vwire()
870 reg_idx = vw_in_tbl[sig_idx].reg_idx; in espi_npcx_receive_vwire()
[all …]
/Zephyr-latest/subsys/shell/
Dshell.c1296 enum shell_signal sig_idx, in shell_signal_handle() argument
1299 struct k_poll_signal *sig = &sh->ctx->signals[sig_idx]; in shell_signal_handle()