/openbmc/qemu/hw/timer/ |
H A D | aspeed_timer.c | 115 return value < min_ticks ? min_ticks : value; in calculate_min_ticks() 216 uint64_t value; in aspeed_timer_get_value() local 236 value = 0; in aspeed_timer_get_value() 239 return value; in aspeed_timer_get_value() 246 uint64_t value; in aspeed_timer_read() local 263 return value; in aspeed_timer_read() 478 value = 0; in aspeed_2400_timer_read() 481 return value; in aspeed_2400_timer_read() 517 value = 0; in aspeed_2500_timer_read() 520 return value; in aspeed_2500_timer_read() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-rda.c | 70 u32 value; in rda_gpio_irq_mask() local 72 value = BIT(offset) << RDA_GPIO_IRQ_RISE_SHIFT; in rda_gpio_irq_mask() 73 value |= BIT(offset) << RDA_GPIO_IRQ_FALL_SHIFT; in rda_gpio_irq_mask() 92 u32 value; in rda_gpio_set_irq() local 97 value = BIT(offset) << RDA_GPIO_IRQ_RISE_SHIFT; in rda_gpio_set_irq() 101 value = BIT(offset) << RDA_GPIO_LEVEL_SHIFT; in rda_gpio_set_irq() 107 value = BIT(offset) << RDA_GPIO_IRQ_FALL_SHIFT; in rda_gpio_set_irq() 111 value = BIT(offset) << RDA_GPIO_LEVEL_SHIFT; in rda_gpio_set_irq() 122 value = BIT(offset) << RDA_GPIO_LEVEL_SHIFT; in rda_gpio_set_irq() 131 value |= BIT(offset) << RDA_GPIO_LEVEL_SHIFT; in rda_gpio_set_irq() [all …]
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | meson.options | 8 value: 'static', 40 value: 1, 46 value: 'hashfunc', 58 value: 'MANIFEST', 70 value: [], 76 value: 'publickey', 82 value: '.sig', 94 value: '/etc/', 100 value: 'synclist', 106 value: '', [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ |
H A D | 0001-Use-long-long-instead-of-int64_t.patch | 26 - uint64_t value; 30 value = 0; 35 - uint64_t value; 36 + long long value; 39 value = 0; 44 - uint64_t value; 45 + long long value; 48 value = 0; 62 - uint64_t value; 63 + long long value; [all …]
|
/openbmc/openpower-vpd-parser/ |
H A D | meson.options | 1 option('oe-sdk', type: 'feature', value : 'disabled', description: 'ENABLE OE SDK FOR OPENPOWER VPD… 2 option('tests', type: 'feature', value : 'enabled', description: 'Build tests') 3 option('FRU_YAML',type: 'string', value: 'writefru.yaml', description: 'YAML STRING') 4 option('PROP_YAML',type: 'string', value: 'extra-properties-example.yaml', description: 'YAML PROP… 6 option('VPD_FILES_PATH',type: 'string', value: '/var/lib/vpd', description: 'Directory to hold VPD … 8 option('INVENTORY_PATH',type: 'string', value: '/xyz/openbmc_project/inventory', description: 'Pref… 10 option('IPZ_INTERFACE', type: 'string', value: 'com.ibm.ipzvpd', description: 'IPZ VPD interface') 11 option('BUSNAME', type : 'string', value : 'com.ibm.VPD.Manager',description : 'BUS NAME FOR THE SE… 12 option('OBJPATH', type : 'string', value : '/com/ibm/VPD/Manager', description : 'OBJECT PATH FOR T… 13 option('IFACE', type : 'string', value : 'com.ibm.VPD.Manager', description : 'INTERFACE NAME') [all …]
|
/openbmc/linux/sound/pci/oxygen/ |
H A D | oxygen_io.c | 56 u8 value, u8 mask) in oxygen_write8_masked() argument 60 tmp |= value & mask; in oxygen_write8_masked() 67 u16 value, u16 mask) in oxygen_write16_masked() argument 71 tmp |= value & mask; in oxygen_write16_masked() 78 u32 value, u32 mask) in oxygen_write32_masked() argument 82 tmp |= value & mask; in oxygen_write32_masked() 159 if (value == last_read) in oxygen_read_ac97() 160 return value; in oxygen_read_ac97() 161 last_read = value; in oxygen_read_ac97() 179 value &= ~mask; in oxygen_write_ac97_masked() [all …]
|
H A D | oxygen.c | 140 u8 reg, u8 value) in ak4396_write() argument 335 u8 value; in set_ak4396_params() local 375 u8 value; in update_ak4396_mute() local 439 value->value.enumerated.item[0] = in rolloff_get() 455 if (value->value.enumerated.item[0]) in rolloff_put() 490 value->value.enumerated.item[0] = in hpf_get() 504 if (value->value.enumerated.item[0]) in hpf_put() 542 value->value.enumerated.item[0] = in meridian_dig_source_get() 553 value->value.enumerated.item[0] = in claro_dig_source_get() 569 if (value->value.enumerated.item[0] == 0) in meridian_dig_source_put() [all …]
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-bcm-kona.c | 107 unsigned int value, chan = pwm->hwpwm; in kona_pwmc_config() local 143 value = readl(kp->base + PRESCALE_OFFSET); in kona_pwmc_config() 144 value &= ~PRESCALE_MASK(chan); in kona_pwmc_config() 145 value |= prescale << PRESCALE_SHIFT(chan); in kona_pwmc_config() 146 writel(value, kp->base + PRESCALE_OFFSET); in kona_pwmc_config() 162 unsigned int value; in kona_pwmc_set_polarity() local 207 unsigned int value; in kona_pwmc_disable() local 216 value = readl(kp->base + PRESCALE_OFFSET); in kona_pwmc_disable() 217 value &= ~PRESCALE_MASK(chan); in kona_pwmc_disable() 218 writel(value, kp->base + PRESCALE_OFFSET); in kona_pwmc_disable() [all …]
|
/openbmc/linux/drivers/media/platform/ti/davinci/ |
H A D | vpif.c | 294 u32 value; in vpif_set_mode_info() local 297 value <<= VPIF_CH_LEN_SHIFT; in vpif_set_mode_info() 302 value <<= VPIF_CH_LEN_SHIFT; in vpif_set_mode_info() 307 value <<= VPIF_CH_LEN_SHIFT; in vpif_set_mode_info() 312 value <<= VPIF_CH_LEN_SHIFT; in vpif_set_mode_info() 329 u32 value, ch_nip, reg; in config_vpif_params() local 363 value = regr(reg); in config_vpif_params() 365 value &= ~(0x3u << in config_vpif_params() 369 regw(value, reg); in config_vpif_params() 405 u32 value; in vpif_set_vbi_display_params() local [all …]
|
/openbmc/linux/drivers/usb/mtu3/ |
H A D | mtu3_dr.c | 33 u32 value; in ssusb_port0_switch() local 40 value = mtu3_readl(ibase, SSUSB_U2_CTRL(0)); in ssusb_port0_switch() 42 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch() 45 value = mtu3_readl(ibase, SSUSB_U2_CTRL(0)); in ssusb_port0_switch() 47 value = tohost ? (value | SSUSB_U2_PORT_HOST_SEL) : in ssusb_port0_switch() 48 (value & (~SSUSB_U2_PORT_HOST_SEL)); in ssusb_port0_switch() 59 value = tohost ? (value | SSUSB_U3_PORT_HOST_SEL) : in ssusb_port0_switch() 60 (value & (~SSUSB_U3_PORT_HOST_SEL)); in ssusb_port0_switch() 240 u32 value; in ssusb_set_force_mode() local 248 value |= SSUSB_U2_PORT_FORCE_IDDIG; in ssusb_set_force_mode() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wm8958-dsp2.c | 459 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_mbc_enum() local 503 ucontrol->value.integer.value[0] = wm8994->mbc_ena[mbc]; in wm8958_mbc_get() 518 if (ucontrol->value.integer.value[0] > 1) in wm8958_mbc_put() 549 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_vss_enum() local 582 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_vss_hpf_enum() local 641 if (ucontrol->value.integer.value[0] > 1) in wm8958_vss_put() 704 ucontrol->value.integer.value[0]) in wm8958_hpf_put() 708 ucontrol->value.integer.value[0]) in wm8958_hpf_put() 712 if (ucontrol->value.integer.value[0] > 1) in wm8958_hpf_put() 749 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_enh_eq_enum() local [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | pdr_state_sensor.hpp | 33 auto entries = json.value("entries", emptyList); in generateStateSensorPDR() 37 auto sensors = e.value("sensors", emptyList); in generateStateSensorPDR() 40 auto set = sensor.value("set", empty); in generateStateSensorPDR() 41 auto statesSize = set.value("size", 0); in generateStateSensorPDR() 91 pdr->entity_type = e.value("type", 0); in generateStateSensorPDR() 105 pdr->entity_type = e.value("type", 0); in generateStateSensorPDR() 106 pdr->entity_instance = e.value("instance", 0); in generateStateSensorPDR() 107 pdr->container_id = e.value("container", 0); in generateStateSensorPDR() 129 auto set = sensor.value("set", empty); in generateStateSensorPDR() 150 auto dbusEntry = sensor.value("dbus", empty); in generateStateSensorPDR() [all …]
|
/openbmc/linux/scripts/ |
H A D | generate_rust_target.rs | 39 for (key, value) in rest { in fmt() 59 fn push(&mut self, key: &str, value: T); in push() 63 fn push(&mut self, key: &str, value: bool) { in push() 69 fn push(&mut self, key: &str, value: i32) { in push() 70 self.0.push((key.to_string(), Value::Number(value))); in push() 75 fn push(&mut self, key: &str, value: String) { in push() 76 self.0.push((key.to_string(), Value::String(value))); in push() 81 fn push(&mut self, key: &str, value: &str) { in push() 82 self.push(key, value.to_string()); in push() 87 fn push(&mut self, key: &str, value: Object) { in push() [all …]
|
/openbmc/u-boot/drivers/rtc/ |
H A D | rtc-uclass.c | 64 u16 value = 0; in rtc_read16() local 68 for (i = 0; i < sizeof(value); i++) { in rtc_read16() 72 value |= ret << (i << 3); in rtc_read16() 75 *valuep = value; in rtc_read16() 83 for (i = 0; i < sizeof(value); i++) { in rtc_write16() 84 ret = rtc_write8(dev, reg + i, (value >> (i << 3)) & 0xff); in rtc_write16() 94 u32 value = 0; in rtc_read32() local 98 for (i = 0; i < sizeof(value); i++) { in rtc_read32() 102 value |= ret << (i << 3); in rtc_read32() 105 *valuep = value; in rtc_read32() [all …]
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-posix-acl.c | 31 const char *name, void *value, size_t size) in mp_pacl_getxattr() argument 33 return local_getxattr_nofollow(ctx, path, MAP_ACL_ACCESS, value, size); in mp_pacl_getxattr() 37 char *name, void *value, size_t osize) in mp_pacl_listxattr() argument 41 if (!value) { in mp_pacl_listxattr() 51 memcpy(value, ACL_ACCESS, len); in mp_pacl_listxattr() 56 void *value, size_t size, int flags) in mp_pacl_setxattr() argument 58 return local_setxattr_nofollow(ctx, path, MAP_ACL_ACCESS, value, size, in mp_pacl_setxattr() 91 char *name, void *value, size_t osize) in mp_dacl_listxattr() argument 95 if (!value) { in mp_dacl_listxattr() 105 memcpy(value, ACL_DEFAULT, len); in mp_dacl_listxattr() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | libqtest-single.h | 100 static inline void outb(uint16_t addr, uint8_t value) in outb() argument 102 qtest_outb(global_qtest, addr, value); in outb() 112 static inline void outw(uint16_t addr, uint16_t value) in outw() argument 114 qtest_outw(global_qtest, addr, value); in outw() 124 static inline void outl(uint16_t addr, uint32_t value) in outl() argument 126 qtest_outl(global_qtest, addr, value); in outl() 175 static inline void writeb(uint64_t addr, uint8_t value) in writeb() argument 177 qtest_writeb(global_qtest, addr, value); in writeb() 189 qtest_writew(global_qtest, addr, value); in writew() 201 qtest_writel(global_qtest, addr, value); in writel() [all …]
|
/openbmc/linux/tools/lib/api/fs/ |
H A D | fs.h | 45 int filename__read_int(const char *filename, int *value); 46 int filename__read_ull(const char *filename, unsigned long long *value); 47 int filename__read_xll(const char *filename, unsigned long long *value); 50 int filename__write_int(const char *filename, int value); 54 int sysctl__read_int(const char *sysctl, int *value); 55 int sysfs__read_int(const char *entry, int *value); 56 int sysfs__read_ull(const char *entry, unsigned long long *value); 57 int sysfs__read_xll(const char *entry, unsigned long long *value); 59 int sysfs__read_bool(const char *entry, bool *value); 61 int sysfs__write_int(const char *entry, int value);
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu_helper.h | 64 uint32_t value, uint32_t mask); 68 uint32_t value, uint32_t mask); 100 uint32_t value, uint32_t mask); 105 uint32_t value, 144 #define PHM_GET_FIELD(value, reg, field) \ argument 189 mm##port##_INDEX, index, value, mask) 201 port, index, value, mask) \ argument 215 port, index, value, mask) \ argument 228 index, value, mask) \ argument 230 index, value, mask) [all …]
|
/openbmc/linux/security/tomoyo/ |
H A D | condition.c | 78 if (envp->value) { in tomoyo_envp() 334 value = NULL; in tomoyo_parse_envp() 337 if (!value) { in tomoyo_parse_envp() 343 envp->value = value; in tomoyo_parse_envp() 901 value = 0400; in tomoyo_condition() 904 value = 0200; in tomoyo_condition() 907 value = 0100; in tomoyo_condition() 910 value = 0040; in tomoyo_condition() 913 value = 0020; in tomoyo_condition() 916 value = 0010; in tomoyo_condition() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-of-sparx5.c | 98 (value << MSHC_DLY_CC_SHIFT)); in sparx5_set_delay() 104 u8 value; in sdhci_sparx5_set_emmc() local 106 value = sdhci_readb(host, MSHC2_EMMC_CTRL); in sdhci_sparx5_set_emmc() 107 if (!(value & MSHC2_EMMC_CTRL_IS_EMMC)) { in sdhci_sparx5_set_emmc() 108 value |= MSHC2_EMMC_CTRL_IS_EMMC; in sdhci_sparx5_set_emmc() 110 mmc_hostname(host->mmc), value); in sdhci_sparx5_set_emmc() 118 u8 value; in sdhci_sparx5_reset_emmc() local 123 sdhci_writeb(host, value, MSHC2_EMMC_CTRL); in sdhci_sparx5_reset_emmc() 166 u32 value; in sdhci_sparx5_probe() local 195 (value > 0 && value <= MSHC_DLY_CC_MAX)) in sdhci_sparx5_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_hwtstamp.c | 41 if (value & PTP_TCR_TSCFUPDT) in config_sub_second_increment() 47 if (!(value & PTP_TCR_TSCTRLSSR)) in config_sub_second_increment() 107 u32 value; in init_systime() local 112 value = readl(ioaddr + PTP_TCR); in init_systime() 113 value |= PTP_TCR_TSINIT; in init_systime() 118 !(value & PTP_TCR_TSINIT), in init_systime() 124 u32 value; in config_addend() local 130 value |= PTP_TCR_TSADDREG; in config_addend() 149 u32 value; in adjust_systime() local 161 if (value & PTP_TCR_TSCTRLSSR) in adjust_systime() [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | tps65010.c | 185 u8 value, v2; in dbg_show() local 252 (value & 0x80) in dbg_show() 255 value, v2, in dbg_show() 261 (value & 0x80) in dbg_show() 264 value, v2, in dbg_show() 480 int value; in tps65010_gpio_get() local 487 if (value < 0) in tps65010_gpio_get() 488 return value; in tps65010_gpio_get() 731 switch (value) { in tps65010_set_gpio_out_value() 852 if (value) in tps65010_set_vib() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_cgroup_storage.c | 43 unsigned long long value; in main() local 58 sizeof(value), 0, NULL); in main() 65 sizeof(key), sizeof(value), 0, NULL); in main() 94 if (bpf_map_lookup_elem(map_fd, &key, &value)) { in main() 113 if (bpf_map_lookup_elem(map_fd, &key, &value)) { in main() 118 if (value != 3) { in main() 124 value++; in main() 141 if (value != 7) { in main() 156 value = 0; in main() 158 value += percpu_value[cpu]; in main() [all …]
|
/openbmc/linux/sound/ppc/ |
H A D | daca.c | 90 ucontrol->value.integer.value[0] = mix->deemphasis ? 1 : 0; in daca_get_deemphasis() 104 change = mix->deemphasis != ucontrol->value.integer.value[0]; in daca_put_deemphasis() 106 mix->deemphasis = !!ucontrol->value.integer.value[0]; in daca_put_deemphasis() 118 uinfo->value.integer.min = 0; in daca_info_volume() 131 ucontrol->value.integer.value[0] = mix->left_vol; in daca_get_volume() 132 ucontrol->value.integer.value[1] = mix->right_vol; in daca_get_volume() 147 vol[0] = ucontrol->value.integer.value[0]; in daca_put_volume() 148 vol[1] = ucontrol->value.integer.value[1]; in daca_put_volume() 172 ucontrol->value.integer.value[0] = mix->amp_on ? 1 : 0; in daca_get_amp() 186 change = mix->amp_on != ucontrol->value.integer.value[0]; in daca_put_amp() [all …]
|
/openbmc/qemu/hw/gpio/ |
H A D | sifive_gpio.c | 100 s->value = deposit32(s->value, i, 1, ival); in update_state() 112 r = s->value; in sifive_gpio_read() 208 s->port = value; in sifive_gpio_write() 212 s->pue = value; in sifive_gpio_write() 216 s->ds = value; in sifive_gpio_write() 220 s->rise_ie = value; in sifive_gpio_write() 229 s->fall_ie = value; in sifive_gpio_write() 247 s->low_ie = value; in sifive_gpio_write() 256 s->iof_en = value; in sifive_gpio_write() 293 if (value >= 0) { in sifive_gpio_set() [all …]
|