res_count         173 arch/alpha/kernel/pci-sysfs.c 	int retval, nlen1, nlen2 = 0, res_count = 1;
res_count         200 arch/alpha/kernel/pci-sysfs.c 			res_count = 2;
res_count         204 arch/alpha/kernel/pci-sysfs.c 	attr = kzalloc(sizeof(*attr) * res_count + nlen1 + nlen2, GFP_ATOMIC);
res_count         209 arch/alpha/kernel/pci-sysfs.c 	attr_name = (char *)(attr + res_count);
res_count         213 arch/alpha/kernel/pci-sysfs.c 	if (retval || res_count == 1)
res_count         384 arch/arm/mach-omap1/mcbsp.c static void omap_mcbsp_register_board_cfg(struct resource *res, int res_count,
res_count         403 arch/arm/mach-omap1/mcbsp.c 		platform_device_add_resources(new_mcbsp, &res[i * res_count],
res_count         404 arch/arm/mach-omap1/mcbsp.c 					res_count);
res_count          50 arch/powerpc/include/asm/dbdma.h 	__le16 res_count;	/* residual count after completion */
res_count         551 drivers/ata/pata_macio.c 			table->res_count = 0;
res_count         737 drivers/block/swim3.c 		resid = le16_to_cpu(cp->res_count);
res_count          69 drivers/firewire/ohci.c 	__le16 res_count;
res_count         663 drivers/firewire/ohci.c 	d->res_count       =  cpu_to_le16(PAGE_SIZE);
res_count         721 drivers/firewire/ohci.c 	__le16 res_count, next_res_count;
res_count         724 drivers/firewire/ohci.c 	res_count = READ_ONCE(ctx->descriptors[i].res_count);
res_count         727 drivers/firewire/ohci.c 	while (i != last && res_count == 0) {
res_count         732 drivers/firewire/ohci.c 		next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count);
res_count         748 drivers/firewire/ohci.c 				next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count);
res_count         758 drivers/firewire/ohci.c 		res_count = next_res_count;
res_count         763 drivers/firewire/ohci.c 	*buffer_offset = PAGE_SIZE - le16_to_cpu(res_count);
res_count        1305 drivers/firewire/ohci.c 	d[0].res_count = cpu_to_le16(packet->timestamp);
res_count        1453 drivers/firewire/ohci.c 	packet->timestamp = le16_to_cpu(last->res_count);
res_count        2802 drivers/firewire/ohci.c 	unsigned int req_count, res_count, completed;
res_count        2806 drivers/firewire/ohci.c 	res_count = le16_to_cpu(READ_ONCE(last->res_count));
res_count        2807 drivers/firewire/ohci.c 	completed = req_count - res_count;
res_count        2815 drivers/firewire/ohci.c 	if (res_count != 0)
res_count        2909 drivers/firewire/ohci.c 	ctx->last_timestamp = le16_to_cpu(last->res_count);
res_count        2912 drivers/firewire/ohci.c 			       le16_to_cpu(pd->res_count));
res_count        3334 drivers/firewire/ohci.c 		d->res_count    = d->req_count;
res_count        3350 drivers/firewire/ohci.c 			pd->res_count = pd->req_count;
res_count        3413 drivers/firewire/ohci.c 		d->res_count = d->req_count;
res_count        1687 drivers/hwmon/pc87360.c 	int err, i, res_count;
res_count        1697 drivers/hwmon/pc87360.c 	res_count = 0;
res_count        1701 drivers/hwmon/pc87360.c 		res[res_count].start = extra_isa[i];
res_count        1702 drivers/hwmon/pc87360.c 		res[res_count].end = extra_isa[i] + PC87360_EXTENT - 1;
res_count        1703 drivers/hwmon/pc87360.c 		res[res_count].name = "pc87360",
res_count        1704 drivers/hwmon/pc87360.c 		res[res_count].flags = IORESOURCE_IO,
res_count        1706 drivers/hwmon/pc87360.c 		err = acpi_check_resource_conflict(&res[res_count]);
res_count        1710 drivers/hwmon/pc87360.c 		res_count++;
res_count        1713 drivers/hwmon/pc87360.c 	err = platform_device_add_resources(pdev, res, res_count);
res_count        1055 drivers/hwmon/pc87427.c 	int i, err, res_count;
res_count        1064 drivers/hwmon/pc87427.c 	res_count = (data->address[0] != 0) + (data->address[1] != 0);
res_count        1066 drivers/hwmon/pc87427.c 	err = pc87427_request_regions(pdev, res_count);
res_count        1143 drivers/hwmon/pc87427.c 	int err, i, res_count;
res_count        1145 drivers/hwmon/pc87427.c 	res_count = 0;
res_count        1149 drivers/hwmon/pc87427.c 		res[res_count].start = sio_data->address[i];
res_count        1150 drivers/hwmon/pc87427.c 		res[res_count].end = sio_data->address[i] + REGION_LENGTH - 1;
res_count        1151 drivers/hwmon/pc87427.c 		res[res_count].name = logdev_str[i];
res_count        1153 drivers/hwmon/pc87427.c 		err = acpi_check_resource_conflict(&res[res_count]);
res_count        1157 drivers/hwmon/pc87427.c 		res_count++;
res_count        1167 drivers/hwmon/pc87427.c 	err = platform_device_add_resources(pdev, res, res_count);
res_count        1501 drivers/ide/pmac.c 			table->res_count = 0;
res_count         701 drivers/mfd/sm501.c 		    unsigned int res_count, unsigned int platform_data_size)
res_count         706 drivers/mfd/sm501.c 			(sizeof(struct resource) * res_count) +
res_count         718 drivers/mfd/sm501.c 	if (res_count) {
res_count         720 drivers/mfd/sm501.c 		smdev->pdev.num_resources = res_count;
res_count         206 drivers/net/ethernet/apple/bmac.c 	out_le16(&cp->res_count, 0);
res_count         698 drivers/net/ethernet/apple/bmac.c 		residual = le16_to_cpu(cp->res_count);
res_count         726 drivers/net/ethernet/apple/bmac.c 		cp->res_count = cpu_to_le16(0);
res_count         903 drivers/net/ethernet/apple/mace.c 	nb = le16_to_cpu(cp->req_count) - le16_to_cpu(cp->res_count);
res_count         862 drivers/scsi/libiscsi.c 		int res_count = be32_to_cpu(rhdr->residual_count);
res_count         864 drivers/scsi/libiscsi.c 		if (res_count > 0 &&
res_count         866 drivers/scsi/libiscsi.c 		     res_count <= scsi_bufflen(sc)))
res_count         868 drivers/scsi/libiscsi.c 			scsi_set_resid(sc, res_count);
res_count         903 drivers/scsi/libiscsi.c 		int res_count = be32_to_cpu(rhdr->residual_count);
res_count         905 drivers/scsi/libiscsi.c 		if (res_count > 0 &&
res_count         907 drivers/scsi/libiscsi.c 		     res_count <= sc->sdb.length))
res_count         908 drivers/scsi/libiscsi.c 			scsi_set_resid(sc, res_count);
res_count        2244 drivers/scsi/qla2xxx/qla_mr.c 		fstatus.res_count = pkt->residuallen;
res_count         441 drivers/scsi/qla2xxx/qla_mr.h 	int32_t res_count;
res_count         560 drivers/staging/vt6655/card.c 		pDesc->rd0.res_count = cpu_to_le16(priv->rx_buf_sz);
res_count         568 drivers/staging/vt6655/card.c 		pDesc->rd0.res_count = cpu_to_le16(priv->rx_buf_sz);
res_count         164 drivers/staging/vt6655/desc.h 	volatile __le16 res_count;
res_count         799 drivers/staging/vt6655/device_main.c 	rd->rd0.res_count = cpu_to_le16(priv->rx_buf_sz);
res_count         132 drivers/staging/vt6655/dpc.c 			- le16_to_cpu(curr_rd->rd0.res_count);
res_count         319 sound/ppc/pmac.c 		count = in_le16(&cp->res_count);
res_count         424 sound/ppc/pmac.c 	res = le16_to_cpu(cp->res_count);
res_count         428 sound/ppc/pmac.c 	cp->res_count = cpu_to_le16(0);