Home
last modified time | relevance | path

Searched refs:start_index (Results 1 – 25 of 63) sorted by relevance

123

/Linux-v4.19/drivers/video/fbdev/core/
Dsysimgblt.c53 void *dst1, u32 start_index, u32 pitch_index) in color_imageblit() argument
70 if (start_index) { in color_imageblit()
72 start_index)); in color_imageblit()
74 shift = start_index; in color_imageblit()
105 start_index += pitch_index; in color_imageblit()
106 start_index &= 32 - 1; in color_imageblit()
113 u32 start_index, u32 pitch_index) in slow_imageblit() argument
135 if (start_index) { in slow_imageblit()
137 start_index)); in slow_imageblit()
139 shift = start_index; in slow_imageblit()
[all …]
Dcfbimgblt.c77 u32 start_index, in color_imageblit() argument
96 if (start_index) { in color_imageblit()
98 start_index, bswapmask); in color_imageblit()
100 shift = start_index; in color_imageblit()
131 start_index += pitch_index; in color_imageblit()
132 start_index &= 32 - 1; in color_imageblit()
140 u32 start_index, in slow_imageblit() argument
164 if (start_index) { in slow_imageblit()
166 start_index, bswapmask); in slow_imageblit()
168 shift = start_index; in slow_imageblit()
[all …]
/Linux-v4.19/kernel/trace/
Dtrace_printk.c122 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
135 if (!v || start_index == *pos) { in find_next_mod_format()
140 if (start_index == *pos) in find_next_mod_format()
142 start_index++; in find_next_mod_format()
179 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
256 int start_index; in find_next() local
259 start_index = __stop___trace_bprintk_fmt - __start___trace_bprintk_fmt; in find_next()
261 if (*pos < start_index) in find_next()
276 last_index = start_index; in find_next()
277 start_index = __stop___tracepoint_str - __start___tracepoint_str; in find_next()
[all …]
/Linux-v4.19/mm/
Dfadvise.c37 pgoff_t start_index; in generic_fadvise() local
98 start_index = offset >> PAGE_SHIFT; in generic_fadvise()
102 nrpages = end_index - start_index + 1; in generic_fadvise()
110 force_page_cache_readahead(mapping, file, start_index, nrpages); in generic_fadvise()
124 start_index = (offset+(PAGE_SIZE-1)) >> PAGE_SHIFT; in generic_fadvise()
146 if (end_index >= start_index) { in generic_fadvise()
161 start_index, end_index); in generic_fadvise()
169 if (count < (end_index - start_index + 1)) { in generic_fadvise()
171 invalidate_mapping_pages(mapping, start_index, in generic_fadvise()
/Linux-v4.19/drivers/misc/altera-stapl/
Daltera-jtag.h87 int altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index,
89 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index,
91 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index,
93 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index,
102 u8 *tdi_data, u32 start_index);
108 u8 *tdi_data, u32 start_index);
Daltera-jtag.c131 u32 count, u32 start_index, in altera_set_dr_pre() argument
150 j = i + start_index; in altera_set_dr_pre()
169 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index, in altera_set_ir_pre() argument
189 j = i + start_index; in altera_set_ir_pre()
207 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index, in altera_set_dr_post() argument
228 j = i + start_index; in altera_set_dr_post()
247 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index, in altera_set_ir_post() argument
269 j = i + start_index; in altera_set_ir_post()
408 u32 start_index, in altera_concatenate_data() argument
427 j = start_index; in altera_concatenate_data()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c257 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm_helper_translate_curve_to_hw_format() local
311 start_index = (region_start + k + MAX_LOW_POINT) * in cm_helper_translate_curve_to_hw_format()
313 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
325 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
326 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_hw_format()
327 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm_helper_translate_curve_to_hw_format()
328 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm_helper_translate_curve_to_hw_format()
439 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm_helper_translate_curve_to_degamma_hw_format() local
473 start_index = (region_start + k + MAX_LOW_POINT) * in cm_helper_translate_curve_to_degamma_hw_format()
475 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_degamma_hw_format()
[all …]
/Linux-v4.19/drivers/soc/qcom/
Dspm.c69 u8 start_index[PM_SLEEP_MODE_NR]; member
92 .start_index[PM_SLEEP_MODE_STBY] = 0,
93 .start_index[PM_SLEEP_MODE_SPC] = 3,
114 .start_index[PM_SLEEP_MODE_STBY] = 0,
115 .start_index[PM_SLEEP_MODE_SPC] = 2,
160 u32 start_index; in spm_set_low_power_mode() local
163 start_index = drv->reg_data->start_index[mode]; in spm_set_low_power_mode()
167 ctl_val |= start_index << SPM_CTL_INDEX_SHIFT; in spm_set_low_power_mode()
/Linux-v4.19/arch/ia64/sn/pci/pcibr/
Dpcibr_ate.c84 int start_index; in alloc_ate_resource() local
95 start_index = in alloc_ate_resource()
98 if (start_index >= 0) in alloc_ate_resource()
99 mark_ate(ate_resource, start_index, ate_needed, ate_needed); in alloc_ate_resource()
104 return start_index; in alloc_ate_resource()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_kvdl.c33 unsigned int start_index; member
47 .start_index = MLXSW_SP1_KVDL_##id##_BASE, \
96 if (kvdl_index >= part->info.start_index && in mlxsw_sp1_kvdl_index_part()
108 return info->start_index + entry_index * info->alloc_size; in mlxsw_sp1_kvdl_to_kvdl_index()
115 return (kvdl_index - info->start_index) / info->alloc_size; in mlxsw_sp1_kvdl_to_entry_index()
124 nr_entries = (info->end_index - info->start_index + 1) / in mlxsw_sp1_kvdl_part_alloc()
202 part->info.start_index = part_prev->info.end_index + 1; in mlxsw_sp1_kvdl_part_update()
203 part->info.end_index = part->info.start_index + size - 1; in mlxsw_sp1_kvdl_part_update()
224 resource_size = info->end_index - info->start_index + 1; in mlxsw_sp1_kvdl_part_init()
286 info->start_index + 1) / in mlxsw_sp1_kvdl_part_occ()
Dspectrum_fid.c64 u16 start_index; member
280 if (vid < fid_family->start_index || vid > fid_family->end_index) in mlxsw_sp_fid_8021q_index_alloc()
366 .start_index = 1,
405 nr_fids = fid_family->end_index - fid_family->start_index + 1; in mlxsw_sp_fid_8021d_index_alloc()
409 *p_fid_index = fid_family->start_index + fid_index; in mlxsw_sp_fid_8021d_index_alloc()
424 return fid->fid_index - fid->fid_family->start_index; in mlxsw_sp_fid_8021d_flood_index()
570 .start_index = VLAN_N_VID,
593 *p_fid_index = fid->fid_family->start_index + rif_index; in mlxsw_sp_fid_rfid_index_alloc()
603 return fid->fid_index == rif_index + fid->fid_family->start_index; in mlxsw_sp_fid_rfid_compare()
657 .start_index = MLXSW_SP_RFID_BASE,
[all …]
/Linux-v4.19/arch/sparc/kernel/
Dcpumap.c43 int start_index; /* Index of first node of a level in a cpuinfo tree */ member
133 lv->start_index = lv->end_index = lv->num_nodes = 0; in enumerate_cpuinfo_nodes()
165 tree_level[CPUINFO_LVL_NODE].start_index = 1; in enumerate_cpuinfo_nodes()
169 tree_level[CPUINFO_LVL_CORE].start_index = n; in enumerate_cpuinfo_nodes()
173 tree_level[CPUINFO_LVL_PROC].start_index = n; in enumerate_cpuinfo_nodes()
209 n = new_tree->level[level].start_index; in build_cpuinfo_tree()
224 ? new_tree->level[level - 1].start_index : -1; in build_cpuinfo_tree()
228 ? cpu : new_tree->level[level + 1].start_index; in build_cpuinfo_tree()
/Linux-v4.19/include/trace/events/
Dfs_dax.h228 TP_PROTO(struct inode *inode, pgoff_t start_index, pgoff_t end_index),
229 TP_ARGS(inode, start_index, end_index),
232 __field(pgoff_t, start_index)
239 __entry->start_index = start_index;
246 __entry->start_index,
253 TP_PROTO(struct inode *inode, pgoff_t start_index, pgoff_t end_index),\
254 TP_ARGS(inode, start_index, end_index))
/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw_virtchnl.h81 u32 start_index; member
114 u32 start_index,
119 u32 start_index,
Di40iw_virtchnl.c130 u32 start_index, in vchnl_vf_send_add_hmc_objs_req() argument
148 add_hmc_obj->start_index = start_index; in vchnl_vf_send_add_hmc_objs_req()
168 u32 start_index, in vchnl_vf_send_del_hmc_objs_req() argument
186 add_hmc_obj->start_index = start_index; in vchnl_vf_send_del_hmc_objs_req()
359 info.start_idx = add_hmc_obj->start_index; in pf_add_hmc_obj_callback()
394 info.start_idx = del_hmc_obj->start_index; in pf_del_hmc_obj_callback()
659 u32 start_index, in i40iw_vchnl_vf_add_hmc_objs() argument
674 start_index, in i40iw_vchnl_vf_add_hmc_objs()
697 u32 start_index, in i40iw_vchnl_vf_del_hmc_obj() argument
712 start_index, in i40iw_vchnl_vf_del_hmc_obj()
/Linux-v4.19/kernel/
Dkcov.c119 u64 count, start_index, end_pos, max_pos; in write_comp_data() local
137 start_index = 1 + count * KCOV_WORDS_PER_CMP; in write_comp_data()
138 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data()
140 area[start_index] = type; in write_comp_data()
141 area[start_index + 1] = arg1; in write_comp_data()
142 area[start_index + 2] = arg2; in write_comp_data()
143 area[start_index + 3] = ip; in write_comp_data()
/Linux-v4.19/fs/squashfs/
Dfile_direct.c36 int start_index = target_page->index & ~mask; in squashfs_readpage_block() local
37 int end_index = start_index | mask; in squashfs_readpage_block()
46 pages = end_index - start_index + 1; in squashfs_readpage_block()
61 for (missing_pages = 0, i = 0, n = start_index; i < pages; i++, n++) { in squashfs_readpage_block()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.h70 __field(u32, start_index)
81 __entry->start_index = fg->start_index;
82 __entry->end_index = fg->start_index + fg->max_ftes;
104 __entry->start_index, __entry->end_index,
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_mr.c255 int start_index, u64 *buffer_list, int list_len) in __mthca_write_mtt() argument
270 start_index * 8); in __mthca_write_mtt()
290 start_index += i; in __mthca_write_mtt()
316 struct mthca_mtt *mtt, int start_index, in mthca_tavor_write_mtt_seg() argument
323 start_index * sizeof (u64); in mthca_tavor_write_mtt_seg()
330 struct mthca_mtt *mtt, int start_index, in mthca_arbel_write_mtt_seg() argument
336 int s = start_index * sizeof (u64); in mthca_arbel_write_mtt_seg()
359 int start_index, u64 *buffer_list, int list_len) in mthca_write_mtt() argument
366 return __mthca_write_mtt(dev, mtt, start_index, buffer_list, list_len); in mthca_write_mtt()
371 mthca_arbel_write_mtt_seg(dev, mtt, start_index, in mthca_write_mtt()
[all …]
/Linux-v4.19/drivers/acpi/acpica/
Dnsrepair2.c74 u32 start_index,
761 u32 start_index, in acpi_ns_check_sorted_list() argument
787 if (!outer_element_count || start_index >= outer_element_count) { in acpi_ns_check_sorted_list()
791 outer_elements = &return_object->package.elements[start_index]; in acpi_ns_check_sorted_list()
792 outer_element_count -= start_index; in acpi_ns_check_sorted_list()
831 elements[start_index], in acpi_ns_check_sorted_list()
Dnsprepkg.c29 u8 type2, u32 count2, u32 start_index);
705 u8 type2, u32 count2, u32 start_index) in acpi_ns_check_package_elements() argument
718 type1, i + start_index); in acpi_ns_check_package_elements()
729 (i + count1 + start_index)); in acpi_ns_check_package_elements()
/Linux-v4.19/arch/powerpc/mm/
Dslice.c82 unsigned long start_index = GET_HIGH_SLICE_INDEX(start); in slice_range_to_mask() local
84 unsigned long count = GET_HIGH_SLICE_INDEX(align_end) - start_index; in slice_range_to_mask()
86 bitmap_set(ret->high_slices, start_index, count); in slice_range_to_mask()
196 unsigned long start_index = GET_HIGH_SLICE_INDEX(start); in slice_check_range_fits() local
198 unsigned long count = GET_HIGH_SLICE_INDEX(align_end) - start_index; in slice_check_range_fits()
201 for (i = start_index; i < start_index + count; i++) { in slice_check_range_fits()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dmr.c98 int *start_index, int *npages) in mlx4_ib_umem_write_mtt_block() argument
134 err = mlx4_write_mtt(dev->dev, mtt, *start_index, in mlx4_ib_umem_write_mtt_block()
139 (*start_index) += *npages; in mlx4_ib_umem_write_mtt_block()
191 int start_index = 0; in mlx4_ib_umem_write_mtt() local
217 pages, &start_index, in mlx4_ib_umem_write_mtt()
235 &start_index, &npages); in mlx4_ib_umem_write_mtt()
241 err = mlx4_write_mtt(dev->dev, mtt, start_index, npages, pages); in mlx4_ib_umem_write_mtt()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dmr.c692 int start_index, int npages, u64 *page_list) in mlx4_write_mtt_chunk() argument
700 start_index, &dma_handle); in mlx4_write_mtt_chunk()
718 int start_index, int npages, u64 *page_list) in __mlx4_write_mtt() argument
727 max_mtts_first_page = mtts_per_page - (mtt->offset + start_index) in __mlx4_write_mtt()
733 err = mlx4_write_mtt_chunk(dev, mtt, start_index, chunk, page_list); in __mlx4_write_mtt()
737 start_index += chunk; in __mlx4_write_mtt()
746 int start_index, int npages, u64 *page_list) in mlx4_write_mtt() argument
766 inbox[0] = cpu_to_be64(mtt->offset + start_index); in mlx4_write_mtt()
778 start_index += chunk; in mlx4_write_mtt()
785 return __mlx4_write_mtt(dev, mtt, start_index, npages, page_list); in mlx4_write_mtt()
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-desc.c531 unsigned int start_index, cur_index; in xgbe_map_tx_skb() local
538 start_index = ring->cur; in xgbe_map_tx_skb()
646 packet->rdesc_count = cur_index - start_index; in xgbe_map_tx_skb()
653 while (start_index < cur_index) { in xgbe_map_tx_skb()
654 rdata = XGBE_GET_DESC_DATA(ring, start_index++); in xgbe_map_tx_skb()

123