Lines Matching refs:value

260 			 unsigned long value, enum pci_size_t size)  in pci_bus_write_config()  argument
267 return ops->write_config(bus, bdf, offset, value, size); in pci_bus_write_config()
285 int pci_write_config(pci_dev_t bdf, int offset, unsigned long value, in pci_write_config() argument
295 return pci_bus_write_config(bus, bdf, offset, value, size); in pci_write_config()
298 int dm_pci_write_config(struct udevice *dev, int offset, unsigned long value, in dm_pci_write_config() argument
305 return pci_bus_write_config(bus, dm_pci_get_bdf(dev), offset, value, in dm_pci_write_config()
309 int pci_write_config32(pci_dev_t bdf, int offset, u32 value) in pci_write_config32() argument
311 return pci_write_config(bdf, offset, value, PCI_SIZE_32); in pci_write_config32()
314 int pci_write_config16(pci_dev_t bdf, int offset, u16 value) in pci_write_config16() argument
316 return pci_write_config(bdf, offset, value, PCI_SIZE_16); in pci_write_config16()
319 int pci_write_config8(pci_dev_t bdf, int offset, u8 value) in pci_write_config8() argument
321 return pci_write_config(bdf, offset, value, PCI_SIZE_8); in pci_write_config8()
324 int dm_pci_write_config8(struct udevice *dev, int offset, u8 value) in dm_pci_write_config8() argument
326 return dm_pci_write_config(dev, offset, value, PCI_SIZE_8); in dm_pci_write_config8()
329 int dm_pci_write_config16(struct udevice *dev, int offset, u16 value) in dm_pci_write_config16() argument
331 return dm_pci_write_config(dev, offset, value, PCI_SIZE_16); in dm_pci_write_config16()
334 int dm_pci_write_config32(struct udevice *dev, int offset, u32 value) in dm_pci_write_config32() argument
336 return dm_pci_write_config(dev, offset, value, PCI_SIZE_32); in dm_pci_write_config32()
376 unsigned long value; in pci_read_config32() local
379 ret = pci_read_config(bdf, offset, &value, PCI_SIZE_32); in pci_read_config32()
382 *valuep = value; in pci_read_config32()
389 unsigned long value; in pci_read_config16() local
392 ret = pci_read_config(bdf, offset, &value, PCI_SIZE_16); in pci_read_config16()
395 *valuep = value; in pci_read_config16()
402 unsigned long value; in pci_read_config8() local
405 ret = pci_read_config(bdf, offset, &value, PCI_SIZE_8); in pci_read_config8()
408 *valuep = value; in pci_read_config8()
415 unsigned long value; in dm_pci_read_config8() local
418 ret = dm_pci_read_config(dev, offset, &value, PCI_SIZE_8); in dm_pci_read_config8()
421 *valuep = value; in dm_pci_read_config8()
428 unsigned long value; in dm_pci_read_config16() local
431 ret = dm_pci_read_config(dev, offset, &value, PCI_SIZE_16); in dm_pci_read_config16()
434 *valuep = value; in dm_pci_read_config16()
441 unsigned long value; in dm_pci_read_config32() local
444 ret = dm_pci_read_config(dev, offset, &value, PCI_SIZE_32); in dm_pci_read_config32()
447 *valuep = value; in dm_pci_read_config32()
545 ulong value, in pci_generic_mmap_write_config() argument
555 writeb(value, address); in pci_generic_mmap_write_config()
558 writew(value, address); in pci_generic_mmap_write_config()
561 writel(value, address); in pci_generic_mmap_write_config()
1054 uint offset, ulong value, in pci_bridge_write_config() argument
1059 return pci_bus_write_config(hose->ctlr, bdf, offset, value, size); in pci_bridge_write_config()
1122 ulong pci_conv_32_to_size(ulong value, uint offset, enum pci_size_t size) in pci_conv_32_to_size() argument
1126 return (value >> ((offset & 3) * 8)) & 0xff; in pci_conv_32_to_size()
1128 return (value >> ((offset & 2) * 8)) & 0xffff; in pci_conv_32_to_size()
1130 return value; in pci_conv_32_to_size()
1134 ulong pci_conv_size_to_32(ulong old, ulong value, uint offset, in pci_conv_size_to_32() argument
1151 return value; in pci_conv_size_to_32()
1154 ldata = (value & val_mask) << shift; in pci_conv_size_to_32()
1156 value = (old & ~mask) | ldata; in pci_conv_size_to_32()
1158 return value; in pci_conv_size_to_32()