/linux-4.4.14/drivers/base/regmap/ |
D | regmap-spmi.c | 27 void *val, size_t val_size) in regmap_spmi_base_read() argument 34 while (val_size-- && !err) in regmap_spmi_base_read() 42 const void *val, size_t val_size) in regmap_spmi_base_gather_write() argument 54 if (addr == 0 && val_size) { in regmap_spmi_base_gather_write() 61 val_size--; in regmap_spmi_base_gather_write() 64 while (val_size) { in regmap_spmi_base_gather_write() 71 val_size--; in regmap_spmi_base_gather_write() 116 void *val, size_t val_size) in regmap_spmi_ext_read() argument 130 while (addr <= 0xFF && val_size) { in regmap_spmi_ext_read() 131 len = min_t(size_t, val_size, 16); in regmap_spmi_ext_read() [all …]
|
D | regmap-i2c.c | 144 const void *val, size_t val_size) in regmap_i2c_gather_write() argument 164 xfer[1].len = val_size; in regmap_i2c_gather_write() 178 void *val, size_t val_size) in regmap_i2c_read() argument 192 xfer[1].len = val_size; in regmap_i2c_read() 230 size_t val_size) in regmap_i2c_smbus_i2c_read() argument 236 if (reg_size != 1 || val_size < 1) in regmap_i2c_smbus_i2c_read() 238 if (val_size >= I2C_SMBUS_BLOCK_MAX) in regmap_i2c_smbus_i2c_read() 241 ret = i2c_smbus_read_i2c_block_data(i2c, ((u8 *)reg)[0], val_size, val); in regmap_i2c_smbus_i2c_read() 242 if (ret == val_size) in regmap_i2c_smbus_i2c_read()
|
D | regmap-mmio.c | 90 const void *val, size_t val_size) in regmap_mmio_gather_write() argument 106 while (val_size) { in regmap_mmio_gather_write() 126 val_size -= ctx->val_bytes; in regmap_mmio_gather_write() 150 void *val, size_t val_size) in regmap_mmio_read() argument 166 while (val_size) { in regmap_mmio_read() 186 val_size -= ctx->val_bytes; in regmap_mmio_read()
|
D | regmap-spi.c | 97 void *val, size_t val_size) in regmap_spi_read() argument 102 return spi_write_then_read(spi, reg, reg_size, val, val_size); in regmap_spi_read()
|
/linux-4.4.14/drivers/bluetooth/ |
D | btintel.c | 372 void *val, size_t val_size) in regmap_ibt_read() argument 383 switch (val_size) { in regmap_ibt_read() 399 cp.len = val_size; in regmap_ibt_read() 412 if (skb->len != sizeof(*rp) + val_size) { in regmap_ibt_read() 428 memcpy(val, rp->data, val_size); in regmap_ibt_read() 437 const void *val, size_t val_size) in regmap_ibt_gather_write() argument 442 int plen = sizeof(*cp) + val_size; in regmap_ibt_gather_write() 449 switch (val_size) { in regmap_ibt_gather_write() 470 cp->len = val_size; in regmap_ibt_gather_write() 471 memcpy(&cp->data, val, val_size); in regmap_ibt_gather_write()
|
/linux-4.4.14/drivers/nvmem/ |
D | sunxi_sid.c | 59 void *val, size_t val_size) in sunxi_sid_read() argument 65 while (val_size) { in sunxi_sid_read() 67 val_size--; in sunxi_sid_read()
|
D | rockchip-efuse.c | 52 void *val, size_t val_size) in rockchip_efuse_read() argument 69 while (val_size) { in rockchip_efuse_read() 85 val_size -= 1; in rockchip_efuse_read()
|
D | mxs-ocotp.c | 70 void *val, size_t val_size) in mxs_ocotp_read() argument 97 while (val_size >= reg_size) { in mxs_ocotp_read() 106 val_size -= reg_size; in mxs_ocotp_read()
|
D | vf610-ocotp.c | 162 void *val, size_t val_size) in vf610_ocotp_read() argument 171 while (val_size > 0) { in vf610_ocotp_read() 208 val_size--; in vf610_ocotp_read()
|
D | imx-ocotp.c | 35 void *val, size_t val_size) in imx_ocotp_read() argument 44 count = val_size >> 2; in imx_ocotp_read()
|
/linux-4.4.14/drivers/net/ethernet/microchip/ |
D | encx24j600-regmap.c | 267 void *val, size_t val_size) in regmap_encx24j600_read() argument 277 return regmap_encx24j600_spi_read(context, reg, val, val_size); in regmap_encx24j600_read() 279 if (val_size > 2) { in regmap_encx24j600_read() 280 pr_err("%s: reg=%02x val_size=%zu\n", __func__, reg, val_size); in regmap_encx24j600_read() 284 return regmap_encx24j600_sfr_read(context, reg, val, val_size); in regmap_encx24j600_read()
|
/linux-4.4.14/drivers/mfd/ |
D | mc13xxx-spi.c | 64 void *val, size_t val_size) in mc13xxx_spi_read() argument 80 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()
|
/linux-4.4.14/drivers/clk/ |
D | clk-cdce925.c | 519 const void *reg, size_t reg_size, void *val, size_t val_size) in cdce925_regmap_i2c_read() argument 533 if (val_size == 1) { in cdce925_regmap_i2c_read() 540 reg_data[1] = val_size; in cdce925_regmap_i2c_read() 546 xfer[1].len = val_size; in cdce925_regmap_i2c_read() 552 reg_size, val_size, reg_data[0], *((u8 *)val)); in cdce925_regmap_i2c_read()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | rtl2830.c | 723 size_t reg_size, void *val_buf, size_t val_size) in rtl2830_regmap_read() argument 736 .len = val_size, in rtl2830_regmap_read()
|
D | rtl2832.c | 959 size_t reg_size, void *val_buf, size_t val_size) in rtl2832_regmap_read() argument 972 .len = val_size, in rtl2832_regmap_read()
|
/linux-4.4.14/drivers/net/ieee802154/ |
D | mrf24j40.c | 529 void *val, size_t val_size) in mrf24j40_long_regmap_read() argument 533 return spi_write_then_read(spi, reg, reg_size, val, val_size); in mrf24j40_long_regmap_read()
|
/linux-4.4.14/fs/ceph/ |
D | xattr.c | 652 int val_size) in __get_required_blob_size() argument 666 size += 4 + 4 + name_size + val_size; in __get_required_blob_size()
|
/linux-4.4.14/include/linux/ |
D | regmap.h | 294 void *val_buf, size_t val_size);
|