/kernel/linux/linux-5.10/drivers/hwmon/ |
D | ltc2945.c | 240 u8 regbuf[3]; in ltc2945_value_store() local 253 regbuf[0] = regval >> 16; in ltc2945_value_store() 254 regbuf[1] = (regval >> 8) & 0xff; in ltc2945_value_store() 255 regbuf[2] = regval; in ltc2945_value_store() 259 regbuf[0] = regval >> 8; in ltc2945_value_store() 260 regbuf[1] = regval & 0xff; in ltc2945_value_store() 263 ret = regmap_bulk_write(regmap, reg, regbuf, num_regs); in ltc2945_value_store()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | ov7251.c | 626 u8 regbuf[3]; in ov7251_write_reg() local 629 regbuf[0] = reg >> 8; in ov7251_write_reg() 630 regbuf[1] = reg & 0xff; in ov7251_write_reg() 631 regbuf[2] = val; in ov7251_write_reg() 633 ret = i2c_master_send(ov7251->i2c_client, regbuf, 3); in ov7251_write_reg() 646 u8 regbuf[5]; in ov7251_write_seq_regs() local 650 if (nregbuf > sizeof(regbuf)) in ov7251_write_seq_regs() 653 regbuf[0] = reg >> 8; in ov7251_write_seq_regs() 654 regbuf[1] = reg & 0xff; in ov7251_write_seq_regs() 656 memcpy(regbuf + 2, val, num); in ov7251_write_seq_regs() [all …]
|
D | ov5645.c | 546 u8 regbuf[3]; in ov5645_write_reg() local 549 regbuf[0] = reg >> 8; in ov5645_write_reg() 550 regbuf[1] = reg & 0xff; in ov5645_write_reg() 551 regbuf[2] = val; in ov5645_write_reg() 553 ret = i2c_master_send(ov5645->i2c_client, regbuf, 3); in ov5645_write_reg() 565 u8 regbuf[2]; in ov5645_read_reg() local 568 regbuf[0] = reg >> 8; in ov5645_read_reg() 569 regbuf[1] = reg & 0xff; in ov5645_read_reg() 571 ret = i2c_master_send(ov5645->i2c_client, regbuf, 2); in ov5645_read_reg()
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
D | bfad_debugfs.c | 248 u32 *regbuf; in bfad_debugfs_write_regrd() local 294 regbuf = (u32 *)bfad->regdata; in bfad_debugfs_write_regrd() 297 *regbuf = readl(reg_addr); in bfad_debugfs_write_regrd() 298 regbuf++; in bfad_debugfs_write_regrd()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
D | bnad_debugfs.c | 309 u32 *regbuf; in bnad_debugfs_write_regrd() local 349 regbuf = (u32 *)bnad->regdata; in bnad_debugfs_write_regrd() 352 *regbuf = readl(reg_addr); in bnad_debugfs_write_regrd() 353 regbuf++; in bnad_debugfs_write_regrd()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/ |
D | altera_tse_ethtool.c | 200 void *regbuf) in tse_get_regs() argument 204 u32 *buf = regbuf; in tse_get_regs()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | zl10039.c | 61 u8 regbuf[] = { reg }; in zl10039_read() local 66 .buf = regbuf, in zl10039_read()
|
D | mt312.c | 55 u8 regbuf[1] = { reg }; in mt312_read() local 59 msg[0].buf = regbuf; in mt312_read()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 1846 static void reg_block_dump(struct adapter *adapter, void *regbuf, in reg_block_dump() argument 1849 u32 *bp = regbuf + start - T4VF_REGMAP_START; in reg_block_dump() 1869 void *regbuf) in cxgb4vf_get_regs() argument 1878 memset(regbuf, 0, T4VF_REGMAP_SIZE); in cxgb4vf_get_regs() 1880 reg_block_dump(adapter, regbuf, in cxgb4vf_get_regs() 1883 reg_block_dump(adapter, regbuf, in cxgb4vf_get_regs() 1889 reg_block_dump(adapter, regbuf, in cxgb4vf_get_regs() 1893 reg_block_dump(adapter, regbuf, in cxgb4vf_get_regs() 1897 reg_block_dump(adapter, regbuf, in cxgb4vf_get_regs()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | prom_init.c | 212 static cell_t __prombss regbuf[1024]; variable 1655 plen = prom_getprop(node, "reg", regbuf, sizeof(regbuf)); in prom_init_mem() 1656 if (plen > sizeof(regbuf)) { in prom_init_mem() 1658 plen = sizeof(regbuf); in prom_init_mem() 1660 p = regbuf; in prom_init_mem()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
D | lio_ethtool.c | 3005 struct ethtool_regs *regs, void *regbuf) in lio_get_regs() argument 3015 memset(regbuf, 0, OCT_ETHTOOL_REGDUMP_LEN_23XX); in lio_get_regs() 3016 len += cn23xx_read_csr_reg(regbuf + len, oct); in lio_get_regs() 3019 memset(regbuf, 0, OCT_ETHTOOL_REGDUMP_LEN_23XX_VF); in lio_get_regs() 3020 len += cn23xx_vf_read_csr_reg(regbuf + len, oct); in lio_get_regs() 3024 memset(regbuf, 0, OCT_ETHTOOL_REGDUMP_LEN); in lio_get_regs() 3025 len += cn6xxx_read_csr_reg(regbuf + len, oct); in lio_get_regs() 3026 len += cn6xxx_read_config_reg(regbuf + len, oct); in lio_get_regs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc_ethtool.c | 53 void *regbuf) in enetc_get_regs() argument 57 u32 *buf = (u32 *)regbuf; in enetc_get_regs()
|
/kernel/linux/linux-5.10/net/ethtool/ |
D | ioctl.c | 1351 void *regbuf; in ethtool_get_regs() local 1367 regbuf = vzalloc(reglen); in ethtool_get_regs() 1368 if (!regbuf) in ethtool_get_regs() 1374 ops->get_regs(dev, ®s, regbuf); in ethtool_get_regs() 1380 if (copy_to_user(useraddr, regbuf, reglen)) in ethtool_get_regs() 1385 vfree(regbuf); in ethtool_get_regs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 177 void *regbuf) in gfar_get_regs() argument 182 u32 *buf = (u32 *) regbuf; in gfar_get_regs()
|
D | fec_main.c | 2270 struct ethtool_regs *regs, void *regbuf) in fec_enet_get_regs() argument 2275 u32 *buf = (u32 *)regbuf; in fec_enet_get_regs()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | acer-wmi.c | 724 static acpi_status wmab_execute(struct wmab_args *regbuf, in wmab_execute() argument 730 input.pointer = (u8 *)regbuf; in wmab_execute()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 3400 u32 *regbuf = p; in atl1_get_regs() local 3431 regbuf[i] = 0; in atl1_get_regs() 3435 regbuf[i] = ioread32(hw->hw_addr + (i * sizeof(u32))); in atl1_get_regs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
D | 8139too.c | 2442 static void rtl8139_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *regbuf) in rtl8139_get_regs() argument 2454 memcpy_fromio(regbuf, tp->mmio_addr, regs->len); in rtl8139_get_regs()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0036_linux_drivers_staging.patch | 6464 + *regs, void *regbuf) 6469 + u32 *buf = (u32 *)regbuf;
|