Home
last modified time | relevance | path

Searched refs:list_size (Results 1 – 23 of 23) sorted by relevance

/drivers/soc/ti/
Dknav_qmss_acc.c123 dma_sync_single_for_cpu(kdev->dev, list_dma, info->list_size, in knav_acc_int_handler()
126 for (list = list_cpu; list < list_cpu + (info->list_size / sizeof(u32)); in knav_acc_int_handler()
178 memset(list_cpu, 0, info->list_size); in knav_acc_int_handler()
179 dma_sync_single_for_device(kdev->dev, list_dma, info->list_size, in knav_acc_int_handler()
479 int list_size, mem_size; in knav_init_acc_range() local
542 list_size = info->list_entries; in knav_init_acc_range()
543 list_size *= ACC_LIST_ENTRY_WORDS * sizeof(u32); in knav_init_acc_range()
544 info->list_size = list_size; in knav_init_acc_range()
545 mem_size = PAGE_ALIGN(list_size * 2); in knav_init_acc_range()
574 acc->list_cpu[1] = list_mem + list_size; in knav_init_acc_range()
[all …]
Dknav_qmss.h108 int list_size; member
/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c257 int *list_size) in mlx5_query_nic_vport_mac_list() argument
268 req_list_size = *list_size; in mlx5_query_nic_vport_mac_list()
302 *list_size = req_list_size; in mlx5_query_nic_vport_mac_list()
318 int list_size) in mlx5_modify_nic_vport_mac_list() argument
332 if (list_size > max_list_size) in mlx5_modify_nic_vport_mac_list()
336 list_size * MLX5_ST_SZ_BYTES(mac_address_layout); in mlx5_modify_nic_vport_mac_list()
353 allowed_list_size, list_size); in mlx5_modify_nic_vport_mac_list()
355 for (i = 0; i < list_size; i++) { in mlx5_modify_nic_vport_mac_list()
370 int list_size) in mlx5_modify_nic_vport_vlans() argument
382 if (list_size > max_list_size) in mlx5_modify_nic_vport_vlans()
[all …]
Den_fs.c166 int list_size; in mlx5e_vport_context_update_vlans() local
172 list_size = 0; in mlx5e_vport_context_update_vlans()
174 list_size++; in mlx5e_vport_context_update_vlans()
178 if (list_size > max_list_size) { in mlx5e_vport_context_update_vlans()
180 list_size, max_list_size); in mlx5e_vport_context_update_vlans()
181 list_size = max_list_size; in mlx5e_vport_context_update_vlans()
184 vlans = kvcalloc(list_size, sizeof(*vlans), GFP_KERNEL); in mlx5e_vport_context_update_vlans()
190 if (i >= list_size) in mlx5e_vport_context_update_vlans()
195 err = mlx5_modify_nic_vport_vlans(fs->mdev, vlans, list_size); in mlx5e_vport_context_update_vlans()
Dfs_cmd.c603 int list_size = 0; in mlx5_cmd_set_fte() local
665 list_size++; in mlx5_cmd_set_fte()
669 list_size); in mlx5_cmd_set_fte()
676 int list_size = 0; in mlx5_cmd_set_fte() local
686 list_size++; in mlx5_cmd_set_fte()
688 if (list_size > max_list_size) { in mlx5_cmd_set_fte()
694 list_size); in mlx5_cmd_set_fte()
/drivers/acpi/acpica/
Dnsxfname.c310 (cid_list->list_size - in acpi_get_object_info()
411 info->compatible_id_list.list_size = cid_list->list_size; in acpi_get_object_info()
Dutids.c304 cid_list->list_size = cid_list_size; in acpi_ut_execute_CID()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c724 int list_size = 0; in mlx5dr_cmd_set_fte() local
788 list_size++; in mlx5dr_cmd_set_fte()
792 list_size); in mlx5dr_cmd_set_fte()
799 int list_size = 0; in mlx5dr_cmd_set_fte() local
809 list_size++; in mlx5dr_cmd_set_fte()
811 if (list_size > max_list_size) { in mlx5dr_cmd_set_fte()
817 list_size); in mlx5dr_cmd_set_fte()
/drivers/scsi/esas2r/
Desas2r_init.c854 a->list_size = num_requests + ESAS2R_LIST_EXTRA; in esas2r_init_adapter_struct()
857 a->inbound_list_md.size = a->list_size * in esas2r_init_adapter_struct()
867 a->outbound_list_md.size = a->list_size * in esas2r_init_adapter_struct()
905 for (i = 0; i < a->list_size; i++) { in esas2r_init_adapter_struct()
1065 a->last_read = a->list_size - 1; in esas2r_check_adapter()
1091 | (a->list_size << MU_ILC_NUMBER_SHIFT); in esas2r_check_adapter()
1095 dw |= MU_OLC_ENTRY_4_DW | (a->list_size << MU_OLC_NUMBER_SHIFT); in esas2r_check_adapter()
Desas2r_int.c234 if (unlikely(rspput_ptr >= a->list_size)) { in esas2r_get_outbound_responses()
245 if (rspget_ptr >= a->list_size) in esas2r_get_outbound_responses()
427 a->last_read = a->list_size - 1; in esas2r_process_adapter_reset()
Desas2r_io.c149 if (a->last_write >= a->list_size) { in esas2r_start_vda_request()
Desas2r.h885 u32 list_size; member
/drivers/of/
Dbase.c1535 u32 list_size, new_size; in of_parse_phandle_with_args_map() local
1564 ret = of_property_read_u32(cur, cells_name, &list_size); in of_parse_phandle_with_args_map()
1569 for (i = 0; i < list_size; i++) in of_parse_phandle_with_args_map()
1588 while (map_len > (list_size + 1) && !match) { in of_parse_phandle_with_args_map()
1591 for (i = 0; i < list_size; i++, map_len--) in of_parse_phandle_with_args_map()
1637 if (i < list_size) { in of_parse_phandle_with_args_map()
1644 out_args->args_count = list_size = new_size; in of_parse_phandle_with_args_map()
/drivers/scsi/
Ddc395x.c681 static unsigned int list_size(struct list_head *head) in list_size() function
802 pos->max_command <= list_size(&pos->srb_going_list)) { in waiting_process_next()
845 if (dcb->max_command <= list_size(&dcb->srb_going_list) || in send_srb()
3241 tempcnt = (u8)list_size(&dcb->srb_going_list); in srb_done()
3397 list_size(&dcb->srb_waiting_list), dcb->target_id, in doing_srb_done()
3687 if (list_size(&dcb->srb_going_list) > 1) { in adapter_remove_and_free_device()
3691 list_size(&dcb->srb_going_list)); in adapter_remove_and_free_device()
3710 list_size(&acb->dcb_list)); in adapter_remove_and_free_all_devices()
4470 seq_printf(m, "Nr of DCBs: %i\n", list_size(&acb->dcb_list)); in dc395x_show_info()
4518 list_size(&dcb->srb_waiting_list)); in dc395x_show_info()
[all …]
/drivers/media/platform/ti/vpe/
Dvpdma.c531 int list_size; in vpdma_submit_descs() local
538 list_size = (list->next - list->buf.addr) >> 4; in vpdma_submit_descs()
546 list_size); in vpdma_submit_descs()
Dvpdma_priv.h520 u32 list_size; member
/drivers/media/usb/hdpvr/
Dhdpvr-video.c33 list_size(&dev->free_buff_list), \
34 list_size(&dev->rec_buff_list)); }
55 static uint list_size(struct list_head *list) in list_size() function
/drivers/vhost/
Dvdpa.c908 unsigned long list_size = PAGE_SIZE / sizeof(struct page *); in vhost_vdpa_pa_map() local
943 sz2pin = min_t(unsigned long, npages, list_size); in vhost_vdpa_pa_map()
/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_0.c2532 int list_size, in gfx_v9_1_parse_ind_reg_list() argument
2541 for (; indirect_offset < list_size; indirect_offset++) { in gfx_v9_1_parse_ind_reg_list()
2575 int list_size = 0; in gfx_v9_1_init_rlc_save_restore_list() local
2640 list_size = adev->gfx.rlc.reg_list_size_bytes >> 2; in gfx_v9_1_init_rlc_save_restore_list()
2641 list_size = list_size >> 1; in gfx_v9_1_init_rlc_save_restore_list()
2644 WREG32(SOC15_REG_OFFSET(GC, 0, mmRLC_GPM_SCRATCH_DATA), list_size); in gfx_v9_1_init_rlc_save_restore_list()
Dgfx_v8_0.c3905 int list_size, in gfx_v8_0_parse_ind_reg_list() argument
3916 for (; ind_offset < list_size; ind_offset++) { in gfx_v8_0_parse_ind_reg_list()
3961 int list_size; in gfx_v8_0_init_save_restore_list() local
3990 list_size = adev->gfx.rlc.reg_list_size_bytes >> 2; in gfx_v8_0_init_save_restore_list()
3991 list_size = list_size >> 1; in gfx_v8_0_init_save_restore_list()
3993 WREG32(mmRLC_GPM_SCRATCH_DATA, list_size); in gfx_v8_0_init_save_restore_list()
/drivers/media/platform/atmel/
Datmel-isc-base.c1781 u32 list_size = isc->formats_list_size; in isc_formats_init() local
1813 for (i = 0, j = 0; i < list_size; i++) { in isc_formats_init()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c2558 int list_size; in i40e_sync_vsi_filters() local
2642 list_size = filter_list_len * in i40e_sync_vsi_filters()
2644 del_list = kzalloc(list_size, GFP_ATOMIC); in i40e_sync_vsi_filters()
2680 memset(del_list, 0, list_size); in i40e_sync_vsi_filters()
2703 list_size = filter_list_len * in i40e_sync_vsi_filters()
2705 add_list = kzalloc(list_size, GFP_ATOMIC); in i40e_sync_vsi_filters()
2747 memset(add_list, 0, list_size); in i40e_sync_vsi_filters()
/drivers/scsi/aic7xxx/
Daic79xx_core.c5976 bus_size_t list_size; in ahd_sglist_size() local
5978 list_size = sizeof(struct ahd_dma_seg) * AHD_NSEG; in ahd_sglist_size()
5980 list_size = sizeof(struct ahd_dma64_seg) * AHD_NSEG; in ahd_sglist_size()
5981 return (list_size); in ahd_sglist_size()