/drivers/soc/ti/ |
D | knav_qmss_acc.c | 123 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 …]
|
D | knav_qmss.h | 108 int list_size; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 257 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 …]
|
D | en_fs.c | 166 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()
|
D | fs_cmd.c | 603 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/ |
D | nsxfname.c | 310 (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()
|
D | utids.c | 304 cid_list->list_size = cid_list_size; in acpi_ut_execute_CID()
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_cmd.c | 724 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/ |
D | esas2r_init.c | 854 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()
|
D | esas2r_int.c | 234 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()
|
D | esas2r_io.c | 149 if (a->last_write >= a->list_size) { in esas2r_start_vda_request()
|
D | esas2r.h | 885 u32 list_size; member
|
/drivers/of/ |
D | base.c | 1535 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/ |
D | dc395x.c | 681 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/ |
D | vpdma.c | 531 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()
|
D | vpdma_priv.h | 520 u32 list_size; member
|
/drivers/media/usb/hdpvr/ |
D | hdpvr-video.c | 33 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/ |
D | vdpa.c | 908 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/ |
D | gfx_v9_0.c | 2532 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()
|
D | gfx_v8_0.c | 3905 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/ |
D | atmel-isc-base.c | 1781 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/ |
D | i40e_main.c | 2558 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/ |
D | aic79xx_core.c | 5976 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()
|