Searched refs:start_index (Results 1 - 25 of 71) sorted by path

123

/linux-master/drivers/gpu/drm/radeon/
H A Drv6xx_dpm.c241 u32 start_index, u8 *end_index)
246 u32 step_index = start_index;
306 u32 start_index, u32 end_index)
310 for (step_index = start_index + 1; step_index < end_index; step_index++)
239 rv6xx_generate_steps(struct radeon_device *rdev, u32 low, u32 high, u32 start_index, u8 *end_index) argument
305 rv6xx_invalidate_intermediate_steps_range(struct radeon_device *rdev, u32 start_index, u32 end_index) argument
/linux-master/drivers/misc/altera-stapl/
H A Daltera-jtag.c117 u32 count, u32 start_index,
136 j = i + start_index;
155 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index, argument
175 j = i + start_index;
193 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index, argument
214 j = i + start_index;
233 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index, argument
255 j = i + start_index;
394 u32 start_index,
413 j = start_index;
116 altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index, u8 *preamble_data) argument
390 altera_concatenate_data(u8 *buffer, u8 *preamble_data, u32 preamble_count, u8 *target_data, u32 start_index, u32 target_count, u8 *postamble_data, u32 postamble_count) argument
558 altera_extract_target_data(u8 *buffer, u8 *target_data, u32 start_index, u32 preamble_count, u32 target_count) argument
583 altera_irscan(struct altera_state *astate, u32 count, u8 *tdi_data, u32 start_index) argument
786 altera_drscan(struct altera_state *astate, u32 count, u8 *tdi_data, u32 start_index) argument
[all...]
H A Daltera-jtag.h73 int altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index,
75 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index,
77 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index,
79 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index,
88 u8 *tdi_data, u32 start_index);
94 u8 *tdi_data, u32 start_index);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.h105 __field(u32, start_index)
116 __entry->start_index = fg->start_index;
117 __entry->end_index = fg->start_index + fg->max_ftes;
139 __entry->start_index, __entry->end_index,
/linux-master/drivers/video/fbdev/via/
H A Dhw.c973 int start_index, end_index, cr_index; local
979 start_index = reg[i].start_bit;
984 for (j = start_index; j <= end_index; j++) {
989 data | ((get_bit >> shift_next_reg) << start_index);
/linux-master/include/trace/events/
H A 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-master/arch/powerpc/include/uapi/asm/
H A Dkvm.h403 __u64 start_index; member in struct:kvm_get_htab_fd
/linux-master/arch/powerpc/kvm/
H A Dbook3s_64_mmu_hv.c1980 ctx->index = ghf->start_index;
/linux-master/arch/powerpc/mm/book3s64/
H A Dslice.c78 unsigned long start_index = GET_HIGH_SLICE_INDEX(start); local
80 unsigned long count = GET_HIGH_SLICE_INDEX(align_end) - start_index;
82 bitmap_set(ret->high_slices, start_index, count);
156 unsigned long start_index = GET_HIGH_SLICE_INDEX(start); local
158 unsigned long count = GET_HIGH_SLICE_INDEX(align_end) - start_index;
161 for (i = start_index; i < start_index + count; i++) {
/linux-master/arch/sparc/kernel/
H A Dcpumap.c43 int start_index; /* Index of first node of a level in a cpuinfo tree */ member in struct:cpuinfo_level
133 lv->start_index = lv->end_index = lv->num_nodes = 0;
165 tree_level[CPUINFO_LVL_NODE].start_index = 1;
169 tree_level[CPUINFO_LVL_CORE].start_index = n;
173 tree_level[CPUINFO_LVL_PROC].start_index = n;
208 n = new_tree->level[level].start_index;
223 ? new_tree->level[level - 1].start_index : -1;
227 ? cpu : new_tree->level[level + 1].start_index;
/linux-master/drivers/acpi/acpica/
H A Dnsprepkg.c29 u8 type2, u32 count2, u32 start_index);
691 * start_index - Start of the first group of elements
705 u8 type2, u32 count2, u32 start_index)
720 type1, i + start_index);
731 (i + count1 + start_index));
701 acpi_ns_check_package_elements(struct acpi_evaluate_info *info, union acpi_operand_object **elements, u8 type1, u32 count1, u8 type2, u32 count2, u32 start_index) argument
H A Dnsrepair2.c74 u32 start_index,
748 * start_index - Index of the first subpackage
765 u32 start_index,
791 if (!outer_element_count || start_index >= outer_element_count) {
795 outer_elements = &return_object->package.elements[start_index];
796 outer_element_count -= start_index;
835 elements[start_index],
763 acpi_ns_check_sorted_list(struct acpi_evaluate_info *info, union acpi_operand_object *return_object, u32 start_index, u32 expected_count, u32 sort_index, u8 sort_direction, char *sort_key_name) argument
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_cm_common.c346 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; local
399 start_index = (region_start + k + MAX_LOW_POINT) *
401 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS;
413 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS;
414 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index];
415 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index];
416 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index];
551 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; local
583 start_index
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_cm_common.c120 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; local
174 start_index = (region_start + k + MAX_LOW_POINT) *
176 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS;
188 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS;
189 rgb_resulted[hw_points].red = output_tf->tf_pts.red[start_index];
190 rgb_resulted[hw_points].green = output_tf->tf_pts.green[start_index];
191 rgb_resulted[hw_points].blue = output_tf->tf_pts.blue[start_index];
300 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; local
332 start_index
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c2676 unsigned int start_index = 0; local
2683 start_index = i;
2690 if (start_index != end_index) {
2691 for (int j = start_index; j < end_index; j++) {
2692 for (int k = start_index; k < end_index; k++) {
2699 start_index = 0;
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn321/
H A Ddcn321_fpu.c264 unsigned int start_index = 0; local
271 start_index = i;
278 if (start_index != end_index) {
279 for (int j = start_index; j < end_index; j++) {
280 for (int k = start_index; k < end_index; k++) {
287 start_index = 0;
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c451 uint32_t i, j, k, seg_distr[NUMBER_REGIONS], increment, start_index, hw_points; local
508 start_index = (region_start + k + MAX_LOW_POINT) *
510 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS;
522 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS;
523 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index];
524 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index];
525 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index];
/linux-master/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c849 uint32_t i, start_index; local
867 start_index = 32;
868 rgb += start_index;
869 coord_x += start_index;
871 for (i = start_index; i <= hw_points_num; i++) {
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dppatomctrl.c1341 int atomctrl_read_efuse(struct pp_hwmgr *hwmgr, uint16_t start_index, argument
1349 if ((end_index - start_index) == 31)
1352 mask = (1 << ((end_index - start_index) + 1)) - 1;
1354 efuse_param.sEfuse.usEfuseIndex = cpu_to_le16((start_index / 32) * 4);
1356 (start_index - ((start_index / 32) * 32));
1358 ((end_index - start_index) + 1);
H A Dppatomctrl.h317 extern int atomctrl_read_efuse(struct pp_hwmgr *hwmgr, uint16_t start_index,
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c848 u32 start_index, u64 *mtt_buf,
862 if (npage < start_index)
878 struct hns_roce_mtr *mtr, u32 start_index,
890 start_index + total,
911 u32 start_index; local
919 start_index = offset >> HNS_HW_PAGE_SHIFT;
920 ret = hns_roce_get_direct_addr_mtt(cfg, start_index,
923 start_index = offset >> cfg->buf_pg_shift;
924 ret = hns_roce_get_mhop_mtt(hr_dev, mtr, start_index,
847 hns_roce_get_direct_addr_mtt(struct hns_roce_hem_cfg *cfg, u32 start_index, u64 *mtt_buf, int mtt_cnt) argument
877 hns_roce_get_mhop_mtt(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, u32 start_index, u64 *mtt_buf, int mtt_cnt) argument
/linux-master/drivers/infiniband/hw/mlx4/
H A Dmr.c98 int *start_index, int *npages)
134 err = mlx4_write_mtt(dev->dev, mtt, *start_index,
139 (*start_index) += *npages;
191 int start_index = 0; local
217 pages, &start_index,
235 &start_index, &npages);
241 err = mlx4_write_mtt(dev->dev, mtt, start_index, npages, pages);
94 mlx4_ib_umem_write_mtt_block(struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, u64 mtt_size, u64 mtt_shift, u64 len, u64 cur_start_addr, u64 *pages, int *start_index, int *npages) argument
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_dev.h469 int start_index, u64 *buffer_list, int list_len);
H A Dmthca_mr.c253 int start_index, u64 *buffer_list, int list_len)
268 start_index * 8);
288 start_index += i;
314 struct mthca_mtt *mtt, int start_index,
321 start_index * sizeof (u64);
328 struct mthca_mtt *mtt, int start_index,
334 int s = start_index * sizeof (u64);
357 int start_index, u64 *buffer_list, int list_len)
364 return __mthca_write_mtt(dev, mtt, start_index, buffer_list, list_len);
369 mthca_arbel_write_mtt_seg(dev, mtt, start_index,
252 __mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument
313 mthca_tavor_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument
327 mthca_arbel_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument
356 mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument
[all...]
/linux-master/drivers/iommu/iommufd/
H A Dpages.c182 unsigned long start_index,
186 unsigned long npages = last_index - start_index + 1;
239 unsigned long start_index,
242 unsigned long start_iova = iopt_area_index_to_iova(area, start_index);
377 struct iopt_area *area, unsigned long start_index,
384 iova = iopt_area_index_to_iova(area, start_index);
385 if (start_index == iopt_area_index(area))
387 while (start_index <= last_index) {
398 start_index++;
404 unsigned long start_index,
181 iopt_pages_err_unpin(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index, struct page **page_list) argument
237 iopt_area_unmap_domain_range(struct iopt_area *area, struct iommu_domain *domain, unsigned long start_index, unsigned long last_index) argument
375 batch_from_domain(struct pfn_batch *batch, struct iommu_domain *domain, struct iopt_area *area, unsigned long start_index, unsigned long last_index) argument
402 raw_pages_from_domain(struct iommu_domain *domain, struct iopt_area *area, unsigned long start_index, unsigned long last_index, struct page **out_pages) argument
426 batch_from_domain_continue(struct pfn_batch *batch, struct iommu_domain *domain, struct iopt_area *area, unsigned long start_index, unsigned long last_index) argument
475 batch_to_domain(struct pfn_batch *batch, struct iommu_domain *domain, struct iopt_area *area, unsigned long start_index) argument
519 batch_from_xarray(struct pfn_batch *batch, struct xarray *xa, unsigned long start_index, unsigned long last_index) argument
540 batch_from_xarray_clear(struct pfn_batch *batch, struct xarray *xa, unsigned long start_index, unsigned long last_index) argument
563 clear_xarray(struct xarray *xa, unsigned long start_index, unsigned long last_index) argument
575 pages_to_xarray(struct xarray *xa, unsigned long start_index, unsigned long last_index, struct page **pages) argument
736 pfn_reader_user_pin(struct pfn_reader_user *user, struct iopt_pages *pages, unsigned long start_index, unsigned long last_index) argument
979 unsigned long start_index = pfns->batch_end_index; local
1062 pfn_reader_init(struct pfn_reader *pfns, struct iopt_pages *pages, unsigned long start_index, unsigned long last_index) argument
1121 pfn_reader_first(struct pfn_reader *pfns, struct iopt_pages *pages, unsigned long start_index, unsigned long last_index) argument
1197 iopt_area_unpin_domain(struct pfn_batch *batch, struct iopt_area *area, struct iopt_pages *pages, struct iommu_domain *domain, unsigned long start_index, unsigned long last_index, unsigned long *unmapped_end_index, unsigned long real_last_index) argument
1263 unsigned long start_index = iopt_area_index(area); local
1519 iopt_pages_unpin_xarray(struct pfn_batch *batch, struct iopt_pages *pages, unsigned long start_index, unsigned long end_index) argument
1542 iopt_pages_unfill_xarray(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index) argument
1590 iopt_pages_fill_from_xarray(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index, struct page **out_pages) argument
1610 iopt_pages_fill_from_domain(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index, struct page **out_pages) argument
1632 iopt_pages_fill_from_mm(struct iopt_pages *pages, struct pfn_reader_user *user, unsigned long start_index, unsigned long last_index, struct page **out_pages) argument
1671 iopt_pages_fill_xarray(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index, struct page **out_pages) argument
1743 iopt_pages_rw_slow(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index, unsigned long offset, void *data, unsigned long length, unsigned int flags) argument
1834 unsigned long start_index = start_byte / PAGE_SIZE; local
1915 iopt_area_add_access(struct iopt_area *area, unsigned long start_index, unsigned long last_index, struct page **out_pages, unsigned int flags) argument
1971 iopt_area_remove_access(struct iopt_area *area, unsigned long start_index, unsigned long last_index) argument
[all...]

Completed in 1209 milliseconds

123