/kernel/linux/linux-5.10/drivers/base/regmap/ |
D | regmap-spmi.c | 18 void *val, size_t val_size) in regmap_spmi_base_read() argument 25 while (val_size-- && !err) in regmap_spmi_base_read() 33 const void *val, size_t val_size) in regmap_spmi_base_gather_write() argument 45 if (addr == 0 && val_size) { in regmap_spmi_base_gather_write() 52 val_size--; in regmap_spmi_base_gather_write() 55 while (val_size) { in regmap_spmi_base_gather_write() 62 val_size--; in regmap_spmi_base_gather_write() 107 void *val, size_t val_size) in regmap_spmi_ext_read() argument 121 while (addr <= 0xFF && val_size) { in regmap_spmi_ext_read() 122 len = min_t(size_t, val_size, 16); in regmap_spmi_ext_read() [all …]
|
D | regmap-i2c.c | 140 const void *val, size_t val_size) in regmap_i2c_gather_write() argument 160 xfer[1].len = val_size; in regmap_i2c_gather_write() 174 void *val, size_t val_size) in regmap_i2c_read() argument 188 xfer[1].len = val_size; in regmap_i2c_read() 224 size_t val_size) in regmap_i2c_smbus_i2c_read() argument 230 if (reg_size != 1 || val_size < 1) in regmap_i2c_smbus_i2c_read() 233 ret = i2c_smbus_read_i2c_block_data(i2c, ((u8 *)reg)[0], val_size, val); in regmap_i2c_smbus_i2c_read() 234 if (ret == val_size) in regmap_i2c_smbus_i2c_read() 265 size_t val_size) in regmap_i2c_smbus_i2c_read_reg16() argument 269 int ret, count, len = val_size; in regmap_i2c_smbus_i2c_read_reg16() [all …]
|
D | regmap-i3c.c | 26 void *val, size_t val_size) in regmap_i3c_read() argument 37 xfers[1].len = val_size; in regmap_i3c_read()
|
D | regmap-slimbus.c | 18 void *val, size_t val_size) in regmap_slimbus_read() argument 22 return slim_read(sdev, *(u16 *)reg, val_size, val); in regmap_slimbus_read()
|
D | regmap-spi.c | 93 void *val, size_t val_size) in regmap_spi_read() argument 98 return spi_write_then_read(spi, reg, reg_size, val, val_size); in regmap_spi_read()
|
/kernel/linux/linux-5.10/drivers/iio/accel/ |
D | bma400_spi.c | 22 void *val, size_t val_size) in bma400_regmap_spi_read() argument 29 if (val_size > BMA400_MAX_SPI_READ) in bma400_regmap_spi_read() 32 status = spi_write_then_read(spi, reg, 1, result, val_size + 1); in bma400_regmap_spi_read() 42 memcpy(val, result + 1, val_size); in bma400_regmap_spi_read()
|
/kernel/linux/linux-5.10/drivers/pinctrl/ |
D | pinctrl-mcp23s08_spi.c | 43 const void *val, size_t val_size) in mcp23sxx_spi_gather_write() argument 50 { .tx_buf = val, .len = val_size, }, }; in mcp23sxx_spi_gather_write() 61 void *val, size_t val_size) in mcp23sxx_spi_read() argument 73 return spi_write_then_read(spi, tx, sizeof(tx), val, val_size); in mcp23sxx_spi_read()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | btintel.c | 531 void *val, size_t val_size) in regmap_ibt_read() argument 542 switch (val_size) { in regmap_ibt_read() 558 cp.len = val_size; in regmap_ibt_read() 571 if (skb->len != sizeof(*rp) + val_size) { in regmap_ibt_read() 587 memcpy(val, rp->data, val_size); in regmap_ibt_read() 596 const void *val, size_t val_size) in regmap_ibt_gather_write() argument 601 int plen = sizeof(*cp) + val_size; in regmap_ibt_gather_write() 608 switch (val_size) { in regmap_ibt_gather_write() 629 cp->len = val_size; in regmap_ibt_gather_write() 630 memcpy(&cp->data, val, val_size); in regmap_ibt_gather_write()
|
/kernel/linux/linux-5.10/drivers/iio/pressure/ |
D | bmp280-spi.c | 32 size_t reg_size, void *val, size_t val_size) in bmp280_regmap_spi_read() argument 37 return spi_write_then_read(spi, reg, reg_size, val, val_size); in bmp280_regmap_spi_read()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
D | encx24j600-regmap.c | 263 void *val, size_t val_size) in regmap_encx24j600_read() argument 273 return regmap_encx24j600_spi_read(context, reg, val, val_size); in regmap_encx24j600_read() 275 if (val_size > 2) { in regmap_encx24j600_read() 276 pr_err("%s: reg=%02x val_size=%zu\n", __func__, reg, val_size); in regmap_encx24j600_read() 280 return regmap_encx24j600_sfr_read(context, reg, val, val_size); in regmap_encx24j600_read()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
D | rtc-pcf2127.c | 717 const void *val, size_t val_size) in pcf2127_i2c_gather_write() argument 727 buf = kmalloc(val_size + 1, GFP_KERNEL); in pcf2127_i2c_gather_write() 732 memcpy(buf + 1, val, val_size); in pcf2127_i2c_gather_write() 734 ret = i2c_master_send(client, buf, val_size + 1); in pcf2127_i2c_gather_write() 738 if (ret != val_size + 1) in pcf2127_i2c_gather_write() 745 void *val, size_t val_size) in pcf2127_i2c_read() argument 758 ret = i2c_master_recv(client, val, val_size); in pcf2127_i2c_read() 759 if (ret != val_size) in pcf2127_i2c_read()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | sprd-sc27xx-spi.c | 108 void *val, size_t val_size) in sprd_pmic_spi_read() argument 116 if (reg_size != sizeof(u32) || val_size != sizeof(u32)) in sprd_pmic_spi_read() 125 memcpy(val, rx_buf, val_size); in sprd_pmic_spi_read()
|
D | mc13xxx-spi.c | 62 void *val, size_t val_size) in mc13xxx_spi_read() argument 78 if (val_size != 3 || reg_size != 1) in mc13xxx_spi_read()
|
D | retu-mfd.c | 190 void *val, size_t val_size) in retu_regmap_read() argument 196 BUG_ON(reg_size != 1 || val_size != 2); in retu_regmap_read()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | zl38060.c | 478 void *val_buf, size_t val_size) in zl38_bus_read() argument 486 if (reg_size != 2 || val_size > ZL38_MAX_RAW_XFER) in zl38_bus_read() 496 txbuf[len++] = val_size / 2 - 1; in zl38_bus_read() 499 txbuf[len++] = val_size / 2 - 1; in zl38_bus_read() 502 return spi_write_then_read(spi, txbuf, len, val_buf, val_size); in zl38_bus_read()
|
/kernel/linux/linux-5.10/drivers/iio/chemical/ |
D | bme680_spi.c | 88 size_t reg_size, void *val, size_t val_size) in bme680_regmap_spi_read() argument 101 return spi_write_then_read(spi, &addr, 1, val, val_size); in bme680_regmap_spi_read()
|
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-cdce925.c | 551 const void *reg, size_t reg_size, void *val, size_t val_size) in cdce925_regmap_i2c_read() argument 565 if (val_size == 1) { in cdce925_regmap_i2c_read() 572 reg_data[1] = val_size; in cdce925_regmap_i2c_read() 578 xfer[1].len = val_size; in cdce925_regmap_i2c_read() 584 reg_size, val_size, reg_data[0], *((u8 *)val)); in cdce925_regmap_i2c_read()
|
/kernel/linux/linux-5.10/drivers/net/can/m_can/ |
D | tcan4x5x.c | 213 void *val, size_t val_size) in tcan4x5x_regmap_read() argument 218 u32 addr = TCAN4X5X_READ_CMD | (*((u16 *)reg) << 8) | val_size >> 2; in tcan4x5x_regmap_read() 220 return spi_write_then_read(spi, &addr, reg_size, (u32 *)val, val_size); in tcan4x5x_regmap_read()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
D | panel-ilitek-ili9322.c | 305 size_t reg_size, void *val, size_t val_size) in ili9322_regmap_spi_read() argument 314 buf[0], reg_size, val_size); in ili9322_regmap_spi_read()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | rtl2830.c | 691 size_t reg_size, void *val_buf, size_t val_size) in rtl2830_regmap_read() argument 704 .len = val_size, in rtl2830_regmap_read()
|
D | af9013.c | 1401 size_t reg_size, void *val_buf, size_t val_size) in af9013_regmap_read() argument 1410 const unsigned int len = val_size; in af9013_regmap_read()
|
/kernel/linux/linux-5.10/sound/usb/ |
D | mixer.c | 343 int idx = 0, ret, val_size, size; in get_ctl_value_v2() local 346 val_size = uac2_ctl_value_size(cval->val_type); in get_ctl_value_v2() 350 size = val_size; in get_ctl_value_v2() 353 size = sizeof(__u16) + 3 * val_size; in get_ctl_value_v2() 386 val = buf + sizeof(__u16) + val_size; in get_ctl_value_v2() 389 val = buf + sizeof(__u16) + val_size * 2; in get_ctl_value_v2() 396 snd_usb_combine_bytes(val, val_size)); in get_ctl_value_v2()
|
/kernel/linux/linux-5.10/drivers/net/ieee802154/ |
D | mrf24j40.c | 526 void *val, size_t val_size) in mrf24j40_long_regmap_read() argument 530 return spi_write_then_read(spi, reg, reg_size, val, val_size); in mrf24j40_long_regmap_read()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | bpf-loader.c | 1365 size_t val_size, u64 val) in apply_config_value_for_key() argument 1369 switch (val_size) { in apply_config_value_for_key()
|
/kernel/linux/linux-5.10/fs/ceph/ |
D | xattr.c | 746 int val_size) in __get_required_blob_size() argument 760 size += 4 + 4 + name_size + val_size; in __get_required_blob_size()
|