Home
last modified time | relevance | path

Searched refs:reg_buf (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v6.6/drivers/mmc/core/
Dsd.c77 u8 *reg_buf; member
1026 u8 *reg_buf; in sd_write_ext_reg() local
1028 reg_buf = kzalloc(512, GFP_KERNEL); in sd_write_ext_reg()
1029 if (!reg_buf) in sd_write_ext_reg()
1047 reg_buf[0] = reg_data; in sd_write_ext_reg()
1054 sg_init_one(&sg, reg_buf, 512); in sd_write_ext_reg()
1062 kfree(reg_buf); in sd_write_ext_reg()
1079 u16 offset, u16 len, u8 *reg_buf) in sd_read_ext_reg() argument
1095 cmd_args, reg_buf, 512); in sd_read_ext_reg()
1102 u8 *reg_buf; in sd_parse_ext_reg_power() local
[all …]
/Linux-v6.6/drivers/net/wireless/ath/ath6kl/
Dhif.c303 u8 reg_buf[4]; in ath6kl_hif_proc_err_intr() local
330 reg_buf[0] = error_int_status; in ath6kl_hif_proc_err_intr()
331 reg_buf[1] = 0; in ath6kl_hif_proc_err_intr()
332 reg_buf[2] = 0; in ath6kl_hif_proc_err_intr()
333 reg_buf[3] = 0; in ath6kl_hif_proc_err_intr()
336 reg_buf, 4, HIF_WR_SYNC_BYTE_FIX); in ath6kl_hif_proc_err_intr()
347 u8 reg_buf[4]; in ath6kl_hif_proc_cpu_intr() local
373 reg_buf[0] = cpu_int_status; in ath6kl_hif_proc_cpu_intr()
375 reg_buf[1] = 0; in ath6kl_hif_proc_cpu_intr()
376 reg_buf[2] = 0; in ath6kl_hif_proc_cpu_intr()
[all …]
/Linux-v6.6/drivers/base/regmap/
Dregmap-sdw.c24 const void *reg_buf, size_t reg_size, in regmap_sdw_gather_write() argument
29 u32 addr = le32_to_cpu(*(const __le32 *)reg_buf); in regmap_sdw_gather_write()
35 const void *reg_buf, size_t reg_size, in regmap_sdw_read() argument
40 u32 addr = le32_to_cpu(*(const __le32 *)reg_buf); in regmap_sdw_read()
Dregmap-spi-avmm.c579 const void *reg_buf, size_t reg_len, in regmap_spi_avmm_gather_write() argument
588 return do_reg_access(context, false, *(u32 *)reg_buf, (u32 *)val_buf, in regmap_spi_avmm_gather_write()
603 const void *reg_buf, size_t reg_len, in regmap_spi_avmm_read() argument
612 return do_reg_access(context, true, *(u32 *)reg_buf, val_buf, in regmap_spi_avmm_read()
Dinternal.h114 int (*read)(void *context, const void *reg_buf, size_t reg_size,
/Linux-v6.6/drivers/misc/mei/
Dhw-txe.c703 const u32 *reg_buf; in mei_txe_write() local
731 reg_buf = hdr; in mei_txe_write()
733 mei_txe_input_payload_write(dev, i, reg_buf[i]); in mei_txe_write()
735 reg_buf = data; in mei_txe_write()
737 mei_txe_input_payload_write(dev, i + j, reg_buf[j]); in mei_txe_write()
821 u32 *reg_buf, reg; in mei_txe_read() local
828 reg_buf = (u32 *)buf; in mei_txe_read()
838 *reg_buf++ = reg; in mei_txe_read()
843 memcpy(reg_buf, &reg, rem); in mei_txe_read()
Dhw-me.c589 const u32 *reg_buf; in mei_me_hbuf_write() local
613 reg_buf = hdr; in mei_me_hbuf_write()
615 mei_me_hcbww_write(dev, reg_buf[i]); in mei_me_hbuf_write()
617 reg_buf = data; in mei_me_hbuf_write()
619 mei_me_hcbww_write(dev, reg_buf[i]); in mei_me_hbuf_write()
675 u32 *reg_buf = (u32 *)buffer; in mei_me_read_slots() local
678 *reg_buf++ = mei_me_mecbrw_read(dev); in mei_me_read_slots()
683 memcpy(reg_buf, &reg, buffer_length); in mei_me_read_slots()
/Linux-v6.6/drivers/mfd/
Dacer-ec-a500.c36 static int a500_ec_read(void *context, const void *reg_buf, size_t reg_size, in a500_ec_read() argument
44 reg = *(u8 *)reg_buf; in a500_ec_read()
Dtps6594-i2c.c103 static int tps6594_i2c_read(void *context, const void *reg_buf, size_t reg_size, in tps6594_i2c_read() argument
109 const u8 *reg_bytes = reg_buf; in tps6594_i2c_read()
Dmt6370.c182 static int mt6370_regmap_read(void *context, const void *reg_buf, in mt6370_regmap_read() argument
186 const u8 *u8_buf = reg_buf; in mt6370_regmap_read()
/Linux-v6.6/drivers/iio/accel/
Dadxl367_spi.c52 static int adxl367_read(void *context, const void *reg_buf, size_t reg_size, in adxl367_read() argument
56 u8 reg = ((const u8 *)reg_buf)[0]; in adxl367_read()
/Linux-v6.6/drivers/net/can/m_can/
Dtcan4x5x-regmap.c47 const void *reg_buf, size_t reg_len, in tcan4x5x_regmap_read() argument
65 memcpy(&buf_tx->cmd, reg_buf, sizeof(buf_tx->cmd.cmd) + in tcan4x5x_regmap_read()
/Linux-v6.6/sound/soc/codecs/
Dcs35l56-sdw.c41 static int cs35l56_sdw_read(void *context, const void *reg_buf, in cs35l56_sdw_read() argument
50 reg = le32_to_cpu(*(const __le32 *)reg_buf); in cs35l56_sdw_read()
101 const void *reg_buf, size_t reg_size, in cs35l56_sdw_gather_write() argument
110 reg = le32_to_cpu(*(const __le32 *)reg_buf); in cs35l56_sdw_gather_write()
Dzl38060.c476 const void *reg_buf, size_t reg_size, in zl38_bus_read() argument
480 const u8 *reg_buf8 = reg_buf; in zl38_bus_read()
/Linux-v6.6/drivers/net/dsa/microchip/
Dksz8863_smi.c25 static int ksz8863_mdio_read(void *ctx, const void *reg_buf, size_t reg_len, in ksz8863_mdio_read() argument
30 u8 reg = *(u8 *)reg_buf; in ksz8863_mdio_read()
/Linux-v6.6/drivers/iio/chemical/
Dsunrise_co2.c49 static int sunrise_regmap_read(void *context, const void *reg_buf, in sunrise_regmap_read() argument
77 I2C_SMBUS_READ, ((u8 *)reg_buf)[0], in sunrise_regmap_read()
/Linux-v6.6/drivers/net/ethernet/microchip/
Dencx24j600-regmap.c262 const void *reg_buf, size_t reg_size, in regmap_encx24j600_read() argument
265 u8 reg = *(const u8 *)reg_buf; in regmap_encx24j600_read()
/Linux-v6.6/drivers/input/touchscreen/
Diqs5xx.c136 __be16 reg_buf = cpu_to_be16(reg); in iqs5xx_read_burst() local
142 .len = sizeof(reg_buf), in iqs5xx_read_burst()
143 .buf = (u8 *)&reg_buf, in iqs5xx_read_burst()
/Linux-v6.6/drivers/media/dvb-frontends/
Daf9013.c1400 static int af9013_regmap_read(void *context, const void *reg_buf, in af9013_regmap_read() argument
1407 u8 lock = !((u8 *)reg_buf)[0]; in af9013_regmap_read()
1408 u16 reg = ((u8 *)reg_buf)[1] << 8 | ((u8 *)reg_buf)[2] << 0; in af9013_regmap_read()
Drtl2830.c690 static int rtl2830_regmap_read(void *context, const void *reg_buf, in rtl2830_regmap_read() argument
700 .buf = (u8 *)reg_buf, in rtl2830_regmap_read()
Dlgdt3305.c128 u8 reg_buf[] = { reg >> 8, reg & 0xff }; in lgdt3305_read_reg() local
131 .flags = 0, .buf = reg_buf, .len = 2 }, in lgdt3305_read_reg()
/Linux-v6.6/drivers/iio/light/
Dgp2ap020a00f.c701 u8 reg_buf[2]; in gp2ap020a00f_read_output() local
708 err = regmap_bulk_read(data->regmap, output_reg, reg_buf, 2); in gp2ap020a00f_read_output()
712 *val = le16_to_cpup((__le16 *)reg_buf); in gp2ap020a00f_read_output()
/Linux-v6.6/drivers/net/dsa/qca/
Dqca8k-8xxx.c504 qca8k_bulk_read(void *ctx, const void *reg_buf, size_t reg_len, in qca8k_bulk_read() argument
509 u32 reg = *(u16 *)reg_buf; in qca8k_bulk_read()
526 qca8k_bulk_gather_write(void *ctx, const void *reg_buf, size_t reg_len, in qca8k_bulk_gather_write() argument
531 u32 reg = *(u16 *)reg_buf; in qca8k_bulk_gather_write()
Dar9331.c852 static int ar9331_mdio_read(void *ctx, const void *reg_buf, size_t reg_len, in ar9331_mdio_read() argument
857 u32 reg = *(u32 *)reg_buf; in ar9331_mdio_read()
/Linux-v6.6/drivers/media/usb/dvb-usb-v2/
Daf9015.c1315 static int af9015_regmap_read(void *context, const void *reg_buf, in af9015_regmap_read() argument
1321 u16 reg = ((u8 *)reg_buf)[0] << 8 | ((u8 *)reg_buf)[1] << 0; in af9015_regmap_read()

12