Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/mm/
Dfadvise.c35 pgoff_t start_index; in SYSCALL_DEFINE4() local
100 start_index = offset >> PAGE_CACHE_SHIFT; in SYSCALL_DEFINE4()
104 nrpages = end_index - start_index + 1; in SYSCALL_DEFINE4()
112 force_page_cache_readahead(mapping, f.file, start_index, in SYSCALL_DEFINE4()
127 start_index = (offset+(PAGE_CACHE_SIZE-1)) >> PAGE_CACHE_SHIFT; in SYSCALL_DEFINE4()
130 if (end_index >= start_index) { in SYSCALL_DEFINE4()
132 start_index, end_index); in SYSCALL_DEFINE4()
140 if (count < (end_index - start_index + 1)) { in SYSCALL_DEFINE4()
142 invalidate_mapping_pages(mapping, start_index, in SYSCALL_DEFINE4()
/linux-4.4.14/kernel/trace/
Dtrace_printk.c116 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
129 if (!v || start_index == *pos) { in find_next_mod_format()
134 if (start_index == *pos) in find_next_mod_format()
136 start_index++; in find_next_mod_format()
173 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
250 int start_index; in find_next() local
253 start_index = __stop___trace_bprintk_fmt - __start___trace_bprintk_fmt; in find_next()
255 if (*pos < start_index) in find_next()
270 last_index = start_index; in find_next()
271 start_index = __stop___tracepoint_str - __start___tracepoint_str; in find_next()
[all …]
/linux-4.4.14/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-4.4.14/drivers/soc/qcom/
Dspm.c68 u8 start_index[PM_SLEEP_MODE_NR]; member
91 .start_index[PM_SLEEP_MODE_STBY] = 0,
92 .start_index[PM_SLEEP_MODE_SPC] = 3,
113 .start_index[PM_SLEEP_MODE_STBY] = 0,
114 .start_index[PM_SLEEP_MODE_SPC] = 2,
159 u32 start_index; in spm_set_low_power_mode() local
162 start_index = drv->reg_data->start_index[mode]; in spm_set_low_power_mode()
166 ctl_val |= start_index << SPM_CTL_INDEX_SHIFT; in spm_set_low_power_mode()
/linux-4.4.14/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-4.4.14/arch/sparc/kernel/
Dcpumap.c42 int start_index; /* Index of first node of a level in a cpuinfo tree */ member
132 lv->start_index = lv->end_index = lv->num_nodes = 0; in enumerate_cpuinfo_nodes()
164 tree_level[CPUINFO_LVL_NODE].start_index = 1; in enumerate_cpuinfo_nodes()
168 tree_level[CPUINFO_LVL_CORE].start_index = n; in enumerate_cpuinfo_nodes()
172 tree_level[CPUINFO_LVL_PROC].start_index = n; in enumerate_cpuinfo_nodes()
208 n = new_tree->level[level].start_index; in build_cpuinfo_tree()
223 ? new_tree->level[level - 1].start_index : -1; in build_cpuinfo_tree()
227 ? cpu : new_tree->level[level + 1].start_index; in build_cpuinfo_tree()
/linux-4.4.14/fs/squashfs/
Dfile_direct.c35 int start_index = target_page->index & ~mask; in squashfs_readpage_block() local
36 int end_index = start_index | mask; in squashfs_readpage_block()
45 pages = end_index - start_index + 1; in squashfs_readpage_block()
60 for (missing_pages = 0, i = 0, n = start_index; i < pages; i++, n++) { in squashfs_readpage_block()
Dfile.c381 int start_index = page->index & ~mask, end_index = start_index | mask; in squashfs_copy_cache() local
389 for (i = start_index; i <= end_index && bytes > 0; i++, in squashfs_copy_cache()
/linux-4.4.14/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 …]
Dmthca_dev.h470 int start_index, u64 *buffer_list, int list_len);
/linux-4.4.14/drivers/acpi/acpica/
Dnsrepair2.c108 u32 start_index,
794 u32 start_index, in acpi_ns_check_sorted_list() argument
820 if (!outer_element_count || start_index >= outer_element_count) { in acpi_ns_check_sorted_list()
824 outer_elements = &return_object->package.elements[start_index]; in acpi_ns_check_sorted_list()
825 outer_element_count -= start_index; in acpi_ns_check_sorted_list()
864 elements[start_index], in acpi_ns_check_sorted_list()
Dnsprepkg.c63 u8 type2, u32 count2, u32 start_index);
645 u8 type2, u32 count2, u32 start_index) in acpi_ns_check_package_elements() argument
658 type1, i + start_index); in acpi_ns_check_package_elements()
668 (i + count1 + start_index)); in acpi_ns_check_package_elements()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmr.c695 int start_index, int npages, u64 *page_list) in mlx4_write_mtt_chunk() argument
703 start_index, &dma_handle); in mlx4_write_mtt_chunk()
721 int start_index, int npages, u64 *page_list) in __mlx4_write_mtt() argument
730 max_mtts_first_page = mtts_per_page - (mtt->offset + start_index) in __mlx4_write_mtt()
736 err = mlx4_write_mtt_chunk(dev, mtt, start_index, chunk, page_list); in __mlx4_write_mtt()
740 start_index += chunk; in __mlx4_write_mtt()
749 int start_index, int npages, u64 *page_list) in mlx4_write_mtt() argument
769 inbox[0] = cpu_to_be64(mtt->offset + start_index); in mlx4_write_mtt()
781 start_index += chunk; in mlx4_write_mtt()
788 return __mlx4_write_mtt(dev, mtt, start_index, npages, page_list); in mlx4_write_mtt()
Dmlx4.h1013 int start_index, int npages, u64 *page_list);
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-desc.c499 unsigned int start_index, cur_index; in xgbe_map_tx_skb() local
506 start_index = ring->cur; in xgbe_map_tx_skb()
614 packet->rdesc_count = cur_index - start_index; in xgbe_map_tx_skb()
621 while (start_index < cur_index) { in xgbe_map_tx_skb()
622 rdata = XGBE_GET_DESC_DATA(ring, start_index++); in xgbe_map_tx_skb()
Dxgbe-dev.c1081 int start_index = ring->cur; in xgbe_tx_desc_init() local
1097 rdata = XGBE_GET_DESC_DATA(ring, start_index); in xgbe_tx_desc_init()
1159 unsigned int start_index = ring->cur; in xgbe_rx_desc_init() local
1176 rdata = XGBE_GET_DESC_DATA(ring, start_index); in xgbe_rx_desc_init()
1183 rdata = XGBE_GET_DESC_DATA(ring, start_index + ring->rdesc_count - 1); in xgbe_rx_desc_init()
1402 int start_index = ring->cur; in xgbe_dev_xmit() local
1520 if (cur_index != start_index) in xgbe_dev_xmit()
1546 for (i = cur_index - start_index + 1; i < packet->rdesc_count; i++) { in xgbe_dev_xmit()
1589 rdata = XGBE_GET_DESC_DATA(ring, start_index); in xgbe_dev_xmit()
1594 xgbe_dump_tx_desc(pdata, ring, start_index, in xgbe_dev_xmit()
[all …]
/linux-4.4.14/drivers/scsi/
D3w-9xxx.c647 unsigned char event_index, start_index; in twa_chrdev_ioctl() local
796 start_index = tw_dev->error_index; in twa_chrdev_ioctl()
802 start_index = 0; in twa_chrdev_ioctl()
804 …event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id + 1) % TW… in twa_chrdev_ioctl()
825 start_index = tw_dev->error_index; in twa_chrdev_ioctl()
831 start_index = 0; in twa_chrdev_ioctl()
833 …event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id - 1) % TW… in twa_chrdev_ioctl()
/linux-4.4.14/drivers/soc/ti/
Dknav_qmss.h81 u32 start_index; member
Dknav_qmss_queue.c1037 writel_relaxed(region->link_index, &regs->start_index); in knav_queue_setup_region()
/linux-4.4.14/drivers/video/fbdev/via/
Dhw.c988 int start_index, end_index, cr_index; in viafb_load_reg() local
994 start_index = reg[i].start_bit; in viafb_load_reg()
999 for (j = start_index; j <= end_index; j++) { in viafb_load_reg()
1004 data | ((get_bit >> shift_next_reg) << start_index); in viafb_load_reg()
/linux-4.4.14/arch/powerpc/include/uapi/asm/
Dkvm.h385 __u64 start_index; member
/linux-4.4.14/drivers/mtd/nand/
Dnandsim.c1348 pgoff_t index, start_index, end_index; in get_pages() local
1352 start_index = pos >> PAGE_CACHE_SHIFT; in get_pages()
1354 if (end_index - start_index + 1 > NS_MAX_HELD_PAGES) in get_pages()
1357 for (index = start_index; index <= end_index; index++) { in get_pages()
/linux-4.4.14/drivers/gpu/drm/radeon/
Drv6xx_dpm.c242 u32 start_index, u8 *end_index) in rv6xx_generate_steps() argument
247 u32 step_index = start_index; in rv6xx_generate_steps()
307 u32 start_index, u32 end_index) in rv6xx_invalidate_intermediate_steps_range() argument
311 for (step_index = start_index + 1; step_index < end_index; step_index++) in rv6xx_invalidate_intermediate_steps_range()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h321 u8 table_id, u32 start_index, u16 buff_size,
Di40e_common.c3961 u8 table_id, u32 start_index, u16 buff_size, in i40e_aq_debug_dump() argument
3985 cmd->idx = cpu_to_le32(start_index); in i40e_aq_debug_dump()
/linux-4.4.14/drivers/tty/
Dsynclink.c5330 int start_index; in usc_process_rxoverrun_sync() local
5347 frame_start_index = start_index = end_index = info->current_rx_buffer; in usc_process_rxoverrun_sync()
5383 if ( start_index == end_index ) in usc_process_rxoverrun_sync()
5405 start_index = frame_start_index; in usc_process_rxoverrun_sync()
5409 *((unsigned long *)&(info->rx_buffer_list[start_index++].count)) = DMABUFFERSIZE; in usc_process_rxoverrun_sync()
5412 if ( start_index == info->rx_buffer_count ) in usc_process_rxoverrun_sync()
5413 start_index = 0; in usc_process_rxoverrun_sync()
5415 } while( start_index != end_index ); in usc_process_rxoverrun_sync()
/linux-4.4.14/fs/btrfs/
Dioctl.c1104 unsigned long start_index, in cluster_pages_for_defrag() argument
1121 if (!isize || start_index > file_end) in cluster_pages_for_defrag()
1124 page_cnt = min_t(u64, (u64)num_pages, (u64)file_end - start_index + 1); in cluster_pages_for_defrag()
1127 start_index << PAGE_CACHE_SHIFT, in cluster_pages_for_defrag()
1139 start_index + i, mask); in cluster_pages_for_defrag()
1218 start_index << PAGE_CACHE_SHIFT, in cluster_pages_for_defrag()
1245 start_index << PAGE_CACHE_SHIFT, in cluster_pages_for_defrag()
Dextent_io.c1681 unsigned long start_index = index; in lock_delalloc_pages() local
1731 ((u64)(start_index + pages_locked - 1)) << in lock_delalloc_pages()
/linux-4.4.14/drivers/s390/net/
Dqeth_core_main.c4052 int start_index; in qeth_do_send_packet() local
4061 start_index = queue->next_buf_to_fill; in qeth_do_send_packet()
4089 qeth_flush_buffers(queue, start_index, in qeth_do_send_packet()
4102 qeth_flush_buffers(queue, start_index, flush_count); in qeth_do_send_packet()
4113 start_index = queue->next_buf_to_fill; in qeth_do_send_packet()
4123 qeth_flush_buffers(queue, start_index, flush_count); in qeth_do_send_packet()
/linux-4.4.14/include/linux/mlx4/
Ddevice.h1081 int start_index, int npages, u64 *page_list);
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c1477 ctx->index = ghf->start_index; in kvm_vm_ioctl_get_htab_fd()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4613 unsigned int start_index, unsigned int rw) in t4_fw_tp_pio_rw() argument
4628 c.u.addrval.addr = cpu_to_be32(start_index + i); in t4_fw_tp_pio_rw()
/linux-4.4.14/include/linux/mlx5/
Dmlx5_ifc.h6490 u8 start_index[0x10]; member
/linux-4.4.14/Documentation/virtual/kvm/
Dapi.txt2435 __u64 start_index;
2443 The `start_index' field gives the index in the HPT of the entry at
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c3325 gfp_t mask, int start_index) in niu_rbr_add_page() argument
3347 __le32 *rbr = &rp->rbr[start_index + i]; in niu_rbr_add_page()