Lines Matching refs:bitmask
136 uint8_t bitmask; /* VW signal bits-mask */ member
144 uint8_t bitmask; /* VW signal bits-mask */ member
520 valid |= config_out->bitmask; in espi_vw_config_output()
542 valid |= config_out->bitmask; in espi_vw_gpio_config_output()
548 val |= config_out->bitmask; in espi_vw_gpio_config_output()
550 val &= ~config_out->bitmask; in espi_vw_gpio_config_output()
799 uint8_t reg_idx, bitmask, sig_idx, val = 0, vw_tbl_size; in espi_npcx_send_vwire() local
833 bitmask = vw_tbl[sig_idx].bitmask; in espi_npcx_send_vwire()
843 val |= bitmask; in espi_npcx_send_vwire()
845 val &= ~bitmask; in espi_npcx_send_vwire()
865 uint8_t reg_idx, bitmask, sig_idx, val; in espi_npcx_receive_vwire() local
871 bitmask = vw_in_tbl[sig_idx].bitmask; in espi_npcx_receive_vwire()
881 *level = !!(val & bitmask); in espi_npcx_receive_vwire()
890 bitmask = vw_out_tbl[sig_idx].bitmask; in espi_npcx_receive_vwire()
900 *level = !!(val & bitmask); in espi_npcx_receive_vwire()