Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/of/
Ddevice.c84 int cplen, i; in of_device_get_modalias() local
92 compat = of_get_property(dev->of_node, "compatible", &cplen); in of_device_get_modalias()
97 for (i = (cplen - 1); i >= 0 && !compat[i]; i--) in of_device_get_modalias()
98 cplen--; in of_device_get_modalias()
99 if (!cplen) in of_device_get_modalias()
101 cplen++; in of_device_get_modalias()
104 tsize = csize + cplen; in of_device_get_modalias()
111 cplen = len - csize - 1; in of_device_get_modalias()
116 memcpy(&str[csize + 1], compat, cplen); in of_device_get_modalias()
134 int seen = 0, cplen, sl; in of_device_uevent() local
[all …]
Dbase.c232 int cplen, l; in of_device_is_compatible() local
234 cp = of_get_property(device, "compatible", &cplen); in of_device_is_compatible()
237 while (cplen > 0) { in of_device_is_compatible()
242 cplen -= l; in of_device_is_compatible()
591 int cplen; in of_modalias_node() local
593 compatible = of_get_property(node, "compatible", &cplen); in of_modalias_node()
594 if (!compatible || strlen(compatible) > cplen) in of_modalias_node()
Dfdt.c90 unsigned long cplen, l, score = 0; in of_fdt_is_compatible() local
92 cp = of_fdt_get_property(blob, node, "compatible", &cplen); in of_fdt_is_compatible()
95 while (cplen > 0) { in of_fdt_is_compatible()
101 cplen -= l; in of_fdt_is_compatible()
/linux-3.4.99/drivers/macintosh/
Dmacio_sysfs.c20 int cplen; in compatible_show() local
24 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in compatible_show()
29 while (cplen > 0) { in compatible_show()
35 cplen -= l; in compatible_show()
/linux-3.4.99/sound/aoa/soundbus/
Dcore.c65 int cplen, seen = 0; in soundbus_uevent() local
89 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in soundbus_uevent()
90 while (compat && cplen > 0) { in soundbus_uevent()
96 cplen -= env->buflen - tmp; in soundbus_uevent()
/linux-3.4.99/drivers/mtd/maps/
Dphysmap_of.c122 int cplen; in of_get_probes() local
127 cp = of_get_property(dp, "linux,part-probe", &cplen); in of_get_probes()
132 for (l = 0; l != cplen; l++) in of_get_probes()
138 while (cplen > 0) { in of_get_probes()
142 cplen -= l; in of_get_probes()
/linux-3.4.99/drivers/scsi/
Deata_pio.c428 outsw(base + HA_RDATA, cp, hd->cplen); in eata_pio_queue_lck()
548 …data(unsigned long base, unsigned int irq, unsigned int id, unsigned long cplen, unsigned short cp… in get_pio_board_data() argument
579 outsw(base + HA_RDATA, &cp, cplen); in get_pio_board_data()
696 unsigned long cplen; in register_pio_HBA() local
709 …if ((buff = get_pio_board_data(base, gc->IRQ, gc->scsi_id[3], cplen = (cpu_to_be32(gc->cplen) + 1)… in register_pio_HBA()
788 SD(sh)->cplen = cplen; in register_pio_HBA()
Deata_generic.h231 __u32 cplen; /* CP length: number of valid cp bytes */ member
351 __u32 cplen; /* size of CP in words */ member
Dadvansys.c2920 static int asc_prt_board_devices(struct Scsi_Host *shost, char *cp, int cplen) in asc_prt_board_devices() argument
2929 leftlen = cplen; in asc_prt_board_devices()
2960 static int asc_prt_adv_bios(struct Scsi_Host *shost, char *cp, int cplen) in asc_prt_adv_bios() argument
2968 leftlen = cplen; in asc_prt_adv_bios()
3125 static int asc_prt_asc_board_eeprom(struct Scsi_Host *shost, char *cp, int cplen) in asc_prt_asc_board_eeprom() argument
3142 leftlen = cplen; in asc_prt_asc_board_eeprom()
3258 static int asc_prt_adv_board_eeprom(struct Scsi_Host *shost, char *cp, int cplen) in asc_prt_adv_board_eeprom() argument
3284 leftlen = cplen; in asc_prt_adv_board_eeprom()
3544 static int asc_prt_driver_conf(struct Scsi_Host *shost, char *cp, int cplen) in asc_prt_driver_conf() argument
3552 leftlen = cplen; in asc_prt_driver_conf()
[all …]
/linux-3.4.99/drivers/mtd/nand/
Dalauda.c403 size_t cplen = min(len, mtd->writesize - byte); in alauda_bounce_read() local
410 memcpy(buf, bounce_buf + byte, cplen); in alauda_bounce_read()
411 buf += cplen; in alauda_bounce_read()
412 from += cplen; in alauda_bounce_read()
413 len -= cplen; in alauda_bounce_read()
/linux-3.4.99/net/sunrpc/
Dxdr.c697 size_t cplen = (char *)xdr->end - (char *)xdr->p; in xdr_copy_to_scratch() local
701 memcpy(cpdest, xdr->p, cplen); in xdr_copy_to_scratch()
702 cpdest += cplen; in xdr_copy_to_scratch()
703 nbytes -= cplen; in xdr_copy_to_scratch()
/linux-3.4.99/fs/ocfs2/
Dxattr.c1093 size_t cplen, blocksize; in ocfs2_xattr_get_value_outside() local
1121 cplen = len >= blocksize ? blocksize : len; in ocfs2_xattr_get_value_outside()
1122 memcpy(buffer, bh->b_data, cplen); in ocfs2_xattr_get_value_outside()
1123 len -= cplen; in ocfs2_xattr_get_value_outside()
1124 buffer += cplen; in ocfs2_xattr_get_value_outside()