/openbmc/linux/drivers/cdx/controller/ |
H A D | mcdi_functions.c | 76 dev_params->res_count = 0; in cdx_mcdi_get_dev_config() 78 res[dev_params->res_count].start = in cdx_mcdi_get_dev_config() 80 res[dev_params->res_count].end = in cdx_mcdi_get_dev_config() 84 res[dev_params->res_count].flags = IORESOURCE_MEM; in cdx_mcdi_get_dev_config() 85 dev_params->res_count++; in cdx_mcdi_get_dev_config() 89 res[dev_params->res_count].start = in cdx_mcdi_get_dev_config() 91 res[dev_params->res_count].end = in cdx_mcdi_get_dev_config() 95 res[dev_params->res_count].flags = IORESOURCE_MEM; in cdx_mcdi_get_dev_config() 96 dev_params->res_count++; in cdx_mcdi_get_dev_config() 100 res[dev_params->res_count].start = in cdx_mcdi_get_dev_config() [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A 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()
|
/openbmc/linux/drivers/vfio/cdx/ |
H A D | main.c | 16 int count = cdx_dev->res_count; in vfio_cdx_open_device() 71 info.num_regions = cdx_dev->res_count; in vfio_cdx_ioctl_get_info() 90 if (info.index >= cdx_dev->res_count) in vfio_cdx_ioctl_get_region_info() 150 if (index >= cdx_dev->res_count) in vfio_cdx_mmap()
|
/openbmc/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 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()
|
/openbmc/u-boot/cmd/ |
H A D | tpm-v1.c | 551 u16 res_count; in TPM_COMMAND_NO_ARG() local 564 res_count = get_unaligned_be16(buf); in TPM_COMMAND_NO_ARG() 566 for (i = 0; i < res_count; ++i, ptr += 4) in TPM_COMMAND_NO_ARG() 588 u16 res_count; in do_tpm_list() local 634 res_count = get_unaligned_be16(buf); in do_tpm_list() 638 if (!res_count) { in do_tpm_list() 641 for (i = 0; i < res_count; ++i, ptr += 4) in do_tpm_list()
|
/openbmc/linux/drivers/hwmon/ |
H A 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() 1143 int err, i, res_count; in pc87427_device_add() local 1145 res_count = 0; in pc87427_device_add() 1149 res[res_count].start = sio_data->address[i]; in pc87427_device_add() 1150 res[res_count].end = sio_data->address[i] + REGION_LENGTH - 1; in pc87427_device_add() 1151 res[res_count].name = logdev_str[i]; in pc87427_device_add() 1153 err = acpi_check_resource_conflict(&res[res_count]); in pc87427_device_add() 1157 res_count++; in pc87427_device_add() [all …]
|
H A D | pc87360.c | 1708 int err, i, res_count; in pc87360_device_add() local 1718 res_count = 0; in pc87360_device_add() 1722 res[res_count].start = extra_isa[i]; in pc87360_device_add() 1723 res[res_count].end = extra_isa[i] + PC87360_EXTENT - 1; in pc87360_device_add() 1724 res[res_count].name = "pc87360"; in pc87360_device_add() 1725 res[res_count].flags = IORESOURCE_IO; in pc87360_device_add() 1727 err = acpi_check_resource_conflict(&res[res_count]); in pc87360_device_add() 1731 res_count++; in pc87360_device_add() 1734 err = platform_device_add_resources(pdev, res, res_count); in pc87360_device_add()
|
/openbmc/u-boot/drivers/net/fsl-mc/ |
H A D | dprc.c | 215 int *res_count) in dprc_get_res_count() argument 220 *res_count = 0; in dprc_get_res_count() 234 DPRC_RSP_GET_RES_COUNT(cmd, *res_count); in dprc_get_res_count()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_csi2_bridge.c | 324 data->res_count++; in atomisp_csi2_handle_acpi_gpio_res() 368 data->map->params[i].crs_entry_index = data->res_count - 1; in atomisp_csi2_handle_acpi_gpio_res() 377 data->res_count - 1, agpio->resource_source.string_ptr, in atomisp_csi2_handle_acpi_gpio_res() 490 data.res_count != data.settings_count) in atomisp_csi2_add_gpio_mappings() 493 data.res_count, data.map_count); in atomisp_csi2_add_gpio_mappings()
|
H A D | atomisp_csi2.h | 51 unsigned int res_count; member
|
/openbmc/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()
|
/openbmc/linux/drivers/cdx/ |
H A D | cdx.h | 32 u8 res_count; member
|
H A D | cdx.c | 480 dev_params->res_count); in cdx_device_add() 481 cdx_dev->res_count = dev_params->res_count; in cdx_device_add()
|
/openbmc/linux/drivers/firewire/ |
H A D | ohci.c | 69 __le16 res_count; member 708 d->res_count = cpu_to_le16(PAGE_SIZE); in ar_context_link_page() 768 __le16 res_count, next_res_count; in ar_search_last_active_buffer() local 771 res_count = READ_ONCE(ctx->descriptors[i].res_count); in ar_search_last_active_buffer() 774 while (i != last && res_count == 0) { in ar_search_last_active_buffer() 779 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 795 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 805 res_count = next_res_count; in ar_search_last_active_buffer() 810 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count); in ar_search_last_active_buffer() 1348 d[0].res_count = cpu_to_le16(packet->timestamp); in at_context_queue_packet() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | nfstrace.h | 1167 __field(u32, res_count) 1181 __entry->res_count = hdr->res.count; 1195 __entry->res_count, __entry->eof ? " eof" : "" 1213 __field(u32, res_count) 1227 __entry->res_count = hdr->res.count; 1241 __entry->res_count, __entry->eof ? " eof" : "" 1261 __field(u32, res_count) 1275 __entry->res_count = hdr->res.count; 1285 (long long)__entry->offset, __entry->arg_count, __entry->res_count, 1345 __field(u32, res_count) [all …]
|
H A D | nfs4trace.h | 1489 __field(u32, res_count) 1511 __entry->res_count = hdr->res.count; 1532 __entry->arg_count, __entry->res_count, 1563 __field(u32, res_count) 1585 __entry->res_count = hdr->res.count; 1606 __entry->arg_count, __entry->res_count, 2262 __field(loff_t, res_count) 2295 __entry->res_count = 0; 2304 __entry->res_count = res->write_res.count; 2335 __entry->res_count
|
/openbmc/qemu/hw/misc/macio/ |
H A D | mac_dbdma.c | 83 DBDMA_DPRINTFCH(ch, " res_count 0x%04x\n", le16_to_cpu(cmd->res_count)); in dump_dbdma_cmd() 105 le16_to_cpu(ch->current.res_count)); in dbdma_cmdptr_save() 290 current->res_count = cpu_to_le16(io->len); in dbdma_end() 829 VMSTATE_UINT16(res_count, dbdma_cmd), 882 current->res_count = cpu_to_le16(io->len); in dbdma_unassigned_rw()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | dbdma.h | 50 __le16 res_count; /* residual count after completion */ member
|
/openbmc/linux/include/linux/cdx/ |
H A D | cdx_bus.h | 101 u8 res_count; member
|
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.c | 846 int res_count; in bcmasp_disable_all_filters() local 848 res_count = bcmasp_total_res_mda_cnt(intf->parent); in bcmasp_disable_all_filters() 851 for (i = res_count; i < NUM_MDA_FILTERS; i++) { in bcmasp_disable_all_filters() 890 int ret, res_count; in bcmasp_set_en_mda_filter() local 893 res_count = bcmasp_total_res_mda_cnt(intf->parent); in bcmasp_set_en_mda_filter() 895 for (i = res_count; i < NUM_MDA_FILTERS; i++) { in bcmasp_set_en_mda_filter() 910 for (i = res_count; i < NUM_MDA_FILTERS; i++) { in bcmasp_set_en_mda_filter()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | mac_dbdma.h | 98 uint16_t res_count; /* residual count after completion */ member
|
/openbmc/linux/drivers/staging/vt6655/ |
H A D | desc.h | 162 volatile __le16 res_count; member
|
H A D | dpc.c | 130 - le16_to_cpu(curr_rd->rd0.res_count); in vnt_receive_frame()
|
H A 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()
|
/openbmc/u-boot/include/fsl-mc/ |
H A D | fsl_dprc.h | 235 #define DPRC_RSP_GET_RES_COUNT(cmd, res_count) \ argument 236 MC_RSP_OP(cmd, 0, 0, 32, int, res_count) 766 int *res_count);
|