Lines Matching refs:host_index

505                                       uint8_t host_index)  in mec_hal_espi_vw_ct_host_index_set()  argument
514 temp |= host_index; in mec_hal_espi_vw_ct_host_index_set()
603 uint8_t src_idx, uint8_t host_index, uint32_t config) in mec_hal_espi_vw_ct_config() argument
610 regval |= (((uint32_t)host_index << MEC_ESPI_VW_CTVW_HIRSS_HOST_IDX_Pos) in mec_hal_espi_vw_ct_config()
793 uint8_t src_idx, uint8_t host_index, uint32_t config) in mec_hal_espi_vw_tc_config() argument
800 regval |= (((uint32_t)host_index << MEC_ESPI_VW_TCVW_HIRCS_HOST_IDX_Pos) in mec_hal_espi_vw_tc_config()
983 uint8_t src_idx, uint8_t host_index, uint32_t config) in mec_hal_espi_vwire_config() argument
990 mec_hal_espi_vw_ct_config(vwbase, vwidx, src_idx, host_index, config); in mec_hal_espi_vwire_config()
993 mec_hal_espi_vw_tc_config(vwbase, vwidx, src_idx, host_index, config); in mec_hal_espi_vwire_config()
1124 static int lookup_ct_vw_by_host_index(struct mec_espi_vw_regs *const vwbase, uint8_t host_index) in lookup_ct_vw_by_host_index() argument
1129 if (hidx == host_index) { in lookup_ct_vw_by_host_index()
1138 static int lookup_tc_vw_by_host_index(struct mec_espi_vw_regs *const vwbase, uint8_t host_index) in lookup_tc_vw_by_host_index() argument
1143 if (hidx == host_index) { in lookup_tc_vw_by_host_index()
1155 int mec_hal_espi_vw_get(struct mec_espi_vw_regs *const vwbase, uint8_t host_index, in mec_hal_espi_vw_get() argument
1159 int idx = lookup_ct_vw_by_host_index(vwbase, host_index); in mec_hal_espi_vw_get()
1165 idx = lookup_tc_vw_by_host_index(vwbase, host_index); in mec_hal_espi_vw_get()
1173 int mec_hal_espi_vw_set(struct mec_espi_vw_regs *const vwbase, uint8_t host_index, in mec_hal_espi_vw_set() argument
1177 int idx = lookup_ct_vw_by_host_index(vwbase, host_index); in mec_hal_espi_vw_set()
1183 idx = lookup_tc_vw_by_host_index(vwbase, host_index); in mec_hal_espi_vw_set()
1191 int mec_hal_espi_vw_set_cs(struct mec_espi_vw_regs *const vwbase, uint8_t host_index, in mec_hal_espi_vw_set_cs() argument
1195 int idx = lookup_ct_vw_by_host_index(vwbase, host_index); in mec_hal_espi_vw_set_cs()
1201 idx = lookup_tc_vw_by_host_index(vwbase, host_index); in mec_hal_espi_vw_set_cs()
1213 uint8_t host_index, uint8_t *groupval) in mec_hal_espi_vw_get_group() argument
1216 int idx = lookup_ct_vw_by_host_index(vwbase, host_index); in mec_hal_espi_vw_get_group()
1222 idx = lookup_tc_vw_by_host_index(vwbase, host_index); in mec_hal_espi_vw_get_group()
1235 int mec_hal_espi_vw_set_group(struct mec_espi_vw_regs *const vwbase, uint8_t host_index, in mec_hal_espi_vw_set_group() argument
1239 int idx = lookup_ct_vw_by_host_index(vwbase, host_index); in mec_hal_espi_vw_set_group()
1245 idx = lookup_tc_vw_by_host_index(vwbase, host_index); in mec_hal_espi_vw_set_group()