Home
last modified time | relevance | path

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

/drivers/base/regmap/
Dregmap-spi.c42 const void *reg, size_t reg_len, in regmap_spi_gather_write() argument
48 struct spi_transfer t[2] = { { .tx_buf = reg, .len = reg_len, }, in regmap_spi_gather_write()
59 const void *reg, size_t reg_len, in regmap_spi_async_write() argument
70 async->t[0].len = reg_len; in regmap_spi_async_write()
Dregmap-debugfs.c395 int reg_len, tot_len; in regmap_access_read_file() local
411 reg_len = regmap_calc_reg_len(map->max_register, buf, count); in regmap_access_read_file()
412 tot_len = reg_len + 10; /* ': R W V P\n' */ in regmap_access_read_file()
428 reg_len, i, in regmap_access_read_file()
/drivers/gpio/
Dgpio-lynxpoint.c350 unsigned long reg_len; in lp_gpio_probe() local
372 reg_len = resource_size(io_rc); in lp_gpio_probe()
374 if (!devm_request_region(dev, lg->reg_base, reg_len, "lp-gpio")) { in lp_gpio_probe()
/drivers/ata/
Dpata_octeon_cf.c850 int n_addr, n_size, reg_len; in octeon_cf_probe() local
883 reg_prop = of_find_property(node, "reg", &reg_len); in octeon_cf_probe()
884 if (!reg_prop || reg_len < sizeof(__be32)) { in octeon_cf_probe()
934 if (reg_len < (n_addr + n_size + 1) * sizeof(__be32)) { in octeon_cf_probe()
/drivers/net/wireless/ath/ath6kl/
Ddebug.c947 unsigned long int reg_len; in ath6kl_regdump_open() local
959 reg_len = n_reg * REG_OUTPUT_LEN_PER_LINE; in ath6kl_regdump_open()
961 reg_len += REGTYPE_STR_LEN; in ath6kl_regdump_open()
963 buf = vmalloc(reg_len); in ath6kl_regdump_open()
976 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open()
982 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open()
992 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open()
/drivers/net/ethernet/amd/
Damd8111e.c1817 unsigned long reg_addr,reg_len; in amd8111e_probe_one() local
1861 reg_len = pci_resource_len(pdev, 0); in amd8111e_probe_one()
1882 lp->mmio = ioremap(reg_addr, reg_len); in amd8111e_probe_one()
/drivers/net/ethernet/micrel/
Dksz884x.c6937 unsigned long reg_len; in pcidev_init() local
6958 reg_len = pci_resource_len(pdev, 0); in pcidev_init()
6962 if (!request_mem_region(reg_base, reg_len, DRV_NAME)) in pcidev_init()
6977 hw->io = ioremap(reg_base, reg_len); in pcidev_init()
7100 dev->mem_end = dev->mem_start + reg_len - 1; in pcidev_init()
7142 release_mem_region(reg_base, reg_len); in pcidev_init()
/drivers/infiniband/hw/mlx4/
Dqp.c1987 fseg->reg_len = cpu_to_be64(wr->wr.fast_reg.length); in set_fmr_seg()