/Linux-v6.1/drivers/base/regmap/ |
D | regmap-mmio.c | 171 const void *val, size_t val_count) in regmap_mmio_noinc_write() argument 194 for (i = 0; i < val_count; i++) in regmap_mmio_noinc_write() 201 for (i = 0; i < val_count; i++) in regmap_mmio_noinc_write() 209 for (i = 0; i < val_count; i++) in regmap_mmio_noinc_write() 222 writesb(ctx->regs + reg, (const u8 *)val, val_count); in regmap_mmio_noinc_write() 225 writesw(ctx->regs + reg, (const u16 *)val, val_count); in regmap_mmio_noinc_write() 228 writesl(ctx->regs + reg, (const u32 *)val, val_count); in regmap_mmio_noinc_write() 232 writesq(ctx->regs + reg, (const u64 *)val, val_count); in regmap_mmio_noinc_write() 345 void *val, size_t val_count) in regmap_mmio_noinc_read() argument 358 readsb(ctx->regs + reg, (u8 *)val, val_count); in regmap_mmio_noinc_read() [all …]
|
D | regmap.c | 2062 size_t val_count = val_len / val_bytes; in _regmap_raw_write() local 2064 size_t chunk_regs = val_count; in _regmap_raw_write() 2067 if (!val_count) in _regmap_raw_write() 2075 chunk_count = val_count / chunk_regs; in _regmap_raw_write() 2136 size_t val_count = val_len / val_bytes; in regmap_noinc_readwrite() local 2151 lastval = (unsigned int)u8p[val_count - 1]; in regmap_noinc_readwrite() 2156 lastval = (unsigned int)u16p[val_count - 1]; in regmap_noinc_readwrite() 2161 lastval = (unsigned int)u32p[val_count - 1]; in regmap_noinc_readwrite() 2167 lastval = (unsigned int)u64p[val_count - 1]; in regmap_noinc_readwrite() 2189 ret = map->bus->reg_noinc_write(map->bus_context, reg, val, val_count); in regmap_noinc_readwrite() [all …]
|
/Linux-v6.1/drivers/net/can/m_can/ |
D | m_can_pci.c | 42 static int iomap_read_fifo(struct m_can_classdev *cdev, int offset, void *val, size_t val_count) in iomap_read_fifo() argument 47 while (val_count--) { in iomap_read_fifo() 66 const void *val, size_t val_count) in iomap_write_fifo() argument 71 while (val_count--) { in iomap_write_fifo()
|
D | m_can_platform.c | 32 static int iomap_read_fifo(struct m_can_classdev *cdev, int offset, void *val, size_t val_count) in iomap_read_fifo() argument 37 while (val_count--) { in iomap_read_fifo() 56 const void *val, size_t val_count) in iomap_write_fifo() argument 61 while (val_count--) { in iomap_write_fifo()
|
D | m_can.h | 67 int (*read_fifo)(struct m_can_classdev *cdev, int addr_offset, void *val, size_t val_count); 69 const void *val, size_t val_count);
|
D | tcan4x5x-core.c | 157 void *val, size_t val_count) in tcan4x5x_read_fifo() argument 161 return regmap_bulk_read(priv->regmap, TCAN4X5X_MRAM_START + addr_offset, val, val_count); in tcan4x5x_read_fifo() 172 int addr_offset, const void *val, size_t val_count) in tcan4x5x_write_fifo() argument 176 return regmap_bulk_write(priv->regmap, TCAN4X5X_MRAM_START + addr_offset, val, val_count); in tcan4x5x_write_fifo()
|
D | m_can.c | 332 u32 fgi, unsigned int offset, void *val, size_t val_count) in m_can_fifo_read() argument 337 if (val_count == 0) in m_can_fifo_read() 340 return cdev->ops->read_fifo(cdev, addr_offset, val, val_count); in m_can_fifo_read() 345 u32 fpi, unsigned int offset, const void *val, size_t val_count) in m_can_fifo_write() argument 350 if (val_count == 0) in m_can_fifo_write() 353 return cdev->ops->write_fifo(cdev, addr_offset, val, val_count); in m_can_fifo_write()
|
/Linux-v6.1/drivers/staging/media/max96712/ |
D | max96712.c | 79 const void *val, size_t val_count) in max96712_write_bulk() argument 83 ret = regmap_bulk_write(priv->regmap, reg, val, val_count); in max96712_write_bulk() 92 size_t val_count) in max96712_write_bulk_value() argument 97 for (i = 1; i <= val_count; i++) in max96712_write_bulk_value() 98 values[i - 1] = (val >> ((val_count - i) * 8)) & 0xff; in max96712_write_bulk_value() 100 return max96712_write_bulk(priv, reg, &values, val_count); in max96712_write_bulk_value()
|
/Linux-v6.1/include/linux/ |
D | regmap.h | 496 void *val, size_t val_count); 500 const void *val, size_t val_count); 1165 size_t val_count); 1179 size_t val_count); 1692 const void *val, size_t val_count) in regmap_bulk_write() argument 1720 void *val, size_t val_count) in regmap_bulk_read() argument
|
/Linux-v6.1/drivers/media/dvb-frontends/ |
D | rtl2830.c | 12 const void *val, size_t val_count) in rtl2830_bulk_write() argument 18 ret = regmap_bulk_write(dev->regmap, reg, val, val_count); in rtl2830_bulk_write() 36 void *val, size_t val_count) in rtl2830_bulk_read() argument 42 ret = regmap_bulk_read(dev->regmap, reg, val, val_count); in rtl2830_bulk_read()
|
/Linux-v6.1/sound/soc/codecs/ |
D | cx2072x.c | 491 const void *val, size_t val_count) in cx2072x_reg_raw_write() argument 497 if (WARN_ON(val_count + 2 > sizeof(buf))) in cx2072x_reg_raw_write() 503 memcpy(buf + 2, val, val_count); in cx2072x_reg_raw_write() 505 ret = i2c_master_send(client, buf, val_count + 2); in cx2072x_reg_raw_write() 506 if (ret != val_count + 2) { in cx2072x_reg_raw_write()
|
/Linux-v6.1/drivers/net/ethernet/davicom/ |
D | dm9051.c | 167 size_t val_count) in dm9051_set_regs() argument 171 ret = regmap_bulk_write(db->regmap_dmbulk, reg, val, val_count); in dm9051_set_regs() 179 size_t val_count) in dm9051_get_regs() argument 183 ret = regmap_bulk_read(db->regmap_dmbulk, reg, val, val_count); in dm9051_get_regs()
|
/Linux-v6.1/include/linux/mfd/ |
D | palmas.h | 3770 unsigned int reg, const void *val, size_t val_count) in palmas_bulk_write() argument 3776 val, val_count); in palmas_bulk_write() 3780 unsigned int reg, void *val, size_t val_count) in palmas_bulk_read() argument 3786 val, val_count); in palmas_bulk_read()
|