/openbmc/linux/tools/lib/subcmd/ |
H A D | parse-options.c | 190 *(int *)opt->value |= opt->defval; in get_value() 200 *(int *)opt->value = unset ? 0 : *(int *)opt->value + 1; in get_value() 214 *(const char **)opt->value = NULL; in get_value() 255 *(int *)opt->value = 0; in get_value() 259 *(int *)opt->value = opt->defval; in get_value() 271 *(unsigned int *)opt->value = 0; in get_value() 289 *(long *)opt->value = 0; in get_value() 305 *(unsigned long *)opt->value = 0; in get_value() 321 *(u64 *)opt->value = 0; in get_value() 325 *(u64 *)opt->value = opt->defval; in get_value() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt700.c | 52 *value = 0; in rt700_index_read() 394 val_ll = ((ucontrol->value.integer.value[0]) & 0x7f); in rt700_set_amp_gain_put() 415 val_lr = ((ucontrol->value.integer.value[1]) & 0x7f); in rt700_set_amp_gain_put() 488 ucontrol->value.integer.value[0] = read_ll; in rt700_set_amp_gain_get() 489 ucontrol->value.integer.value[1] = read_rl; in rt700_set_amp_gain_get() 1064 value = 0x0; in rt700_clock_config() 1067 value = 0x1; in rt700_clock_config() 1070 value = 0x2; in rt700_clock_config() 1073 value = 0x3; in rt700_clock_config() 1076 value = 0x4; in rt700_clock_config() [all …]
|
H A D | rt711-sdca.c | 40 addr, value, ret); in rt711_sdca_index_write() 555 gain_l_val = ucontrol->value.integer.value[0]; in rt711_sdca_set_gain_put() 577 gain_r_val = ucontrol->value.integer.value[1]; in rt711_sdca_set_gain_put() 679 ucontrol->value.integer.value[0] = ctl_l; in rt711_sdca_set_gain_get() 680 ucontrol->value.integer.value[1] = ctl_r; in rt711_sdca_set_gain_get() 737 ucontrol->value.integer.value[0] = !rt711->fu1e_mixer_l_mute; in rt711_sdca_fu1e_capture_get() 738 ucontrol->value.integer.value[1] = !rt711->fu1e_mixer_r_mute; in rt711_sdca_fu1e_capture_get() 753 rt711->fu1e_mixer_l_mute = !ucontrol->value.integer.value[0]; in rt711_sdca_fu1e_capture_put() 754 rt711->fu1e_mixer_r_mute = !ucontrol->value.integer.value[1]; in rt711_sdca_fu1e_capture_put() 768 ucontrol->value.integer.value[0] = !rt711->fu0f_mixer_l_mute; in rt711_sdca_fu0f_capture_get() [all …]
|
H A D | rt722-sdca.c | 39 addr, value, ret); in rt722_sdca_index_write() 367 gain_l_val = ucontrol->value.integer.value[0]; in rt722_sdca_set_gain_put() 383 gain_r_val = ucontrol->value.integer.value[1]; in rt722_sdca_set_gain_put() 458 ucontrol->value.integer.value[0] = ctl_l; in rt722_sdca_set_gain_get() 459 ucontrol->value.integer.value[1] = ctl_r; in rt722_sdca_set_gain_get() 547 ucontrol->value.integer.value[0] = !rt722->fu0f_mixer_l_mute; in rt722_sdca_fu0f_capture_get() 548 ucontrol->value.integer.value[1] = !rt722->fu0f_mixer_r_mute; in rt722_sdca_fu0f_capture_get() 563 rt722->fu0f_mixer_l_mute = !ucontrol->value.integer.value[0]; in rt722_sdca_fu0f_capture_put() 564 rt722->fu0f_mixer_r_mute = !ucontrol->value.integer.value[1]; in rt722_sdca_fu0f_capture_put() 617 ucontrol->value.integer.value[i] = ctl; in rt722_sdca_dmic_set_gain_get() [all …]
|
/openbmc/linux/fs/debugfs/ |
H A D | file.c | 421 struct dentry *parent, void *value, in debugfs_create_mode_unsafe() argument 467 u8 *value) in debugfs_create_u8() argument 503 u16 *value) in debugfs_create_u16() argument 539 u32 *value) in debugfs_create_u32() argument 576 u64 *value) in debugfs_create_u64() argument 615 unsigned long *value) in debugfs_create_ulong() argument 660 u8 *value) in debugfs_create_x8() argument 678 u16 *value) in debugfs_create_x16() argument 696 u32 *value) in debugfs_create_x32() argument 714 u64 *value) in debugfs_create_x64() argument [all …]
|
/openbmc/openbmc/meta-openembedded/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/ |
H A D | 0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch | 22 <property name="<Super>KP_Next" type="string" value="tile_down_right_key"/> 26 + <value type="string" value="commands"/> 27 + <value type="string" value="xfwm4"/>
|
/openbmc/linux/arch/arm/kernel/ |
H A D | xscale-cp0.c | 92 u32 value; in xscale_cp_access_read() local 96 : "=r" (value)); in xscale_cp_access_read() 98 return value; in xscale_cp_access_read() 101 static void __init xscale_cp_access_write(u32 value) in xscale_cp_access_write() argument 110 : "=r" (temp) : "r" (value)); in xscale_cp_access_write()
|
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-array.h | 112 const void *value, dm_block_t *new_root) 113 __dm_written_to_disk(value); 151 uint32_t index, void *value); 169 uint32_t index, const void *value, dm_block_t *new_root) 170 __dm_written_to_disk(value);
|
H A D | dm-btree.h | 62 void (*inc)(void *context, const void *value, unsigned int count); 69 void (*dec)(void *context, const void *value, unsigned int count); 124 uint64_t *keys, void *value, dm_block_t *new_root) 125 __dm_written_to_disk(value); 133 uint64_t *keys, void *value, dm_block_t *new_root, 135 __dm_written_to_disk(value);
|
/openbmc/linux/drivers/hid/ |
H A D | hid-zpff.c | 45 zpff->report->field[2]->value[0] = left; in zpff_play() 46 zpff->report->field[3]->value[0] = right; in zpff_play() 87 zpff->report->field[0]->value[0] = 0x00; in zpff_init() 88 zpff->report->field[1]->value[0] = 0x02; in zpff_init() 89 zpff->report->field[2]->value[0] = 0x00; in zpff_init() 90 zpff->report->field[3]->value[0] = 0x00; in zpff_init()
|
/openbmc/openbmc/meta-security/recipes-security/libgssglue/files/ |
H A D | libgssglue-canon-name.patch | 11 union_canon_name->external_name.value if it is not NULL. 31 void FAR *value; 47 + union_canon_name->external_name.value = (void*) malloc( 49 + if (!union_canon_name->external_name.value) 52 + memcpy(union_canon_name->external_name.value, 53 + union_input_name->external_name.value,
|
/openbmc/u-boot/lib/ |
H A D | strto.c | 37 unsigned long value; in simple_strtoul() local 41 while (isxdigit(*cp) && (value = isdigit(*cp) ? *cp-'0' : (islower(*cp) in simple_strtoul() 43 result = result*base + value; in simple_strtoul() 130 unsigned long long result = 0, value; in simple_strtoull() local 134 while (isxdigit(*cp) && (value = isdigit(*cp) ? *cp - '0' in simple_strtoull() 136 result = result * base + value; in simple_strtoull()
|
/openbmc/u-boot/drivers/power/mfd/ |
H A D | fg_max77693.c | 18 u16 value; in max77693_get_vcell() local 22 (u8 *)&value, 2); in max77693_get_vcell() 26 *vcell = (u32)(value >> 3); in max77693_get_vcell() 34 u16 value; in max77693_get_soc() local 38 (u8 *)&value, 2); in max77693_get_soc() 42 *soc = (u32)(value >> 8); in max77693_get_soc()
|
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/a38x/ |
H A D | sys_env_lib.c | 58 u32 value; in mv_board_tclk_get() local 60 value = (reg_read(DEVICE_SAMPLE_AT_RESET1_REG) >> 15) & 0x1; in mv_board_tclk_get() 62 switch (value) { in mv_board_tclk_get() 254 u32 value; in sys_env_device_rev_get() local 256 value = reg_read(DEV_VERSION_ID_REG); in sys_env_device_rev_get() 257 return (value & (REVISON_ID_MASK)) >> REVISON_ID_OFFS; in sys_env_device_rev_get()
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | elog.hpp | 25 static auto op(T&& value) in op() 27 return std::to_string(std::forward<T>(value)); in op() 34 static auto op(const std::string& value) in op() 36 return value; in op() 198 auto value = ToString<propertyType>::op( in captureMetadata() local 201 metadata += path + ":" + propertyName + '=' + value + '|'; in captureMetadata()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | resources.h | 149 enum mlxsw_res_id res_id, u64 value) in mlxsw_res_set() argument 152 res->values[res_id] = value; in mlxsw_res_set() 155 #define MLXSW_RES_SET(res, short_res_id, value) \ argument 156 mlxsw_res_set(res, MLXSW_RES_ID_##short_res_id, value) 158 static inline void mlxsw_res_parse(struct mlxsw_res *res, u16 id, u64 value) in mlxsw_res_parse() argument 164 mlxsw_res_set(res, i, value); in mlxsw_res_parse()
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | gadget.h | 115 int __dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value); 116 int dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value); 119 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol); 146 static inline void dwc3_gadget_dctl_write_safe(struct dwc3 *dwc, u32 value) in dwc3_gadget_dctl_write_safe() argument 148 value &= ~DWC3_DCTL_ULSTCHNGREQ_MASK; in dwc3_gadget_dctl_write_safe() 149 dwc3_writel(dwc->regs, DWC3_DCTL, value); in dwc3_gadget_dctl_write_safe()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-wcd934x.c | 24 unsigned int value; in wcd_gpio_get_direction() local 27 ret = regmap_read(data->map, WCD_REG_DIR_CTL_OFFSET, &value); in wcd_gpio_get_direction() 31 if (value & WCD_PIN_MASK(pin)) in wcd_gpio_get_direction() 61 unsigned int value; in wcd_gpio_get() local 63 regmap_read(data->map, WCD_REG_VAL_CTL_OFFSET, &value); in wcd_gpio_get() 65 return !!(value & WCD_PIN_MASK(pin)); in wcd_gpio_get()
|
H A D | gpio-pca9570.c | 44 static int pca9570_read(struct pca9570 *gpio, u8 *value) in pca9570_read() argument 57 *value = ret; in pca9570_read() 61 static int pca9570_write(struct pca9570 *gpio, u8 value) in pca9570_write() argument 66 return i2c_smbus_write_byte_data(client, gpio->chip_data->command, value); in pca9570_write() 68 return i2c_smbus_write_byte(client, value); in pca9570_write() 91 static void pca9570_set(struct gpio_chip *chip, unsigned offset, int value) in pca9570_set() argument 100 if (value) in pca9570_set()
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | exoparg6.c | 196 if ((operand[1]->integer.value > MAX_MATCH_OPERATOR) || in acpi_ex_opcode_6A_0T_1R() 197 (operand[3]->integer.value > MAX_MATCH_OPERATOR)) { in acpi_ex_opcode_6A_0T_1R() 205 index = operand[5]->integer.value; in acpi_ex_opcode_6A_0T_1R() 253 if (!acpi_ex_do_match((u32) operand[1]->integer.value, in acpi_ex_opcode_6A_0T_1R() 258 if (!acpi_ex_do_match((u32) operand[3]->integer.value, in acpi_ex_opcode_6A_0T_1R() 265 return_desc->integer.value = index; in acpi_ex_opcode_6A_0T_1R()
|
/openbmc/linux/sound/pci/ |
H A D | es1938.c | 1038 ucontrol->value.integer.value[0] = !!(val & 8); in snd_es1938_get_spatializer_enable() 1048 nval = ucontrol->value.integer.value[0] ? 0x0c : 0x04; in snd_es1938_put_spatializer_enable() 1151 ucontrol->value.integer.value[0] = (val >> shift) & mask; in snd_es1938_get_single() 1153 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_es1938_get_single() 1167 val = (ucontrol->value.integer.value[0] & mask); in snd_es1938_put_single() 1218 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es1938_get_double() 1219 ucontrol->value.integer.value[1] = (right >> shift_right) & mask; in snd_es1938_get_double() 1221 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_es1938_get_double() 1222 ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; in snd_es1938_get_double() 1240 val1 = ucontrol->value.integer.value[0] & mask; in snd_es1938_put_double() [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-gemini.c | 81 u32 value; member 799 .value = LCD_PADS_ENABLE, 807 .value = SSP_PADS_ENABLE, 831 .value = TVC_PADS_ENABLE, 915 .value = NAND_PADS_DISABLE, 1749 .value = LCD_PADS_ENABLE, 1757 .value = SSP_PADS_ENABLE, 1781 .value = TVC_PADS_ENABLE, 2219 grp->value); in gemini_pmx_set_mux() 2226 expected |= grp->value; in gemini_pmx_set_mux() [all …]
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_console.c | 78 static void uint2dec(u32 value, int prec, u16 **buf) in uint2dec() argument 91 f += (0x9B5A52DULL * value) >> 28; in uint2dec() 92 f += 0x44B82FA0ULL * value; in uint2dec() 118 static void int2dec(s32 value, int prec, u16 **buf) in int2dec() argument 123 if (value < 0) { in int2dec() 125 u = -value; in int2dec() 127 u = value; in int2dec()
|
/openbmc/u-boot/include/asm-generic/ |
H A D | gpio.h | 81 int gpio_direction_output(unsigned gpio, int value); 102 int gpio_set_value(unsigned gpio, int value); 254 int value); 256 int (*set_value)(struct udevice *dev, unsigned offset, int value); 258 int (*set_open_drain)(struct udevice *dev, unsigned offset, int value); 587 int dm_gpio_set_value(const struct gpio_desc *desc, int value); 619 int dm_gpio_set_open_drain(struct gpio_desc *desc, int value);
|
/openbmc/qemu/hw/intc/ |
H A D | xilinx_intc.c | 112 uint32_t value = val64; in pic_write() local 115 D(qemu_log("%s addr=%x val=%x\n", __func__, addr * 4, value)); in pic_write() 119 p->regs[R_ISR] &= ~value; /* ACK. */ in pic_write() 122 p->regs[R_IER] |= value; /* Atomic set ie. */ in pic_write() 125 p->regs[R_IER] &= ~value; /* Atomic clear ie. */ in pic_write() 128 p->regs[R_MER] = value & 0x3; in pic_write() 137 p->regs[addr] = value; in pic_write()
|