Home
last modified time | relevance | path

Searched refs:mask_pos (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/pinctrl/
Dpinctrl-single.c1119 unsigned mask, bit_pos, val_pos, mask_pos, submask; in pcs_parse_bits_in_pinctrl_entry() local
1145 mask_pos = ((pcs->fmask) << bit_pos); in pcs_parse_bits_in_pinctrl_entry()
1146 val_pos = val & mask_pos; in pcs_parse_bits_in_pinctrl_entry()
1147 submask = mask & mask_pos; in pcs_parse_bits_in_pinctrl_entry()
1149 if ((mask & mask_pos) == 0) { in pcs_parse_bits_in_pinctrl_entry()
1156 mask &= ~mask_pos; in pcs_parse_bits_in_pinctrl_entry()
1158 if (submask != mask_pos) { in pcs_parse_bits_in_pinctrl_entry()
/Linux-v5.4/drivers/pci/
Dmsi.c182 pci_write_config_dword(msi_desc_to_pci_dev(desc), desc->mask_pos, in __pci_msi_desc_mask_irq()
583 entry->mask_pos = dev->msi_cap + PCI_MSI_MASK_64; in msi_setup_entry()
585 entry->mask_pos = dev->msi_cap + PCI_MSI_MASK_32; in msi_setup_entry()
589 pci_read_config_dword(dev, entry->mask_pos, &entry->masked); in msi_setup_entry()
/Linux-v5.4/include/linux/
Dmsi.h115 u8 mask_pos; member