Searched refs:reg_len (Results 1 – 8 of 8) sorted by relevance
/drivers/base/regmap/ |
D | regmap-spi.c | 41 const void *reg, size_t reg_len, in regmap_spi_gather_write() argument 47 struct spi_transfer t[2] = { { .tx_buf = reg, .len = reg_len, }, in regmap_spi_gather_write() 58 const void *reg, size_t reg_len, in regmap_spi_async_write() argument 69 async->t[0].len = reg_len; in regmap_spi_async_write()
|
D | regmap-debugfs.c | 407 int reg_len, tot_len; in regmap_access_read_file() local 423 reg_len = regmap_calc_reg_len(map->max_register, buf, count); in regmap_access_read_file() 424 tot_len = reg_len + 10; /* ': R W V P\n' */ in regmap_access_read_file() 440 reg_len, i, in regmap_access_read_file()
|
/drivers/gpio/ |
D | gpio-lynxpoint.c | 330 unsigned long reg_len; in lp_gpio_probe() local 349 reg_len = resource_size(io_rc); in lp_gpio_probe() 351 if (!devm_request_region(dev, lg->reg_base, reg_len, "lp-gpio")) { in lp_gpio_probe()
|
/drivers/ata/ |
D | pata_octeon_cf.c | 850 int n_addr, n_size, reg_len; in octeon_cf_probe() local 883 reg_prop = of_find_property(node, "reg", ®_len); in octeon_cf_probe() 884 if (!reg_prop || reg_len < sizeof(__be32)) in octeon_cf_probe() 928 if (reg_len < (n_addr + n_size + 1) * sizeof(__be32)) in octeon_cf_probe()
|
/drivers/net/wireless/ath/ath6kl/ |
D | debug.c | 945 unsigned long int reg_len; in ath6kl_regdump_open() local 957 reg_len = n_reg * REG_OUTPUT_LEN_PER_LINE; in ath6kl_regdump_open() 959 reg_len += REGTYPE_STR_LEN; in ath6kl_regdump_open() 961 buf = vmalloc(reg_len); in ath6kl_regdump_open() 974 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open() 980 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open() 990 len += scnprintf(buf + len, reg_len - len, in ath6kl_regdump_open()
|
/drivers/net/ethernet/amd/ |
D | amd8111e.c | 1793 unsigned long reg_addr,reg_len; in amd8111e_probe_one() local 1832 reg_len = pci_resource_len(pdev, 0); in amd8111e_probe_one() 1853 lp->mmio = devm_ioremap(&pdev->dev, reg_addr, reg_len); in amd8111e_probe_one()
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 6933 unsigned long reg_len; in pcidev_init() local 6954 reg_len = pci_resource_len(pdev, 0); in pcidev_init() 6958 if (!request_mem_region(reg_base, reg_len, DRV_NAME)) in pcidev_init() 6973 hw->io = ioremap(reg_base, reg_len); in pcidev_init() 7097 dev->mem_end = dev->mem_start + reg_len - 1; in pcidev_init() 7138 release_mem_region(reg_base, reg_len); in pcidev_init()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2367 fseg->reg_len = cpu_to_be64(wr->wr.fast_reg.length); in set_fmr_seg()
|