/linux/drivers/gpio/ |
A D | gpio-ich.c | 63 const u8 *reglen; member 294 .reglen = ichx_reglen, 315 .reglen = ichx_reglen, 323 .reglen = ichx_reglen, 331 .reglen = ichx_reglen, 339 .reglen = ichx_reglen, 345 .reglen = ichx_reglen, 352 .reglen = ichx_reglen, 362 .reglen = avoton_reglen, 379 ichx_priv.desc->reglen[i], name)) in ichx_gpio_request_regions()
|
/linux/drivers/scsi/bfa/ |
A D | bfad_debugfs.c | 226 bfad->regdata, bfad->reglen); in bfad_debugfs_read_regrd() 228 if ((*pos + nbytes) >= bfad->reglen) { in bfad_debugfs_read_regrd() 231 bfad->reglen = 0; in bfad_debugfs_read_regrd() 269 bfad->reglen = 0; in bfad_debugfs_write_regrd() 278 bfad->reglen = len << 2; in bfad_debugfs_write_regrd() 289 bfad->reglen = 0; in bfad_debugfs_write_regrd()
|
A D | bfad_drv.h | 221 u32 reglen; member
|
/linux/arch/powerpc/boot/ |
A D | devtree.c | 237 static int dt_xlate(void *node, int res, int reglen, unsigned long *addr, in dt_xlate() argument 257 if (reglen < offset + naddr + nsize || in dt_xlate() 321 int reglen; in dt_xlate_reg() local 323 reglen = getprop(node, "reg", prop_buf, sizeof(prop_buf)) / 4; in dt_xlate_reg() 324 return dt_xlate(node, res, reglen, addr, size); in dt_xlate_reg()
|
/linux/drivers/net/ethernet/brocade/bna/ |
A D | bnad_debugfs.c | 289 bnad->regdata, bnad->reglen); in bnad_debugfs_read_regrd() 291 if ((*pos + nbytes) >= bnad->reglen) { in bnad_debugfs_read_regrd() 294 bnad->reglen = 0; in bnad_debugfs_read_regrd() 328 bnad->reglen = 0; in bnad_debugfs_write_regrd() 334 bnad->reglen = len << 2; in bnad_debugfs_write_regrd() 344 bnad->reglen = 0; in bnad_debugfs_write_regrd()
|
A D | bnad.h | 354 u32 reglen; member
|
/linux/drivers/char/tpm/ |
A D | tpm_atmel.h | 46 int reglen; in atmel_get_base_addr() local 60 reg = of_get_property(dn, "reg", ®len); in atmel_get_base_addr()
|
/linux/drivers/media/pci/saa7164/ |
A D | saa7164-api.c | 1351 int saa7164_api_i2c_read(struct saa7164_i2c *bus, u8 addr, u32 reglen, u8 *reg, in saa7164_api_i2c_read() argument 1361 __func__, addr, reglen, datalen); in saa7164_api_i2c_read() 1363 if (reglen > 4) in saa7164_api_i2c_read() 1372 memcpy((buf + 2 * sizeof(u32) + 0), reg, reglen); in saa7164_api_i2c_read() 1373 *((u32 *)(buf + 0 * sizeof(u32))) = reglen; in saa7164_api_i2c_read() 1405 memcpy(data, (buf + 2 * sizeof(u32) + reglen), datalen); in saa7164_api_i2c_read() 1418 int reglen; in saa7164_api_i2c_write() local 1438 reglen = saa7164_i2caddr_to_reglen(bus, addr); in saa7164_api_i2c_write() 1439 if (reglen < 0) { in saa7164_api_i2c_write() 1461 *((u32 *)(buf + 0 * sizeof(u32))) = reglen; in saa7164_api_i2c_write() [all …]
|
A D | saa7164.h | 520 int saa7164_api_i2c_read(struct saa7164_i2c *bus, u8 addr, u32 reglen, u8 *reg,
|
/linux/arch/powerpc/kernel/ |
A D | pci_of_scan.c | 353 int reglen, devfn; in of_scan_pci_dev() local 362 reg = of_get_property(dn, "reg", ®len); in of_scan_pci_dev() 363 if (reg == NULL || reglen < 20) in of_scan_pci_dev()
|
/linux/net/ethtool/ |
A D | ioctl.c | 1371 int reglen, ret; in ethtool_get_regs() local 1379 reglen = ops->get_regs_len(dev); in ethtool_get_regs() 1380 if (reglen <= 0) in ethtool_get_regs() 1381 return reglen; in ethtool_get_regs() 1383 if (regs.len > reglen) in ethtool_get_regs() 1384 regs.len = reglen; in ethtool_get_regs() 1386 regbuf = vzalloc(reglen); in ethtool_get_regs() 1390 if (regs.len < reglen) in ethtool_get_regs() 1391 reglen = regs.len; in ethtool_get_regs() 1399 if (copy_to_user(useraddr, regbuf, reglen)) in ethtool_get_regs()
|
/linux/arch/sparc/kernel/ |
A D | pci.c | 548 int reglen, devfn, prev_devfn; in pci_of_scan_bus() local 559 reg = of_get_property(child, "reg", ®len); in pci_of_scan_bus() 560 if (reg == NULL || reglen < 20) in pci_of_scan_bus()
|