Lines Matching refs:value
137 uint8_t value; in pci_config() local
138 ret = pci_read_config_byte(&loc, offset, &value); in pci_config()
141 … printf("byte at device %02x:%02x config offset %04x: %02x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
146 uint16_t value; in pci_config() local
147 ret = pci_read_config_half(&loc, offset, &value); in pci_config()
150 … printf("half at device %02x:%02x config offset %04x: %04x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
155 uint32_t value; in pci_config() local
156 ret = pci_read_config_word(&loc, offset, &value); in pci_config()
159 … printf("word at device %02x:%02x config offset %04x: %08x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
174 uint8_t value = atoui(argv[6].str); in pci_config() local
175 ret = pci_write_config_byte(&loc, offset, value); in pci_config()
178 … printf("byte to device %02x:%02x config offset %04x: %02x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
183 uint16_t value = atoui(argv[6].str); in pci_config() local
184 ret = pci_write_config_half(&loc, offset, value); in pci_config()
187 … printf("half to device %02x:%02x config offset %04x: %04x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
192 uint32_t value = atoui(argv[6].str); in pci_config() local
193 ret = pci_write_config_word(&loc, offset, value); in pci_config()
196 … printf("word to device %02x:%02x config offset %04x: %08x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()