/openbmc/linux/drivers/dma/dw/ |
H A D | idma32.c | 52 u32 value; in idma32_initialize_chan_xbar() local 57 value &= ~REGACCESS_CHID_MASK; in idma32_initialize_chan_xbar() 58 value |= dwc->chan.chan_id; in idma32_initialize_chan_xbar() 71 value |= CTL_CH_TRANSFER_MODE_D2S; in idma32_initialize_chan_xbar() 72 value |= CTL_CH_WR_NON_SNOOP_BIT; in idma32_initialize_chan_xbar() 76 value |= CTL_CH_RD_NON_SNOOP_BIT; in idma32_initialize_chan_xbar() 94 value &= ~XBAR_SEL_DEVID_MASK; in idma32_initialize_chan_xbar() 99 value |= XBAR_SEL_RX_TX_BIT; in idma32_initialize_chan_xbar() 102 value &= ~XBAR_SEL_RX_TX_BIT; in idma32_initialize_chan_xbar() 235 fifo_partition |= value << 0; in idma32_fifo_partition() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | map_perf_test.bpf.c | 20 __type(value, long); 108 long *value; in BPF_KSYSCALL() local 114 if (value) in BPF_KSYSCALL() 126 long *value; in BPF_KSYSCALL() local 132 if (value) in BPF_KSYSCALL() 143 long *value; in BPF_KSYSCALL() local 149 if (value) in BPF_KSYSCALL() 160 long *value; in BPF_KSYSCALL() local 166 if (value) in BPF_KSYSCALL() 274 long *value; in BPF_KSYSCALL() local [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-tangier.c | 112 u32 value; in tng_gpio_direction_input() local 119 value = readl(gpdr); in tng_gpio_direction_input() 121 writel(value, gpdr); in tng_gpio_direction_input() 129 int value) in tng_gpio_direction_output() argument 141 value = readl(gpdr); in tng_gpio_direction_output() 142 value |= BIT(shift); in tng_gpio_direction_output() 143 writel(value, gpdr); in tng_gpio_direction_output() 169 u32 value; in tng_gpio_set_debounce() local 226 u32 value; in tng_irq_unmask_mask() local 274 u32 value; in tng_irq_set_type() local [all …]
|
/openbmc/phosphor-dbus-interfaces/ |
H A D | meson.options | 1 option('generate_md', type: 'boolean', value: true) 2 option('libphosphor_dbus', type: 'boolean', value: true) 3 option('data_com_google', type: 'boolean', value: true) 4 option('data_com_ibm', type: 'boolean', value: true) 5 option('data_com_intel', type: 'boolean', value: true) 6 option('data_com_meta', type: 'boolean', value: true) 7 option('data_org_freedesktop', type: 'boolean', value: true) 8 option('data_org_open_power', type: 'boolean', value: true) 9 option('data_xyz_openbmc_project', type: 'boolean', value: true)
|
/openbmc/linux/drivers/hid/ |
H A D | hid-gaff.c | 44 gaff->report->field[0]->value[0] = 0x51; in hid_gaff_play() 45 gaff->report->field[0]->value[1] = 0x0; in hid_gaff_play() 46 gaff->report->field[0]->value[2] = right; in hid_gaff_play() 47 gaff->report->field[0]->value[3] = 0; in hid_gaff_play() 48 gaff->report->field[0]->value[4] = left; in hid_gaff_play() 49 gaff->report->field[0]->value[5] = 0; in hid_gaff_play() 53 gaff->report->field[0]->value[0] = 0xfa; in hid_gaff_play() 54 gaff->report->field[0]->value[1] = 0xfe; in hid_gaff_play() 55 gaff->report->field[0]->value[2] = 0x0; in hid_gaff_play() 56 gaff->report->field[0]->value[4] = 0x0; in hid_gaff_play() [all …]
|
H A D | hid-lg3ff.c | 60 memset(report->field[0]->value, 0, in hid_lg3ff_play() 73 report->field[0]->value[0] = 0x51; in hid_lg3ff_play() 98 report->field[0]->value[0] = 0x51; in hid_lg3ff_set_autocenter() 99 report->field[0]->value[1] = 0x00; in hid_lg3ff_set_autocenter() 100 report->field[0]->value[2] = 0x00; in hid_lg3ff_set_autocenter() 101 report->field[0]->value[3] = 0x7F; in hid_lg3ff_set_autocenter() 102 report->field[0]->value[4] = 0x7F; in hid_lg3ff_set_autocenter() 103 report->field[0]->value[31] = 0x00; in hid_lg3ff_set_autocenter() 104 report->field[0]->value[32] = 0x00; in hid_lg3ff_set_autocenter() 105 report->field[0]->value[33] = 0x7F; in hid_lg3ff_set_autocenter() [all …]
|
/openbmc/linux/sound/pci/ca0106/ |
H A D | ca0106_mixer.c | 151 ucontrol->value.integer.value[0] = emu->spdif_enable; in snd_ca0106_shared_spdif_get() 162 val = !!ucontrol->value.integer.value[0]; in snd_ca0106_shared_spdif_put() 422 ucontrol->value.integer.value[0] = 0xff - ((value >> 24) & 0xff); /* Left */ in snd_ca0106_volume_get() 423 ucontrol->value.integer.value[1] = 0xff - ((value >> 16) & 0xff); /* Right */ in snd_ca0106_volume_get() 438 nval = ((0xff - ucontrol->value.integer.value[0]) << 24) | in snd_ca0106_volume_put() 439 ((0xff - ucontrol->value.integer.value[1]) << 16); in snd_ca0106_volume_put() 440 nval |= ((0xff - ucontrol->value.integer.value[0]) << 8) | in snd_ca0106_volume_put() 441 ((0xff - ucontrol->value.integer.value[1]) ); in snd_ca0106_volume_put() 482 ngain = ucontrol->value.integer.value[0]; in snd_ca0106_i2c_volume_put() 492 ngain = ucontrol->value.integer.value[1]; in snd_ca0106_i2c_volume_put() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | tables_phy_lcn.c | 459 u32 type, value; in b43_lcntab_read() local 481 value = 0; in b43_lcntab_read() 484 return value; in b43_lcntab_read() 534 B43_WARN_ON(value & ~0xFF); in b43_lcntab_write() 558 u32 type, value; in b43_lcntab_write_bulk() local 571 value = *data; in b43_lcntab_write_bulk() 573 B43_WARN_ON(value & ~0xFF); in b43_lcntab_write_bulk() 577 value = *((u16 *)data); in b43_lcntab_write_bulk() 583 value = *((u32 *)data); in b43_lcntab_write_bulk() 586 value >> 16); in b43_lcntab_write_bulk() [all …]
|
/openbmc/qemu/util/ |
H A D | block-helpers.c | 28 void check_block_size(const char *id, const char *name, int64_t value, in check_block_size() argument 32 if (value && (value < MIN_BLOCK_SIZE || value > MAX_BLOCK_SIZE)) { in check_block_size() 34 id, name, value, MIN_BLOCK_SIZE, MAX_BLOCK_SIZE); in check_block_size() 39 if ((value & (value - 1)) != 0) { in check_block_size() 43 id, name, value); in check_block_size()
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | vpd.cpp | 28 std::vector<uint8_t> value{}; in getValue() local 38 value = it->second; in getValue() 43 getDBusProperty(inventoryPath, keyword, value); in getValue() 46 cachedKeywords[keyword] = value; in getValue() 49 return value; in getValue() 54 std::vector<uint8_t>& value) in getDBusProperty() argument 60 value.clear(); in getDBusProperty() 67 INVENTORY_MGR_IFACE, bus, value); in getDBusProperty() 75 value.insert(value.begin(), stringValue.begin(), stringValue.end()); in getDBusProperty() 84 value.clear(); in getDBusProperty()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_hw_utils.c | 42 u32 value = readl(hw->mmio + reg); in aq_hw_read_reg() local 44 if (value == U32_MAX && in aq_hw_read_reg() 48 return value; in aq_hw_read_reg() 53 writel(value, hw->mmio + reg); in aq_hw_write_reg() 62 u64 value = U64_MAX; in aq_hw_read_reg64() local 65 value = readq(hw->mmio + reg); in aq_hw_read_reg64() 67 value = lo_hi_readq(hw->mmio + reg); in aq_hw_read_reg64() 69 if (value == U64_MAX && in aq_hw_read_reg64() 73 return value; in aq_hw_read_reg64() 79 writeq(value, hw->mmio + reg); in aq_hw_write_reg64() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | acl.c | 23 char *value = NULL; in btrfs_get_acl() local 42 value = kzalloc(size, GFP_KERNEL); in btrfs_get_acl() 43 if (!value) in btrfs_get_acl() 45 size = btrfs_getxattr(inode, name, value, size); in btrfs_get_acl() 48 acl = posix_acl_from_xattr(&init_user_ns, value, size); in btrfs_get_acl() 53 kfree(value); in btrfs_get_acl() 63 char *value = NULL; in __btrfs_set_acl() local 87 value = kmalloc(size, GFP_KERNEL); in __btrfs_set_acl() 89 if (!value) { in __btrfs_set_acl() 102 ret = btrfs_setxattr_trans(inode, name, value, size, 0); in __btrfs_set_acl() [all …]
|
/openbmc/linux/arch/mips/ar7/ |
H A D | prom.c | 25 char *value; member 36 return adam2_env[i].value; in prom_getenv() 73 char *value; member 124 return psp_var_map[i].value; in lookup_psp_var_map() 136 adam2_env[i].value = value; in add_adam2_var() 139 adam2_env[i].value = value; in add_adam2_var() 148 char *name, *value; in parse_psp_env() local 158 value = chunks[i].data; in parse_psp_env() 162 name = value; in parse_psp_env() 163 value += strlen(name) + 1; in parse_psp_env() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | ini.c | 128 char *value; in ini_parse() local 174 value = lskip(end + 1); in ini_parse() 175 end = find_char_or_comment(value, '\0'); in ini_parse() 178 rstrip(value); in ini_parse() 180 if (value[0] == '"' && in ini_parse() 181 value[strlen(value)-1] == '"') { in ini_parse() 182 value[strlen(value)-1] = '\0'; in ini_parse() 183 value += 1; in ini_parse() 218 for (i = 0; i < strlen(value); i++) in ini_handler() 219 value[i] = tolower(value[i]); in ini_handler() [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | ops.c | 16 u32 mask, u32 value) in snd_sof_pci_update_bits_unlocked() argument 26 new = (old & ~mask) | (value & mask); in snd_sof_pci_update_bits_unlocked() 39 u32 mask, u32 value) in snd_sof_pci_update_bits() argument 60 new = (old & ~mask) | (value & mask); in snd_sof_dsp_update_bits_unlocked() 72 u32 offset, u64 mask, u64 value) in snd_sof_dsp_update_bits64_unlocked() argument 78 new = (old & ~mask) | (value & mask); in snd_sof_dsp_update_bits64_unlocked() 91 u32 mask, u32 value) in snd_sof_dsp_update_bits() argument 98 value); in snd_sof_dsp_update_bits() 105 u64 mask, u64 value) in snd_sof_dsp_update_bits64() argument 112 value); in snd_sof_dsp_update_bits64() [all …]
|
/openbmc/libbej/src/ |
H A D | bej_tree.c | 63 int64_t value) in bejTreeAddInteger() argument 66 child->value = value; in bejTreeAddInteger() 72 node->value = newValue; in bejTreeSetInteger() 77 const char* value) in bejTreeAddEnum() argument 80 child->value = value; in bejTreeAddEnum() 89 child->value = value; in bejTreeAddString() 95 double value) in bejTreeAddReal() argument 98 child->value = value; in bejTreeAddReal() 104 node->value = newValue; in bejTreeSetReal() 109 bool value) in bejTreeAddBool() argument [all …]
|
/openbmc/linux/drivers/acpi/pmic/ |
H A D | tps68470_pmic.c | 218 int bitmask, u64 *value) in tps68470_pmic_get_power() argument 225 *value = (data & bitmask) ? 1 : 0; in tps68470_pmic_get_power() 230 int bitmask, u64 *value) in tps68470_pmic_get_vr_val() argument 237 *value = data & bitmask; in tps68470_pmic_get_vr_val() 261 *value = data & bitmask; in tps68470_pmic_get_clk_freq() 266 int bitmask, u64 value) in ti_tps68470_regmap_update_bits() argument 273 u32 bits, u64 *value, in tps68470_pmic_common_handler() argument 309 u32 bits, u64 *value, in tps68470_pmic_cfreq_handler() argument 336 u32 bits, u64 *value, in tps68470_pmic_vrval_handler() argument 350 u32 bits, u64 *value, in tps68470_pmic_pwr_handler() argument [all …]
|
/openbmc/qemu/hw/net/ |
H A D | allwinner-sun8i-emac.c | 589 uint64_t value = 0; in allwinner_sun8i_emac_read() local 600 value = s->int_sta; in allwinner_sun8i_emac_read() 603 value = s->int_en; in allwinner_sun8i_emac_read() 606 value = s->tx_ctl0; in allwinner_sun8i_emac_read() 609 value = s->tx_ctl1; in allwinner_sun8i_emac_read() 618 value = s->rx_ctl0; in allwinner_sun8i_emac_read() 621 value = s->rx_ctl1; in allwinner_sun8i_emac_read() 654 value = 0; in allwinner_sun8i_emac_read() 667 value = 0; in allwinner_sun8i_emac_read() 679 return value; in allwinner_sun8i_emac_read() [all …]
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | topology.c | 220 sg_elem = sg_array->value; in audioreach_get_sg_array() 286 mod_elem = mod_array->value; in audioreach_get_module_array() 318 sg_elem = sg_array->value; in audioreach_parse_sg_tokens() 429 mod_elem = mod_array->value; in audioreach_parse_common_tokens() 790 w_elem = w_array->value; in audioreach_widget_load_mixer() 1105 ucontrol->value.integer.value[0] = 1; in audioreach_get_audio_mixer() 1107 ucontrol->value.integer.value[0] = 0; in audioreach_get_audio_mixer() 1123 if (ucontrol->value.integer.value[0]) { in audioreach_put_audio_mixer() 1139 ucontrol->value.integer.value[0] = mod->gain; in audioreach_get_vol_ctrl_audio_mixer() 1150 mod->gain = ucontrol->value.integer.value[0]; in audioreach_put_vol_ctrl_audio_mixer() [all …]
|
/openbmc/linux/sound/isa/opti9xx/ |
H A D | miro.c | 259 int value; in snd_miro_get_capture() local 268 ucontrol->value.integer.value[0] = value & 0x20; in snd_miro_get_capture() 279 value = !(ucontrol->value.integer.value[0]); in snd_miro_put_capture() 330 ucontrol->value.integer.value[0] = value; in snd_miro_get_preamp() 341 value = ucontrol->value.integer.value[0]; in snd_miro_put_preamp() 373 value = ucontrol->value.integer.value[0]; in snd_miro_put_amp() 448 uinfo->value.integer.value[0] = left_val; in snd_miro_get_double() 454 uinfo->value.integer.value[1] = right_val; in snd_miro_get_double() 463 uinfo->value.integer.value[0] = 0x20 - left_val; in snd_miro_get_double() 479 left = ucontrol->value.integer.value[0]; in snd_miro_put_double() [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.c | 147 if (value < min_val || value > max_val) { \ 205 if (value) in gpio_power_write() 265 if (value < 1 || value > 65535) { in dynamic_ps_timeout_write() 330 if (value != 1 && value != 0) { in forced_ps_write() 630 u8 value; in dtim_interval_read() local 655 if (value < 1 || value > 10) { in dtim_interval_write() 716 if (value < 1 || value > 10) { in suspend_dtim_interval_write() 771 if (value < 1 || value > 255) { in beacon_interval_write() 816 if (value && (value < 10 || value > 100)) { in rx_streaming_interval_write() 872 if (!(value == 0 || value == 1)) { in rx_streaming_always_write() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-musb.c | 941 uint8_t value; in musb_read_fifo() local 953 return value; in musb_read_fifo() 1094 s->ep[ep].type[0] = value; in musb_ep_writeb() 1101 s->ep[ep].type[1] = value; in musb_ep_writeb() 1155 s->ep[ep].maxp[0] = value; in musb_ep_writeh() 1230 if ((value & MGC_M_RXCSR_H_REQPKT) && !(value & MGC_M_RXCSR_DATAERROR)) in musb_ep_writeh() 1316 s->faddr = value & 0x7f; in musb_writeb() 1342 s->mask = value & 0xff; in musb_writeb() 1345 s->idx = value & 0xf; in musb_writeb() 1457 s->tx_mask = value; in musb_writeh() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | dp83tc811.c | 102 u16 value; in dp83811_set_wol() local 123 value |= DP83811_WOL_MAGIC_EN; in dp83811_set_wol() 125 value &= ~DP83811_WOL_MAGIC_EN; in dp83811_set_wol() 137 value |= DP83811_WOL_SECURE_ON; in dp83811_set_wol() 161 int value; in dp83811_get_wol() local 191 if (!(value & DP83811_WOL_EN)) in dp83811_get_wol() 311 int value, err; in dp83811_config_aneg() local 333 int value, err; in dp83811_config_init() local 351 value); in dp83811_config_init() 367 int value; in dp83811_suspend() local [all …]
|
/openbmc/qemu/hw/nvram/ |
H A D | npcm7xx_otp.c | 109 uint32_t value = 0; in npcm7xx_otp_read() local 131 return value; in npcm7xx_otp_read() 157 uint32_t value; in npcm7xx_otp_compute_fcfg() local 172 return value; in npcm7xx_otp_compute_fcfg() 199 value = 0; in npcm7xx_otp_write() 206 value = npcm7xx_otp_compute_fcfg(s->regs[NPCM7XX_OTP_FCFG], value); in npcm7xx_otp_write() 210 switch (value) { in npcm7xx_otp_write() 240 value = 0; in npcm7xx_otp_write() 250 s->regs[reg] = value; in npcm7xx_otp_write() 259 uint32_t value; in npcm7xx_fuse_array_read() local [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt715.c | 46 addr, value); in rt715_index_write() 72 *value = 0; in rt715_index_read_nid() 164 val_ll = ((ucontrol->value.integer.value[0]) & 0x7f); in rt715_set_amp_gain_put() 173 val_lr = ((ucontrol->value.integer.value[1]) & 0x7f); in rt715_set_amp_gain_put() 245 ucontrol->value.integer.value[0] = read_ll; in rt715_set_amp_gain_get() 246 ucontrol->value.integer.value[1] = read_rl; in rt715_set_amp_gain_get() 286 ucontrol->value.integer.value[j * 2]; in rt715_set_main_switch_put() 287 val_ll = (!ucontrol->value.integer.value[j * 2]) << 7; in rt715_set_main_switch_put() 294 ucontrol->value.integer.value[j * 2 + 1]; in rt715_set_main_switch_put() 402 ucontrol->value.integer.value[j * 2 + 1]; in rt715_set_main_vol_put() [all …]
|