/openbmc/linux/drivers/acpi/acpica/ |
H A D | exoparg2.c | 59 u32 value; in acpi_ex_opcode_2A_0T_0R() local 76 value = (u32) operand[1]->integer.value; in acpi_ex_opcode_2A_0T_0R() 156 operand[1]->integer.value, in acpi_ex_opcode_2A_2T_1R() 157 &return_desc1->integer.value, in acpi_ex_opcode_2A_2T_1R() 158 &return_desc2->integer.value); in acpi_ex_opcode_2A_2T_1R() 244 return_desc->integer.value = in acpi_ex_opcode_2A_1T_1R() 246 operand[0]->integer.value, in acpi_ex_opcode_2A_1T_1R() 247 operand[1]->integer.value); in acpi_ex_opcode_2A_1T_1R() 263 operand[1]->integer.value, in acpi_ex_opcode_2A_1T_1R() 334 index = operand[1]->integer.value; in acpi_ex_opcode_2A_1T_1R() [all …]
|
H A D | dsfield.c | 294 (u64)arg->common.value.size; in acpi_ds_get_field_names() 349 child = arg->common.value.arg; in acpi_ds_get_field_names() 353 (u16)child->named.value.integer; in acpi_ds_get_field_names() 358 child->common.value. in acpi_ds_get_field_names() 368 value.name, in acpi_ds_get_field_names() 429 (u64)arg->common.value.size; in acpi_ds_get_field_names() 485 arg = op->common.value.arg; in acpi_ds_create_field() 495 arg->common.value.name, in acpi_ds_create_field() 685 arg = op->common.value.arg; in acpi_ds_create_bank_field() 694 arg->common.value.name, in acpi_ds_create_bank_field() [all …]
|
/openbmc/linux/fs/jffs2/ |
H A D | compr_rtime.c | 47 unsigned char value; in jffs2_rtime_compress() local 49 value = data_in[pos]; in jffs2_rtime_compress() 53 backpos = positions[value]; in jffs2_rtime_compress() 54 positions[value]=pos; in jffs2_rtime_compress() 87 unsigned char value; in jffs2_rtime_decompress() local 91 value = data_in[pos++]; in jffs2_rtime_decompress() 92 cpage_out[outpos++] = value; /* first the verbatim copied byte */ in jffs2_rtime_decompress() 94 backoffs = positions[value]; in jffs2_rtime_decompress() 96 positions[value]=outpos; in jffs2_rtime_decompress()
|
/openbmc/openbmc-test-automation/lib/ |
H A D | func_args.py | 70 def source_to_object(value): argument 133 if type(value) not in gp.get_string_types(): 134 return value 137 value = value.strip() 140 if value.startswith("[("): 142 return eval("collections.OrderedDict(" + value + ")") 147 return eval(value) 151 return value
|
/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | Util.py | 36 def add_stats(dict, key, value): argument 38 dict[key] = (value, value, value, 1) 41 if value < min: 42 min = value 43 if value > max: 44 max = value 45 avg = (avg + value) / 2
|
/openbmc/qemu/hw/intc/ |
H A D | armv7m_nvic.c | 1525 value &= mask; in nvic_readl() 1528 return value; in nvic_readl() 1592 if (value & (1 << 28)) { in nvic_writel() 1597 if (value & (1 << 26)) { in nvic_writel() 1684 value &= mask; in nvic_writel() 1805 cpu->env.v7m.bfar = value; in nvic_writel() 1831 if ((value & in nvic_writel() 1879 if (value & (1 << 4)) { in nvic_writel() 2111 fpccr_s = value; in nvic_writel() 2118 value &= ~7; in nvic_writel() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | sm501.c | 1325 if (value & 0x8000000) { in sm501_disp_ctrl_write() 1360 value &= 0x8FFFFFF0; in sm501_disp_ctrl_write() 1367 value &= 0x0FFF0FFF; in sm501_disp_ctrl_write() 1411 value &= 0x8FFFFFF0; in sm501_disp_ctrl_write() 1418 value &= 0x0FFF0FFF; in sm501_disp_ctrl_write() 1538 s->twoD_source = value; in sm501_2d_engine_write() 1557 s->twoD_pitch = value; in sm501_2d_engine_write() 1567 value &= ~BIT(20); in sm501_2d_engine_write() 1578 s->twoD_mask = value; in sm501_2d_engine_write() 1602 s->twoD_alpha = value; in sm501_2d_engine_write() [all …]
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | devlink.yaml | 27 value: 1 40 value: 11 47 value: 17 59 value: 22 66 value: 81 73 value: 88 80 value: 98 111 value: 115 118 value: 130 125 value: 135 [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt715-sdca.c | 45 value); in rt715_sdca_index_write() 149 rt715->kctl_2ch_orig[i] = ucontrol->value.integer.value[i]; in rt715_sdca_set_amp_gain_put() 151 rt715_sdca_vol_gain(ucontrol->value.integer.value[i], mc->max, in rt715_sdca_set_amp_gain_put() 184 rt715->kctl_4ch_orig[i] = ucontrol->value.integer.value[i]; in rt715_sdca_set_amp_gain_4ch_put() 186 rt715_sdca_vol_gain(ucontrol->value.integer.value[i], p->max, in rt715_sdca_set_amp_gain_4ch_put() 220 rt715->kctl_8ch_orig[i] = ucontrol->value.integer.value[i]; in rt715_sdca_set_amp_gain_8ch_put() 304 ucontrol->value.integer.value[i] = (val_l >> gain_sft) / 10; in rt715_sdca_set_amp_gain_8ch_get() 341 ucontrol->value.integer.value[i + 1] = in rt715_sdca_get_volsw() 372 val[i * 2] = ucontrol->value.integer.value[i * 2] & mask; in rt715_sdca_put_volsw() 379 ucontrol->value.integer.value[i * 2 + 1]; in rt715_sdca_put_volsw() [all …]
|
/openbmc/qemu/hw/audio/ |
H A D | pl041.c | 183 value = (value << 8) & 0xFFFFF; in pl041_fifo1_write() 186 value = (value << 4) & 0xFFFFF; in pl041_fifo1_write() 189 value = (value << 2) & 0xFFFFF; in pl041_fifo1_write() 213 value = value >> 16; in pl041_fifo1_write() 345 int value; in pl041_read() local 355 return value; in pl041_read() 372 return value; in pl041_read() 466 s->regs.sl2tx = value; in pl041_write() 483 if (!(value & AACIFE)) { in pl041_write() 486 if (!(value & SL1RXEN)) { in pl041_write() [all …]
|
/openbmc/linux/drivers/tee/optee/ |
H A D | rpc.c | 26 arg->params[0].u.value.a = ts.tv_sec; in handle_rpc_func_cmd_get_time() 27 arg->params[0].u.value.b = ts.tv_nsec; in handle_rpc_func_cmd_get_time() 87 msg.addr = params[0].u.value.c; in handle_rpc_func_cmd_i2c_transfer() 91 switch (params[0].u.value.a) { in handle_rpc_func_cmd_i2c_transfer() 107 params[3].u.value.a = msg.len; in handle_rpc_func_cmd_i2c_transfer() 140 switch (arg->params[0].u.value.a) { in handle_rpc_func_cmd_wq() 170 msec_to_wait = arg->params[0].u.value.a; in handle_rpc_func_cmd_wait() 219 param.u.value.b = sz; in optee_rpc_cmd_alloc_suppl() 220 param.u.value.c = 0; in optee_rpc_cmd_alloc_suppl() 239 param.u.value.b = tee_shm_get_id(shm); in optee_rpc_cmd_free_suppl() [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | arm_mptimer.c | 135 ptimer_set_limit(tb->timer, value, 1); in timerblock_write() 136 timerblock_run(tb->timer, control, value); in timerblock_write() 148 timerblock_set_count(tb->timer, control, &value); in timerblock_write() 149 timerblock_run(tb->timer, control, value); in timerblock_write() 154 if ((control & 3) != (value & 3)) { in timerblock_write() 157 if ((control & 0xff00) != (value & 0xff00)) { in timerblock_write() 160 if (value & 1) { in timerblock_write() 163 if ((value & 2) && count == 0) { in timerblock_write() 166 timerblock_run(tb->timer, value, count); in timerblock_write() 168 tb->control = value; in timerblock_write() [all …]
|
H A D | exynos4210_mct.c | 1066 uint32_t value = 0; in exynos4210_mct_read() local 1072 value = s->reg_mct_cfg; in exynos4210_mct_read() 1094 value = s->g_timer.reg.tcon; in exynos4210_mct_read() 1166 return value; in exynos4210_mct_read() 1192 s->reg_mct_cfg = value; in exynos4210_mct_write() 1231 (value << shift); in exynos4210_mct_write() 1248 s->g_timer.reg.tcon = value; in exynos4210_mct_write() 1387 tcntb_min[lt_i] = value; in exynos4210_mct_write() 1390 tcntb_max[lt_i] = value; in exynos4210_mct_write() 1428 icntb_min[lt_i] = value; in exynos4210_mct_write() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | queue_stack_maps.c | 109 memset(value, 0, qs->map.value_size); in __queue_map_get() 115 memcpy(value, ptr, qs->map.value_size); in __queue_map_get() 144 memset(value, 0, qs->map.value_size); in __stack_map_get() 154 memcpy(value, ptr, qs->map.value_size); in __stack_map_get() 167 return __queue_map_get(map, value, false); in queue_map_peek_elem() 173 return __stack_map_get(map, value, false); in stack_map_peek_elem() 177 static long queue_map_pop_elem(struct bpf_map *map, void *value) in queue_map_pop_elem() argument 179 return __queue_map_get(map, value, true); in queue_map_pop_elem() 185 return __stack_map_get(map, value, true); in stack_map_pop_elem() 224 memcpy(dst, value, qs->map.value_size); in queue_stack_map_push_elem() [all …]
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | aureon.c | 748 ucontrol->value.integer.value[i] = in wm_master_vol_get() 801 ucontrol->value.integer.value[i] = in wm_vol_get() 855 ucontrol->value.integer.value[i] = in wm_mute_get() 872 if (ucontrol->value.integer.value[i] != val) { in wm_mute_put() 896 ucontrol->value.integer.value[0] = in wm_master_mute_get() 898 ucontrol->value.integer.value[1] = in wm_master_mute_get() 950 ucontrol->value.integer.value[0] = val; in wm_pcm_vol_get() 961 nvol = ucontrol->value.integer.value[0]; in wm_pcm_vol_put() 1038 ucontrol->value.integer.value[i] = vol; in wm_adc_vol_get() 1216 if (ucontrol->value.integer.value[0]) in aureon_cs8415_mute_put() [all …]
|
/openbmc/linux/drivers/usb/c67x00/ |
H A D | c67x00-ll-hpi.c | 90 u16 value; in hpi_read_word() local 94 value = hpi_read_word_nolock(dev, reg); in hpi_read_word() 97 return value; in hpi_read_word() 103 hpi_write_reg(dev, HPI_DATA, value); in hpi_write_word_nolock() 152 u16 value; in hpi_set_bits() local 163 u16 value; in hpi_clear_bits() local 174 u16 value; in hpi_recv_mbox() local 181 return value; in hpi_recv_mbox() 192 return value; in hpi_send_mbox() 197 u16 value; in c67x00_ll_hpi_status() local [all …]
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mtk-cmdq-helper.c | 22 u32 value; member 185 inst.value = value; in cmdq_pkt_write() 269 u16 addr_low, u32 value) in cmdq_pkt_write_s_value() argument 276 inst.value = value; in cmdq_pkt_write_s_value() 297 inst.value = value; in cmdq_pkt_write_s_mask_value() 327 inst.value = CMDQ_WFE_UPDATE; in cmdq_pkt_clear_event() 350 u16 offset, u32 value) in cmdq_pkt_poll() argument 356 inst.value = value; in cmdq_pkt_poll() 391 inst.value = value; in cmdq_pkt_assign() 402 inst.value = addr >> in cmdq_pkt_jump() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | stellaris_enet.c | 366 s->ris &= ~value; in stellaris_enet_write() 370 if (value & SE_INT_TXER) { in stellaris_enet_write() 376 s->im = value; in stellaris_enet_write() 380 s->rctl = value; in stellaris_enet_write() 388 s->tctl = value; in stellaris_enet_write() 414 s->conf.macaddr.a[0] = value; in stellaris_enet_write() 424 s->thr = value; in stellaris_enet_write() 430 s->mctl = value & ~1; in stellaris_enet_write() 433 s->mdv = value; in stellaris_enet_write() 439 s->mtxd = value & 0xff; in stellaris_enet_write() [all …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | b53.c | 245 REG_MII_DATA0, value); in b53_mdio_write8() 253 u16 value) in b53_mdio_write16() argument 266 u32 value) in b53_mdio_write32() argument 269 u32 temp = value; in b53_mdio_write32() 284 u64 value) in b53_mdio_write48() argument 287 u64 temp = value; in b53_mdio_write48() 302 u64 value) in b53_mdio_write64() argument 305 u64 temp = value; in b53_mdio_write64() 320 u8 reg, u8 *value) in b53_read8() argument 350 u8 reg, u8 value) in b53_write8() argument [all …]
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_options.c | 555 if (!maxval || (minval && val < minval->value) || val > maxval->value) in bond_opt_check_range() 615 if (val->value == tbl[i].value) in bond_opt_parse() 700 opt->name, minval ? minval->value : 0, maxval->value); in bond_opt_error_interpret() 959 newval->value); in bond_option_miimon_set() 1002 int value = newval->value; in _bond_option_delay_set() local 1052 newval->value); in bond_option_use_carrier_set() 1066 newval->value); in bond_option_arp_interval_set() 1422 newval->value); in bond_option_resend_igmp_set() 1461 newval->value); in bond_option_min_links_set() 1480 newval->value); in bond_option_pps_set() [all …]
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | message.py | 63 value: Union[bytes, Mapping[str, object]] = b'{}', *, 68 if isinstance(value, bytes): 69 self._data = value 73 self._obj = dict(value) 86 def __setitem__(self, key: str, value: object) -> None: 87 self._object[key] = value 133 def _serialize(cls, value: object) -> bytes: 142 return json.dumps(value, separators=(',', ':')).encode('utf-8') 199 def __init__(self, error_message: str, value: object): 202 self.value: object = value [all …]
|
/openbmc/linux/include/linux/ |
H A D | igmp.h | 94 #define IGMPV3_MASK(value, nb) ((nb)>=32 ? (value) : ((1<<(nb))-1) & (value)) argument 95 #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \ argument 96 ((value) < (thresh) ? (value) : \ 97 ((IGMPV3_MASK(value, nbmant) | (1<<(nbmant))) << \ 98 (IGMPV3_MASK((value) >> (nbmant), nbexp) + (nbexp)))) 100 #define IGMPV3_QQIC(value) IGMPV3_EXP(0x80, 4, 3, value) argument 101 #define IGMPV3_MRC(value) IGMPV3_EXP(0x80, 4, 3, value) argument
|
/openbmc/linux/fs/jfs/ |
H A D | acl.c | 22 char *value = NULL; in jfs_get_acl() local 41 value = kmalloc(size, GFP_KERNEL); in jfs_get_acl() 42 if (!value) in jfs_get_acl() 44 size = __jfs_getxattr(inode, ea_name, value, size); in jfs_get_acl() 53 acl = posix_acl_from_xattr(&init_user_ns, value, size); in jfs_get_acl() 55 kfree(value); in jfs_get_acl() 65 char *value = NULL; in __jfs_set_acl() local 80 value = kmalloc(size, GFP_KERNEL); in __jfs_set_acl() 81 if (!value) in __jfs_set_acl() 87 rc = __jfs_setxattr(tid, inode, ea_name, value, size, 0); in __jfs_set_acl() [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | fru_parser.cpp | 56 auto dbusMap = data.value("FruDBusLookupMap", emptyJson); in setupDefaultDBusLookup() 63 static_cast<EntityType>(element.value()); in setupDefaultDBusLookup() 127 auto record = data.value("record_details", emptyJson); in setupFruRecordMap() 129 static_cast<uint8_t>(record.value("fru_record_type", 0)); in setupFruRecordMap() 131 static_cast<uint8_t>(record.value("fru_encoding_type", 0)); in setupFruRecordMap() 132 auto dbusIntfName = record.value("dbus_interface_name", ""); in setupFruRecordMap() 133 auto entries = data.value("fru_fields", emptyJsonList); in setupFruRecordMap() 140 auto dbus = entry.value("dbus", emptyJson); in setupFruRecordMap() 141 auto interface = dbus.value("interface", ""); in setupFruRecordMap() 142 auto property = dbus.value("property_name", ""); in setupFruRecordMap() [all …]
|
/openbmc/linux/drivers/media/common/ |
H A D | cx2341x.c | 282 ctrl->value = params->audio_mode; in cx2341x_get_ctrl() 291 ctrl->value = params->audio_crc; in cx2341x_get_ctrl() 294 ctrl->value = params->audio_mute; in cx2341x_get_ctrl() 324 ctrl->value = params->video_mute; in cx2341x_get_ctrl() 330 ctrl->value = params->stream_type; in cx2341x_get_ctrl() 410 params->audio_mode = ctrl->value; in cx2341x_set_ctrl() 419 params->audio_crc = ctrl->value; in cx2341x_set_ctrl() 422 params->audio_mute = ctrl->value; in cx2341x_set_ctrl() 428 int b = ctrl->value + 1; in cx2341x_set_ctrl() 439 int gop = ctrl->value; in cx2341x_set_ctrl() [all …]
|