Home
last modified time | relevance | path

Searched refs:reg_len (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/base/regmap/
Dregmap-spi.c37 const void *reg, size_t reg_len, in regmap_spi_gather_write() argument
43 struct spi_transfer t[2] = { { .tx_buf = reg, .len = reg_len, }, in regmap_spi_gather_write()
54 const void *reg, size_t reg_len, in regmap_spi_async_write() argument
65 async->t[0].len = reg_len; in regmap_spi_async_write()
Dregmap-debugfs.c432 int i, reg_len; in regmap_access_show() local
434 reg_len = regmap_calc_reg_len(map->max_register); in regmap_access_show()
442 seq_printf(s, "%.*x: %c %c %c %c\n", reg_len, i, in regmap_access_show()
/Linux-v5.4/drivers/gpio/
Dgpio-creg-snps.c84 u32 reg_len = 0; in creg_gpio_validate() local
99 reg_len += hcg->layout->shift[i] + hcg->layout->bit_per_gpio[i]; in creg_gpio_validate()
103 if (reg_len > 32) in creg_gpio_validate()
Dgpio-lynxpoint.c321 unsigned long reg_len; in lp_gpio_probe() local
340 reg_len = resource_size(io_rc); in lp_gpio_probe()
342 if (!devm_request_region(dev, lg->reg_base, reg_len, "lp-gpio")) { in lp_gpio_probe()
/Linux-v5.4/drivers/net/can/m_can/
Dtcan4x5x.c168 size_t reg_len, const void *val, in regmap_spi_gather_write() argument
176 { .tx_buf = &addr, .len = reg_len, .cs_change = 0,}, in regmap_spi_gather_write()
198 const void *reg, size_t reg_len, in regmap_spi_async_write() argument
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Ddebug.c942 unsigned long int reg_len; in ath6kl_regdump_open() local
954 reg_len = n_reg * REG_OUTPUT_LEN_PER_LINE; in ath6kl_regdump_open()
956 reg_len += REGTYPE_STR_LEN; in ath6kl_regdump_open()
958 buf = vmalloc(reg_len); in ath6kl_regdump_open()
971 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open()
977 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open()
987 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open()
/Linux-v5.4/drivers/ata/
Dpata_octeon_cf.c841 int n_addr, n_size, reg_len; in octeon_cf_probe() local
872 reg_prop = of_find_property(node, "reg", &reg_len); in octeon_cf_probe()
873 if (!reg_prop || reg_len < sizeof(__be32)) in octeon_cf_probe()
917 if (reg_len < (n_addr + n_size + 1) * sizeof(__be32)) in octeon_cf_probe()
/Linux-v5.4/include/linux/mlx4/
Dqp.h395 __be64 reg_len; member
/Linux-v5.4/include/linux/
Dregmap.h451 const void *reg, size_t reg_len,
454 const void *reg, size_t reg_len,
/Linux-v5.4/include/linux/mlx5/
Dqp.h195 __be64 reg_len; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dfw.c2914 u16 reg_len, void *reg_data) in mlx4_ACCESS_REG() argument
2938 reg_len = min(reg_len, (u16)(sizeof(inbuf->reg_data))); in mlx4_ACCESS_REG()
2940 cpu_to_be16(((reg_len/4 + 1) & MLX4_ACCESS_REG_LEN_MASK) | in mlx4_ACCESS_REG()
2943 memcpy(inbuf->reg_data, reg_data, reg_len); in mlx4_ACCESS_REG()
2958 memcpy(reg_data, outbuf->reg_data, reg_len); in mlx4_ACCESS_REG()
/Linux-v5.4/drivers/net/ethernet/amd/
Damd8111e.c1755 unsigned long reg_addr,reg_len; in amd8111e_probe_one() local
1794 reg_len = pci_resource_len(pdev, 0); in amd8111e_probe_one()
1815 lp->mmio = devm_ioremap(&pdev->dev, reg_addr, reg_len); in amd8111e_probe_one()
/Linux-v5.4/drivers/media/dvb-frontends/
Drtl2830.c743 size_t reg_len, const void *val, in rtl2830_regmap_gather_write() argument
/Linux-v5.4/drivers/net/ethernet/micrel/
Dksz884x.c6922 unsigned long reg_len; in pcidev_init() local
6943 reg_len = pci_resource_len(pdev, 0); in pcidev_init()
6947 if (!request_mem_region(reg_base, reg_len, DRV_NAME)) in pcidev_init()
6962 hw->io = ioremap(reg_base, reg_len); in pcidev_init()
7086 dev->mem_end = dev->mem_start + reg_len - 1; in pcidev_init()
7133 release_mem_region(reg_base, reg_len); in pcidev_init()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c624 u16 reg_len) in mlxsw_emad_alloc() argument
629 emad_len = (reg_len + sizeof(u32) + MLXSW_EMAD_ETH_HDR_LEN + in mlxsw_emad_alloc()
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c478 void *reg, unsigned int reg_len, in xgbe_phy_i2c_read() argument
489 i2c_op.len = reg_len; in xgbe_phy_i2c_read()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dqp.c3319 fseg->reg_len = cpu_to_be64(mr->ibmr.length); in set_reg_seg()