/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-input.c | 74 * leave out the first 8 bits of the priority value. 133 unsigned int value, in hidinput_find_key() 146 if (match(usage, cur_idx, value)) { in hidinput_find_key() 430 int value) in hidinput_scale_battery_capacity() 433 value >= dev->battery_min && value <= dev->battery_max) in hidinput_scale_battery_capacity() 434 value = ((value - dev->battery_min) * 100) / in hidinput_scale_battery_capacity() 437 return value; in hidinput_scale_battery_capacity() 466 int value; in hidinput_get_battery_property() local 131 hidinput_find_key(struct hid_device *hid, hid_usage_cmp_t match, unsigned int value, unsigned int *usage_idx) hidinput_find_key() argument 429 hidinput_scale_battery_capacity(struct hid_device *dev, int value) hidinput_scale_battery_capacity() argument 619 hidinput_update_battery(struct hid_device *dev, int value) hidinput_update_battery() argument 642 hidinput_set_battery_charge_status(struct hid_device *dev, unsigned int usage, int value) hidinput_set_battery_charge_status() argument 666 hidinput_update_battery(struct hid_device *dev, int value) hidinput_update_battery() argument 670 hidinput_set_battery_charge_status(struct hid_device *dev, unsigned int usage, int value) hidinput_set_battery_charge_status() argument 1463 hidinput_handle_scroll(struct hid_usage *usage, struct input_dev *input, __s32 value) hidinput_handle_scroll() argument 1523 hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) hidinput_hid_event() argument 1859 hidinput_input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) hidinput_input_event() argument 1909 __s32 value = use_logical_max ? __hidinput_change_resolution_multipliers() local [all...] |
/kernel/linux/linux-5.10/arch/m68k/coldfire/ |
H A D | pci.c | 59 int where, int size, u32 *value) in mcf_pci_readconfig() 63 *value = 0xffffffff; in mcf_pci_readconfig() 77 *value = __raw_readb(addr); in mcf_pci_readconfig() 80 *value = le16_to_cpu(__raw_readw(addr)); in mcf_pci_readconfig() 83 *value = le32_to_cpu(__raw_readl(addr)); in mcf_pci_readconfig() 93 int where, int size, u32 value) in mcf_pci_writeconfig() 109 __raw_writeb(value, addr); in mcf_pci_writeconfig() 112 __raw_writew(cpu_to_le16(value), addr); in mcf_pci_writeconfig() 115 __raw_writel(cpu_to_le32(value), addr); in mcf_pci_writeconfig() 58 mcf_pci_readconfig(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) mcf_pci_readconfig() argument 92 mcf_pci_writeconfig(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) mcf_pci_writeconfig() argument
|
/kernel/linux/linux-5.10/drivers/clk/renesas/ |
H A D | clk-r8a7740.c | 97 * the multiplier value. in r8a7740_cpg_register_clock() 99 u32 value = readl(cpg->reg + CPG_FRQCRC); in r8a7740_cpg_register_clock() local 101 mult = ((value >> 24) & 0x7f) + 1; in r8a7740_cpg_register_clock() 103 u32 value = readl(cpg->reg + CPG_FRQCRA); in r8a7740_cpg_register_clock() local 105 mult = ((value >> 24) & 0x7f) + 1; in r8a7740_cpg_register_clock() 108 u32 value = readl(cpg->reg + CPG_PLLC2CR); in r8a7740_cpg_register_clock() local 110 mult = ((value >> 24) & 0x3f) + 1; in r8a7740_cpg_register_clock() 112 u32 value = readl(cpg->reg + CPG_USBCKCR); in r8a7740_cpg_register_clock() local 113 if (value & BIT(7)) in r8a7740_cpg_register_clock() 118 if (!(value in r8a7740_cpg_register_clock() [all...] |
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
H A D | global2_scratch.c | 18 u16 value; in mv88e6xxx_g2_scratch_read() local 26 err = mv88e6xxx_g2_read(chip, MV88E6XXX_G2_SCRATCH_MISC_MISC, &value); in mv88e6xxx_g2_scratch_read() 30 *data = (value & MV88E6XXX_G2_SCRATCH_MISC_DATA_MASK); in mv88e6xxx_g2_scratch_read() 38 u16 value = (reg << 8) | data; in mv88e6xxx_g2_scratch_write() local 41 MV88E6XXX_G2_SCRATCH_MISC_UPDATE | value); in mv88e6xxx_g2_scratch_write() 125 * @value: value to set 128 unsigned int pin, int value) in mv88e6352_g2_scratch_gpio_set_data() 136 if (value) in mv88e6352_g2_scratch_gpio_set_data() 175 int value in mv88e6352_g2_scratch_gpio_set_dir() local 127 mv88e6352_g2_scratch_gpio_set_data(struct mv88e6xxx_chip *chip, unsigned int pin, int value) mv88e6352_g2_scratch_gpio_set_data() argument [all...] |
/kernel/linux/linux-6.6/arch/m68k/coldfire/ |
H A D | pci.c | 59 int where, int size, u32 *value) in mcf_pci_readconfig() 63 *value = 0xffffffff; in mcf_pci_readconfig() 77 *value = __raw_readb(addr); in mcf_pci_readconfig() 80 *value = le16_to_cpu(__raw_readw(addr)); in mcf_pci_readconfig() 83 *value = le32_to_cpu(__raw_readl(addr)); in mcf_pci_readconfig() 93 int where, int size, u32 value) in mcf_pci_writeconfig() 109 __raw_writeb(value, addr); in mcf_pci_writeconfig() 112 __raw_writew(cpu_to_le16(value), addr); in mcf_pci_writeconfig() 115 __raw_writel(cpu_to_le32(value), addr); in mcf_pci_writeconfig() 58 mcf_pci_readconfig(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) mcf_pci_readconfig() argument 92 mcf_pci_writeconfig(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) mcf_pci_writeconfig() argument
|
/kernel/linux/linux-5.10/drivers/leds/ |
H A D | leds-nic78bx.c | 49 u8 value; in nic78bx_brightness_set() local 52 value = inb(nled->data->io_base); in nic78bx_brightness_set() 55 value &= ~nled->mask; in nic78bx_brightness_set() 56 value |= nled->bit; in nic78bx_brightness_set() 58 value &= ~nled->bit; in nic78bx_brightness_set() 61 outb(value, nled->data->io_base); in nic78bx_brightness_set() 69 u8 value; in nic78bx_brightness_get() local 72 value = inb(nled->data->io_base); in nic78bx_brightness_get() 75 return (value & nled->bit) ? 1 : LED_OFF; in nic78bx_brightness_get()
|
/kernel/linux/linux-5.10/drivers/soc/samsung/ |
H A D | exynos5422-asv.c | 26 * contains frequency value in MHz and subsequent columns contain the CPU 392 unsigned int reg, value; in exynos5422_asv_offset_voltage_setup() local 401 value = (reg >> EXYNOS5422_ARM_UP_OFFSET) & EXYNOS5422_ARM_UP_MASK; in exynos5422_asv_offset_voltage_setup() 402 subsys->offset_volt_h = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() 404 value = (reg >> EXYNOS5422_ARM_DN_OFFSET) & EXYNOS5422_ARM_DN_MASK; in exynos5422_asv_offset_voltage_setup() 405 subsys->offset_volt_l = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() 412 value = (reg >> EXYNOS5422_KFC_UP_OFFSET) & EXYNOS5422_KFC_UP_MASK; in exynos5422_asv_offset_voltage_setup() 413 subsys->offset_volt_h = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() 415 value = (reg >> EXYNOS5422_KFC_DN_OFFSET) & EXYNOS5422_KFC_DN_MASK; in exynos5422_asv_offset_voltage_setup() 416 subsys->offset_volt_l = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp_router_ipv4_kern.c | 21 __be64 value; member 57 __type(value, u64); 65 __type(value, __be64); 73 __type(value, struct direct_map); 118 long *value; in xdp_router_ipv4_prog() local 161 src_mac = &prefix_value->value; in xdp_router_ipv4_prog() 178 value = bpf_map_lookup_elem(&rxcnt, &ipproto); in xdp_router_ipv4_prog() 179 if (value) in xdp_router_ipv4_prog() 180 *value += 1; in xdp_router_ipv4_prog()
|
/kernel/linux/linux-5.10/scripts/gdb/linux/ |
H A D | utils.py | 100 value = [0, 0] 103 value[0] = ord(buffer_val[0]) 104 value[1] = ord(buffer_val[1]) 106 value[0] = buffer_val[0] 107 value[1] = buffer_val[1] 110 return value[0] + (value[1] << 8) 112 return value[1] + (value[0] << 8)
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | fs_context.c | 28 cifs_parse_smb_version(char *value, struct smb_vol *vol, bool is_smb3) in cifs_parse_smb_version() argument 32 switch (match_token(value, cifs_smb_version_tokens, args)) { in cifs_parse_smb_version() 92 cifs_dbg(VFS, "Unknown vers= option specified: %s\n", value); in cifs_parse_smb_version() 115 int cifs_parse_security_flavors(char *value, struct smb_vol *vol) in cifs_parse_security_flavors() argument 127 switch (match_token(value, cifs_secflavor_tokens, args)) { in cifs_parse_security_flavors() 164 cifs_dbg(VFS, "bad security option: %s\n", value); in cifs_parse_security_flavors() 181 cifs_parse_cache_flavor(char *value, struct smb_vol *vol) in cifs_parse_cache_flavor() argument 185 switch (match_token(value, cifs_cacheflavor_tokens, args)) { in cifs_parse_cache_flavor() 217 cifs_dbg(VFS, "bad cache= option: %s\n", value); in cifs_parse_cache_flavor()
|
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/ |
H A D | global2_scratch.c | 18 u16 value; in mv88e6xxx_g2_scratch_read() local 26 err = mv88e6xxx_g2_read(chip, MV88E6XXX_G2_SCRATCH_MISC_MISC, &value); in mv88e6xxx_g2_scratch_read() 30 *data = (value & MV88E6XXX_G2_SCRATCH_MISC_DATA_MASK); in mv88e6xxx_g2_scratch_read() 38 u16 value = (reg << 8) | data; in mv88e6xxx_g2_scratch_write() local 41 MV88E6XXX_G2_SCRATCH_MISC_UPDATE | value); in mv88e6xxx_g2_scratch_write() 125 * @value: value to set 128 unsigned int pin, int value) in mv88e6352_g2_scratch_gpio_set_data() 136 if (value) in mv88e6352_g2_scratch_gpio_set_data() 175 int value in mv88e6352_g2_scratch_gpio_set_dir() local 127 mv88e6352_g2_scratch_gpio_set_data(struct mv88e6xxx_chip *chip, unsigned int pin, int value) mv88e6352_g2_scratch_gpio_set_data() argument [all...] |
/kernel/linux/linux-6.6/drivers/soc/samsung/ |
H A D | exynos5422-asv.c | 26 * contains frequency value in MHz and subsequent columns contain the CPU 392 unsigned int reg, value; in exynos5422_asv_offset_voltage_setup() local 401 value = (reg >> EXYNOS5422_ARM_UP_OFFSET) & EXYNOS5422_ARM_UP_MASK; in exynos5422_asv_offset_voltage_setup() 402 subsys->offset_volt_h = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() 404 value = (reg >> EXYNOS5422_ARM_DN_OFFSET) & EXYNOS5422_ARM_DN_MASK; in exynos5422_asv_offset_voltage_setup() 405 subsys->offset_volt_l = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() 412 value = (reg >> EXYNOS5422_KFC_UP_OFFSET) & EXYNOS5422_KFC_UP_MASK; in exynos5422_asv_offset_voltage_setup() 413 subsys->offset_volt_h = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() 415 value = (reg >> EXYNOS5422_KFC_DN_OFFSET) & EXYNOS5422_KFC_DN_MASK; in exynos5422_asv_offset_voltage_setup() 416 subsys->offset_volt_l = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() [all...] |
/kernel/linux/linux-6.6/drivers/clk/renesas/ |
H A D | clk-r8a7740.c | 96 * the multiplier value. in r8a7740_cpg_register_clock() 98 u32 value = readl(base + CPG_FRQCRC); in r8a7740_cpg_register_clock() local 100 mult = ((value >> 24) & 0x7f) + 1; in r8a7740_cpg_register_clock() 102 u32 value = readl(base + CPG_FRQCRA); in r8a7740_cpg_register_clock() local 104 mult = ((value >> 24) & 0x7f) + 1; in r8a7740_cpg_register_clock() 107 u32 value = readl(base + CPG_PLLC2CR); in r8a7740_cpg_register_clock() local 109 mult = ((value >> 24) & 0x3f) + 1; in r8a7740_cpg_register_clock() 111 u32 value = readl(base + CPG_USBCKCR); in r8a7740_cpg_register_clock() local 112 if (value & BIT(7)) in r8a7740_cpg_register_clock() 117 if (!(value in r8a7740_cpg_register_clock() [all...] |
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/ |
H A D | hyperv.h | 86 static __always_inline void evmcs_write64(unsigned long field, u64 value) 94 *(u64 *)((char *)current_evmcs + offset) = value; 99 static __always_inline void evmcs_write32(unsigned long field, u32 value) 107 *(u32 *)((char *)current_evmcs + offset) = value; 111 static __always_inline void evmcs_write16(unsigned long field, u16 value) 119 *(u16 *)((char *)current_evmcs + offset) = value; 167 static __always_inline void evmcs_write64(unsigned long field, u64 value) {} 168 static __always_inline void evmcs_write32(unsigned long field, u32 value) {} 169 static __always_inline void evmcs_write16(unsigned long field, u16 value) {}
|
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-nic78bx.c | 49 u8 value; in nic78bx_brightness_set() local 52 value = inb(nled->data->io_base); in nic78bx_brightness_set() 55 value &= ~nled->mask; in nic78bx_brightness_set() 56 value |= nled->bit; in nic78bx_brightness_set() 58 value &= ~nled->bit; in nic78bx_brightness_set() 61 outb(value, nled->data->io_base); in nic78bx_brightness_set() 69 u8 value; in nic78bx_brightness_get() local 72 value = inb(nled->data->io_base); in nic78bx_brightness_get() 75 return (value & nled->bit) ? 1 : LED_OFF; in nic78bx_brightness_get()
|
/third_party/curl/lib/vauth/ |
H A D | krb5_gssapi.c | 108 spn_token.value = spn; in Curl_auth_create_gssapi_user_message() 131 input_token.value = (void *) Curl_bufref_ptr(chlg); in Curl_auth_create_gssapi_user_message() 147 if(output_token.value) in Curl_auth_create_gssapi_user_message() 156 if(output_token.value && output_token.length) { in Curl_auth_create_gssapi_user_message() 157 result = Curl_bufref_memdup(out, output_token.value, output_token.length); in Curl_auth_create_gssapi_user_message() 208 input_token.value = (void *) Curl_bufref_ptr(chlg); in Curl_auth_create_gssapi_security_message() 227 indata = output_token.value; in Curl_auth_create_gssapi_security_message() 272 input_token.value = message; in Curl_auth_create_gssapi_security_message() 287 result = Curl_bufref_memdup(out, output_token.value, output_token.length); in Curl_auth_create_gssapi_security_message()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | FieldsSet.java | 134 String value = ""; in parseFrom() 136 value = kv[1]; in parseFrom() 139 int field = handleParseName(inheritFrom, key, value); in parseFrom() 141 handleParseValue(inheritFrom, field, value); in parseFrom() 152 * lookup the enum value using udbg_* utilities, or else as an integer if 160 * @param substr the string in question (value side) 182 * @param substr the string in question (value side) 193 * to parse a decimal integer value, or inherit from inheritFrom if the 210 int value = Integer.parseInt(substr); in parseValueDefault() 211 set(field, value); in parseValueDefault() [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | CldrDataProcessorTest.java | 28 // An overly simplistic value type for currency for testing purposes. In real code you would 82 // value action which adds the territory to a map in the State object. in createTestVisitor() 91 (map, value) -> map.put(value.getPath().get(TERRITORY_TYPE), value.getValue())); in createTestVisitor() 106 (data, value) -> data.name = value.getValue()); in createTestVisitor() 109 (data, value) -> data.symbol = value.getValue()); in createTestVisitor() 151 private static CldrValue ldml(String path, String value) { in ldml() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | FieldsSet.java | 131 String value = ""; in parseFrom() 133 value = kv[1]; in parseFrom() 136 int field = handleParseName(inheritFrom, key, value); in parseFrom() 138 handleParseValue(inheritFrom, field, value); in parseFrom() 149 * lookup the enum value using udbg_* utilities, or else as an integer if 157 * @param substr the string in question (value side) 179 * @param substr the string in question (value side) 190 * to parse a decimal integer value, or inherit from inheritFrom if the 207 int value = Integer.parseInt(substr); in parseValueDefault() 208 set(field, value); in parseValueDefault() [all...] |
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | nodearray.h | 30 * In sparse mode, the array has elements with a 24-bit node index and a value. 34 * Function names follow ARM instruction names: orr does *elem |= value. 52 /* A value that may be stored in a nodearray element, used directly for dense 108 nodearray_encode(unsigned key, nodearray_value value) in nodearray_encode() argument 111 return ((nodearray_sparse) key << 16) | value; in nodearray_encode() 134 /* Encode the key using the highest possible value, so that the in nodearray_sparse_search() 161 nodearray_orr(nodearray *a, unsigned key, nodearray_value value, in nodearray_orr() argument 167 if (!value) in nodearray_orr() 180 *elem |= value; in nodearray_orr() 212 *elem = nodearray_encode(key, value); in nodearray_orr() 231 nodearray_value value = nodearray_sparse_value(x); nodearray_orr() variable [all...] |
/third_party/node/deps/v8/src/deoptimizer/ |
H A D | frame-description.h | 46 void SetRegister(unsigned n, intptr_t value) { 48 registers_[n] = value; 72 // tagged value. kZapUint32 looks like a valid tagged pointer, but it 133 void SetFrameSlot(unsigned offset, intptr_t value) { 134 *GetFrameSlotPointer(offset) = value; 137 void SetCallerPc(unsigned offset, intptr_t value); 139 void SetCallerFp(unsigned offset, intptr_t value); 141 void SetCallerConstantPool(unsigned offset, intptr_t value); 151 void SetRegister(unsigned n, intptr_t value) { 152 register_values_.SetRegister(n, value); [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_emit.h | 58 etna_set_state(struct etna_cmd_stream *stream, uint32_t address, uint32_t value) in etna_set_state() argument 62 etna_cmd_stream_emit(stream, value); in etna_set_state() 161 uint32_t value = etna_cmd_stream_get(stream, offset); in etna_coalesce_end() local 163 value |= VIV_FE_LOAD_STATE_HEADER_COUNT(size); in etna_coalesce_end() 164 etna_cmd_stream_set(stream, offset, value); in etna_coalesce_end() 194 uint32_t value) in etna_coalsence_emit() 197 etna_cmd_stream_emit(stream, value); in etna_coalsence_emit() 203 uint32_t value) in etna_coalsence_emit_fixp() 206 etna_cmd_stream_emit(stream, value); in etna_coalsence_emit_fixp() 192 etna_coalsence_emit(struct etna_cmd_stream *stream, struct etna_coalesce *coalesce, uint32_t reg, uint32_t value) etna_coalsence_emit() argument 201 etna_coalsence_emit_fixp(struct etna_cmd_stream *stream, struct etna_coalesce *coalesce, uint32_t reg, uint32_t value) etna_coalsence_emit_fixp() argument
|
/third_party/mesa3d/src/nouveau/drm-shim/ |
H A D | nouveau_noop.c | 148 gp->value = device_info.chip_id; in nouveau_ioctl_get_param() 151 gp->value = 0x10de; in nouveau_ioctl_get_param() 154 gp->value = 0x1004; in nouveau_ioctl_get_param() 157 gp->value = 2 /* NV_PCIE */; in nouveau_ioctl_get_param() 160 gp->value = 3ULL << 30; in nouveau_ioctl_get_param() 163 gp->value = 1ULL << 40; in nouveau_ioctl_get_param() 166 gp->value = 0; in nouveau_ioctl_get_param() 169 gp->value = 1; in nouveau_ioctl_get_param() 172 gp->value = 0x01000001; in nouveau_ioctl_get_param()
|
/third_party/node/deps/undici/src/lib/cookies/ |
H A D | util.js | 6 function isCTLExcludingHtab (value) { 7 if (value.length === 0) { 11 for (const char of value) { 63 cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE ) 68 * @param {string} value 70 function validateCookieValue (value) { 71 for (const char of value) { 82 throw new Error('Invalid header value') 88 * path-value = <any CHAR except CTLs or ";"> 206 validateCookieValue(cookie.value) [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | gen_packed_gl_enums.py | 15 EnumValue = namedtuple('EnumValue', ['name', 'gl_name', 'value']) 113 std::ostream &operator<<(std::ostream &os, {enum_name} value); 123 for value in enum.values: 124 value_declarations.append(' ' + value.name + ' = ' + str(value.value) + ',') 190 std::ostream &operator<<(std::ostream &os, {enum_name} value) 192 switch (value) 211 for value in enum.values: 212 qualified_name = enum.name + '::' + value [all...] |