/drivers/mmc/core/ |
D | sd.c | 76 u8 *reg_buf; member 1023 u8 *reg_buf; in sd_write_ext_reg() local 1025 reg_buf = kzalloc(512, GFP_KERNEL); in sd_write_ext_reg() 1026 if (!reg_buf) in sd_write_ext_reg() 1044 reg_buf[0] = reg_data; in sd_write_ext_reg() 1051 sg_init_one(&sg, reg_buf, 512); in sd_write_ext_reg() 1059 kfree(reg_buf); in sd_write_ext_reg() 1076 u16 offset, u16 len, u8 *reg_buf) in sd_read_ext_reg() argument 1092 cmd_args, reg_buf, 512); in sd_read_ext_reg() 1099 u8 *reg_buf; in sd_parse_ext_reg_power() local [all …]
|
/drivers/net/wireless/ath/ath6kl/ |
D | hif.c | 303 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 …]
|
/drivers/misc/mei/ |
D | hw-txe.c | 703 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, ®, rem); in mei_txe_read()
|
D | hw-me.c | 554 const u32 *reg_buf; in mei_me_hbuf_write() local 573 reg_buf = hdr; in mei_me_hbuf_write() 575 mei_me_hcbww_write(dev, reg_buf[i]); in mei_me_hbuf_write() 577 reg_buf = data; in mei_me_hbuf_write() 579 mei_me_hcbww_write(dev, reg_buf[i]); in mei_me_hbuf_write() 635 u32 *reg_buf = (u32 *)buffer; in mei_me_read_slots() local 638 *reg_buf++ = mei_me_mecbrw_read(dev); in mei_me_read_slots() 643 memcpy(reg_buf, ®, buffer_length); in mei_me_read_slots()
|
/drivers/net/can/m_can/ |
D | tcan4x5x-regmap.c | 47 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()
|
/drivers/mfd/ |
D | acer-ec-a500.c | 36 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()
|
/drivers/base/regmap/ |
D | regmap-spi-avmm.c | 585 const void *reg_buf, size_t reg_len, in regmap_spi_avmm_gather_write() argument 594 return do_reg_access(context, false, *(u32 *)reg_buf, (u32 *)val_buf, in regmap_spi_avmm_gather_write() 609 const void *reg_buf, size_t reg_len, in regmap_spi_avmm_read() argument 618 return do_reg_access(context, true, *(u32 *)reg_buf, val_buf, in regmap_spi_avmm_read()
|
/drivers/net/dsa/microchip/ |
D | ksz8863_smi.c | 22 static int ksz8863_mdio_read(void *ctx, const void *reg_buf, size_t reg_len, in ksz8863_mdio_read() argument 27 u8 reg = *(u8 *)reg_buf; in ksz8863_mdio_read()
|
/drivers/net/ethernet/microchip/ |
D | encx24j600-regmap.c | 262 const void *reg_buf, size_t reg_size, in regmap_encx24j600_read() argument 265 u8 reg = *(const u8 *)reg_buf; in regmap_encx24j600_read()
|
/drivers/input/touchscreen/ |
D | iqs5xx.c | 136 __be16 reg_buf = cpu_to_be16(reg); in iqs5xx_read_burst() local 142 .len = sizeof(reg_buf), in iqs5xx_read_burst() 143 .buf = (u8 *)®_buf, in iqs5xx_read_burst()
|
/drivers/media/dvb-frontends/ |
D | af9013.c | 1400 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()
|
D | rtl2830.c | 690 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()
|
D | lgdt3305.c | 128 u8 reg_buf[] = { reg >> 8, reg & 0xff }; in lgdt3305_read_reg() local 131 .flags = 0, .buf = reg_buf, .len = 2 }, in lgdt3305_read_reg()
|
D | lg2160.c | 80 u8 reg_buf[] = { reg >> 8, reg & 0xff }; in lg216x_read_reg() local 83 .flags = 0, .buf = reg_buf, .len = 2 }, in lg216x_read_reg()
|
D | lgdt3306a.c | 150 u8 reg_buf[] = { reg >> 8, reg & 0xff }; in lgdt3306a_read_reg() local 153 .flags = 0, .buf = reg_buf, .len = 2 }, in lgdt3306a_read_reg()
|
/drivers/iio/light/ |
D | gp2ap020a00f.c | 701 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()
|
/drivers/net/dsa/qca/ |
D | ar9331.c | 862 static int ar9331_mdio_read(void *ctx, const void *reg_buf, size_t reg_len, in ar9331_mdio_read() argument 867 u32 reg = *(u32 *)reg_buf; in ar9331_mdio_read()
|
/drivers/media/usb/dvb-usb-v2/ |
D | af9015.c | 1315 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()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_hw.h | 157 u32 reg_buf; member
|
D | qlcnic_83xx_hw.c | 1272 mbx_out->host_prod[0].reg_buf; in qlcnic_83xx_create_rx_ctx()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.h | 2216 u32 *reg_buf);
|
D | bnxt.c | 11162 u32 *reg_buf) in bnxt_dbg_hwrm_rd_reg() argument 11193 reg_buf[i] = le32_to_cpu(dbg_reg_buf[i]); in bnxt_dbg_hwrm_rd_reg()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1730 u32 *reg_buf = p; in i40e_get_regs() local 1749 reg_buf[ri++] = rd32(hw, reg); in i40e_get_regs()
|