| /linux/drivers/cdx/controller/ |
| H A D | mcdi_functions.c | 78 dev_params->res_count = 0; in cdx_mcdi_get_dev_config() 80 res[dev_params->res_count].start = in cdx_mcdi_get_dev_config() 82 res[dev_params->res_count].end = in cdx_mcdi_get_dev_config() 86 res[dev_params->res_count].flags = IORESOURCE_MEM; in cdx_mcdi_get_dev_config() 87 dev_params->res_count++; in cdx_mcdi_get_dev_config() 91 res[dev_params->res_count].start = in cdx_mcdi_get_dev_config() 93 res[dev_params->res_count].end = in cdx_mcdi_get_dev_config() 97 res[dev_params->res_count].flags = IORESOURCE_MEM; in cdx_mcdi_get_dev_config() 98 dev_params->res_count++; in cdx_mcdi_get_dev_config() 102 res[dev_params->res_count].start = in cdx_mcdi_get_dev_config() [all …]
|
| /linux/arch/arm/mach-omap1/ |
| H A D | mcbsp.c | 292 static void omap_mcbsp_register_board_cfg(struct resource *res, int res_count, in omap_mcbsp_register_board_cfg() argument 310 platform_device_add_resources(new_mcbsp, &res[i * res_count], in omap_mcbsp_register_board_cfg() 311 res_count); in omap_mcbsp_register_board_cfg()
|
| /linux/arch/s390/boot/ |
| H A D | kaslr.c | 109 struct reserved_range *res, size_t res_count, in iterate_valid_positions() argument 113 struct reserved_range *res_end = res + res_count; in iterate_valid_positions()
|
| /linux/drivers/firewire/ |
| H A D | ohci.c | 77 __le16 res_count; member 529 d->res_count = cpu_to_le16(PAGE_SIZE); in ar_context_link_page() 595 __le16 res_count, next_res_count; in ar_search_last_active_buffer() local 598 res_count = READ_ONCE(ctx->descriptors[i].res_count); in ar_search_last_active_buffer() 601 while (i != last && res_count == 0) { in ar_search_last_active_buffer() 606 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 622 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 632 res_count = next_res_count; in ar_search_last_active_buffer() 637 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count); in ar_search_last_active_buffer() 1211 d[0].res_count = cpu_to_le16(packet->timestamp); in at_context_queue_packet() [all …]
|
| /linux/drivers/cdx/ |
| H A D | cdx.h | 41 u8 res_count; member
|
| /linux/fs/nfs/ |
| H A D | nfstrace.h | 1271 __field(u32, res_count) 1285 __entry->res_count = hdr->res.count; 1299 __entry->res_count, __entry->eof ? " eof" : "" 1317 __field(u32, res_count) 1331 __entry->res_count = hdr->res.count; 1345 __entry->res_count, __entry->eof ? " eof" : "" 1365 __field(u32, res_count) 1379 __entry->res_count = hdr->res.count; 1389 (long long)__entry->offset, __entry->arg_count, __entry->res_count, 1449 __field(u32, res_count) [all …]
|
| H A D | nfs4trace.h | 1694 __field(u32, res_count) 1716 __entry->res_count = hdr->res.count; 1737 __entry->arg_count, __entry->res_count, 1766 __field(u32, res_count) 1788 __entry->res_count = hdr->res.count; 1809 __entry->arg_count, __entry->res_count, 2617 __field(loff_t, res_count) 2647 __entry->res_count = 0; 2656 __entry->res_count = res->write_res.count; 2687 __entry->res_count
|
| /linux/arch/powerpc/include/asm/ |
| H A D | dbdma.h | 50 __le16 res_count; /* residual count after completion */ member
|
| /linux/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp.c | 864 int res_count; in bcmasp_disable_all_filters() local 866 res_count = bcmasp_total_res_mda_cnt(intf->parent); in bcmasp_disable_all_filters() 869 for (i = res_count; i < priv->num_mda_filters; i++) { in bcmasp_disable_all_filters() 908 int ret, res_count; in bcmasp_set_en_mda_filter() local 911 res_count = bcmasp_total_res_mda_cnt(intf->parent); in bcmasp_set_en_mda_filter() 913 for (i = res_count; i < priv->num_mda_filters; i++) { in bcmasp_set_en_mda_filter() 928 for (i = res_count; i < priv->num_mda_filters; i++) { in bcmasp_set_en_mda_filter()
|
| /linux/drivers/hwmon/ |
| H A D | pc87360.c | 1706 int err, i, res_count; in pc87360_device_add() local 1716 res_count = 0; in pc87360_device_add() 1720 res[res_count].start = extra_isa[i]; in pc87360_device_add() 1721 res[res_count].end = extra_isa[i] + PC87360_EXTENT - 1; in pc87360_device_add() 1722 res[res_count].name = "pc87360"; in pc87360_device_add() 1723 res[res_count].flags = IORESOURCE_IO; in pc87360_device_add() 1725 err = acpi_check_resource_conflict(&res[res_count]); in pc87360_device_add() 1729 res_count++; in pc87360_device_add() 1732 err = platform_device_add_resources(pdev, res, res_count); in pc87360_device_add()
|
| /linux/drivers/platform/x86/dell/ |
| H A D | alienware-wmi-wmax.c | 350 u8 res_count[4]; member 1307 for (unsigned int i = 0; i < ARRAY_SIZE(priv->res_count) - 1; i++) in awcc_platform_profile_probe() 1308 offset += priv->res_count[i]; in awcc_platform_profile_probe() 1539 for (unsigned int i = 0; i < ARRAY_SIZE(priv->res_count); i++) { in alienware_awcc_setup() 1540 if (priv->res_count[i] > AWCC_MAX_RES_COUNT) { in alienware_awcc_setup()
|
| /linux/include/linux/cdx/ |
| H A D | cdx_bus.h | 157 u8 res_count; member
|
| /linux/drivers/mfd/ |
| H A D | sm501.c | 658 unsigned int res_count, unsigned int platform_data_size) in sm501_create_subdev() argument 663 (sizeof(struct resource) * res_count) + in sm501_create_subdev() 675 if (res_count) { in sm501_create_subdev() 677 smdev->pdev.num_resources = res_count; in sm501_create_subdev()
|
| /linux/drivers/scsi/ |
| H A D | libiscsi.c | 938 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_scsi_cmd_rsp() local 940 if (res_count > 0 && in iscsi_scsi_cmd_rsp() 942 res_count <= scsi_bufflen(sc))) in iscsi_scsi_cmd_rsp() 944 scsi_set_resid(sc, res_count); in iscsi_scsi_cmd_rsp() 979 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_data_in_rsp() local 981 if (res_count > 0 && in iscsi_data_in_rsp() 983 res_count <= sc->sdb.length)) in iscsi_data_in_rsp() 984 scsi_set_resid(sc, res_count); in iscsi_data_in_rsp()
|
| /linux/sound/ppc/ |
| H A D | pmac.c | 300 count = in_le16(&cp->res_count); in snd_pmac_pcm_pointer() 402 res = le16_to_cpu(cp->res_count); in snd_pmac_pcm_dead_xfer() 406 cp->res_count = cpu_to_le16(0); in snd_pmac_pcm_dead_xfer()
|
| /linux/drivers/net/ethernet/apple/ |
| H A D | bmac.c | 204 out_le16(&cp->res_count, 0); in dbdma_setcmd() 693 residual = le16_to_cpu(cp->res_count); in bmac_rxdma_intr() 721 cp->res_count = cpu_to_le16(0); in bmac_rxdma_intr()
|
| H A D | mace.c | 906 nb = le16_to_cpu(cp->req_count) - le16_to_cpu(cp->res_count); in mace_rxdma_intr()
|
| /linux/drivers/firmware/ |
| H A D | ti_sci.c | 3615 int res_count = desc->num + desc->num_sec; in ti_sci_get_free_resource() local 3617 free_bit = find_first_zero_bit(desc->res_map, res_count); in ti_sci_get_free_resource() 3618 if (free_bit != res_count) { in ti_sci_get_free_resource() 3694 int i, ret, res_count; in devm_ti_sci_get_resource_sets() local 3723 res_count = res->desc[i].num + res->desc[i].num_sec; in devm_ti_sci_get_resource_sets() 3724 res->desc[i].res_map = devm_bitmap_zalloc(dev, res_count, in devm_ti_sci_get_resource_sets()
|
| /linux/drivers/block/ |
| H A D | swim3.c | 754 resid = le16_to_cpu(cp->res_count); in swim3_interrupt()
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_mr.c | 2215 fstatus.res_count = pkt->residuallen; in qlafx00_ioctl_iosb_entry()
|