Lines Matching full:bitmask
110 uint8_t bitmask; /* VW signal bits-mask */ member
118 uint8_t bitmask; /* VW signal bits-mask */ member
366 valid |= config_out->bitmask; in espi_vw_config_output()
388 valid |= config_out->bitmask; in espi_vw_gpio_config_output()
394 val |= config_out->bitmask; in espi_vw_gpio_config_output()
396 val &= ~config_out->bitmask; in espi_vw_gpio_config_output()
624 uint8_t reg_idx, bitmask, sig_idx, val = 0, vw_tbl_size; in espi_npcx_send_vwire() local
656 bitmask = vw_tbl[sig_idx].bitmask; in espi_npcx_send_vwire()
666 val |= bitmask; in espi_npcx_send_vwire()
668 val &= ~bitmask; in espi_npcx_send_vwire()
688 uint8_t reg_idx, bitmask, sig_idx, val; in espi_npcx_receive_vwire() local
694 bitmask = vw_in_tbl[sig_idx].bitmask; in espi_npcx_receive_vwire()
701 *level = !!(val & bitmask); in espi_npcx_receive_vwire()
709 bitmask = vw_out_tbl[sig_idx].bitmask; in espi_npcx_receive_vwire()
715 *level = !!(val & bitmask); in espi_npcx_receive_vwire()