| /OK3568_Linux_fs/kernel/arch/alpha/kernel/ |
| H A D | pci-sysfs.c | 173 int retval, nlen1, nlen2 = 0, res_count = 1; in pci_create_attr() local 200 res_count = 2; in pci_create_attr() 204 attr = kzalloc(sizeof(*attr) * res_count + nlen1 + nlen2, GFP_ATOMIC); in pci_create_attr() 209 attr_name = (char *)(attr + res_count); in pci_create_attr() 213 if (retval || res_count == 1) in pci_create_attr()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | tpm.c | 724 uint16_t res_count; in TPM_COMMAND_NO_ARG() local 737 res_count = get_unaligned_be16(buf); in TPM_COMMAND_NO_ARG() 739 for (i = 0; i < res_count; ++i, ptr += 4) in TPM_COMMAND_NO_ARG() 760 uint16_t res_count; in do_tpm_list() local 802 res_count = get_unaligned_be16(buf); in do_tpm_list() 806 if (!res_count) { in do_tpm_list() 809 for (i = 0; i < res_count; ++i, ptr += 4) in do_tpm_list()
|
| /OK3568_Linux_fs/kernel/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 | 1687 int err, i, res_count; in pc87360_device_add() local 1697 res_count = 0; in pc87360_device_add() 1701 res[res_count].start = extra_isa[i]; in pc87360_device_add() 1702 res[res_count].end = extra_isa[i] + PC87360_EXTENT - 1; in pc87360_device_add() 1703 res[res_count].name = "pc87360", in pc87360_device_add() 1704 res[res_count].flags = IORESOURCE_IO, in pc87360_device_add() 1706 err = acpi_check_resource_conflict(&res[res_count]); in pc87360_device_add() 1710 res_count++; in pc87360_device_add() 1713 err = platform_device_add_resources(pdev, res, res_count); in pc87360_device_add()
|
| /OK3568_Linux_fs/u-boot/drivers/net/fsl-mc/ |
| H A D | dprc.c | 216 int *res_count) in dprc_get_res_count() argument 221 *res_count = 0; in dprc_get_res_count() 235 DPRC_RSP_GET_RES_COUNT(cmd, *res_count); in dprc_get_res_count()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap1/ |
| H A D | mcbsp.c | 384 static void omap_mcbsp_register_board_cfg(struct resource *res, int res_count, in omap_mcbsp_register_board_cfg() argument 403 platform_device_add_resources(new_mcbsp, &res[i * res_count], in omap_mcbsp_register_board_cfg() 404 res_count); in omap_mcbsp_register_board_cfg()
|
| /OK3568_Linux_fs/kernel/fs/nfs/ |
| H A D | nfstrace.h | 932 __field(u32, res_count) 946 __entry->res_count = hdr->res.count; 960 __entry->res_count, __entry->status, 979 __field(u32, res_count) 993 __entry->res_count = hdr->res.count; 1007 __entry->res_count, __entry->status, 1027 __field(u32, res_count) 1041 __entry->res_count = hdr->res.count; 1051 (long long)__entry->offset, __entry->arg_count, __entry->res_count, 1121 __field(u32, res_count) [all …]
|
| H A D | nfs4trace.h | 1752 __field(u32, res_count) 1774 __entry->res_count = hdr->res.count; 1795 __entry->arg_count, __entry->res_count, 1826 __field(u32, res_count) 1848 __entry->res_count = hdr->res.count; 1869 __entry->arg_count, __entry->res_count,
|
| /OK3568_Linux_fs/kernel/drivers/firewire/ |
| H A D | ohci.c | 69 __le16 res_count; member 663 d->res_count = cpu_to_le16(PAGE_SIZE); in ar_context_link_page() 720 __le16 res_count, next_res_count; in ar_search_last_active_buffer() local 723 res_count = READ_ONCE(ctx->descriptors[i].res_count); in ar_search_last_active_buffer() 726 while (i != last && res_count == 0) { in ar_search_last_active_buffer() 731 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 747 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer() 757 res_count = next_res_count; in ar_search_last_active_buffer() 762 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count); in ar_search_last_active_buffer() 1301 d[0].res_count = cpu_to_le16(packet->timestamp); in at_context_queue_packet() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/fiq_debugger/ |
| H A D | rk_fiq_debugger.c | 848 int res_count = 0; in rk_serial_debug_init() local 921 res_count++; in rk_serial_debug_init() 929 res_count++; in rk_serial_debug_init() 937 res_count++; in rk_serial_debug_init() 953 pdev->num_resources = res_count; in rk_serial_debug_init()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | dbdma.h | 50 __le16 res_count; /* residual count after completion */ member
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/alsc/ |
| H A D | rk_aiq_types_alsc_algo_prvt.h | 79 uint32_t res_count; member
|
| H A D | rk_aiq_alsc_algo.cpp | 508 for(uint32_t i = 0; i < illu_case->res_count; i++) { in GetLscResIdxByName() 598 for (uint32_t res_id = 0; res_id < illu_case.res_count; res_id++) in ClearContext() 719 illu_case.res_count = calib2->common.resolutionAll_len; in UpdateLscCalibPara() 721 (illu_case.res_count * sizeof(alsc_illu_case_resolution_t)); in UpdateLscCalibPara() 722 memset(illu_case.res_group, 0, illu_case.res_count * sizeof(alsc_illu_case_resolution_t)); in UpdateLscCalibPara() 724 for(uint32_t res_id = 0; res_id < illu_case.res_count; res_id++) in UpdateLscCalibPara() 833 for (int i = 0; i < illu_case.res_count; i++) { in print_alsc_illu_case()
|
| /OK3568_Linux_fs/kernel/drivers/staging/vt6655/ |
| H A D | desc.h | 164 volatile __le16 res_count; member
|
| H A D | dpc.c | 132 - le16_to_cpu(curr_rd->rd0.res_count); in vnt_receive_frame()
|
| H A D | card.c | 499 pDesc->rd0.res_count = cpu_to_le16(priv->rx_buf_sz); in CARDvSafeResetRx() 507 pDesc->rd0.res_count = cpu_to_le16(priv->rx_buf_sz); in CARDvSafeResetRx()
|
| /OK3568_Linux_fs/u-boot/include/fsl-mc/ |
| H A D | fsl_dprc.h | 237 #define DPRC_RSP_GET_RES_COUNT(cmd, res_count) \ argument 238 MC_RSP_OP(cmd, 0, 0, 32, int, res_count) 777 int *res_count);
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | libiscsi.c | 860 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_scsi_cmd_rsp() local 862 if (res_count > 0 && in iscsi_scsi_cmd_rsp() 864 res_count <= scsi_bufflen(sc))) in iscsi_scsi_cmd_rsp() 866 scsi_set_resid(sc, res_count); in iscsi_scsi_cmd_rsp() 901 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_data_in_rsp() local 903 if (res_count > 0 && in iscsi_data_in_rsp() 905 res_count <= sc->sdb.length)) in iscsi_data_in_rsp() 906 scsi_set_resid(sc, res_count); in iscsi_data_in_rsp()
|
| /OK3568_Linux_fs/kernel/sound/ppc/ |
| H A D | pmac.c | 301 count = in_le16(&cp->res_count); in snd_pmac_pcm_pointer() 406 res = le16_to_cpu(cp->res_count); in snd_pmac_pcm_dead_xfer() 410 cp->res_count = cpu_to_le16(0); in snd_pmac_pcm_dead_xfer()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/ |
| H A D | qla_mr.h | 440 int32_t res_count; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/apple/ |
| H A D | bmac.c | 206 out_le16(&cp->res_count, 0); in dbdma_setcmd() 698 residual = le16_to_cpu(cp->res_count); in bmac_rxdma_intr() 726 cp->res_count = cpu_to_le16(0); in bmac_rxdma_intr()
|
| H A D | mace.c | 903 nb = le16_to_cpu(cp->req_count) - le16_to_cpu(cp->res_count); in mace_rxdma_intr()
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | pata_macio.c | 551 table->res_count = 0; in pata_macio_qc_prep()
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | pmac.c | 1500 table->res_count = 0; in pmac_ide_build_dmatable()
|