/linux-6.12.1/drivers/cdx/controller/ |
D | mcdi_functions.c | 79 dev_params->res_count = 0; in cdx_mcdi_get_dev_config() 81 res[dev_params->res_count].start = in cdx_mcdi_get_dev_config() 83 res[dev_params->res_count].end = in cdx_mcdi_get_dev_config() 87 res[dev_params->res_count].flags = IORESOURCE_MEM; in cdx_mcdi_get_dev_config() 88 dev_params->res_count++; in cdx_mcdi_get_dev_config() 92 res[dev_params->res_count].start = in cdx_mcdi_get_dev_config() 94 res[dev_params->res_count].end = in cdx_mcdi_get_dev_config() 98 res[dev_params->res_count].flags = IORESOURCE_MEM; in cdx_mcdi_get_dev_config() 99 dev_params->res_count++; in cdx_mcdi_get_dev_config() 103 res[dev_params->res_count].start = in cdx_mcdi_get_dev_config() [all …]
|
/linux-6.12.1/arch/alpha/kernel/ |
D | pci-sysfs.c | 175 int retval, nlen1, nlen2 = 0, res_count = 1; in pci_create_attr() local 202 res_count = 2; in pci_create_attr() 206 attr = kzalloc(sizeof(*attr) * res_count + nlen1 + nlen2, GFP_ATOMIC); in pci_create_attr() 211 attr_name = (char *)(attr + res_count); in pci_create_attr() 215 if (retval || res_count == 1) in pci_create_attr()
|
/linux-6.12.1/arch/arm/mach-omap1/ |
D | mcbsp.c | 292 static void omap_mcbsp_register_board_cfg(struct resource *res, int res_count, in omap_mcbsp_register_board_cfg() argument 311 platform_device_add_resources(new_mcbsp, &res[i * res_count], in omap_mcbsp_register_board_cfg() 312 res_count); in omap_mcbsp_register_board_cfg()
|
/linux-6.12.1/drivers/vfio/cdx/ |
D | main.c | 16 int count = cdx_dev->res_count; in vfio_cdx_open_device() 126 info.num_regions = cdx_dev->res_count; in vfio_cdx_ioctl_get_info() 145 if (info.index >= cdx_dev->res_count) in vfio_cdx_ioctl_get_region_info() 265 if (index >= cdx_dev->res_count) in vfio_cdx_mmap()
|
/linux-6.12.1/drivers/hwmon/ |
D | pc87427.c | 1055 int i, err, res_count; in pc87427_probe() local 1064 res_count = (data->address[0] != 0) + (data->address[1] != 0); in pc87427_probe() 1066 err = pc87427_request_regions(pdev, res_count); in pc87427_probe() 1141 int err, i, res_count; in pc87427_device_add() local 1143 res_count = 0; in pc87427_device_add() 1147 res[res_count].start = sio_data->address[i]; in pc87427_device_add() 1148 res[res_count].end = sio_data->address[i] + REGION_LENGTH - 1; in pc87427_device_add() 1149 res[res_count].name = logdev_str[i]; in pc87427_device_add() 1151 err = acpi_check_resource_conflict(&res[res_count]); in pc87427_device_add() 1155 res_count++; in pc87427_device_add() [all …]
|
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-6.12.1/drivers/staging/media/atomisp/pci/ |
D | atomisp_csi2_bridge.c | 340 data->res_count++; in atomisp_csi2_handle_acpi_gpio_res() 384 data->map->params[i].crs_entry_index = data->res_count - 1; in atomisp_csi2_handle_acpi_gpio_res() 393 data->res_count - 1, agpio->resource_source.string_ptr, in atomisp_csi2_handle_acpi_gpio_res() 506 data.res_count != data.settings_count) in atomisp_csi2_add_gpio_mappings() 509 data.res_count, data.map_count); in atomisp_csi2_add_gpio_mappings()
|
D | atomisp_csi2.h | 51 unsigned int res_count; member
|
/linux-6.12.1/arch/s390/boot/ |
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-6.12.1/drivers/cdx/ |
D | cdx.h | 41 u8 res_count; member
|
D | cdx.c | 797 dev_params->res_count); in cdx_device_add() 798 cdx_dev->res_count = dev_params->res_count; in cdx_device_add()
|
/linux-6.12.1/drivers/firewire/ |
D | ohci.c | 77 __le16 res_count; member 742 d->res_count = cpu_to_le16(PAGE_SIZE); in ar_context_link_page() 802 __le16 res_count, next_res_count; in ar_search_last_active_buffer() local 805 res_count = READ_ONCE(ctx->descriptors[i].res_count); in ar_search_last_active_buffer() 808 while (i != last && res_count == 0) { in ar_search_last_active_buffer() 813 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 829 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 839 res_count = next_res_count; in ar_search_last_active_buffer() 844 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count); in ar_search_last_active_buffer() 1408 d[0].res_count = cpu_to_le16(packet->timestamp); in at_context_queue_packet() [all …]
|
/linux-6.12.1/fs/nfs/ |
D | nfstrace.h | 1177 __field(u32, res_count) 1191 __entry->res_count = hdr->res.count; 1205 __entry->res_count, __entry->eof ? " eof" : "" 1223 __field(u32, res_count) 1237 __entry->res_count = hdr->res.count; 1251 __entry->res_count, __entry->eof ? " eof" : "" 1271 __field(u32, res_count) 1285 __entry->res_count = hdr->res.count; 1295 (long long)__entry->offset, __entry->arg_count, __entry->res_count, 1355 __field(u32, res_count) [all …]
|
D | nfs4trace.h | 1519 __field(u32, res_count) 1541 __entry->res_count = hdr->res.count; 1562 __entry->arg_count, __entry->res_count, 1593 __field(u32, res_count) 1615 __entry->res_count = hdr->res.count; 1636 __entry->arg_count, __entry->res_count, 2404 __field(loff_t, res_count) 2437 __entry->res_count = 0; 2446 __entry->res_count = res->write_res.count; 2477 __entry->res_count
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | dbdma.h | 50 __le16 res_count; /* residual count after completion */ member
|
/linux-6.12.1/drivers/net/ethernet/broadcom/asp2/ |
D | bcmasp.c | 863 int res_count; in bcmasp_disable_all_filters() local 865 res_count = bcmasp_total_res_mda_cnt(intf->parent); in bcmasp_disable_all_filters() 868 for (i = res_count; i < NUM_MDA_FILTERS; i++) { in bcmasp_disable_all_filters() 907 int ret, res_count; in bcmasp_set_en_mda_filter() local 910 res_count = bcmasp_total_res_mda_cnt(intf->parent); in bcmasp_set_en_mda_filter() 912 for (i = res_count; i < NUM_MDA_FILTERS; i++) { in bcmasp_set_en_mda_filter() 927 for (i = res_count; i < NUM_MDA_FILTERS; i++) { in bcmasp_set_en_mda_filter()
|
/linux-6.12.1/drivers/staging/vt6655/ |
D | desc.h | 162 volatile __le16 res_count; member
|
D | dpc.c | 130 - le16_to_cpu(curr_rd->rd0.res_count); in vnt_receive_frame()
|
D | card.c | 444 pDesc->rd0.res_count = cpu_to_le16(priv->rx_buf_sz); in CARDvSafeResetRx() 452 pDesc->rd0.res_count = cpu_to_le16(priv->rx_buf_sz); in CARDvSafeResetRx()
|
/linux-6.12.1/include/linux/cdx/ |
D | cdx_bus.h | 160 u8 res_count; member
|
/linux-6.12.1/drivers/mfd/ |
D | sm501.c | 701 unsigned int res_count, unsigned int platform_data_size) in sm501_create_subdev() argument 706 (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()
|
/linux-6.12.1/drivers/scsi/ |
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-6.12.1/sound/ppc/ |
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-6.12.1/drivers/firmware/ |
D | ti_sci.c | 3076 int res_count = desc->num + desc->num_sec; in ti_sci_get_free_resource() local 3078 free_bit = find_first_zero_bit(desc->res_map, res_count); in ti_sci_get_free_resource() 3079 if (free_bit != res_count) { in ti_sci_get_free_resource() 3155 int i, ret, res_count; in devm_ti_sci_get_resource_sets() local 3184 res_count = res->desc[i].num + res->desc[i].num_sec; in devm_ti_sci_get_resource_sets() 3185 res->desc[i].res_map = devm_bitmap_zalloc(dev, res_count, in devm_ti_sci_get_resource_sets()
|
/linux-6.12.1/drivers/scsi/qla2xxx/ |
D | qla_mr.h | 444 int32_t res_count; member
|