Lines Matching refs:width
63 rt_uint32_t devfn, int reg, int width, rt_uint32_t *value) in PCI_OPS()
69 if (width == 1) in PCI_OPS()
73 else if (width == 2) in PCI_OPS()
89 rt_uint32_t devfn, int reg, int width, rt_uint32_t value) in rt_pci_bus_write_config_uxx() argument
95 if (width == 1) in rt_pci_bus_write_config_uxx()
99 else if (width == 2) in rt_pci_bus_write_config_uxx()
115 rt_uint32_t devfn, int reg, int width, rt_uint32_t *value) in rt_pci_bus_read_config_generic_u32() argument
123 if (width <= 2) in rt_pci_bus_read_config_generic_u32()
125 *value = (*value >> (8 * (reg & 3))) & ((1 << (width * 8)) - 1); in rt_pci_bus_read_config_generic_u32()
135 rt_uint32_t devfn, int reg, int width, rt_uint32_t value) in rt_pci_bus_write_config_generic_u32() argument
141 if (width == 4) in rt_pci_bus_write_config_generic_u32()
149 mask = ~(((1 << (width * 8)) - 1) << ((reg & 0x3) * 8)); in rt_pci_bus_write_config_generic_u32()