/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_vic.c | 36 const void *value) in vic_provinfo_add_tlv() argument 40 if (!vp || !value) in vic_provinfo_add_tlv() 43 if (ntohl(vp->length) + offsetof(struct vic_provinfo_tlv, value) + in vic_provinfo_add_tlv() 52 memcpy(tlv->value, value, length); in vic_provinfo_add_tlv() 56 offsetof(struct vic_provinfo_tlv, value) + length); in vic_provinfo_add_tlv()
|
/openbmc/sdbusplus/include/sdbusplus/utility/ |
H A D | container_traits.hpp | 33 static constexpr bool value = sizeof(test<T>(nullptr)) == sizeof(yes); member 37 inline constexpr bool has_const_iterator_v = has_const_iterator<T>::value; 60 static constexpr bool value = member 65 inline constexpr bool has_emplace_method_v = has_emplace_method<T>::value; 89 static constexpr bool value = member 95 has_emplace_back_method<T>::value;
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800lib.h | 28 u8 value; member 56 const unsigned int offset, u32 value); 58 const unsigned int offset, u32 value); 62 void *value, const u32 length); 65 const void *value, const u32 length); 99 u32 value) in rt2800_register_write() argument 103 rt2800ops->register_write(rt2x00dev, offset, value); in rt2800_register_write() 108 u32 value) in rt2800_register_write_lock() argument 112 rt2800ops->register_write_lock(rt2x00dev, offset, value); in rt2800_register_write_lock() 117 void *value, const u32 length) in rt2800_register_multiread() argument [all …]
|
/openbmc/linux/drivers/dma-buf/ |
H A D | sw_sync.c | 50 __u32 value; member 201 obj->value += inc; in sync_timeline_signal() 234 unsigned int value) in sync_pt_create() argument 244 obj->context, value); in sync_pt_create() 258 cmp = value - other->base.seqno; in sync_pt_create() 344 pt = sync_pt_create(obj, data.value); in sw_sync_ioctl_create_fence() 375 u32 value; in sw_sync_ioctl_inc() local 377 if (copy_from_user(&value, (void __user *)arg, sizeof(value))) in sw_sync_ioctl_inc() 380 while (value > INT_MAX) { in sw_sync_ioctl_inc() 382 value -= INT_MAX; in sw_sync_ioctl_inc() [all …]
|
/openbmc/qemu/include/hw/ |
H A D | qdev-properties.h | 183 BlockBackend *value, Error **errp); 189 void qdev_prop_set_bit(DeviceState *dev, const char *name, bool value); 190 void qdev_prop_set_uint8(DeviceState *dev, const char *name, uint8_t value); 191 void qdev_prop_set_uint16(DeviceState *dev, const char *name, uint16_t value); 192 void qdev_prop_set_uint32(DeviceState *dev, const char *name, uint32_t value); 193 void qdev_prop_set_int32(DeviceState *dev, const char *name, int32_t value); 196 void qdev_prop_set_chr(DeviceState *dev, const char *name, Chardev *value); 199 BlockBackend *value); 201 const uint8_t *value); 202 void qdev_prop_set_enum(DeviceState *dev, const char *name, int value); [all …]
|
/openbmc/qemu/hw/cris/ |
H A D | axis_dev88.c | 69 nand_write(void *opaque, hwaddr addr, uint64_t value, in nand_write() argument 77 nand_setio(s->nand, value); in nand_write() 206 D(printf("%s %x=%x\n", __func__, addr, (unsigned)value)); in gpio_write() 213 s->nand->ale = !!(value & (1 << 6)); in gpio_write() 214 s->nand->cle = !!(value & (1 << 5)); in gpio_write() 215 s->nand->ce = !!(value & (1 << 4)); in gpio_write() 217 s->regs[addr] = value; in gpio_write() 222 if ((s->regs[addr] ^ value) & 2) in gpio_write() 224 !!(value & 16)); in gpio_write() 225 s->regs[addr] = value; in gpio_write() [all …]
|
/openbmc/qemu/util/ |
H A D | qtree.c | 120 gpointer value) in q_tree_node_new() argument 130 node->value = value; in q_tree_node_new() 445 gpointer value) in q_tree_insert_node() argument 474 gpointer value) in q_tree_insert() argument 502 gpointer value) in q_tree_replace_node() argument 529 gpointer value) in q_tree_replace() argument 565 node->value = value; in q_tree_insert_internal() 964 return node ? node->value : NULL; in q_tree_lookup() 998 if (value) { in q_tree_lookup_extended() 999 *value = node->value; in q_tree_lookup_extended() [all …]
|
/openbmc/linux/arch/mips/pci/ |
H A D | pci-xtalk-bridge.c | 69 *value = (cf >> shift) & mask; in ioc3_cfg_rd() 120 int where, int size, u32 *value) in pci_conf0_read_config() argument 147 res = get_dbe(*value, (u8 *)addr); in pci_conf0_read_config() 149 res = get_dbe(*value, (u16 *)addr); in pci_conf0_read_config() 151 res = get_dbe(*value, (u32 *)addr); in pci_conf0_read_config() 186 res = get_dbe(*value, (u8 *)addr); in pci_conf1_read_config() 231 res = put_dbe(value, (u8 *)addr); in pci_conf0_write_config() 233 res = put_dbe(value, (u16 *)addr); in pci_conf0_write_config() 235 res = put_dbe(value, (u32 *)addr); in pci_conf0_write_config() 272 res = put_dbe(value, (u8 *)addr); in pci_conf1_write_config() [all …]
|
/openbmc/linux/arch/x86/lib/ |
H A D | insn-eval.c | 461 regno = X86_MODRM_RM(insn->modrm.value); in get_regno() 470 if (X86_REX_B(insn->rex_prefix.value)) in get_regno() 475 regno = X86_MODRM_REG(insn->modrm.value); in get_regno() 477 if (X86_REX_R(insn->rex_prefix.value)) in get_regno() 482 regno = X86_SIB_INDEX(insn->sib.value); in get_regno() 483 if (X86_REX_X(insn->rex_prefix.value)) in get_regno() 497 regno = X86_SIB_BASE(insn->sib.value); in get_regno() 506 if (X86_REX_B(insn->rex_prefix.value)) in get_regno() 1028 if (X86_MODRM_MOD(insn->modrm.value) > 2) in get_eff_addr_modrm() 1206 addr32 += insn->displacement.value; in get_eff_addr_sib() [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | si4713.rst | 75 mute (bool) : default=1 value=0 80 rds_program_id (int) : min=0 max=65535 step=1 default=0 value=0 81 rds_program_type (int) : min=0 max=31 step=1 default=0 value=0 82 rds_ps_name (str) : min=0 max=96 step=8 value='si4713 ' 83 rds_radio_text (str) : min=0 max=384 step=32 value='' 84 audio_limiter_feature_enabled (bool) : default=1 value=1 87 audio_compression_feature_enabl (bool) : default=1 value=1 92 pilot_tone_feature_enabled (bool) : default=1 value=1 95 pre_emphasis_settings (menu) : min=0 max=2 default=1 value=1 96 tune_power_level (int) : min=0 max=120 step=1 default=88 value=88 flags=slider [all …]
|
/openbmc/qemu/qobject/ |
H A D | block-qdict.c | 57 QObject *value; in qdict_flatten_qlist() local 73 value = qlist_entry_obj(entry); in qdict_flatten_qlist() 74 dict_val = qobject_to(QDict, value); in qdict_flatten_qlist() 75 list_val = qobject_to(QList, value); in qdict_flatten_qlist() 96 QObject *value; in qdict_flatten_qdict() local 106 value = qdict_entry_value(entry); in qdict_flatten_qdict() 107 dict_val = qobject_to(QDict, value); in qdict_flatten_qdict() 108 list_val = qobject_to(QList, value); in qdict_flatten_qdict() 439 dict_val = qobject_to(QDict, ent->value); in qdict_crumple() 440 list_val = qobject_to(QList, ent->value); in qdict_crumple() [all …]
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_fcu_controls.c | 151 if (value < fan->min) in wf_fcu_fan_set_rpm() 152 value = fan->min; in wf_fcu_fan_set_rpm() 153 if (value > fan->max) in wf_fcu_fan_set_rpm() 154 value = fan->max; in wf_fcu_fan_set_rpm() 156 fan->target = value; in wf_fcu_fan_set_rpm() 208 if (value < fan->min) in wf_fcu_fan_set_pwm() 209 value = fan->min; in wf_fcu_fan_set_pwm() 211 value = fan->max; in wf_fcu_fan_set_pwm() 213 fan->target = value; in wf_fcu_fan_set_pwm() 215 value = (value * 2559) / 1000; in wf_fcu_fan_set_pwm() [all …]
|
/openbmc/qemu/hw/gpio/ |
H A D | pl061.c | 351 s->dir = value & 0xff; in pl061_write() 357 s->ibe = value & 0xff; in pl061_write() 360 s->iev = value & 0xff; in pl061_write() 363 s->im = value & 0xff; in pl061_write() 366 s->istate &= ~value; in pl061_write() 376 s->dr2r = value & 0xff; in pl061_write() 394 s->odr = value & 0xff; in pl061_write() 400 s->pur = value & 0xff; in pl061_write() 406 s->pdr = value & 0xff; in pl061_write() 412 s->slr = value & 0xff; in pl061_write() [all …]
|
H A D | zaurus.c | 118 value &= 0xffff; in scoop_write() 122 s->mcr = value; in scoop_write() 125 s->cdr = value; in scoop_write() 128 s->power = value; in scoop_write() 129 if (value & 0x80) { in scoop_write() 134 s->ccr = value; in scoop_write() 137 s->irr = value; in scoop_write() 140 s->imr = value; in scoop_write() 143 s->isr = value; in scoop_write() 146 s->gpio_dir = value; in scoop_write() [all …]
|
/openbmc/u-boot/fs/jffs2/ |
H A D | compr_rtime.c | 64 unsigned char value; in rtime_decompress() local 68 value = data_in[pos++]; in rtime_decompress() 69 cpage_out[outpos++] = value; /* first the verbatim copied byte */ in rtime_decompress() 71 backoffs = positions[value]; in rtime_decompress() 73 positions[value]=outpos; in rtime_decompress()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | timer_crash.c | 16 __type(value, struct map_elem); 23 __type(value, struct map_elem); 32 struct map_elem *e, value = {}; in sys_enter() local 38 *(void **)&value = (void *)0xdeadcaf3; in sys_enter() 40 bpf_map_update_elem(map, &(int){0}, &value, 0); in sys_enter()
|
/openbmc/linux/drivers/memory/tegra/ |
H A D | mc.c | 140 u32 value; in tegra_mc_block_dma_common() local 145 mc_writel(mc, value, rst->control); in tegra_mc_block_dma_common() 162 u32 value; in tegra_mc_unblock_dma_common() local 390 u32 value; in tegra_mc_setup_latency_allowance() local 404 u32 value; in tegra_mc_setup_latency_allowance() local 601 u32 value; in tegra30_mc_handle_irq() local 660 if (value & MC_ERR_STATUS_RW) in tegra30_mc_handle_irq() 716 addr |= value; in tegra30_mc_handle_irq() 886 u32 value; in tegra_mc_num_channel_enabled() local 889 if (value <= 0) { in tegra_mc_num_channel_enabled() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | atmel_usba_udc.h | 176 #define USBA_BF(name, value) \ argument 177 (((value) & ((1 << USBA_##name##_SIZE) - 1)) \ 179 #define USBA_BFEXT(name, value) \ argument 180 (((value) >> USBA_##name##_OFFSET) \ 182 #define USBA_BFINS(name, value, old) \ argument 185 | USBA_BF(name, value)) 190 #define usba_writel(udc, reg, value) \ argument 191 writel_relaxed((value), (udc)->regs + USBA_##reg) 194 #define usba_ep_writel(ep, reg, value) \ argument 195 writel_relaxed((value), (ep)->ep_regs + USBA_EPT_##reg) [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | si_dma.c | 110 uint64_t value; in si_dma_vm_write_pages() local 124 value = radeon_vm_map_gart(rdev, addr); in si_dma_vm_write_pages() 126 value = addr; in si_dma_vm_write_pages() 128 value = 0; in si_dma_vm_write_pages() 131 value |= flags; in si_dma_vm_write_pages() 132 ib->ptr[ib->length_dw++] = value; in si_dma_vm_write_pages() 157 uint64_t value; in si_dma_vm_set_pages() local 166 value = addr; in si_dma_vm_set_pages() 168 value = 0; in si_dma_vm_set_pages() 176 ib->ptr[ib->length_dw++] = value; /* value */ in si_dma_vm_set_pages() [all …]
|
/openbmc/phosphor-pid-control/experiments/ |
H A D | drive.cpp | 52 bool valueClose(int64_t value, int64_t goal) in valueClose() argument 56 if (value < (goal + delta) && in valueClose() 57 value > (goal - delta)) in valueClose() 64 if (value < goal) in valueClose() 89 int64_t n0 = static_cast<int64_t>(r0.value); in driveGoal() 90 int64_t n1 = static_cast<int64_t>(r1.value); in driveGoal() 155 int64_t n0 = static_cast<int64_t>(r0.value); in driveTime() 156 int64_t n1 = static_cast<int64_t>(r1.value); in driveTime() 201 int64_t pwm0_value = static_cast<int64_t>(r0.value); in driveMain() 212 int64_t fan0_start = r0.value; in driveMain() [all …]
|
/openbmc/qemu/hw/i2c/ |
H A D | trace-events | 26 allwinner_i2c_read(const char* reg_name, uint64_t offset, uint64_t value) "read %s [0x%" PRIx64 "]:… 27 allwinner_i2c_write(const char* reg_name, uint64_t offset, uint64_t value) "write %s [0x%" PRIx64 "… 33 aspeed_i2c_bus_read(uint32_t busid, uint64_t offset, unsigned size, uint64_t value) "bus[%d]: To 0x… 34 aspeed_i2c_bus_write(uint32_t busid, uint64_t offset, unsigned size, uint64_t value) "bus[%d]: To 0… 40 …s_read(const char *id, uint64_t offset, uint64_t value, unsigned size) "%s offset: 0x%04" PRIx64 "… 41 …_write(const char *id, uint64_t offset, uint64_t value, unsigned size) "%s offset: 0x%04" PRIx64 "… 44 npcm7xx_smbus_send_byte(const char *id, uint8_t value, int success) "%s send byte: 0x%02x, success:… 45 npcm7xx_smbus_recv_byte(const char *id, uint8_t value) "%s recv byte: 0x%02x" 52 pca954x_write_bytes(uint8_t value) "PCA954X write data: 0x%02x" 53 pca954x_read_data(uint8_t value) "PCA954X read data: 0x%02x"
|
/openbmc/linux/arch/x86/kernel/ |
H A D | ptrace.c | 170 return unlikely(value != 0 && (value & SEGMENT_RPL_MASK) != USER_RPL); in invalid_selector() 224 if (unlikely(value == 0)) in set_segment_reg() 233 task->thread.gs = value; in set_segment_reg() 316 task->thread.ds = value; in set_segment_reg() 319 task->thread.es = value; in set_segment_reg() 367 value |= X86_EFLAGS_TF; in set_flags() 864 regs->q = value; break 870 value); \ 894 value); in putreg32() 903 value); in putreg32() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-scmi.c | 98 mt_params[3].integer.value = 0; in acpi_smbus_cmi_access() 100 mt_params[4].integer.value = 0; in acpi_smbus_cmi_access() 108 mt_params[3].integer.value = 0; in acpi_smbus_cmi_access() 110 mt_params[4].integer.value = 0; in acpi_smbus_cmi_access() 120 mt_params[3].integer.value = 1; in acpi_smbus_cmi_access() 130 mt_params[3].integer.value = 2; in acpi_smbus_cmi_access() 169 mt_params[1].integer.value = addr; in acpi_smbus_cmi_access() 195 result = obj->integer.value; in acpi_smbus_cmi_access() 227 len = obj->integer.value; in acpi_smbus_cmi_access() 240 data->word = obj->integer.value; in acpi_smbus_cmi_access() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | acl.c | 38 if (!value) in ocfs2_acl_from_xattr() 50 (struct ocfs2_acl_entry *)value; in ocfs2_acl_from_xattr() 117 char *value = NULL; in ocfs2_get_acl_nolock() local 135 if (!value) in ocfs2_get_acl_nolock() 138 "", value, retval); in ocfs2_get_acl_nolock() 148 kfree(value); in ocfs2_get_acl_nolock() 223 void *value = NULL; in ocfs2_set_acl() local 245 if (IS_ERR(value)) in ocfs2_set_acl() 246 return (int)PTR_ERR(value); in ocfs2_set_acl() 251 "", value, size, 0, in ocfs2_set_acl() [all …]
|
/openbmc/phosphor-pid-control/pid/ |
H A D | zone.cpp | 289 int value; in fileParseRpm() local 290 ifs >> value; in fileParseRpm() 292 if (value <= 0) in fileParseRpm() 296 else if (value <= 100) in fileParseRpm() 441 _log << value; in writeLog() 522 std::cerr << name << ": " << value.scaled << " " << value.unscaled in dumpCache() 529 std::cerr << name << ": " << value.scaled << " " << value.unscaled in dumpCache() 566 bool DbusPidZone::manual(bool value) in manual() argument 568 std::cerr << "manual: " << value << std::endl; in manual() 569 setManualMode(value); in manual() [all …]
|