/linux-6.6.21/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() 213 writesb(ctx->regs + reg, (const u8 *)val, val_count); in regmap_mmio_noinc_write() 216 writesw(ctx->regs + reg, (const u16 *)val, val_count); in regmap_mmio_noinc_write() 219 writesl(ctx->regs + reg, (const u32 *)val, val_count); in regmap_mmio_noinc_write() 331 void *val, size_t val_count) in regmap_mmio_noinc_read() argument 344 readsb(ctx->regs + reg, (u8 *)val, val_count); in regmap_mmio_noinc_read() 347 readsw(ctx->regs + reg, (u16 *)val, val_count); in regmap_mmio_noinc_read() 350 readsl(ctx->regs + reg, (u32 *)val, val_count); in regmap_mmio_noinc_read() [all …]
|
D | regmap.c | 1990 size_t val_count = val_len / val_bytes; in _regmap_raw_write() local 1992 size_t chunk_regs = val_count; in _regmap_raw_write() 1995 if (!val_count) in _regmap_raw_write() 2003 chunk_count = val_count / chunk_regs; in _regmap_raw_write() 2064 size_t val_count = val_len / val_bytes; in regmap_noinc_readwrite() local 2076 lastval = (unsigned int)u8p[val_count - 1]; in regmap_noinc_readwrite() 2081 lastval = (unsigned int)u16p[val_count - 1]; in regmap_noinc_readwrite() 2086 lastval = (unsigned int)u32p[val_count - 1]; in regmap_noinc_readwrite() 2107 ret = map->bus->reg_noinc_write(map->bus_context, reg, val, val_count); in regmap_noinc_readwrite() 2109 ret = map->bus->reg_noinc_read(map->bus_context, reg, val, val_count); in regmap_noinc_readwrite() [all …]
|
/linux-6.6.21/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 | 33 static int iomap_read_fifo(struct m_can_classdev *cdev, int offset, void *val, size_t val_count) in iomap_read_fifo() argument 38 while (val_count--) { in iomap_read_fifo() 57 const void *val, size_t val_count) in iomap_write_fifo() argument 62 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 | 190 void *val, size_t val_count) in tcan4x5x_read_fifo() argument 194 return regmap_bulk_read(priv->regmap, TCAN4X5X_MRAM_START + addr_offset, val, val_count); in tcan4x5x_read_fifo() 205 int addr_offset, const void *val, size_t val_count) in tcan4x5x_write_fifo() argument 209 return regmap_bulk_write(priv->regmap, TCAN4X5X_MRAM_START + addr_offset, val, val_count); in tcan4x5x_write_fifo()
|
D | m_can.c | 336 u32 fgi, unsigned int offset, void *val, size_t val_count) in m_can_fifo_read() argument 341 if (val_count == 0) in m_can_fifo_read() 344 return cdev->ops->read_fifo(cdev, addr_offset, val, val_count); in m_can_fifo_read() 349 u32 fpi, unsigned int offset, const void *val, size_t val_count) in m_can_fifo_write() argument 354 if (val_count == 0) in m_can_fifo_write() 357 return cdev->ops->write_fifo(cdev, addr_offset, val, val_count); in m_can_fifo_write()
|
/linux-6.6.21/drivers/staging/media/max96712/ |
D | max96712.c | 80 const void *val, size_t val_count) in max96712_write_bulk() argument 84 ret = regmap_bulk_write(priv->regmap, reg, val, val_count); in max96712_write_bulk() 93 size_t val_count) in max96712_write_bulk_value() argument 98 for (i = 1; i <= val_count; i++) in max96712_write_bulk_value() 99 values[i - 1] = (val >> ((val_count - i) * 8)) & 0xff; in max96712_write_bulk_value() 101 return max96712_write_bulk(priv, reg, &values, val_count); in max96712_write_bulk_value()
|
/linux-6.6.21/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-6.6.21/include/linux/ |
D | regmap.h | 514 void *val, size_t val_count); 518 const void *val, size_t val_count); 1219 size_t val_count); 1233 size_t val_count); 1724 const void *val, size_t val_count) in regmap_bulk_write() argument 1752 void *val, size_t val_count) in regmap_bulk_read() argument
|
/linux-6.6.21/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-6.6.21/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-6.6.21/include/linux/mfd/ |
D | palmas.h | 3761 unsigned int reg, const void *val, size_t val_count) in palmas_bulk_write() argument 3767 val, val_count); in palmas_bulk_write() 3771 unsigned int reg, void *val, size_t val_count) in palmas_bulk_read() argument 3777 val, val_count); in palmas_bulk_read()
|