Home
last modified time | relevance | path

Searched refs:end_idx (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_aic.c312 int16_t start_idx, end_idx; in ar9003_aic_cal_post_process() local
322 start_idx = end_idx; in ar9003_aic_cal_post_process()
325 if (end_idx < 0) { in ar9003_aic_cal_post_process()
334 (end_idx - i) + in ar9003_aic_cal_post_process()
340 (end_idx - i) + in ar9003_aic_cal_post_process()
344 if (end_idx < 0) { in ar9003_aic_cal_post_process()
348 if (end_idx < 0) { in ar9003_aic_cal_post_process()
357 (start_idx - end_idx) + in ar9003_aic_cal_post_process()
363 (start_idx - end_idx) + in ar9003_aic_cal_post_process()
372 (end_idx - start_idx); in ar9003_aic_cal_post_process()
[all …]
/openbmc/qemu/hw/intc/
H A Dxive2.c95 end_idx, in xive2_end_pic_print_info()
131 end_idx, in xive2_end_eas_pic_print_info()
583 end_idx); in xive2_router_end_notify()
589 end_blk, end_idx); in xive2_router_end_notify()
675 end_blk, end_idx); in xive2_router_end_notify()
820 uint32_t end_idx; in xive2_end_source_read() local
835 end_idx); in xive2_end_source_read()
841 end_blk, end_idx); in xive2_end_source_read()
886 uint32_t end_idx; in xive2_end_source_write() local
901 end_idx); in xive2_end_source_write()
[all …]
H A Dspapr_xive.c94 *out_server = end_idx >> 3; in spapr_xive_end_to_target()
98 *out_prio = end_idx & 0x7; in spapr_xive_end_to_target()
379 if (end_idx >= xive->nr_ends) { in spapr_xive_get_end()
1060 uint32_t end_idx; in h_int_set_source_config() local
1167 uint32_t end_idx, nvt_idx; in h_int_get_source_config() local
1196 end = &xive->endt[end_idx]; in h_int_get_source_config()
1243 uint32_t end_idx; in h_int_get_queue_info() local
1276 end = &xive->endt[end_idx]; in h_int_get_queue_info()
1332 uint32_t end_idx, nvt_idx; in h_int_set_queue_config() local
1501 uint32_t end_idx; in h_int_get_queue_config() local
[all …]
H A Dxive.c1375 end_idx, in xive_end_pic_print_info()
1435 end_idx, in xive_end_eas_pic_print_info()
1480 return xrc->get_end(xrtr, end_blk, end_idx, end); in xive_router_get_end()
1691 end_idx); in xive_router_end_notify()
1698 end_blk, end_idx); in xive_router_end_notify()
1784 end_blk, end_idx); in xive_router_end_notify()
1823 trace_xive_router_end_escalate(end_blk, end_idx, in xive_router_end_notify()
1941 uint32_t end_idx; in xive_end_source_read() local
1952 end_idx = addr >> (xsrc->esb_shift + 1); in xive_end_source_read()
1958 end_idx); in xive_end_source_read()
[all …]
H A Dspapr_xive_kvm.c193 uint32_t end_idx; in kvmppc_xive_set_source_config() local
203 end_idx = xive_get_field64(EAS_END_INDEX, eas->w); in kvmppc_xive_set_source_config()
208 spapr_xive_end_to_target(end_blk, end_idx, &server, &priority); in kvmppc_xive_set_source_config()
370 uint32_t end_idx, XiveEND *end, in kvmppc_xive_get_queue_config() argument
382 spapr_xive_end_to_target(end_blk, end_idx, &server, &priority); in kvmppc_xive_get_queue_config()
407 uint32_t end_idx, XiveEND *end, in kvmppc_xive_set_queue_config() argument
444 spapr_xive_end_to_target(end_blk, end_idx, &server, &priority); in kvmppc_xive_set_queue_config()
/openbmc/qemu/tests/tcg/multiarch/
H A Dvma-pthread.c119 size_t i, start_idx, end_idx, page_idx, tmp; in thread_mutate() local
127 end_idx = rand_r(&seed) & PAGE_IDX_MASK; in thread_mutate()
128 if (start_idx > end_idx) { in thread_mutate()
130 start_idx = end_idx; in thread_mutate()
131 end_idx = tmp; in thread_mutate()
134 for (page_idx = start_idx & REGION_MASK; page_idx <= end_idx; in thread_mutate()
148 (end_idx - start_idx + 1) * ctx->pagesize, prot); in thread_mutate()
/openbmc/u-boot/fs/fat/
H A Dfat_write.c154 end_idx++; in str2slot()
159 end_idx++; in str2slot()
165 end_idx++; in str2slot()
170 end_idx++; in str2slot()
176 end_idx++; in str2slot()
181 end_idx++; in str2slot()
190 for (; end_idx < 5; end_idx++) { in str2slot()
194 end_idx = 5; in str2slot()
196 end_idx -= 5; in str2slot()
197 for (; end_idx < 6; end_idx++) { in str2slot()
[all …]
/openbmc/qemu/include/hw/ppc/
H A Dxive2.h48 int (*get_end)(Xive2Router *xrtr, uint8_t end_blk, uint32_t end_idx,
50 int (*write_end)(Xive2Router *xrtr, uint8_t end_blk, uint32_t end_idx,
62 int xive2_router_get_end(Xive2Router *xrtr, uint8_t end_blk, uint32_t end_idx,
64 int xive2_router_write_end(Xive2Router *xrtr, uint8_t end_blk, uint32_t end_idx,
H A Dspapr_xive.h74 int spapr_xive_end_to_target(uint8_t end_blk, uint32_t end_idx,
90 uint32_t end_idx, XiveEND *end,
93 uint32_t end_idx, XiveEND *end,
H A Dxive.h395 int (*get_end)(XiveRouter *xrtr, uint8_t end_blk, uint32_t end_idx,
397 int (*write_end)(XiveRouter *xrtr, uint8_t end_blk, uint32_t end_idx,
409 int xive_router_get_end(XiveRouter *xrtr, uint8_t end_blk, uint32_t end_idx,
411 int xive_router_write_end(XiveRouter *xrtr, uint8_t end_blk, uint32_t end_idx,
H A Dxive2_regs.h133 void xive2_end_pic_print_info(Xive2End *end, uint32_t end_idx, Monitor *mon);
136 void xive2_end_eas_pic_print_info(Xive2End *end, uint32_t end_idx,
H A Dxive_regs.h264 void xive_end_pic_print_info(XiveEND *end, uint32_t end_idx, Monitor *mon);
266 void xive_end_eas_pic_print_info(XiveEND *end, uint32_t end_idx, Monitor *mon);
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dsc/
H A Ddc_dsc.c716 if (end_idx > 0) in get_max_dsc_slices()
717 max_slices = available_slices[end_idx - 1]; in get_max_dsc_slices()
728 int end_idx; in inc_num_slices() local
733 if (end_idx == 0) { in inc_num_slices()
740 for (i = 0; i < end_idx; i++) { in inc_num_slices()
759 int end_idx; in dec_num_slices() local
764 if (end_idx == 0 && new_num_slices > 0) { in dec_num_slices()
771 for (i = end_idx - 1; i >= 0; i--) { in dec_num_slices()
794 int end_idx; in fit_num_slices_up() local
799 if (end_idx == 0) { in fit_num_slices_up()
[all …]
/openbmc/linux/fs/squashfs/
H A Dblock.c85 int start_idx = 0, end_idx = 0; in squashfs_bio_read_cached() local
114 if (!bio || idx != end_idx) { in squashfs_bio_read_cached()
120 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached()
130 end_idx = idx; in squashfs_bio_read_cached()
135 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached()
/openbmc/linux/drivers/perf/
H A Darm_dmc620_pmu.c296 int idx, start_idx, end_idx; in dmc620_get_event_idx() local
300 end_idx = DMC620_PMU_CLKDIV2_MAX_COUNTERS; in dmc620_get_event_idx()
303 end_idx = DMC620_PMU_MAX_COUNTERS; in dmc620_get_event_idx()
306 for (idx = start_idx; idx < end_idx; ++idx) { in dmc620_get_event_idx()
/openbmc/linux/fs/fuse/
H A Ddax.c318 unsigned long end_idx = end >> FUSE_DAX_SHIFT; in inode_reclaim_dmap_range() local
323 end_idx); in inode_reclaim_dmap_range()
1111 unsigned long end_idx) in lookup_and_reclaim_dmap() argument
1139 unsigned long start_idx = 0, end_idx = 0; in try_to_free_dmap_chunks() local
1176 start_idx = end_idx = dmap->itn.start; in try_to_free_dmap_chunks()
1183 ret = lookup_and_reclaim_dmap(fcd, inode, start_idx, end_idx); in try_to_free_dmap_chunks()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwsignal.c1671 u8 flow_id, max_idx, cur_idx, exp_idx, end_idx; in brcmf_fws_rxreorder() local
1793 u8 end_idx; in brcmf_fws_rxreorder() local
1799 end_idx = rfi->exp_idx; in brcmf_fws_rxreorder()
1801 end_idx = exp_idx; in brcmf_fws_rxreorder()
1804 brcmf_rxreorder_get_skb_list(rfi, rfi->exp_idx, end_idx, in brcmf_fws_rxreorder()
1823 end_idx = rfi->exp_idx; in brcmf_fws_rxreorder()
1825 end_idx = exp_idx; in brcmf_fws_rxreorder()
1827 brcmf_rxreorder_get_skb_list(rfi, rfi->exp_idx, end_idx, in brcmf_fws_rxreorder()
/openbmc/linux/fs/
H A Ddax.c684 pgoff_t end_idx; in dax_layout_busy_page_range() local
698 end_idx = ULONG_MAX; in dax_layout_busy_page_range()
700 end_idx = end >> PAGE_SHIFT; in dax_layout_busy_page_range()
713 unmap_mapping_pages(mapping, start_idx, end_idx - start_idx + 1, 0); in dax_layout_busy_page_range()
716 xas_for_each(&xas, entry, end_idx) { in dax_layout_busy_page_range()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_pci.c202 int i, j, n, mem_log, win_idx = 3, start_idx = 1, end_idx = 4; in setup_pci_atmu() local
238 end_idx = 3; in setup_pci_atmu()
247 for (i = start_idx; i < end_idx; i++) in setup_pci_atmu()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunvnet_common.c482 .end_idx = end, in vnet_send_ack()
667 return vnet_walk_rx(port, dr, pkt->start_idx, pkt->end_idx, in vnet_rx()
698 end = pkt->end_idx; in vnet_ack()
854 pkt->end_idx = -1; in vnet_event_napi()
952 .end_idx = (u32)-1, in __vnet_tx_trigger()
/openbmc/openbmc/poky/meta/classes-global/
H A Dlicense.bbclass103 end_idx = max(0, int(endline)) if endline is not None else None
104 if begin_idx is None and end_idx is None:
109 dst_f.write(b''.join(src_f.readlines()[begin_idx:end_idx]))
/openbmc/qemu/hw/virtio/
H A Dvirtio-mem.c524 const unsigned int end_idx = (offset + size + vmem->memslot_size - 1) / in virtio_mem_activate_memslots_to_plug() local
532 for (idx = start_idx; idx < end_idx; idx++) { in virtio_mem_activate_memslots_to_plug()
544 const unsigned int end_idx = (offset + size + vmem->memslot_size - 1) / in virtio_mem_deactivate_unplugged_memslots() local
552 for (idx = start_idx; idx < end_idx; idx++) { in virtio_mem_deactivate_unplugged_memslots()
/openbmc/linux/drivers/xen/
H A Dgrant-table.c1447 static int gnttab_map(unsigned int start_idx, unsigned int end_idx) in gnttab_map() argument
1451 unsigned int nr_gframes = end_idx + 1; in gnttab_map()
1456 unsigned int i = end_idx; in gnttab_map()
/openbmc/linux/drivers/media/pci/tw686x/
H A Dtw686x-video.c713 u32 start_idx, end_idx; in tw686x_set_format() local
717 end_idx = start_idx + TW686X_MAX_SG_DESC_COUNT - 1; in tw686x_set_format()
719 val |= (end_idx << 10) | start_idx; in tw686x_set_format()
/openbmc/linux/arch/sparc/include/asm/
H A Dvio.h94 u32 end_idx; member

12