/kernel/linux/linux-5.10/drivers/memory/tegra/ |
H A D | tegra124-emc.c | 488 static void emc_ccfifo_writel(struct tegra_emc *emc, u32 value, in emc_ccfifo_writel() argument 491 writel(value, emc->regs + EMC_CCFIFO_DATA); in emc_ccfifo_writel() 498 u32 value; in emc_seq_update_timing() local 503 value = readl(emc->regs + EMC_STATUS); in emc_seq_update_timing() 504 if ((value & EMC_STATUS_TIMING_UPDATE_STALLED) == 0) in emc_seq_update_timing() 515 u32 value; in emc_seq_disable_auto_cal() local 520 value = readl(emc->regs + EMC_AUTO_CAL_STATUS); in emc_seq_disable_auto_cal() 521 if ((value & EMC_AUTO_CAL_STATUS_ACTIVE) == 0) in emc_seq_disable_auto_cal() 532 u32 value; in emc_seq_wait_clkchange() local 535 value in emc_seq_wait_clkchange() 886 u32 value; load_one_timing_from_dt() local 998 u32 value; tegra_emc_find_node_by_ram_code() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_chip.h | 116 * (patch value might be in EEPROM) 279 #define ZD_CR203 CTL_REG(0x032C) /* I2C bus template value & flash 804 static inline int zd_ioread16_locked(struct zd_chip *chip, u16 *value, in zd_ioread16_locked() argument 808 return zd_usb_ioread16(&chip->usb, value, addr); in zd_ioread16_locked() 814 static inline int zd_ioread32_locked(struct zd_chip *chip, u32 *value, in zd_ioread32_locked() argument 817 return zd_ioread32v_locked(chip, value, &addr, 1); in zd_ioread32_locked() 820 static inline int zd_iowrite16_locked(struct zd_chip *chip, u16 value, in zd_iowrite16_locked() argument 827 ioreq.value = value; in zd_iowrite16_locked() 838 static inline int zd_iowrite32_locked(struct zd_chip *chip, u32 value, in zd_iowrite32_locked() argument 852 zd_rfwrite_locked(struct zd_chip *chip, u32 value, u8 bits) zd_rfwrite_locked() argument [all...] |
/kernel/linux/linux-6.6/drivers/memory/tegra/ |
H A D | tegra124-emc.c | 518 static void emc_ccfifo_writel(struct tegra_emc *emc, u32 value, in emc_ccfifo_writel() argument 521 writel(value, emc->regs + EMC_CCFIFO_DATA); in emc_ccfifo_writel() 528 u32 value; in emc_seq_update_timing() local 533 value = readl(emc->regs + EMC_STATUS); in emc_seq_update_timing() 534 if ((value & EMC_STATUS_TIMING_UPDATE_STALLED) == 0) in emc_seq_update_timing() 545 u32 value; in emc_seq_disable_auto_cal() local 550 value = readl(emc->regs + EMC_AUTO_CAL_STATUS); in emc_seq_disable_auto_cal() 551 if ((value & EMC_AUTO_CAL_STATUS_ACTIVE) == 0) in emc_seq_disable_auto_cal() 562 u32 value; in emc_seq_wait_clkchange() local 565 value in emc_seq_wait_clkchange() 924 u32 value; load_one_timing_from_dt() local 1037 u32 value; tegra_emc_find_node_by_ram_code() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | ef100_nic.c | 819 u64 value; member 833 state->value = 0; in ef100_tlv_feed() 843 if (state->len > sizeof(state->value)) in ef100_tlv_feed() 845 /* len may be zero, implying a value of zero */ in ef100_tlv_feed() 849 state->value |= ((u64)byte) << (state->value_offset * 8); in ef100_tlv_feed() 885 nic_data->tso_max_hdr_len = min_t(u64, reader->value, 0xffff); in ef100_process_design_param() 889 if (!reader->value) { in ef100_process_design_param() 902 if (!reader->value || reader->value > EFX_MIN_DMAQ_SIZE || in ef100_process_design_param() 903 EFX_MIN_DMAQ_SIZE % (u32)reader->value) { in ef100_process_design_param() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-dbgcap.c | 994 u16 value; in dbc_idVendor_store() local 997 if (kstrtou16(buf, 0, &value)) in dbc_idVendor_store() 1005 dbc->idVendor = value; in dbc_idVendor_store() 1008 dev_info = (dev_info & ~(0xffffu << 16)) | (value << 16); in dbc_idVendor_store() 1035 u16 value; in dbc_idProduct_store() local 1037 if (kstrtou16(buf, 0, &value)) in dbc_idProduct_store() 1045 dbc->idProduct = value; in dbc_idProduct_store() 1048 dev_info = (dev_info & ~(0xffffu)) | value; in dbc_idProduct_store() 1074 u16 value; in dbc_bcdDevice_store() local 1076 if (kstrtou16(buf, 0, &value)) in dbc_bcdDevice_store() 1114 u8 value; dbc_bInterfaceProtocol_store() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/mtu3/ |
H A D | mtu3_core.c | 206 u32 value; in mtu3_intr_enable() local 209 value = BMU_INTR | QMU_INTR | MAC3_INTR | MAC2_INTR | EP_CTRL_INTR; in mtu3_intr_enable() 210 mtu3_writel(mbase, U3D_LV1IESR, value); in mtu3_intr_enable() 213 value = SUSPEND_INTR | RESUME_INTR | RESET_INTR; in mtu3_intr_enable() 214 mtu3_writel(mbase, U3D_COMMON_USB_INTR_ENABLE, value); in mtu3_intr_enable() 218 value = HOT_RST_INTR | WARM_RST_INTR | in mtu3_intr_enable() 220 mtu3_writel(mbase, U3D_LTSSM_INTR_ENABLE, value); in mtu3_intr_enable() 224 value = TXQ_CSERR_INT | TXQ_LENERR_INT | RXQ_CSERR_INT | in mtu3_intr_enable() 226 mtu3_writel(mbase, U3D_QIESR1, value); in mtu3_intr_enable() 271 /* CSR registers will be reset to default value i 856 u32 value; mtu3_hw_init() local 905 u32 value; mtu3_set_dma_mask() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_chip.h | 116 * (patch value might be in EEPROM) 279 #define ZD_CR203 CTL_REG(0x032C) /* I2C bus template value & flash 804 static inline int zd_ioread16_locked(struct zd_chip *chip, u16 *value, in zd_ioread16_locked() argument 808 return zd_usb_ioread16(&chip->usb, value, addr); in zd_ioread16_locked() 814 static inline int zd_ioread32_locked(struct zd_chip *chip, u32 *value, in zd_ioread32_locked() argument 817 return zd_ioread32v_locked(chip, value, &addr, 1); in zd_ioread32_locked() 820 static inline int zd_iowrite16_locked(struct zd_chip *chip, u16 value, in zd_iowrite16_locked() argument 827 ioreq.value = value; in zd_iowrite16_locked() 838 static inline int zd_iowrite32_locked(struct zd_chip *chip, u32 value, in zd_iowrite32_locked() argument 852 zd_rfwrite_locked(struct zd_chip *chip, u32 value, u8 bits) zd_rfwrite_locked() argument [all...] |
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | at91_adc.c | 162 * @value: value to set in the ADC's trigger setup register 168 u8 value; member 556 if (triggers[i].value == 0) in at91_adc_get_trigger_value_by_name() 558 return triggers[i].value; in at91_adc_get_trigger_value_by_name() 573 int value; in at91_adc_configure_trigger() local 576 value = at91_adc_get_trigger_value_by_name(idev, in at91_adc_configure_trigger() 579 if (value < 0) in at91_adc_configure_trigger() 580 return value; in at91_adc_configure_trigger() 588 status | value); in at91_adc_configure_trigger() [all...] |
/kernel/linux/linux-6.6/drivers/input/ |
H A D | joydev.c | 68 static int joydev_correct(int value, struct js_corr *corr) in joydev_correct() argument 76 value = value > corr->coef[0] ? (value < corr->coef[1] ? 0 : in joydev_correct() 77 ((corr->coef[3] * (value - corr->coef[1])) >> 14)) : in joydev_correct() 78 ((corr->coef[2] * (value - corr->coef[0])) >> 14); in joydev_correct() 85 return clamp(value, -32767, 32767); in joydev_correct() 113 unsigned int type, unsigned int code, int value) in joydev_event() 122 if (code < BTN_MISC || value == 2) in joydev_event() 126 event.value in joydev_event() 112 joydev_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) joydev_event() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | patch_cs8409.c | 195 * Returns negative on error, otherwise returns read value in bits 0-7. 238 * Returns negative on error, values are read into value element of cs8409_i2c_param sequence. 264 seq[i].value = cs8409_vendor_coef_get(codec, CS8409_I2C_QREAD) & 0xff; in cs8409_i2c_bulk_read() 281 * @value: Data to write 285 static int cs8409_i2c_write(struct sub_codec *scodec, unsigned int addr, unsigned int value) in cs8409_i2c_write() argument 302 i2c_reg_data = ((addr << 8) & 0x0ff00) | (value & 0x0ff); in cs8409_i2c_write() 344 i2c_reg_data = ((seq[i].addr << 8) & 0x0ff00) | (seq[i].value & 0x0ff); in cs8409_i2c_bulk_write() 428 ucontrol->value.integer.value[0] = !!(spec->gpio_data & spec->speaker_pdn_gpio); in cs8409_spk_sw_gpio_get() 440 (ucontrol->value in cs8409_spk_sw_gpio_put() [all...] |
/third_party/alsa-lib/modules/mixer/simple/ |
H A D | python.c | 247 long channel, long *value, in get_x_ops() 261 *value = PyLong_AsLong(t1); in get_x_ops() 265 *value = PyInt_AsLong(t1); in get_x_ops() 280 snd_mixer_selem_channel_id_t channel, long *value) in get_volume_ops() 282 return get_x_ops(elem, dir, channel, value, "opsGetVolume"); in get_volume_ops() 286 snd_mixer_selem_channel_id_t channel, int *value) in get_switch_ops() 291 *value = value1; in get_switch_ops() 297 long value, in ask_vol_dB_ops() 300 return get_x_ops(elem, dir, value, dbValue, "opsGetVolDB"); in ask_vol_dB_ops() 305 long value, in ask_dB_vol_ops() 246 get_x_ops(snd_mixer_elem_t *elem, int dir, long channel, long *value, const char *attr) get_x_ops() argument 279 get_volume_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long *value) get_volume_ops() argument 285 get_switch_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, int *value) get_switch_ops() argument 295 ask_vol_dB_ops(snd_mixer_elem_t *elem, int dir, long value, long *dbValue) ask_vol_dB_ops() argument 303 ask_dB_vol_ops(snd_mixer_elem_t *elem, int dir, long value, long *dbValue, int xdir) ask_dB_vol_ops() argument 339 get_dB_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long *value) get_dB_ops() argument 353 set_volume_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long value) set_volume_ops() argument 366 set_switch_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, int value) set_switch_ops() argument [all...] |
/third_party/cups-filters/filter/ |
H A D | imagetopdf.c | 137 static float gammaval = 1.0; /* Gamma correction value */ 138 static float brightness = 1.0; /* Gamma correction value */ 158 int n = strlen(attr->value); in emitJCLOptions() 161 if (attr->value[i] == '\r' || attr->value[i] == '\n') { in emitJCLOptions() 165 fputc(attr->value[i],fp); in emitJCLOptions() 175 fputs(attr->value,fp); in emitJCLOptions() 191 fputs(attr->value,fp); in emitJCLOptions() 685 const char *val; /* Option value */ in main() 828 attr->value) { in main() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | messagepattern.cpp | 354 modified.insert(part.index, (UChar)part.value); in autoQuoteApostropheDeep() 364 return part.value; in getNumericValue() 366 return numericValues[part.value]; in getNumericValue() 373 * Returns the "offset:" value of a PluralFormat argument, or 0 if none is specified. 375 * @return the "offset:" value. 399 value==other.value && in operator ==() 460 u_apos, errorCode); // value=char to be inserted in parseMessage() 493 u_apos, errorCode); // value=char to be inserted in parseMessage() 502 u_apos, errorCode); // value in parseMessage() [all...] |
/third_party/json/tests/src/ |
H A D | unit-regression1.cpp | 56 struct foo_serializer<T, typename std::enable_if<std::is_same<foo, T>::value>::type> 59 static void to_json(BasicJsonType& j, const T& value) in to_json() 61 j = BasicJsonType{{"x", value.x}}; in to_json() 64 static void from_json(const BasicJsonType& j, T& value) // !!! in from_json() 66 nlohmann::from_json(j.at("x"), value.x); in from_json() 71 struct foo_serializer < T, typename std::enable_if < !std::is_same<foo, T>::value >::type > 74 static void to_json(BasicJsonType& j, const T& value) noexcept // NOLINT(bugprone-exception-escape) 76 ::nlohmann::to_json(j, value); 79 static void from_json(const BasicJsonType& j, T& value) //!!! in from_json() 81 ::nlohmann::from_json(j, value); in from_json() [all...] |
/third_party/jerryscript/tests/unit-core/ |
H A D | test-api.cpp | 68 const jerry_value_t this_val, /**< this value */ in handler() 96 const jerry_value_t this_val, /**< this value */ in handler_throw_test() 144 const jerry_value_t this_val, /**< this value */ in handler_construct() 229 const jerry_value_t value, /**< field value */ in foreach() 241 TEST_ASSERT (jerry_value_is_number (value)); in foreach() 242 TEST_ASSERT (jerry_get_number_value (value) == 32.0); in foreach() 247 TEST_ASSERT (jerry_value_is_boolean (value)); in foreach() 248 TEST_ASSERT (jerry_get_boolean_value (value) == false); in foreach() 253 TEST_ASSERT (jerry_value_is_object (value)); in foreach() 228 foreach(const jerry_value_t name, const jerry_value_t value, void *user_data) foreach() argument 278 foreach_exception(const jerry_value_t name, const jerry_value_t value, void *user_data) foreach_exception() argument 297 foreach_subset(const jerry_value_t name, const jerry_value_t value, void *user_data) foreach_subset() argument 1069 jerry_value_t value = jerry_create_string ((const jerry_char_t *) "John"); HWTEST_F() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | messagepattern.cpp | 354 modified.insert(part.index, (char16_t)part.value); in autoQuoteApostropheDeep() 364 return part.value; in getNumericValue() 366 return numericValues[part.value]; in getNumericValue() 373 * Returns the "offset:" value of a PluralFormat argument, or 0 if none is specified. 375 * @return the "offset:" value. 399 value==other.value && in operator ==() 460 u_apos, errorCode); // value=char to be inserted in parseMessage() 493 u_apos, errorCode); // value=char to be inserted in parseMessage() 502 u_apos, errorCode); // value in parseMessage() [all...] |
/third_party/libfuse/example/ |
H A D | passthrough_hp.cc | 81 #define SFS_DEFAULT_THREADS "-1" // take libfuse value as default 1002 char *value = nullptr; in sfs_getxattr() local 1011 value = new (nothrow) char[size]; in sfs_getxattr() 1012 if (value == nullptr) { in sfs_getxattr() 1017 ret = getxattr(procname, name, value, size); in sfs_getxattr() 1024 fuse_reply_buf(req, value, ret); in sfs_getxattr() 1033 delete[] value; in sfs_getxattr() 1045 char *value = nullptr; in sfs_listxattr() local 1054 value = new (nothrow) char[size]; in sfs_listxattr() 1055 if (value in sfs_listxattr() 1086 sfs_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) sfs_setxattr() argument [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | graph-visualizer.cc | 382 edge_type = "value"; in PrintEdge() 424 void PrintStringProperty(const char* name, const char* value); 425 void PrintLongProperty(const char* name, int64_t value); 426 void PrintIntProperty(const char* name, int value); 478 const char* value) { in PrintStringProperty() 480 os_ << name << " \"" << value << "\"\n"; in PrintStringProperty() local 484 void GraphC1Visualizer::PrintLongProperty(const char* name, int64_t value) { in PrintLongProperty() argument 486 os_ << name << " " << static_cast<int>(value / 1000) << "\n"; in PrintLongProperty() 496 void GraphC1Visualizer::PrintIntProperty(const char* name, int value) { in PrintIntProperty() argument 498 os_ << name << " " << value << "\ in PrintIntProperty() local 477 PrintStringProperty(const char* name, const char* value) PrintStringProperty() argument [all...] |
/third_party/node/deps/v8/src/codegen/arm/ |
H A D | macro-assembler-arm.h | 55 // Allocate stack space of given size (i.e. decrement {sp} by the value 59 // register's value, in the version that takes a register. 349 // If the value is a NaN, canonicalize the value else, do nothing. 352 void VFPCanonicalizeNaN(const DwVfpRegister value, in VFPCanonicalizeNaN() argument 354 VFPCanonicalizeNaN(value, value, cond); in VFPCanonicalizeNaN() 474 void Move(Register dst, Handle<HeapObject> value); 525 void JumpIfSmi(Register value, Label* smi_label); 640 // |object| is the object being stored into, |value| i 807 IncrementCounter(StatsCounter* counter, int value, Register scratch1, Register scratch2) IncrementCounter() argument 814 DecrementCounter(StatsCounter* counter, int value, Register scratch1, Register scratch2) DecrementCounter() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
H A D | vktComputeCooperativeMatrixTests.cpp | 579 static void setDataFloat(void *base, VkComponentTypeNV dt, deUint32 i, float value) in setDataFloat() argument 583 ((float *)base)[i] = value; in setDataFloat() 588 ((deFloat16 *)base)[i] = deFloat32To16(value); in setDataFloat() 605 static void setDataInt(void *base, VkComponentTypeNV dt, deUint32 i, deUint32 value) in setDataInt() argument 610 case VK_COMPONENT_TYPE_UINT8_NV: ((deUint8 *)base)[i] = (deUint8)value; break; in setDataInt() 611 case VK_COMPONENT_TYPE_UINT16_NV: ((deUint16 *)base)[i] = (deUint16)value; break; in setDataInt() 612 case VK_COMPONENT_TYPE_UINT32_NV: ((deUint32 *)base)[i] = (deUint32)value; break; in setDataInt() 613 case VK_COMPONENT_TYPE_SINT8_NV: ((deInt8 *)base)[i] = (deInt8)value; break; in setDataInt() 614 case VK_COMPONENT_TYPE_SINT16_NV: ((deInt16 *)base)[i] = (deInt16)value; break; in setDataInt() 615 case VK_COMPONENT_TYPE_SINT32_NV: ((deInt32 *)base)[i] = (deInt32)value; brea in setDataInt() 1249 deUint32 value; createCooperativeMatrixTests() member 1256 deUint32 value[2]; createCooperativeMatrixTests() member [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | messagepattern.cpp | 354 modified.insert(part.index, (UChar)part.value); in autoQuoteApostropheDeep() 364 return part.value; in getNumericValue() 366 return numericValues[part.value]; in getNumericValue() 373 * Returns the "offset:" value of a PluralFormat argument, or 0 if none is specified. 375 * @return the "offset:" value. 399 value==other.value && in operator ==() 460 u_apos, errorCode); // value=char to be inserted in parseMessage() 493 u_apos, errorCode); // value=char to be inserted in parseMessage() 502 u_apos, errorCode); // value in parseMessage() [all...] |
/third_party/python/Python/ |
H A D | formatter_unicode.c | 765 format_string_internal(PyObject *value, const InternalFormatSpec *format, in format_string_internal() argument 775 assert(PyUnicode_IS_READY(value)); in format_string_internal() 776 len = PyUnicode_GET_LENGTH(value); in format_string_internal() 818 return _PyUnicodeWriter_WriteStr(writer, value); in format_string_internal() 832 if (PyUnicode_MAX_CHAR_VALUE(value) > maxchar) { in format_string_internal() 833 Py_UCS4 valmaxchar = _PyUnicode_FindMaxChar(value, 0, len); in format_string_internal() 849 value, 0, len); in format_string_internal() 864 format_long_internal(PyObject *value, const InternalFormatSpec *format, in format_long_internal() argument 919 x = PyLong_AsLong(value); in format_long_internal() 972 && PyLong_CheckExact(value)) in format_long_internal() 1042 format_float_internal(PyObject *value, const InternalFormatSpec *format, _PyUnicodeWriter *writer) format_float_internal() argument 1191 format_complex_internal(PyObject *value, const InternalFormatSpec *format, _PyUnicodeWriter *writer) format_complex_internal() argument [all...] |
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | well_known_types_test.py | 333 (r'Invalid timezone offset value: \+08.'), 344 'date value out of range', 790 for key, value in struct.items(): 793 self.assertEqual(value, struct2[key]) 878 for value in [1, 'a', [1], ['a'], {'a': 'b'}]: 879 s1['x'] = value 938 msg.value.Pack(all_types) 939 self.assertEqual(msg.value.type_url, 941 self.assertEqual(msg.value.value, [all...] |
/third_party/selinux/libsepol/src/ |
H A D | policydb_validate.c | 88 int value_isvalid(uint32_t value, uint32_t nprim) in value_isvalid() argument 90 if (!value || value > nprim) in value_isvalid() 96 static int validate_value(uint32_t value, const validate_t *flavor) in validate_value() argument 98 if (!value || value > flavor->nprim) in validate_value() 100 if (ebitmap_get_bit(&flavor->gaps, value-1)) in validate_value() 349 if (validate_value(common->s.value, &flavors[SYM_COMMONS])) in validate_common_datum() 370 if (validate_value(class->s.value, &flavors[SYM_CLASSES])) in validate_class_datum() 438 if (validate_value(role->s.value, in validate_role_datum() 471 validate_simpletype(uint32_t value, const policydb_t *p, validate_t flavors[]) validate_simpletype() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/common/spirv/ |
H A D | spirv_instruction_builder_autogen.h | 92 LiteralContextDependentNumber value); 103 LiteralContextDependentNumber value); 329 void WriteQuantizeToF16(Blob *blob, IdResultType idResultType, IdResult idResult, IdRef value); 679 IdRef value); 686 IdRef value); 694 IdRef value, 714 IdRef value); 721 IdRef value); 728 IdRef value); 735 IdRef value); [all...] |