Home
last modified time | relevance | path

Searched refs:reglen (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/gpio/
A Dgpio-ich.c63 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 Dbfad_debugfs.c226 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 Dbfad_drv.h221 u32 reglen; member
/linux/arch/powerpc/boot/
A Ddevtree.c237 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 Dbnad_debugfs.c289 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 Dbnad.h354 u32 reglen; member
/linux/drivers/char/tpm/
A Dtpm_atmel.h46 int reglen; in atmel_get_base_addr() local
60 reg = of_get_property(dn, "reg", &reglen); in atmel_get_base_addr()
/linux/drivers/media/pci/saa7164/
A Dsaa7164-api.c1351 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 Dsaa7164.h520 int saa7164_api_i2c_read(struct saa7164_i2c *bus, u8 addr, u32 reglen, u8 *reg,
/linux/arch/powerpc/kernel/
A Dpci_of_scan.c353 int reglen, devfn; in of_scan_pci_dev() local
362 reg = of_get_property(dn, "reg", &reglen); in of_scan_pci_dev()
363 if (reg == NULL || reglen < 20) in of_scan_pci_dev()
/linux/net/ethtool/
A Dioctl.c1371 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 Dpci.c548 int reglen, devfn, prev_devfn; in pci_of_scan_bus() local
559 reg = of_get_property(child, "reg", &reglen); in pci_of_scan_bus()
560 if (reg == NULL || reglen < 20) in pci_of_scan_bus()

Completed in 26 milliseconds