Home
last modified time | relevance | path

Searched refs:val_count (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/base/regmap/
Dregmap-mmio.c171 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 …]
Dregmap.c2062 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-6.1.9/drivers/net/can/m_can/
Dm_can_pci.c42 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()
Dm_can_platform.c32 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()
Dm_can.h67 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);
Dtcan4x5x-core.c157 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()
Dm_can.c332 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-6.1.9/drivers/staging/media/max96712/
Dmax96712.c79 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-6.1.9/include/linux/
Dregmap.h496 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-6.1.9/drivers/media/dvb-frontends/
Drtl2830.c12 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-6.1.9/sound/soc/codecs/
Dcx2072x.c491 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-6.1.9/drivers/net/ethernet/davicom/
Ddm9051.c167 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-6.1.9/include/linux/mfd/
Dpalmas.h3770 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()