Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 22 of 22) sorted by relevance

/arch/arm/mach-s5p64x0/
Dclock.c90 u32 iter; in s5p64x0_armclk_round_rate() local
92 for (iter = 1 ; iter < ARRAY_SIZE(clock_table) ; iter++) { in s5p64x0_armclk_round_rate()
93 if (rate > clock_table[iter][0]) in s5p64x0_armclk_round_rate()
94 return clock_table[iter-1][0]; in s5p64x0_armclk_round_rate()
103 u32 iter; in s5p64x0_armclk_set_rate() local
113 for (iter = 0 ; iter < ARRAY_SIZE(clock_table) ; iter++) { in s5p64x0_armclk_set_rate()
114 if (round_tmp == clock_table[iter][0]) in s5p64x0_armclk_set_rate()
118 if (iter >= ARRAY_SIZE(clock_table)) in s5p64x0_armclk_set_rate()
119 iter = ARRAY_SIZE(clock_table) - 1; in s5p64x0_armclk_set_rate()
125 clk_div0_tmp |= clock_table[iter][1]; in s5p64x0_armclk_set_rate()
[all …]
/arch/sparc/prom/
Dbootstr_32.c18 int iter; in prom_getbootargs() local
30 for(iter = 1; iter < 8; iter++) { in prom_getbootargs()
31 arg = (*(romvec->pv_v0bootargs))->argv[iter]; in prom_getbootargs()
/arch/unicore32/include/asm/
Dmemblock.h34 #define for_each_bank(iter, mi) \ argument
35 for (iter = 0; iter < (mi)->nr_banks; iter++)
/arch/arm/mach-tegra/
Dtegra2_emc.c184 struct device_node *iter; in tegra_emc_ramcode_devnode() local
187 for_each_child_of_node(np, iter) { in tegra_emc_ramcode_devnode()
191 return of_node_get(iter); in tegra_emc_ramcode_devnode()
201 struct device_node *tnp, *iter; in tegra_emc_dt_parse_pdata() local
221 for_each_child_of_node(tnp, iter) in tegra_emc_dt_parse_pdata()
222 if (of_device_is_compatible(iter, "nvidia,tegra20-emc-table")) in tegra_emc_dt_parse_pdata()
236 for_each_child_of_node(tnp, iter) { in tegra_emc_dt_parse_pdata()
239 ret = of_property_read_u32(iter, "clock-frequency", &prop); in tegra_emc_dt_parse_pdata()
242 iter->full_name); in tegra_emc_dt_parse_pdata()
247 ret = of_property_read_u32_array(iter, "nvidia,emc-registers", in tegra_emc_dt_parse_pdata()
[all …]
/arch/powerpc/kernel/
Dcacheinfo.c156 struct cache *iter; in release_cache_debugcheck() local
158 list_for_each_entry(iter, &cache_list, list) in release_cache_debugcheck()
159 WARN_ONCE(iter->next_local == cache, in release_cache_debugcheck()
161 iter->ofnode->full_name, in release_cache_debugcheck()
162 cache_type_string(iter), in release_cache_debugcheck()
294 struct cache *iter; in cache_find_first_sibling() local
299 list_for_each_entry(iter, &cache_list, list) in cache_find_first_sibling()
300 if (iter->ofnode == cache->ofnode && iter->next_local == cache) in cache_find_first_sibling()
301 return iter; in cache_find_first_sibling()
310 struct cache *iter; in cache_lookup_by_node() local
[all …]
/arch/arm/include/asm/
Dsetup.h210 #define for_each_bank(iter,mi) \ argument
211 for (iter = 0; iter < (mi)->nr_banks; iter++)
/arch/arm/mach-iop13xx/include/mach/
Dadma.h398 struct iop13xx_adma_desc_hw *hw_desc = desc->hw_desc, *iter; in iop_desc_set_zero_sum_byte_count() local
405 iter = iop_hw_desc_slot_idx(hw_desc, i); in iop_desc_set_zero_sum_byte_count()
406 iter->byte_count = IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT; in iop_desc_set_zero_sum_byte_count()
412 iter = iop_hw_desc_slot_idx(hw_desc, i); in iop_desc_set_zero_sum_byte_count()
413 iter->byte_count = len; in iop_desc_set_zero_sum_byte_count()
451 struct iop13xx_adma_desc_hw *hw_desc = desc->hw_desc, *iter; in iop_desc_set_xor_src_addr() local
455 iter = iop_hw_desc_slot_idx(hw_desc, i); in iop_desc_set_xor_src_addr()
456 iter->src[src_idx].src_addr = addr; in iop_desc_set_xor_src_addr()
457 iter->src[src_idx].upper_src_addr = 0; in iop_desc_set_xor_src_addr()
471 struct iop13xx_adma_desc_hw *hw_desc = desc->hw_desc, *iter; in iop_desc_set_pq_src_addr() local
[all …]
/arch/arm/include/asm/hardware/
Diop3xx-adma.h606 struct iop3xx_desc_aau *hw_desc, *prev_hw_desc, *iter; in iop_desc_init_zero_sum() local
617 iter = iop_hw_desc_slot_idx(hw_desc, i); in iop_desc_init_zero_sum()
618 u_desc_ctrl.value = iop3xx_desc_init_xor(iter, src_cnt, flags); in iop_desc_init_zero_sum()
622 iter->desc_ctrl = u_desc_ctrl.value; in iop_desc_init_zero_sum()
725 struct iop3xx_desc_aau *hw_desc = desc->hw_desc, *iter; in iop_desc_set_zero_sum_byte_count() local
732 iter = iop_hw_desc_slot_idx(hw_desc, i); in iop_desc_set_zero_sum_byte_count()
733 iter->byte_count = IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT; in iop_desc_set_zero_sum_byte_count()
738 iter = iop_hw_desc_slot_idx(hw_desc, i); in iop_desc_set_zero_sum_byte_count()
739 iter->byte_count = len; in iop_desc_set_zero_sum_byte_count()
774 struct iop3xx_desc_aau *hw_desc = desc->hw_desc, *iter; in iop_desc_set_zero_sum_src_addr() local
[all …]
/arch/sh/mm/
Dasids-debugfs.c27 static int asids_seq_show(struct seq_file *file, void *iter) in asids_seq_show() argument
Dpmb.c145 struct pmb_entry *pmbe, *iter; in pmb_mapping_exists() local
175 for (iter = pmbe->link; iter; iter = iter->link) in pmb_mapping_exists()
176 span += iter->size; in pmb_mapping_exists()
815 static int pmb_seq_show(struct seq_file *file, void *iter) in pmb_seq_show() argument
Dcache-debugfs.c25 static int cache_seq_show(struct seq_file *file, void *iter) in cache_seq_show() argument
Dtlb-debugfs.c39 static int tlb_seq_show(struct seq_file *file, void *iter) in tlb_seq_show() argument
/arch/arm/mm/
Dfault-armv.c137 struct prio_tree_iter iter; in make_coherent() local
150 vma_prio_tree_foreach(mpnt, &iter, &mapping->i_mmap, pgoff, pgoff) { in make_coherent()
Dflush.c199 struct prio_tree_iter iter; in __flush_dcache_aliases() local
211 vma_prio_tree_foreach(mpnt, &iter, &mapping->i_mmap, pgoff, pgoff) { in __flush_dcache_aliases()
/arch/arm/mach-bcmring/csp/chipc/
DchipcHw.c513 int iter = 0; in vpmPhaseAlignA0() local
517 …for (iter = 0; (iter < MAX_PHASE_ALIGN_ATTEMPTS) && (adjustCount < MAX_PHASE_ADJUST_COUNT); iter++… in vpmPhaseAlignA0()
/arch/x86/mm/
Dhugetlbpage.c74 struct prio_tree_iter iter; in huge_pmd_share() local
84 vma_prio_tree_foreach(svma, &iter, &mapping->i_mmap, idx, idx) { in huge_pmd_share()
/arch/parisc/kernel/
Dcache.c279 struct prio_tree_iter iter; in flush_dcache_page() local
302 vma_prio_tree_foreach(mpnt, &iter, &mapping->i_mmap, pgoff, pgoff) { in flush_dcache_page()
/arch/tile/kernel/
Dhardwall.c342 struct hardwall_info *iter, *rect; in hardwall_create() local
389 list_for_each_entry(iter, &rectangles, list) { in hardwall_create()
390 if (overlaps(iter, rect)) { in hardwall_create()
/arch/mips/lib/
Dmemcpy-inatomic.S224 SRL t0, len, LOG_NBYTES+3 # +3 for 8 units/iter
342 SRL t0, len, LOG_NBYTES+2 # +2 for 4 units/iter
Dmemcpy.S228 SRL t0, len, LOG_NBYTES+3 # +3 for 8 units/iter
350 SRL t0, len, LOG_NBYTES+2 # +2 for 4 units/iter
Dcsum_partial.S433 SRL t0, len, LOG_NBYTES+3 # +3 for 8 units/iter
571 SRL t0, len, LOG_NBYTES+2 # +2 for 4 units/iter
/arch/mips/cavium-octeon/
Docteon-memcpy.S334 SRL t0, len, LOG_NBYTES+2 # +2 for 4 units/iter