/openbmc/linux/Documentation/arch/arm/nwfpe/ |
H A D | netwinder-fpe.rst | 80 ADF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - add 107 MVF{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - move 112 ABS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - absolute value 114 RND{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - round 119 NRM{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - normalize 127 POW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - power 133 EXP{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - exponent 134 SIN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - sine 135 COS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - cosine 136 TAN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - tangent [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | trace.c | 92 e = trace_alloc_entry(tb, sizeof(reg) + sizeof(value)); in trace_log_reg() 99 *p++ = value; in trace_log_reg() 109 e = trace_alloc_entry(tb, sizeof(value)); in trace_log_counter() 115 *p++ = value; in trace_log_counter() 202 u64 *p, *reg, *value; in trace_print_reg() local 207 value = p; in trace_print_reg() 211 printf("register %-10s = 0x%016llx\n", name, *value); in trace_print_reg() 213 printf("register %lld = 0x%016llx\n", *reg, *value); in trace_print_reg() 218 u64 *value; in trace_print_counter() local 220 value = (u64 *)e->data; in trace_print_counter() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | ad7414.c | 77 int value, i; in ad7414_update_device() local 81 value = ad7414_read(client, AD7414_REG_TEMP); in ad7414_update_device() 82 if (value < 0) in ad7414_update_device() 84 value); in ad7414_update_device() 86 data->temp_input = value; in ad7414_update_device() 89 value = ad7414_read(client, AD7414_REG_LIMIT[i]); in ad7414_update_device() 90 if (value < 0) in ad7414_update_device() 92 AD7414_REG_LIMIT[i], value); in ad7414_update_device() 94 data->temps[i] = value; in ad7414_update_device() 154 int value = (data->temp_input >> bitnr) & 1; in alarm_show() local [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/css_2401_system/host/ |
H A D | isys_irq_private.h | 71 const hrt_data value) in isys_irqc_reg_store() argument 80 "isys irq store at addr(0x%x) val(%u)\n", reg_addr, (unsigned int)value); in isys_irqc_reg_store() 82 ia_css_device_store_uint32(reg_addr, value); in isys_irqc_reg_store() 90 hrt_data value; in isys_irqc_reg_load() local 96 value = ia_css_device_load_uint32(reg_addr); in isys_irqc_reg_load() 98 "isys irq load from addr(0x%x) val(%u)\n", reg_addr, (unsigned int)value); in isys_irqc_reg_load() 100 return value; in isys_irqc_reg_load()
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-xattr-user.c | 26 const char *name, void *value, size_t size) in mp_user_getxattr() argument 36 return local_getxattr_nofollow(ctx, path, name, value, size); in mp_user_getxattr() 40 char *name, void *value, size_t size) in mp_user_listxattr() argument 58 if (!value) { in mp_user_listxattr() 68 memcpy(value, name, name_size); in mp_user_listxattr() 73 void *value, size_t size, int flags) in mp_user_setxattr() argument 83 return local_setxattr_nofollow(ctx, path, name, value, size, flags); in mp_user_setxattr()
|
/openbmc/smbios-mdr/ |
H A D | meson.options | 4 value: 'disabled', 11 value: 'enabled', 18 value: 'disabled', 25 value: 'disabled', 32 value: 'enabled', 39 value: 'enabled', 46 value: 'enabled',
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | isa207-common.c | 114 u64 result = value; in p10_thresh_cmp_val() 116 if (!value) in p10_thresh_cmp_val() 117 return value; in p10_thresh_cmp_val() 129 if (value > 261120) in p10_thresh_cmp_val() 130 value = 261120; in p10_thresh_cmp_val() 133 value >>= 2; in p10_thresh_cmp_val() 152 value = p10_thresh_cmp_val(value); in thresh_cmp_val() 404 unsigned long mask, value; in isa207_get_constraint() local 406 mask = value = 0; in isa207_get_constraint() 455 value |= CNST_NC_VAL; in isa207_get_constraint() [all …]
|
/openbmc/linux/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_crtc.c | 70 u32 value; in shmob_drm_crtc_setup_geometry() local 72 value = sdev->ldmt1r in shmob_drm_crtc_setup_geometry() 80 lcdc_write(sdev, LDMT1R, value); in shmob_drm_crtc_setup_geometry() 102 lcdc_write(sdev, LDHCNR, value); in shmob_drm_crtc_setup_geometry() 125 u32 value; in shmob_drm_crtc_start_stop() local 136 if ((start && value) || (!start && !value)) in shmob_drm_crtc_start_stop() 163 u32 value; in shmob_drm_crtc_start() local 190 value = sdev->lddckr; in shmob_drm_crtc_start() 199 value |= LDDCKR_MOSEL; in shmob_drm_crtc_start() 201 value |= idata->clk_div; in shmob_drm_crtc_start() [all …]
|
/openbmc/pldm/common/ |
H A D | utils.cpp | 421 propValue = static_cast<uint8_t>(value); in jsonEntryToDbusVal() 425 propValue = static_cast<uint16_t>(value); in jsonEntryToDbusVal() 429 propValue = static_cast<uint32_t>(value); in jsonEntryToDbusVal() 433 propValue = static_cast<uint64_t>(value); in jsonEntryToDbusVal() 437 propValue = static_cast<int16_t>(value); in jsonEntryToDbusVal() 441 propValue = static_cast<int32_t>(value); in jsonEntryToDbusVal() 445 propValue = static_cast<int64_t>(value); in jsonEntryToDbusVal() 449 propValue = static_cast<bool>(value); in jsonEntryToDbusVal() 453 propValue = static_cast<double>(value); in jsonEntryToDbusVal() 457 propValue = static_cast<std::string>(value); in jsonEntryToDbusVal() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 349 static inline uint32_t extract32(uint32_t value, int start, int length) in extract32() argument 352 return (value >> start) & (~0U >> (32 - length)); in extract32() 368 static inline uint8_t extract8(uint8_t value, int start, int length) in extract8() argument 371 return extract32(value, start, length); in extract8() 387 static inline uint16_t extract16(uint16_t value, int start, int length) in extract16() argument 390 return extract32(value, start, length); in extract16() 406 static inline uint64_t extract64(uint64_t value, int start, int length) in extract64() argument 409 return (value >> start) & (~0ULL >> (64 - length)); in extract64() 428 static inline int32_t sextract32(uint32_t value, int start, int length) in sextract32() argument 485 return (value & ~mask) | ((fieldval << start) & mask); in deposit32() [all …]
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00usb.h | 93 const u16 offset, const u16 value, 152 const u16 value, in rt2x00usb_vendor_request_sw() argument 157 value, NULL, 0, timeout); in rt2x00usb_vendor_request_sw() 226 void *value, const u32 length) in rt2x00usb_register_multiread() argument 230 value, length); in rt2x00usb_register_multiread() 244 u32 value) in rt2x00usb_register_write() argument 246 __le32 reg = cpu_to_le32(value); in rt2x00usb_register_write() 263 u32 value) in rt2x00usb_register_write_lock() argument 265 __le32 reg = cpu_to_le32(value); in rt2x00usb_register_write_lock() 283 const void *value, in rt2x00usb_register_multiwrite() argument [all …]
|
/openbmc/phosphor-host-ipmid/app/ |
H A D | channel.cpp | 64 cipherRecords.push_back(record.value(cipher, 0)); in getCipherRecords() 66 cipherRecords.push_back(record.value(oem, 0)); in getCipherRecords() 67 cipherRecords.push_back(record.value(oem, 0) >> 8); in getCipherRecords() 68 cipherRecords.push_back(record.value(oem, 0) >> 16); in getCipherRecords() 75 cipherRecords.push_back(record.value(cipher, 0)); in getCipherRecords() 79 cipherRecords.push_back(record.value(auth, 0)); in getCipherRecords() 80 supportedAlgorithmSet.insert(record.value(auth, 0)); in getCipherRecords() 83 cipherRecords.push_back(record.value(integrity, 0) | integrityTag); in getCipherRecords() 84 supportedAlgorithmSet.insert(record.value(integrity, 0) | integrityTag); in getCipherRecords() 87 cipherRecords.push_back(record.value(conf, 0) | confTag); in getCipherRecords() [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | composite.c | 34 int value = -EINVAL; in usb_add_function() local 48 if (value < 0) { in usb_add_function() 53 value = 0; in usb_add_function() 61 if (value) in usb_add_function() 64 return value; in usb_add_function() 509 int value; in lookup_string() local 517 if (value > 0) in lookup_string() 518 return value; in lookup_string() 770 value = min(w_length, (u16) value); in composite_setup() 776 value = min(w_length, (u16) value); in composite_setup() [all …]
|
/openbmc/openpower-pnor-code-mgmt/ubi/ |
H A D | activation_ubi.hpp | 20 Activation& parent, uint8_t value) : in RedundancyPriorityUbi() argument 21 RedundancyPriority(bus, path, parent, value) in RedundancyPriorityUbi() 23 priority(value); in RedundancyPriorityUbi() 33 uint8_t priority(uint8_t value) override; 53 Activations activation(Activations value) override; 56 requestedActivation(RequestedActivations value) override;
|
/openbmc/linux/include/drm/display/ |
H A D | drm_scdc_helper.h | 52 u8 *value) in drm_scdc_readb() argument 54 return drm_scdc_read(adapter, offset, value, sizeof(*value)); in drm_scdc_readb() 70 u8 value) in drm_scdc_writeb() argument 72 return drm_scdc_write(adapter, offset, &value, sizeof(value)); in drm_scdc_writeb()
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | az6007.c | 257 u16 value; in az6007_ci_read_attribute_mem() local 330 u16 value; in az6007_ci_read_cam_control() local 406 u16 value; in CI_CamReady() local 416 value = 0; in CI_CamReady() 438 u16 value; in az6007_ci_slot_reset() local 445 value = 1; in az6007_ci_slot_reset() 457 value = 0; in az6007_ci_slot_reset() 494 u16 value; in az6007_ci_slot_ts_enable() local 501 value = 1; in az6007_ci_slot_ts_enable() 522 u16 value; in az6007_ci_poll_slot_status() local [all …]
|
/openbmc/smbios-mdr/include/ |
H A D | dimm.hpp | 106 uint16_t memoryDataWidth(uint16_t value) override; 107 uint16_t memoryTotalWidth(uint16_t value) override; 108 size_t memorySizeInKB(size_t value) override; 110 DeviceType memoryType(DeviceType value) override; 114 bool present(bool value) override; 116 std::string partNumber(std::string value) override; 118 size_t memoryAttributes(size_t value) override; 120 uint8_t slot(uint8_t value) override; 121 uint8_t socket(uint8_t value) override; 123 bool functional(bool value) override; [all …]
|
/openbmc/sdbusplus/tools/sdbusplus/templates/ |
H A D | interface.common.hpp.mako | 44 static constexpr auto ${p.snake_case} = "${p.value}"; 48 static constexpr auto value = "${p.value}"; 68 * "${interface.name}.<value name>" 69 * @return - The enum value. 77 * "${interface.name}.<value name>" 78 * @return - The enum value or std::nullopt 83 /** @brief Convert an enum value to a string. 86 * "${interface.name}.<value name>" 98 * @param[in] e - Enum value to convert. 179 convertStringTo${e.name}(value); [all …]
|
/openbmc/linux/include/linux/ |
H A D | input.h | 35 __s32 value; member 188 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value); 423 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) in input_report_key() argument 425 input_event(dev, EV_KEY, code, !!value); in input_report_key() 428 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value) in input_report_rel() argument 430 input_event(dev, EV_REL, code, value); in input_report_rel() 435 input_event(dev, EV_ABS, code, value); in input_report_abs() 440 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status() 445 input_event(dev, EV_SW, code, !!value); in input_report_switch() 496 INPUT_GENERATE_ABS_ACCESSORS(val, value) [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | mps2-scc.c | 123 s->oscclk[device] = value; in scc_cfg_write() 141 *value = s->oscclk[device]; in scc_cfg_read() 241 trace_mps2_scc_write(offset, value, size); in mps2_scc_write() 255 s->cfg0 = value; in mps2_scc_write() 261 s->cfg1 = value; in mps2_scc_write() 280 s->cfg2 = value; in mps2_scc_write() 287 s->cfg5 = value; in mps2_scc_write() 295 s->cfg6 = value; in mps2_scc_write() 302 s->cfg6 = value; in mps2_scc_write() 305 s->cfgdata_out = value; in mps2_scc_write() [all …]
|
H A D | bcm2835_powermgt.c | 56 uint64_t value, unsigned size) in bcm2835_powermgt_write() argument 60 if ((value & PASSWORD_MASK) != PASSWORD) { in bcm2835_powermgt_write() 64 value, offset); in bcm2835_powermgt_write() 68 value = value & ~PASSWORD_MASK; in bcm2835_powermgt_write() 72 s->rstc = value; in bcm2835_powermgt_write() 73 if (value & V_RSTC_RESET) { in bcm2835_powermgt_write() 84 s->rsts = value; in bcm2835_powermgt_write() 89 s->wdog = value; in bcm2835_powermgt_write()
|
/openbmc/linux/drivers/s390/char/ |
H A D | keyboard.c | 238 value = ret_diacr[value]; in k_dead() 239 kbd->diacr = (kbd->diacr ? handle_diacr(kbd, value) : value); in k_dead() 249 value = handle_diacr(kbd, value); in k_self() 267 if (kbd->func_table[value]) in k_fn() 274 if (value >= NR_FN_HANDLER) in k_spec() 276 if (kbd->fn_handler[value]) in k_spec() 277 kbd->fn_handler[value](kbd); in k_spec() 310 unsigned char type, value; in kbd_keycode() local 329 value = KVAL(keysym); in kbd_keycode() 334 handle_sysrq(value); in kbd_keycode() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/hisilicon/ |
H A D | poplar-pinctrl.dtsi | 10 /* value, enable bits, disable bits, mask */ 11 #define PINCTRL_PULLDOWN(value, enable, disable, mask) \ argument 12 (value << 13) (enable << 13) (disable << 13) (mask << 13) 13 #define PINCTRL_PULLUP(value, enable, disable, mask) \ argument 14 (value << 12) (enable << 12) (disable << 12) (mask << 12) 15 #define PINCTRL_SLEW_RATE(value, mask) (value << 8) (mask << 8) argument 16 #define PINCTRL_DRV_STRENGTH(value, mask) (value << 4) (mask << 4) argument
|
/openbmc/linux/arch/x86/pci/ |
H A D | mmconfig_64.c | 29 unsigned int devfn, int reg, int len, u32 *value) in pci_mmcfg_read() argument 35 err: *value = -1; in pci_mmcfg_read() 48 *value = mmio_config_readb(addr + reg); in pci_mmcfg_read() 51 *value = mmio_config_readw(addr + reg); in pci_mmcfg_read() 54 *value = mmio_config_readl(addr + reg); in pci_mmcfg_read() 63 unsigned int devfn, int reg, int len, u32 value) in pci_mmcfg_write() argument 80 mmio_config_writeb(addr + reg, value); in pci_mmcfg_write() 83 mmio_config_writew(addr + reg, value); in pci_mmcfg_write() 86 mmio_config_writel(addr + reg, value); in pci_mmcfg_write()
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | poplar-pinctrl.dtsi | 10 /* value, enable bits, disable bits, mask */ 11 #define PINCTRL_PULLDOWN(value, enable, disable, mask) \ argument 12 (value << 13) (enable << 13) (disable << 13) (mask << 13) 13 #define PINCTRL_PULLUP(value, enable, disable, mask) \ argument 14 (value << 12) (enable << 12) (disable << 12) (mask << 12) 15 #define PINCTRL_SLEW_RATE(value, mask) (value << 8) (mask << 8) argument 16 #define PINCTRL_DRV_STRENGTH(value, mask) (value << 4) (mask << 4) argument
|