Home
last modified time | relevance | path

Searched refs:value (Results 1451 – 1475 of 13561) sorted by relevance

1...<<51525354555657585960>>...543

/openbmc/linux/samples/bpf/
H A Dfds_example.c78 uint32_t value) in bpf_do_map() argument
98 ret = bpf_map_update_elem(fd, &key, &value, 0); in bpf_do_map()
99 printf("bpf: fd:%d u->(%u:%u) ret:(%d,%s)\n", fd, key, value, in bpf_do_map()
103 ret = bpf_map_lookup_elem(fd, &key, &value); in bpf_do_map()
104 printf("bpf: fd:%d l->(%u):%u ret:(%d,%s)\n", fd, key, value, in bpf_do_map()
144 uint32_t key = 0, value = 0, flags = 0; in main() local
168 value = strtoul(optarg, NULL, 0); in main()
188 return bpf_do_map(file, flags, key, value); in main()
/openbmc/linux/drivers/pwm/
H A Dpwm-imx1.c96 u32 value; in pwm_imx1_enable() local
103 value = readl(imx->mmio_base + MX1_PWMC); in pwm_imx1_enable()
104 value |= MX1_PWMC_EN; in pwm_imx1_enable()
105 writel(value, imx->mmio_base + MX1_PWMC); in pwm_imx1_enable()
113 u32 value; in pwm_imx1_disable() local
115 value = readl(imx->mmio_base + MX1_PWMC); in pwm_imx1_disable()
116 value &= ~MX1_PWMC_EN; in pwm_imx1_disable()
117 writel(value, imx->mmio_base + MX1_PWMC); in pwm_imx1_disable()
/openbmc/sdbusplus/src/
H A Devent.cpp67 uint64_t value = 1; in signal() local
68 auto rc = write(fd, &value, sizeof(value)); in signal()
69 if (rc < static_cast<decltype(rc)>(sizeof(value))) in signal()
77 uint64_t value = 0; in ack() local
78 auto rc = read(fd, &value, sizeof(value)); in ack()
79 if (rc < static_cast<decltype(rc)>(sizeof(value))) in ack()
/openbmc/u-boot/arch/sh/cpu/sh4/
H A Dwatchdog.c21 static void cnt_write(unsigned char value) in cnt_write() argument
23 outl((unsigned short)value | 0x5A00, WDT_BASE + 0x00); in cnt_write()
26 static void csr_write(unsigned char value) in csr_write() argument
28 outl((unsigned short)value | 0xA500, WDT_BASE + 0x04); in csr_write()
/openbmc/phosphor-fan-presence/control/example/
H A Devents.yaml217 # size times the given value and property's value difference
225 # size times the given value and property's value difference
267 # value: false
270 # value: 10500
293 # value:
301 # value:
326 # value:
334 # value:
347 # value: true
353 # value: true
[all …]
/openbmc/linux/net/devlink/
H A Ddpipe.c309 value->value_size, value->value)) in devlink_dpipe_value_put()
311 if (value->mask) in devlink_dpipe_value_put()
313 value->value_size, value->mask)) in devlink_dpipe_value_put()
315 if (value->mapping_valid) in devlink_dpipe_value_put()
317 value->mapping_value)) in devlink_dpipe_value_put()
325 if (!value->action) in devlink_dpipe_action_value_put()
362 if (!value->match) in devlink_dpipe_match_value_put()
519 value = entry->action_values; in devlink_dpipe_entry_clear()
522 kfree(value[value_index].value); in devlink_dpipe_entry_clear()
526 value = entry->match_values; in devlink_dpipe_entry_clear()
[all …]
/openbmc/linux/fs/kernfs/
H A Dinode.c296 void *value, size_t size) in kernfs_xattr_get() argument
306 const void *value, size_t size, int flags) in kernfs_xattr_set() argument
323 const char *suffix, void *value, size_t size) in kernfs_vfs_xattr_get() argument
328 return kernfs_xattr_get(kn, name, value, size); in kernfs_vfs_xattr_get()
334 const char *suffix, const void *value, in kernfs_vfs_xattr_set() argument
346 const void *value, size_t size, int flags) in kernfs_vfs_user_xattr_add() argument
385 const void *value, size_t size, int flags) in kernfs_vfs_user_xattr_rm() argument
407 const char *suffix, const void *value, in kernfs_vfs_user_xattr_set() argument
421 if (value) in kernfs_vfs_user_xattr_set()
423 value, size, flags); in kernfs_vfs_user_xattr_set()
[all …]
/openbmc/linux/drivers/pci/controller/
H A Dpci-ftpci100.c183 u32 *value) in faraday_raw_pci_read_config() argument
189 *value = readl(p->base + FTPCI_DATA); in faraday_raw_pci_read_config()
192 *value = (*value >> (8 * (config & 3))) & 0xFF; in faraday_raw_pci_read_config()
194 *value = (*value >> (8 * (config & 3))) & 0xFFFF; in faraday_raw_pci_read_config()
200 int config, int size, u32 *value) in faraday_pci_read_config() argument
206 PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value); in faraday_pci_read_config()
213 u32 value) in faraday_raw_pci_write_config() argument
223 writel(value, p->base + FTPCI_DATA); in faraday_raw_pci_write_config()
239 int config, int size, u32 value) in faraday_pci_write_config() argument
245 PCI_SLOT(fn), PCI_FUNC(fn), config, size, value); in faraday_pci_write_config()
[all …]
/openbmc/linux/drivers/char/
H A Dds1620.c108 static void ds1620_send_bits(int nr, int value) in ds1620_send_bits() argument
113 netwinder_ds1620_set_data(value & 1); in ds1620_send_bits()
119 value >>= 1; in ds1620_send_bits()
125 unsigned int value = 0, mask = 1; in ds1620_recv_bits() local
135 value |= mask; in ds1620_recv_bits()
143 return value; in ds1620_recv_bits()
146 static void ds1620_out(int cmd, int bits, int value) in ds1620_out() argument
159 ds1620_send_bits(bits, value); in ds1620_out()
172 unsigned int value; in ds1620_in() local
184 value = ds1620_recv_bits(bits); in ds1620_in()
[all …]
/openbmc/u-boot/drivers/net/phy/
H A Dmv88e6352.c86 u16 value; in sw_reg_write() local
97 value = SMI_HDR | SMIWR_OP | ((port & SMI_MASK) << PORT_SHIFT) | in sw_reg_write()
99 debug("%s: write to command: %#x\n", __func__, value); in sw_reg_write()
100 ret = miiphy_write(devname, phy_addr, COMMAND_REG, value); in sw_reg_write()
185 regs[i].reg, regs[i].value); in mv88e_sw_program()
235 u16 value = 0, phyaddr, reg, port; in do_mvsw_reg_read() local
242 ret = sw_reg_read(name, phyaddr, port, reg, &value); in do_mvsw_reg_read()
243 printf("%#x\n", value); in do_mvsw_reg_read()
250 u16 value = 0, phyaddr, reg, port; in do_mvsw_reg_write() local
256 value = simple_strtoul(argv[4], NULL, 16); in do_mvsw_reg_write()
[all …]
/openbmc/phosphor-net-ipmid/command/
H A Dchannel_auth.cpp144 cipherRecords.push_back(record.value(cipher, 0)); in getCipherRecords()
146 cipherRecords.push_back(record.value(oem, 0)); in getCipherRecords()
147 cipherRecords.push_back(record.value(oem, 0) >> 8); in getCipherRecords()
148 cipherRecords.push_back(record.value(oem, 0) >> 16); in getCipherRecords()
155 cipherRecords.push_back(record.value(cipher, 0)); in getCipherRecords()
159 cipherRecords.push_back(record.value(auth, 0)); in getCipherRecords()
160 supportedAlgorithmSet.insert(record.value(auth, 0)); in getCipherRecords()
163 cipherRecords.push_back(record.value(integrity, 0) | integrityTag); in getCipherRecords()
164 supportedAlgorithmSet.insert(record.value(integrity, 0) | integrityTag); in getCipherRecords()
167 cipherRecords.push_back(record.value(conf, 0) | confTag); in getCipherRecords()
[all …]
/openbmc/qemu/tests/qtest/
H A Dtest-x86-cpuid-compat.c39 QBool *value = qobject_to(QBool, qom_get(path, prop)); in qom_get_bool() local
40 bool b = qbool_get_bool(value); in qom_get_bool()
42 qobject_unref(value); in qom_get_bool()
56 QNum *value; in test_cpuid_prop() local
61 value = qobject_to(QNum, qom_get(path, args->property)); in test_cpuid_prop()
62 g_assert(qnum_get_try_int(value, &val)); in test_cpuid_prop()
66 qobject_unref(value); in test_cpuid_prop()
149 uint32_t value; in test_feature_flag() local
155 value = get_feature_word(present, args->in_eax, args->in_ecx, args->reg); in test_feature_flag()
156 value |= get_feature_word(filtered, args->in_eax, args->in_ecx, args->reg); in test_feature_flag()
[all …]
/openbmc/qemu/hw/input/
H A Dpxa2xx_keypad.c235 uint64_t value, unsigned size) in pxa2xx_keypad_write() argument
241 s->kpc = value; in pxa2xx_keypad_write()
247 s->kpdk = value; in pxa2xx_keypad_write()
250 s->kprec = value; in pxa2xx_keypad_write()
253 s->kpmk = value; in pxa2xx_keypad_write()
256 s->kpas = value; in pxa2xx_keypad_write()
259 s->kpasmkp[0] = value; in pxa2xx_keypad_write()
262 s->kpasmkp[1] = value; in pxa2xx_keypad_write()
265 s->kpasmkp[2] = value; in pxa2xx_keypad_write()
268 s->kpasmkp[3] = value; in pxa2xx_keypad_write()
[all …]
/openbmc/qemu/hw/ssi/
H A Dpl022.c163 uint64_t value, unsigned size) in pl022_write() argument
169 s->cr0 = value; in pl022_write()
171 s->bitmask = (1 << ((value & 15) + 1)) - 1; in pl022_write()
174 s->cr1 = value; in pl022_write()
183 DPRINTF("TX %02x\n", (unsigned)value); in pl022_write()
184 s->tx_fifo[s->tx_fifo_head] = value & s->bitmask; in pl022_write()
192 s->cpsr = value & 0xff; in pl022_write()
195 s->im = value; in pl022_write()
203 value &= PL022_INT_ROR | PL022_INT_RT; in pl022_write()
204 s->is &= ~value; in pl022_write()
[all …]
/openbmc/qemu/hw/i2c/
H A Dexynos4210_i2c.c135 uint8_t value; in exynos4210_i2c_read() local
139 value = s->i2ccon; in exynos4210_i2c_read()
142 value = s->i2cstat; in exynos4210_i2c_read()
145 value = s->i2cadd; in exynos4210_i2c_read()
148 value = s->i2cds; in exynos4210_i2c_read()
157 value = s->i2clc; in exynos4210_i2c_read()
160 value = 0; in exynos4210_i2c_read()
166 (unsigned int)offset, value); in exynos4210_i2c_read()
167 return value; in exynos4210_i2c_read()
171 uint64_t value, unsigned size) in exynos4210_i2c_write() argument
[all …]
/openbmc/linux/scripts/
H A Dexport_report.pl131 my ($module, $value, $symbol, $gpl) = @{$SYMBOL{$sym}};
132 $SYMBOL{ $sym } = [ $module, $value+1, $symbol, $gpl];
158 my ($module, $value, $symbol, $gpl) = @{$list};
159 printf("%-25s\t%-25s\t%-10s\t", $symbol, $module, $value);
182 my ($module, $value, undef, $gpl) = @{$SYMBOL{$symbol}};
183 push (@{$depends{"$module"}}, "$symbol $value");
/openbmc/u-boot/env/
H A Dcallback.c92 static int set_callback(const char *name, const char *value, void *priv) in set_callback() argument
105 if (value == NULL || strlen(value) == 0) in set_callback()
109 clbkp = find_env_callback(value); in set_callback()
122 static int on_callbacks(const char *name, const char *value, enum env_op op, in on_callbacks() argument
131 env_attr_walk(value, set_callback, NULL); in on_callbacks()
/openbmc/phosphor-pid-control/test/
H A Dsensor_pluggable_unittest.cpp54 r.value = 0.1; in TEST()
61 EXPECT_EQ(r.value, v.value); in TEST()
83 double value = 0.303; in TEST() local
85 EXPECT_CALL(*wip, write(value)); in TEST()
86 p.write(value); in TEST()
/openbmc/linux/arch/m68k/include/asm/
H A Dio_no.h82 static inline void writew(u16 value, volatile void __iomem *addr) in writew() argument
85 __raw_writew(value, addr); in writew()
87 __raw_writew(swab16(value), addr); in writew()
91 static inline void writel(u32 value, volatile void __iomem *addr) in writel() argument
94 __raw_writel(value, addr); in writel()
96 __raw_writel(swab32(value), addr); in writel()
/openbmc/linux/include/linux/
H A Dcrash_core.h41 #define VMCOREINFO_OSRELEASE(value) \ argument
42 vmcoreinfo_append_str("OSRELEASE=%s\n", value)
49 #define VMCOREINFO_PAGESIZE(value) \ argument
50 vmcoreinfo_append_str("PAGESIZE=%ld\n", value)
67 #define VMCOREINFO_LENGTH(name, value) \ argument
68 vmcoreinfo_append_str("LENGTH(%s)=%lu\n", #name, (unsigned long)value)
/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dchip.c58 int plfxlc_chip_switch_radio(struct plfxlc_chip *chip, u16 value) in plfxlc_chip_switch_radio() argument
61 __le16 radio_on = cpu_to_le16(value); in plfxlc_chip_switch_radio()
64 sizeof(value), USB_REQ_POWER_WR); in plfxlc_chip_switch_radio()
78 u8 value = 0; in plfxlc_chip_disable_rxtx() local
81 &value, sizeof(value), USB_REQ_RXTX_WR); in plfxlc_chip_disable_rxtx()
/openbmc/linux/drivers/acpi/acpica/
H A Ddswscope.c45 value))); in acpi_ds_scope_stack_clear()
101 scope_info->common.value = (u16) type; in acpi_ds_scope_stack_push()
116 common.value))); in acpi_ds_scope_stack_push()
124 acpi_ut_get_type_name(scope_info->common.value))); in acpi_ds_scope_stack_push()
165 acpi_ut_get_type_name(scope_info->common.value))); in acpi_ds_scope_stack_pop()
173 common.value))); in acpi_ds_scope_stack_pop()
/openbmc/linux/fs/gfs2/
H A Dlog.h48 unsigned int value) in gfs2_log_pointers_init() argument
50 if (++value == sdp->sd_jdesc->jd_blocks) { in gfs2_log_pointers_init()
51 value = 0; in gfs2_log_pointers_init()
53 sdp->sd_log_tail = value; in gfs2_log_pointers_init()
54 sdp->sd_log_flush_tail = value; in gfs2_log_pointers_init()
55 sdp->sd_log_head = value; in gfs2_log_pointers_init()
/openbmc/phosphor-power/phosphor-power-supply/
H A Dutil.cpp46 int value = -1; in read() local
60 value = line.get_value(); in read()
80 return value; in read()
83 void GPIOInterface::write(int value, std::bitset<32> flags) in write() argument
97 value); in write()
104 entry("VALUE=%d", value)); in write()
/openbmc/phosphor-state-manager/
H A Dbmc_state_manager.hpp59 for (const auto& [key, value] : propertyChanged) in __anonbe750f0c0202()
62 std::holds_alternative<std::string>(value) && in __anonbe750f0c0202()
63 std::get<std::string>(value) == "active") in __anonbe750f0c0202()
80 Transition requestedBMCTransition(Transition value) override;
83 BMCState currentBMCState(BMCState value) override;
96 RebootCause lastRebootCause(RebootCause value) override;

1...<<51525354555657585960>>...543