/Linux-v5.4/drivers/firmware/efi/ |
D | apple-properties.c | 56 u32 key_len, val_len; in unmarshal_key_value_pairs() local 63 if (key_len + sizeof(val_len) > remaining || in unmarshal_key_value_pairs() 71 val_len = *(typeof(val_len) *)(ptr + key_len); in unmarshal_key_value_pairs() 72 if (key_len + val_len > remaining || in unmarshal_key_value_pairs() 73 val_len < sizeof(val_len)) { in unmarshal_key_value_pairs() 89 entry[i].length = val_len - sizeof(val_len); in unmarshal_key_value_pairs() 92 entry[i].pointer.u8_data = ptr + key_len + sizeof(val_len); in unmarshal_key_value_pairs() 101 ptr += key_len + val_len; in unmarshal_key_value_pairs()
|
/Linux-v5.4/include/linux/ |
D | bcm47xx_nvram.h | 15 int bcm47xx_nvram_getenv(const char *name, char *val, size_t val_len); 17 char *bcm47xx_nvram_get_contents(size_t *val_len); 28 size_t val_len) in bcm47xx_nvram_getenv() argument 37 static inline char *bcm47xx_nvram_get_contents(size_t *val_len) in bcm47xx_nvram_get_contents() argument
|
D | regmap.h | 452 const void *val, size_t val_len); 455 const void *val, size_t val_len, 1012 const void *val, size_t val_len); 1014 const void *val, size_t val_len); 1023 const void *val, size_t val_len); 1026 void *val, size_t val_len); 1028 void *val, size_t val_len); 1305 const void *val, size_t val_len) in regmap_raw_write() argument 1312 const void *val, size_t val_len) in regmap_raw_write_async() argument 1319 const void *val, size_t val_len) in regmap_noinc_write() argument [all …]
|
/Linux-v5.4/drivers/base/regmap/ |
D | regmap.c | 1478 const void *val, size_t val_len) in _regmap_raw_write_impl() argument 1492 for (i = 0; i < val_len / map->format.val_bytes; i++) in _regmap_raw_write_impl() 1500 for (i = 0; i < val_len / val_bytes; i++) { in _regmap_raw_write_impl() 1520 int val_num = val_len / map->format.val_bytes; in _regmap_raw_write_impl() 1527 win_residue, val_len / map->format.val_bytes); in _regmap_raw_write_impl() 1537 val_len -= win_residue * map->format.val_bytes; in _regmap_raw_write_impl() 1558 if (val != work_val && val_len == map->format.val_bytes) { in _regmap_raw_write_impl() 1566 trace_regmap_async_write_start(map, reg, val_len); in _regmap_raw_write_impl() 1604 val, val_len, async); in _regmap_raw_write_impl() 1610 val_len, NULL, 0, async); in _regmap_raw_write_impl() [all …]
|
D | regmap-spi.c | 38 const void *val, size_t val_len) in regmap_spi_gather_write() argument 44 { .tx_buf = val, .len = val_len, }, }; in regmap_spi_gather_write() 55 const void *val, size_t val_len, in regmap_spi_async_write() argument 67 async->t[1].len = val_len; in regmap_spi_async_write()
|
/Linux-v5.4/drivers/infiniband/core/ |
D | uverbs_std_types_flow_action.c | 145 size_t val_len; in parse_esp_ip() local 162 val_len = min_t(size_t, len, sizeof(user_val.ipv4)); in parse_esp_ip() 164 val_len); in parse_esp_ip() 176 val_len = min_t(size_t, len, sizeof(user_val.ipv6)); in parse_esp_ip() 178 val_len); in parse_esp_ip() 190 val_len, out); in parse_esp_ip()
|
/Linux-v5.4/fs/ceph/ |
D | xattr.c | 435 const char *val, int val_len, in __set_xattr() argument 507 ci->i_xattrs.vals_size -= xattr->val_len; in __set_xattr() 510 ci->i_xattrs.vals_size += val_len; in __set_xattr() 516 xattr->val_len = val_len; in __set_xattr() 527 ceph_vinop(&ci->vfs_inode), xattr, name_len, name, val_len, val); in __set_xattr() 554 xattr->val_len, xattr->val); in __get_xattr() 590 ci->i_xattrs.vals_size -= xattr->val_len; in __remove_xattr() 785 ceph_encode_32(&dest, xattr->val_len); in __ceph_build_xattrs_blob() 786 memcpy(dest, xattr->val, xattr->val_len); in __ceph_build_xattrs_blob() 787 dest += xattr->val_len; in __ceph_build_xattrs_blob() [all …]
|
/Linux-v5.4/kernel/bpf/ |
D | helpers.c | 371 size_t val_len; in __bpf_strtoull() local 401 val_len = _parse_integer(cur_buf, base, res); in __bpf_strtoull() 403 if (val_len & KSTRTOX_OVERFLOW) in __bpf_strtoull() 406 if (val_len == 0) in __bpf_strtoull() 409 cur_buf += val_len; in __bpf_strtoull()
|
/Linux-v5.4/fs/ntfs/ |
D | namei.c | 199 u32 val_len; in ntfs_lookup() local 215 val_len = le32_to_cpu(a->data.resident.value_length); in ntfs_lookup() 217 val_len > le32_to_cpu(a->length)) in ntfs_lookup() 222 sizeof(FILE_NAME_ATTR)) > val_len) in ntfs_lookup()
|
D | attrib.c | 577 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in ntfs_attr_find() argument 656 min_t(u32, val_len, le32_to_cpu( in ntfs_attr_find() 667 if (val_len == avl) in ntfs_attr_find() 669 if (val_len < avl) in ntfs_attr_find() 846 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in ntfs_external_attr_find() argument 1058 a->data.resident.value_length) == val_len && in ntfs_external_attr_find() 1061 val, val_len))) { in ntfs_external_attr_find() 1093 return ntfs_attr_find(AT_END, name, name_len, ic, val, val_len, in ntfs_external_attr_find() 1127 err = ntfs_attr_find(type, name, name_len, ic, val, val_len, in ntfs_external_attr_find() 1175 const VCN lowest_vcn, const u8 *val, const u32 val_len, in ntfs_attr_lookup() argument [all …]
|
D | attrib.h | 61 const VCN lowest_vcn, const u8 *val, const u32 val_len,
|
/Linux-v5.4/sound/soc/codecs/ |
D | rt1308.c | 458 unsigned int val_len = 0, val_clk, mask_clk; in rt1308_hw_params() local 487 val_len |= RT1308_I2S_DL_SEL_16B; in rt1308_hw_params() 490 val_len |= RT1308_I2S_DL_SEL_20B; in rt1308_hw_params() 493 val_len |= RT1308_I2S_DL_SEL_24B; in rt1308_hw_params() 496 val_len |= RT1308_I2S_DL_SEL_8B; in rt1308_hw_params() 508 val_len); in rt1308_hw_params()
|
D | nau8540.c | 378 unsigned int val_len = 0, osr; in nau8540_hw_params() local 396 val_len |= NAU8540_I2S_DL_16; in nau8540_hw_params() 399 val_len |= NAU8540_I2S_DL_20; in nau8540_hw_params() 402 val_len |= NAU8540_I2S_DL_24; in nau8540_hw_params() 405 val_len |= NAU8540_I2S_DL_32; in nau8540_hw_params() 412 NAU8540_I2S_DL_MASK, val_len); in nau8540_hw_params()
|
D | rt1011.c | 1541 unsigned int val_len = 0, ch_len = 0, val_clk, mask_clk; in rt1011_hw_params() local 1572 val_len |= RT1011_I2S_TX_DL_16B; in rt1011_hw_params() 1573 val_len |= RT1011_I2S_RX_DL_16B; in rt1011_hw_params() 1578 val_len |= RT1011_I2S_TX_DL_20B; in rt1011_hw_params() 1579 val_len |= RT1011_I2S_RX_DL_20B; in rt1011_hw_params() 1584 val_len |= RT1011_I2S_TX_DL_24B; in rt1011_hw_params() 1585 val_len |= RT1011_I2S_RX_DL_24B; in rt1011_hw_params() 1590 val_len |= RT1011_I2S_TX_DL_32B; in rt1011_hw_params() 1591 val_len |= RT1011_I2S_RX_DL_32B; in rt1011_hw_params() 1596 val_len |= RT1011_I2S_TX_DL_8B; in rt1011_hw_params() [all …]
|
D | nau8810.c | 667 int val_len = 0, val_rate = 0, ret = 0; in nau8810_pcm_hw_params() local 691 val_len |= NAU8810_WLEN_20; in nau8810_pcm_hw_params() 694 val_len |= NAU8810_WLEN_24; in nau8810_pcm_hw_params() 697 val_len |= NAU8810_WLEN_32; in nau8810_pcm_hw_params() 723 NAU8810_WLEN_MASK, val_len); in nau8810_pcm_hw_params()
|
D | rt1305.c | 630 unsigned int val_len = 0, val_clk, mask_clk; in rt1305_hw_params() local 661 val_len |= RT1305_I2S_DL_SEL_16B; in rt1305_hw_params() 664 val_len |= RT1305_I2S_DL_SEL_20B; in rt1305_hw_params() 667 val_len |= RT1305_I2S_DL_SEL_24B; in rt1305_hw_params() 670 val_len |= RT1305_I2S_DL_SEL_8B; in rt1305_hw_params() 682 val_len); in rt1305_hw_params()
|
D | nau8822.c | 830 int val_len = 0, val_rate = 0; in nau8822_hw_params() local 854 val_len |= NAU8822_WLEN_20; in nau8822_hw_params() 857 val_len |= NAU8822_WLEN_24; in nau8822_hw_params() 860 val_len |= NAU8822_WLEN_32; in nau8822_hw_params() 890 NAU8822_REG_AUDIO_INTERFACE, NAU8822_WLEN_MASK, val_len); in nau8822_hw_params()
|
D | rt5660.c | 840 unsigned int val_len = 0, val_clk, mask_clk; in rt5660_hw_params() local 873 val_len |= RT5660_I2S_DL_20; in rt5660_hw_params() 876 val_len |= RT5660_I2S_DL_24; in rt5660_hw_params() 879 val_len |= RT5660_I2S_DL_8; in rt5660_hw_params() 891 val_len); in rt5660_hw_params()
|
D | rt5514.c | 757 unsigned int val_len = 0; in rt5514_hw_params() local 784 val_len = RT5514_I2S_DL_20; in rt5514_hw_params() 787 val_len = RT5514_I2S_DL_24; in rt5514_hw_params() 790 val_len = RT5514_I2S_DL_8; in rt5514_hw_params() 797 val_len); in rt5514_hw_params()
|
/Linux-v5.4/drivers/media/tuners/ |
D | mt2060.c | 86 int rem, val_len; in mt2060_writeregs() local 100 val_len = min_t(int, rem, priv->i2c_max_regs); in mt2060_writeregs() 101 msg.len = 1 + val_len; in mt2060_writeregs() 103 memcpy(&xfer_buf[1], &buf[1 + len - 1 - rem], val_len); in mt2060_writeregs() 106 printk(KERN_WARNING "mt2060 I2C write failed (len=%i)\n", val_len); in mt2060_writeregs()
|
/Linux-v5.4/drivers/net/can/m_can/ |
D | tcan4x5x.c | 169 size_t val_len) in regmap_spi_gather_write() argument 177 { .tx_buf = val, .len = val_len, }, in regmap_spi_gather_write() 180 addr = TCAN4X5X_WRITE_CMD | (*((u16 *)reg) << 8) | val_len >> 2; in regmap_spi_gather_write() 199 const void *val, size_t val_len, in regmap_spi_async_write() argument
|
/Linux-v5.4/drivers/firmware/broadcom/ |
D | bcm47xx_nvram.c | 165 int bcm47xx_nvram_getenv(const char *name, char *val, size_t val_len) in bcm47xx_nvram_getenv() argument 189 return snprintf(val, val_len, "%s", value); in bcm47xx_nvram_getenv()
|
/Linux-v5.4/drivers/media/i2c/adv748x/ |
D | adv748x-core.c | 146 size_t val_len) in adv748x_write_block() argument 150 if (val_len > I2C_SMBUS_BLOCK_MAX) in adv748x_write_block() 151 val_len = I2C_SMBUS_BLOCK_MAX; in adv748x_write_block() 153 return regmap_raw_write(regmap, init_reg, val, val_len); in adv748x_write_block()
|
/Linux-v5.4/drivers/iio/orientation/ |
D | hid-sensor-rotation.c | 61 int size, int *vals, int *val_len, in dev_rot_read_raw() argument 77 *val_len = 4; in dev_rot_read_raw()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugdump.c | 415 u32 tl_len, key_len, val_len; in nfp_dump_hwinfo_field() local 430 val_len = strlen(value); in nfp_dump_hwinfo_field() 431 total_size = sizeof(*dump_header) + ALIGN8(key_len + val_len + 2); in nfp_dump_hwinfo_field() 437 memcpy(dump_header->data + key_len + 1, value, val_len + 1); in nfp_dump_hwinfo_field()
|