/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 | 410 int reg_len, tot_len; in regmap_access_read_file() local 426 reg_len = regmap_calc_reg_len(map->max_register); in regmap_access_read_file() 427 tot_len = reg_len + 10; /* ': R W V P\n' */ in regmap_access_read_file() 443 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() 929 if (reg_len < (n_addr + n_size + 1) * sizeof(__be32)) in octeon_cf_probe()
|
/drivers/net/wireless/ath/ath6kl/ |
D | debug.c | 942 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()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.c | 2702 u16 reg_len, void *reg_data) in mlx4_ACCESS_REG() argument 2726 reg_len = min(reg_len, (u16)(sizeof(inbuf->reg_data))); in mlx4_ACCESS_REG() 2728 cpu_to_be16(((reg_len/4 + 1) & MLX4_ACCESS_REG_LEN_MASK) | in mlx4_ACCESS_REG() 2731 memcpy(inbuf->reg_data, reg_data, reg_len); in mlx4_ACCESS_REG() 2746 memcpy(reg_data, outbuf->reg_data, reg_len); in mlx4_ACCESS_REG()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.c | 569 u16 reg_len) in mlxsw_emad_alloc() argument 574 emad_len = (reg_len + sizeof(u32) + MLXSW_EMAD_ETH_HDR_LEN + in mlxsw_emad_alloc()
|
/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 | 6925 unsigned long reg_len; in pcidev_init() local 6946 reg_len = pci_resource_len(pdev, 0); in pcidev_init() 6950 if (!request_mem_region(reg_base, reg_len, DRV_NAME)) in pcidev_init() 6965 hw->io = ioremap(reg_base, reg_len); in pcidev_init() 7089 dev->mem_end = dev->mem_start + reg_len - 1; in pcidev_init() 7130 release_mem_region(reg_base, reg_len); in pcidev_init()
|
/drivers/media/dvb-frontends/ |
D | rtl2830.c | 775 size_t reg_len, const void *val, in rtl2830_regmap_gather_write() argument
|
D | rtl2832.c | 1011 size_t reg_len, const void *val, in rtl2832_regmap_gather_write() argument
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2540 fseg->reg_len = cpu_to_be64(mr->ibmr.length); in set_reg_seg()
|