Home
last modified time | relevance | path

Searched refs:regbuf (Results 1 – 18 of 18) sorted by relevance

/linux-6.3-rc2/drivers/hwmon/
A Dltc2945.c263 u8 regbuf[3]; in ltc2945_value_store() local
278 regbuf[0] = regval >> 16; in ltc2945_value_store()
279 regbuf[1] = (regval >> 8) & 0xff; in ltc2945_value_store()
280 regbuf[2] = regval; in ltc2945_value_store()
284 regbuf[0] = regval >> 8; in ltc2945_value_store()
285 regbuf[1] = regval & 0xff; in ltc2945_value_store()
288 ret = regmap_bulk_write(regmap, reg, regbuf, num_regs); in ltc2945_value_store()
/linux-6.3-rc2/drivers/media/i2c/
A Dov7251.c740 u8 regbuf[3]; in ov7251_write_reg() local
743 regbuf[0] = reg >> 8; in ov7251_write_reg()
744 regbuf[1] = reg & 0xff; in ov7251_write_reg()
745 regbuf[2] = val; in ov7251_write_reg()
760 u8 regbuf[5]; in ov7251_write_seq_regs() local
764 if (nregbuf > sizeof(regbuf)) in ov7251_write_seq_regs()
767 regbuf[0] = reg >> 8; in ov7251_write_seq_regs()
768 regbuf[1] = reg & 0xff; in ov7251_write_seq_regs()
785 u8 regbuf[2]; in ov7251_read_reg() local
788 regbuf[0] = reg >> 8; in ov7251_read_reg()
[all …]
A Dov5645.c543 u8 regbuf[3]; in ov5645_write_reg() local
546 regbuf[0] = reg >> 8; in ov5645_write_reg()
547 regbuf[1] = reg & 0xff; in ov5645_write_reg()
548 regbuf[2] = val; in ov5645_write_reg()
550 ret = i2c_master_send(ov5645->i2c_client, regbuf, 3); in ov5645_write_reg()
562 u8 regbuf[2]; in ov5645_read_reg() local
565 regbuf[0] = reg >> 8; in ov5645_read_reg()
566 regbuf[1] = reg & 0xff; in ov5645_read_reg()
568 ret = i2c_master_send(ov5645->i2c_client, regbuf, 2); in ov5645_read_reg()
/linux-6.3-rc2/drivers/scsi/bfa/
A Dbfad_debugfs.c248 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()
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A Dbnad_debugfs.c309 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()
/linux-6.3-rc2/drivers/net/ethernet/altera/
A Daltera_tse_ethtool.c200 void *regbuf) in tse_get_regs() argument
203 u32 *buf = regbuf; in tse_get_regs()
/linux-6.3-rc2/drivers/media/dvb-frontends/
A Dzl10039.c61 u8 regbuf[] = { reg }; in zl10039_read() local
66 .buf = regbuf, in zl10039_read()
A Dmt312.c55 u8 regbuf[1] = { reg }; in mt312_read() local
59 msg[0].buf = regbuf; in mt312_read()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4vf/
A Dcxgb4vf_main.c1854 static void reg_block_dump(struct adapter *adapter, void *regbuf, in reg_block_dump() argument
1857 u32 *bp = regbuf + start - T4VF_REGMAP_START; in reg_block_dump()
1877 void *regbuf) in cxgb4vf_get_regs() argument
1886 memset(regbuf, 0, T4VF_REGMAP_SIZE); in cxgb4vf_get_regs()
1888 reg_block_dump(adapter, regbuf, in cxgb4vf_get_regs()
1891 reg_block_dump(adapter, regbuf, in cxgb4vf_get_regs()
1897 reg_block_dump(adapter, regbuf, in cxgb4vf_get_regs()
1901 reg_block_dump(adapter, regbuf, in cxgb4vf_get_regs()
1905 reg_block_dump(adapter, regbuf, in cxgb4vf_get_regs()
/linux-6.3-rc2/arch/powerpc/kernel/
A Dprom_init.c210 static cell_t __prombss regbuf[1024]; variable
1684 plen = prom_getprop(node, "reg", regbuf, sizeof(regbuf)); in prom_init_mem()
1685 if (plen > sizeof(regbuf)) { in prom_init_mem()
1687 plen = sizeof(regbuf); in prom_init_mem()
1689 p = regbuf; in prom_init_mem()
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Dlio_ethtool.c3015 struct ethtool_regs *regs, void *regbuf) in lio_get_regs() argument
3025 memset(regbuf, 0, OCT_ETHTOOL_REGDUMP_LEN_23XX); in lio_get_regs()
3026 len += cn23xx_read_csr_reg(regbuf + len, oct); in lio_get_regs()
3029 memset(regbuf, 0, OCT_ETHTOOL_REGDUMP_LEN_23XX_VF); in lio_get_regs()
3030 len += cn23xx_vf_read_csr_reg(regbuf + len, oct); in lio_get_regs()
3034 memset(regbuf, 0, OCT_ETHTOOL_REGDUMP_LEN); in lio_get_regs()
3035 len += cn6xxx_read_csr_reg(regbuf + len, oct); in lio_get_regs()
3036 len += cn6xxx_read_config_reg(regbuf + len, oct); in lio_get_regs()
/linux-6.3-rc2/net/ethtool/
A Dioctl.c1362 void *regbuf; in ethtool_get_regs() local
1378 regbuf = vzalloc(reglen); in ethtool_get_regs()
1379 if (!regbuf) in ethtool_get_regs()
1385 ops->get_regs(dev, &regs, regbuf); in ethtool_get_regs()
1391 if (copy_to_user(useraddr, regbuf, reglen)) in ethtool_get_regs()
1396 vfree(regbuf); in ethtool_get_regs()
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A Denetc_ethtool.c54 void *regbuf) in enetc_get_regs() argument
58 u32 *buf = (u32 *)regbuf; in enetc_get_regs()
/linux-6.3-rc2/drivers/net/ethernet/freescale/
A Dgianfar_ethtool.c177 void *regbuf) in gfar_get_regs() argument
182 u32 *buf = (u32 *) regbuf; in gfar_get_regs()
A Dfec_main.c2570 struct ethtool_regs *regs, void *regbuf) in fec_enet_get_regs() argument
2575 u32 *buf = (u32 *)regbuf; in fec_enet_get_regs()
/linux-6.3-rc2/drivers/platform/x86/
A Dacer-wmi.c703 static acpi_status wmab_execute(struct wmab_args *regbuf, in wmab_execute() argument
709 input.pointer = (u8 *)regbuf; in wmab_execute()
/linux-6.3-rc2/drivers/net/ethernet/atheros/atlx/
A Datl1.c3399 u32 *regbuf = p; in atl1_get_regs() local
3430 regbuf[i] = 0; in atl1_get_regs()
3434 regbuf[i] = ioread32(hw->hw_addr + (i * sizeof(u32))); in atl1_get_regs()
/linux-6.3-rc2/drivers/net/ethernet/realtek/
A D8139too.c2443 static void rtl8139_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *regbuf) in rtl8139_get_regs() argument
2455 memcpy_fromio(regbuf, tp->mmio_addr, regs->len); in rtl8139_get_regs()

Completed in 82 milliseconds