Searched refs:res_count (Results 1 – 19 of 19) sorted by relevance
/drivers/hwmon/ |
D | pc87427.c | 1080 int i, err, res_count; in pc87427_probe() local 1089 res_count = (data->address[0] != 0) + (data->address[1] != 0); in pc87427_probe() 1091 err = pc87427_request_regions(pdev, res_count); in pc87427_probe() 1168 int err, i, res_count; in pc87427_device_add() local 1170 res_count = 0; in pc87427_device_add() 1174 res[res_count].start = sio_data->address[i]; in pc87427_device_add() 1175 res[res_count].end = sio_data->address[i] + REGION_LENGTH - 1; in pc87427_device_add() 1176 res[res_count].name = logdev_str[i]; in pc87427_device_add() 1178 err = acpi_check_resource_conflict(&res[res_count]); in pc87427_device_add() 1182 res_count++; in pc87427_device_add() [all …]
|
D | pc87360.c | 1719 int err, i, res_count; in pc87360_device_add() local 1729 res_count = 0; in pc87360_device_add() 1733 res[res_count].start = extra_isa[i]; in pc87360_device_add() 1734 res[res_count].end = extra_isa[i] + PC87360_EXTENT - 1; in pc87360_device_add() 1735 res[res_count].name = "pc87360", in pc87360_device_add() 1736 res[res_count].flags = IORESOURCE_IO, in pc87360_device_add() 1738 err = acpi_check_resource_conflict(&res[res_count]); in pc87360_device_add() 1742 res_count++; in pc87360_device_add() 1745 err = platform_device_add_resources(pdev, res, res_count); in pc87360_device_add()
|
/drivers/firewire/ |
D | ohci.c | 82 __le16 res_count; member 676 d->res_count = cpu_to_le16(PAGE_SIZE); in ar_context_link_page() 734 __le16 res_count, next_res_count; in ar_search_last_active_buffer() local 737 res_count = ACCESS_ONCE(ctx->descriptors[i].res_count); in ar_search_last_active_buffer() 740 while (i != last && res_count == 0) { in ar_search_last_active_buffer() 746 ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 763 ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 773 res_count = next_res_count; in ar_search_last_active_buffer() 778 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count); in ar_search_last_active_buffer() 1314 d[0].res_count = cpu_to_le16(packet->timestamp); in at_context_queue_packet() [all …]
|
/drivers/staging/vt6655/ |
D | desc.h | 177 volatile __le16 res_count; member
|
D | dpc.c | 147 - le16_to_cpu(curr_rd->rd0.res_count); in vnt_receive_frame()
|
D | card.c | 585 pDesc->rd0.res_count = cpu_to_le16(priv->rx_buf_sz); in CARDvSafeResetRx() 593 pDesc->rd0.res_count = cpu_to_le16(priv->rx_buf_sz); in CARDvSafeResetRx()
|
D | device_main.c | 753 rd->rd0.res_count = cpu_to_le16(priv->rx_buf_sz); in device_alloc_rx_buf()
|
/drivers/scsi/ |
D | libiscsi.c | 899 int res_count = be32_to_cpu(rhdr->bi_residual_count); in iscsi_scsi_cmd_rsp() local 901 if (scsi_bidi_cmnd(sc) && res_count > 0 && in iscsi_scsi_cmd_rsp() 903 res_count <= scsi_in(sc)->length)) in iscsi_scsi_cmd_rsp() 904 scsi_in(sc)->resid = res_count; in iscsi_scsi_cmd_rsp() 911 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_scsi_cmd_rsp() local 913 if (res_count > 0 && in iscsi_scsi_cmd_rsp() 915 res_count <= scsi_bufflen(sc))) in iscsi_scsi_cmd_rsp() 917 scsi_set_resid(sc, res_count); in iscsi_scsi_cmd_rsp() 949 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_data_in_rsp() local 951 if (res_count > 0 && in iscsi_data_in_rsp() [all …]
|
/drivers/staging/fsl-mc/bus/ |
D | dprc.c | 1105 int *res_count) in dprc_get_res_count() argument 1126 *res_count = le32_to_cpu(rsp_params->res_count); in dprc_get_res_count()
|
D | dprc-cmd.h | 331 __le32 res_count; member
|
/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/staging/fsl-mc/include/ |
D | dprc.h | 418 int *res_count);
|
/drivers/scsi/qla2xxx/ |
D | qla_mr.h | 442 int32_t res_count; member
|
D | qla_mr.c | 2238 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 = le16_to_cpu(cp->res_count); in bmac_rxdma_intr() 731 cp->res_count = cpu_to_le16(0); in bmac_rxdma_intr()
|
D | mace.c | 905 nb = le16_to_cpu(cp->req_count) - le16_to_cpu(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 | 775 resid = le16_to_cpu(cp->res_count); in swim3_interrupt()
|
/drivers/ide/ |
D | pmac.c | 1505 table->res_count = 0; in pmac_ide_build_dmatable()
|