Home
last modified time | relevance | path

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

/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.h68 int (*read_fifo)(struct m_can_classdev *cdev, int addr_offset, void *val, size_t val_count);
70 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.c334 u32 fgi, unsigned int offset, void *val, size_t val_count) in m_can_fifo_read() argument
339 if (val_count == 0) in m_can_fifo_read()
342 return cdev->ops->read_fifo(cdev, addr_offset, val, val_count); in m_can_fifo_read()
347 u32 fpi, unsigned int offset, const void *val, size_t val_count) in m_can_fifo_write() argument
352 if (val_count == 0) in m_can_fifo_write()
355 return cdev->ops->write_fifo(cdev, addr_offset, val, val_count); in m_can_fifo_write()
/drivers/base/regmap/
Dregmap.c2043 size_t val_count = val_len / val_bytes; in _regmap_raw_write() local
2045 size_t chunk_regs = val_count; in _regmap_raw_write()
2048 if (!val_count) in _regmap_raw_write()
2056 chunk_count = val_count / chunk_regs; in _regmap_raw_write()
2251 size_t val_count) in regmap_bulk_write() argument
2265 for (i = 0; i < val_count; i++) { in regmap_bulk_write()
2299 wval = kmemdup(val, val_count * val_bytes, map->alloc_flags); in regmap_bulk_write()
2303 for (i = 0; i < val_count * val_bytes; i += val_bytes) in regmap_bulk_write()
2306 ret = regmap_raw_write(map, reg, wval, val_bytes * val_count); in regmap_bulk_write()
2791 size_t val_count = val_len / val_bytes; in regmap_raw_read() local
[all …]
/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()