/openbmc/qemu/hw/net/ |
H A D | vmware_utils.h | 75 vmw_shmem_st8(PCIDevice *d, hwaddr addr, uint8_t value) in vmw_shmem_st8() argument 78 pci_dma_write(d, addr, &value, 1); in vmw_shmem_st8() 92 vmw_shmem_st16(PCIDevice *d, hwaddr addr, uint16_t value) in vmw_shmem_st16() argument 95 value = cpu_to_le16(value); in vmw_shmem_st16() 96 pci_dma_write(d, addr, &value, 2); in vmw_shmem_st16() 110 vmw_shmem_st32(PCIDevice *d, hwaddr addr, uint32_t value) in vmw_shmem_st32() argument 113 value = cpu_to_le32(value); in vmw_shmem_st32() 114 pci_dma_write(d, addr, &value, 4); in vmw_shmem_st32() 128 vmw_shmem_st64(PCIDevice *d, hwaddr addr, uint64_t value) in vmw_shmem_st64() argument 131 value = cpu_to_le64(value); in vmw_shmem_st64() [all …]
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen4_hw_data.h | 42 ADF_RING_CSR_RING_CONFIG + ((ring) << 2), value) 48 dma_addr_t _value = value; \ 63 ADF_RING_CSR_RING_HEAD + ((ring) << 2), value) 67 ADF_RING_CSR_RING_TAIL + ((ring) << 2), value) 68 #define WRITE_CSR_INT_FLAG(csr_base_addr, bank, value) \ argument 71 ADF_RING_CSR_INT_FLAG, (value)) 76 #define WRITE_CSR_INT_COL_EN(csr_base_addr, bank, value) \ argument 79 ADF_RING_CSR_INT_COL_EN, (value)) 84 ADF_RING_CSR_INT_COL_CTL_ENABLE | (value)) 88 ADF_RING_CSR_INT_FLAG_AND_COL, (value)) [all …]
|
/openbmc/u-boot/drivers/input/ |
H A D | twl6030.c | 12 u8 value; in twl6030_input_power_button() local 14 twl6030_i2c_read_u8(TWL6030_CHIP_PM, TWL6030_STS_HW_CONDITIONS, &value); in twl6030_input_power_button() 17 if (value & TWL6030_STS_HW_CONDITIONS_PWRON) in twl6030_input_power_button() 25 u8 value; in twl6030_input_charger() local 28 &value); in twl6030_input_charger() 30 if (value & TWL6030_CONTROLLER_STAT1_VAC_DET) in twl6030_input_charger() 38 u8 value; in twl6030_input_usb() local 41 &value); in twl6030_input_usb() 43 if (value & TWL6030_CONTROLLER_STAT1_VBUS_DET) in twl6030_input_usb()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-tegra186.c | 162 u32 value; in tegra186_gpio_is_accessible() local 209 u32 value; in tegra186_gpio_get_direction() local 227 u32 value; in tegra186_gpio_direction_input() local 250 u32 value; in tegra186_gpio_direction_output() local 279 int value; in tegra186_gpio_en_hw_ts() local 314 int value; in tegra186_gpio_dis_hw_ts() local 346 u32 value; in tegra186_gpio_get() local 366 u32 value; in tegra186_gpio_set() local 511 u32 value; in tegra186_irq_mask() local 529 u32 value; in tegra186_irq_unmask() local [all …]
|
/openbmc/linux/sound/pcmcia/vx/ |
H A D | vxp_mixer.c | 25 uinfo->value.integer.min = 0; in vx_mic_level_info() 26 uinfo->value.integer.max = MIC_LEVEL_MAX; in vx_mic_level_info() 34 ucontrol->value.integer.value[0] = chip->mic_level; in vx_mic_level_get() 42 unsigned int val = ucontrol->value.integer.value[0]; in vx_mic_level_put() 47 if (chip->mic_level != ucontrol->value.integer.value[0]) { in vx_mic_level_put() 48 vx_set_mic_level(_chip, ucontrol->value.integer.value[0]); in vx_mic_level_put() 49 chip->mic_level = ucontrol->value.integer.value[0]; in vx_mic_level_put() 79 ucontrol->value.integer.value[0] = chip->mic_level; in vx_mic_boost_get() 87 int val = !!ucontrol->value.integer.value[0]; in vx_mic_boost_put()
|
/openbmc/qemu/tests/unit/ |
H A D | check-qdict.c | 72 const int value = -42; in qdict_get_test() local 90 const int value = 100; in qdict_get_int_test() local 97 g_assert(ret == value); in qdict_get_int_test() 105 const int value = 100; in qdict_get_try_int_test() local 237 int value; in qdict_put_exists_test() local 245 g_assert(value == 2); in qdict_put_exists_test() 276 char value[128]; in read_line() local 293 QString *value; in qdict_stress_test() local 306 if (!value) in qdict_stress_test() 319 if (!value) in qdict_stress_test() [all …]
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_fru_properties.pl | 95 while (my ($property,$value) = each %{$propertyMap}) 97 $value = "'".$value."'"; 98 print $fh " ".$property.": ".$value; 115 while (my ($property,$value) = each %{$propertyMap}) 117 $value = getValue($item, $property, $value); 118 print $fh " ".$property.": ".$value; 127 my ($item, $property, $value) = @_; 128 $value = "'".$value."'"; 132 $value = "'false'"; 138 $value = "'true'"; [all …]
|
/openbmc/dbus-sensors/ |
H A D | meson.options | 1 option('adc', type: 'feature', value: 'enabled', description: 'Enable ADC sensor.',) 2 option('intel-cpu', type: 'feature', value: 'enabled', description: 'Enable CPU sensor.',) 3 option('exit-air', type: 'feature', value: 'enabled', description: 'Enable exit air sensor.',) 4 option('fan', type: 'feature', value: 'enabled', description: 'Enable fan sensor.',) 6 option('intrusion', type: 'feature', value: 'enabled', description: 'Enable intrusion sensor.',) 7 option('ipmb', type: 'feature', value: 'enabled', description: 'Enable IPMB sensor.',) 8 option('mcu', type: 'feature', value: 'enabled', description: 'Enable MCU sensor.',) 9 option('nvme', type: 'feature', value: 'enabled', description: 'Enable NVMe sensor.',) 10 option('psu', type: 'feature', value: 'enabled', description: 'Enable PSU sensor.',) 11 option('external', type: 'feature', value: 'enabled', description: 'Enable External sensor.',) [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | tusb6010.c | 536 s->wkup_mask = value; in tusb_async_writew() 540 s->pullup[0] = value; in tusb_async_writew() 543 s->pullup[1] = value; in tusb_async_writew() 565 s->dma_intr |= value; in tusb_async_writew() 573 s->dma_mask = value; in tusb_async_writew() 586 s->gpio_mask = value; in tusb_async_writew() 591 s->intr |= value; in tusb_async_writew() 595 s->intr &= ~value; in tusb_async_writew() 599 s->mask = value; in tusb_async_writew() 620 s->dma_map = value; in tusb_async_writew() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | omap_gpmc.c | 118 qemu_set_irq(s->drq, value); in omap_gpmc_dma_update() 352 value = (value << 8) | s->prefetch.fifo[0]; in omap_gpmc_prefetch_write() 645 if ((value >> 3) == 0x3) in omap_gpmc_write() 648 if (value & 2) in omap_gpmc_write() 650 s->sysconfig = value & 0x19; in omap_gpmc_write() 654 s->irqst &= ~value; in omap_gpmc_write() 659 s->irqen = value & 0xf03; in omap_gpmc_write() 672 s->config = value & 0xf13; in omap_gpmc_write() 796 if (value & (1 << 8)) in omap_gpmc_write() 799 s->ecc_ptr = value & 0xf; in omap_gpmc_write() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-pcf8523.c | 57 u32 load, value = 0; in pcf8523_load_capacitance() local 81 u32 value; in pcf8523_irq() local 165 u32 value; in pcf8523_rtc_read_alarm() local 235 u32 value; in pcf8523_param_get() local 243 value = FIELD_GET(PCF8523_CONTROL3_PM, value); in pcf8523_param_get() 245 switch (value) { in pcf8523_param_get() 312 u32 value; in pcf8523_rtc_ioctl() local 342 u32 value; in pcf8523_rtc_read_offset() local 350 val = value << 1; in pcf8523_rtc_read_offset() 360 u32 value; in pcf8523_rtc_set_offset() local [all …]
|
/openbmc/linux/drivers/iio/pressure/ |
H A D | st_pressure_core.c | 242 { .hz = 1, .value = 0x01 }, 243 { .hz = 7, .value = 0x05 }, 295 .value = BIT(0), 315 { .hz = 1, .value = 0x01 }, 316 { .hz = 7, .value = 0x02 }, 345 .value = BIT(0), 367 { .hz = 1, .value = 0x01 }, 412 .value = BIT(0), 481 .value = BIT(0), 550 .value = BIT(0), [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-realtek-rtl.c | 36 u32 value; in rt_set_cs() local 39 value = readl(REG(RTL_SPI_SFCSR)); in rt_set_cs() 41 value |= RTL_SPI_SFCSR_CSB0; in rt_set_cs() 43 value &= ~RTL_SPI_SFCSR_CSB0; in rt_set_cs() 49 u32 value; in set_size() local 52 value &= RTL_SPI_SFCSR_LEN_MASK; in set_size() 54 value |= RTL_SPI_SFCSR_LEN4; in set_size() 56 value |= RTL_SPI_SFCSR_LEN1; in set_size() 135 u32 value; in init_hw() local 144 value |= RTL_SPI_SFCSR_CSB1; in init_hw() [all …]
|
/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-udc.c | 36 value &= ~mask; in fotg210_ack_int() 66 value |= DCFESR_CX_DONE; in fotg210_set_cxdone() 188 u32 value; in fotg210_reset_tseq() local 268 u32 value; in fotg210_enable_dma() local 306 u32 value; in fotg210_wait_dma_done() local 458 u32 value; in fotg210_set_epnstall() local 479 u32 value; in fotg210_clear_epnstall() local 502 if (value) { in fotg210_set_halt_and_wedge() 710 u32 value; in fotg210_is_epnstall() local 1009 u32 value; in fotg210_udc_start() local [all …]
|
/openbmc/linux/arch/csky/abiv1/inc/abi/ |
H A D | ckmmu.h | 12 static inline void write_mmu_index(int value) in write_mmu_index() argument 14 cpwcr("cpcr0", value); in write_mmu_index() 27 static inline void write_mmu_pagemask(int value) in write_mmu_pagemask() argument 29 cpwcr("cpcr6", value); in write_mmu_pagemask() 37 static inline void write_mmu_entryhi(int value) in write_mmu_entryhi() argument 39 cpwcr("cpcr4", value); in write_mmu_entryhi() 47 static inline void write_mmu_msa0(unsigned long value) in write_mmu_msa0() argument 49 cpwcr("cpcr30", value); in write_mmu_msa0() 57 static inline void write_mmu_msa1(unsigned long value) in write_mmu_msa1() argument 59 cpwcr("cpcr31", value); in write_mmu_msa1()
|
/openbmc/linux/arch/mips/loongson2ef/common/cs5536/ |
H A D | cs5536_isa.c | 86 u32 hi = 0, lo = value; in pci_isa_write_bar() 92 } else if (value & 0x01) { in pci_isa_write_bar() 136 u32 hi = 0, lo = value; in pci_isa_write_reg() 141 if (value & PCI_COMMAND_IO) in pci_isa_write_reg() 169 value &= 0x0000ff00; in pci_isa_write_reg() 172 hi |= (value >> 8); in pci_isa_write_reg() 176 pci_isa_write_bar(0, value); in pci_isa_write_reg() 179 pci_isa_write_bar(1, value); in pci_isa_write_reg() 182 pci_isa_write_bar(2, value); in pci_isa_write_reg() 185 pci_isa_write_bar(3, value); in pci_isa_write_reg() [all …]
|
/openbmc/linux/sound/pci/ca0106/ |
H A D | ca0106_proc.c | 88 status[0] = value & 0xff; in snd_ca0106_proc_dump_iec958() 262 u32 value; in snd_ca0106_proc_iec958() local 271 if (value & 0x200000) { in snd_ca0106_proc_iec958() 302 unsigned long value; in snd_ca0106_proc_reg_read32() local 308 value = inl(emu->port + i); in snd_ca0106_proc_reg_read32() 318 unsigned int value; in snd_ca0106_proc_reg_read16() local 324 value = inw(emu->port + i); in snd_ca0106_proc_reg_read16() 334 unsigned int value; in snd_ca0106_proc_reg_read8() local 340 value = inb(emu->port + i); in snd_ca0106_proc_reg_read8() 350 unsigned long value; in snd_ca0106_proc_reg_read1() local [all …]
|
/openbmc/qemu/hw/i2c/ |
H A D | ppc4xx_i2c.c | 204 i2c->lmadr = value; in ppc4xx_i2c_writeb() 207 i2c->hmadr = value; in ppc4xx_i2c_writeb() 211 if (value & IIC_CNTL_AMD) { in ppc4xx_i2c_writeb() 252 if (value & IIC_CNTL_RPST || !(value & IIC_CNTL_CHT)) { in ppc4xx_i2c_writeb() 272 i2c->mdcntl = value & 0x3d; in ppc4xx_i2c_writeb() 284 i2c->sts &= ~(value & 0x0a); in ppc4xx_i2c_writeb() 293 i2c->lsadr = value; in ppc4xx_i2c_writeb() 296 i2c->hsadr = value; in ppc4xx_i2c_writeb() 299 i2c->clkdiv = value; in ppc4xx_i2c_writeb() 302 i2c->intrmsk = value; in ppc4xx_i2c_writeb() [all …]
|
/openbmc/linux/fs/reiserfs/ |
H A D | xattr_acl.c | 74 if (!value) in reiserfs_posix_acl_from_disk() 81 value = (char *)value + sizeof(reiserfs_acl_header); in reiserfs_posix_acl_from_disk() 101 value = (char *)value + in reiserfs_posix_acl_from_disk() 106 value = (char *)value + sizeof(reiserfs_acl_entry); in reiserfs_posix_acl_from_disk() 114 value = (char *)value + sizeof(reiserfs_acl_entry); in reiserfs_posix_acl_from_disk() 126 if (value != end) in reiserfs_posix_acl_from_disk() 196 char *name, *value; in reiserfs_get_acl() local 223 if (!value) in reiserfs_get_acl() 239 kfree(value); in reiserfs_get_acl() 254 void *value = NULL; in __reiserfs_set_acl() local [all …]
|
/openbmc/linux/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | Core.pm | 33 my ($value) = @_; 40 if (!$value && !$idx) { 45 if ($idx && ($value & $idx) == $idx) { 51 $value &= ~$idx; 63 my ($event_name, $field_name, $value) = @_; 70 if (!$value && !$idx) { 74 if ($idx && ($value & $idx) == $idx) { 80 $value &= ~$idx; 118 my ($event_name, $field_name, $value) = @_; 122 if (!$value && !$idx) { [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | exoparg1.c | 263 return_desc->integer.value = ~operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R() 268 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R() 284 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R() 297 return_desc->integer.value = in acpi_ex_opcode_1A_1T_1R() 309 return_desc->integer.value = 0; in acpi_ex_opcode_1A_1T_1R() 335 return_desc->integer.value += in acpi_ex_opcode_1A_1T_1R() 379 return_desc->integer.value |= in acpi_ex_opcode_1A_1T_1R() 389 integer.value))); in acpi_ex_opcode_1A_1T_1R() 585 u64 value; in acpi_ex_opcode_1A_0T_1R() local 658 return_desc->integer.value = in acpi_ex_opcode_1A_0T_1R() [all …]
|
/openbmc/linux/tools/testing/fault-injection/ |
H A D | failcmd.sh | 27 Default value is 1 29 -t value 30 --times=value 32 Default value is 1 34 --oom-kill-allocating-task=value 37 Default value is 1 42 --interval=value, --space=value, --verbose=value, --task-filter=value, 43 --stacktrace-depth=value, --require-start=value, --require-end=value, 44 --reject-start=value, --reject-end=value, --ignore-gfp-wait=value 49 --cache-filter=value [all …]
|
/openbmc/linux/drivers/video/backlight/ |
H A D | vgg2432a4.c | 57 .value = 0x0000, 60 .value = 0x0505, 63 .value = 0x0004, 66 .value = 0x0006, 69 .value = 0x0707, 72 .value = 0x0105, 75 .value = 0x0002, 78 .value = 0x0707, 81 .value = 0x0704, 84 .value = 0x807, [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | pdr_state_effecter.hpp | 34 auto entries = json.value("entries", emptyList); in generateStateEffecterPDR() 38 auto effecters = e.value("effecters", emptyList); in generateStateEffecterPDR() 41 auto set = effecter.value("set", empty); in generateStateEffecterPDR() 42 auto statesSize = set.value("size", 0); in generateStateEffecterPDR() 88 pdr->entity_type = e.value("type", 0); in generateStateEffecterPDR() 90 pdr->container_id = e.value("container", 0); in generateStateEffecterPDR() 102 pdr->entity_type = e.value("type", 0); in generateStateEffecterPDR() 103 pdr->entity_instance = e.value("instance", 0); in generateStateEffecterPDR() 104 pdr->container_id = e.value("container", 0); in generateStateEffecterPDR() 118 auto set = effecter.value("set", empty); in generateStateEffecterPDR() [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/ |
H A D | clock.c | 646 unsigned long value; in tegra_plle_train() local 662 if (value & PLLE_MISC_PLL_READY) in tegra_plle_train() 679 u32 value; in tegra_plle_enable() local 684 value &= ~PLLE_BASE_ENABLE_CML; in tegra_plle_enable() 685 value &= ~PLLE_BASE_ENABLE; in tegra_plle_enable() 690 value &= ~PLLE_MISC_LOCK_ENABLE; in tegra_plle_enable() 706 value |= PLLE_MISC_LOCK_ENABLE; in tegra_plle_enable() 707 value |= PLLE_MISC_SETUP_EXT(0); in tegra_plle_enable() 721 if (value & PLLE_MISC_LOCK) in tegra_plle_enable() 741 value &= ~PLLE_SS_CNTL_SSCBYP; in tegra_plle_enable() [all …]
|