Searched refs:res_count (Results 1 – 12 of 12) sorted by relevance
/drivers/hwmon/ |
D | pc87427.c | 1080 int i, err, res_count; in pc87427_probe() local 1091 res_count = (data->address[0] != 0) + (data->address[1] != 0); in pc87427_probe() 1093 err = pc87427_request_regions(pdev, res_count); in pc87427_probe() 1171 int err, i, res_count; in pc87427_device_add() local 1173 res_count = 0; in pc87427_device_add() 1177 res[res_count].start = sio_data->address[i]; in pc87427_device_add() 1178 res[res_count].end = sio_data->address[i] + REGION_LENGTH - 1; in pc87427_device_add() 1179 res[res_count].name = logdev_str[i]; in pc87427_device_add() 1181 err = acpi_check_resource_conflict(&res[res_count]); in pc87427_device_add() 1185 res_count++; in pc87427_device_add() [all …]
|
D | pc87360.c | 1717 int err, i, res_count; in pc87360_device_add() local 1727 res_count = 0; in pc87360_device_add() 1731 res[res_count].start = extra_isa[i]; in pc87360_device_add() 1732 res[res_count].end = extra_isa[i] + PC87360_EXTENT - 1; in pc87360_device_add() 1733 res[res_count].name = "pc87360", in pc87360_device_add() 1734 res[res_count].flags = IORESOURCE_IO, in pc87360_device_add() 1736 err = acpi_check_resource_conflict(&res[res_count]); in pc87360_device_add() 1740 res_count++; in pc87360_device_add() 1743 err = platform_device_add_resources(pdev, res, res_count); in pc87360_device_add()
|
/drivers/firewire/ |
D | ohci.c | 82 __le16 res_count; member 668 d->res_count = cpu_to_le16(PAGE_SIZE); in ar_context_link_page() 732 __le16 res_count, next_res_count; in ar_search_last_active_buffer() local 735 res_count = ACCESS_ONCE(ctx->descriptors[i].res_count); in ar_search_last_active_buffer() 738 while (i != last && res_count == 0) { in ar_search_last_active_buffer() 744 ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 761 ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 771 res_count = next_res_count; in ar_search_last_active_buffer() 776 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count); in ar_search_last_active_buffer() 1313 d[0].res_count = cpu_to_le16(packet->timestamp); in at_context_queue_packet() [all …]
|
/drivers/scsi/ |
D | libiscsi.c | 856 int res_count = be32_to_cpu(rhdr->bi_residual_count); in iscsi_scsi_cmd_rsp() local 858 if (scsi_bidi_cmnd(sc) && res_count > 0 && in iscsi_scsi_cmd_rsp() 860 res_count <= scsi_in(sc)->length)) in iscsi_scsi_cmd_rsp() 861 scsi_in(sc)->resid = res_count; in iscsi_scsi_cmd_rsp() 868 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_scsi_cmd_rsp() local 870 if (res_count > 0 && in iscsi_scsi_cmd_rsp() 872 res_count <= scsi_bufflen(sc))) in iscsi_scsi_cmd_rsp() 874 scsi_set_resid(sc, res_count); in iscsi_scsi_cmd_rsp() 906 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_data_in_rsp() local 908 if (res_count > 0 && in iscsi_data_in_rsp() [all …]
|
/drivers/mfd/ |
D | sm501.c | 702 unsigned int res_count, unsigned int platform_data_size) in sm501_create_subdev() argument 707 (sizeof(struct resource) * res_count) + in sm501_create_subdev() 718 if (res_count) { in sm501_create_subdev() 720 smdev->pdev.num_resources = res_count; in sm501_create_subdev()
|
/drivers/scsi/qla2xxx/ |
D | qla_mr.h | 458 int32_t res_count; member
|
D | qla_mr.c | 2237 fstatus.res_count = pkt->residuallen; in qlafx00_ioctl_iosb_entry()
|
/drivers/net/ethernet/apple/ |
D | bmac.c | 209 out_le16(&cp->res_count, 0); in dbdma_setcmd() 703 residual = ld_le16(&cp->res_count); in bmac_rxdma_intr() 731 st_le16(&cp->res_count, 0); in bmac_rxdma_intr()
|
D | mace.c | 905 nb = ld_le16(&cp->req_count) - ld_le16(&cp->res_count); in mace_rxdma_intr()
|
/drivers/ata/ |
D | pata_macio.c | 548 table->res_count = 0; in pata_macio_qc_prep()
|
/drivers/block/ |
D | swim3.c | 774 resid = ld_le16(&cp->res_count); in swim3_interrupt()
|
/drivers/ide/ |
D | pmac.c | 1517 table->res_count = 0; in pmac_ide_build_dmatable()
|