Home
last modified time | relevance | path

Searched refs:slot_cnt (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/dma/
H A Diop-adma.c110 int seen_current = 0, slot_cnt = 0, slots_per_op = 0; in __iop_adma_slot_cleanup() local
144 if (!slot_cnt && !slots_per_op) { in __iop_adma_slot_cleanup()
145 slot_cnt = iter->slot_cnt; in __iop_adma_slot_cleanup()
147 if (slot_cnt <= slots_per_op) { in __iop_adma_slot_cleanup()
148 slot_cnt = 0; in __iop_adma_slot_cleanup()
153 if (slot_cnt) { in __iop_adma_slot_cleanup()
157 slot_cnt -= slots_per_op; in __iop_adma_slot_cleanup()
161 if (slots_per_op != 0 && slot_cnt == 0) { in __iop_adma_slot_cleanup()
169 slot_cnt = grp_start->slot_cnt; in __iop_adma_slot_cleanup()
178 slot_cnt -= slots_per_op; in __iop_adma_slot_cleanup()
[all …]
H A Diop-adma.h340 int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); in iop_chan_xor_slot_count() local
343 return slot_cnt; in iop_chan_xor_slot_count()
348 slot_cnt += *slots_per_op; in iop_chan_xor_slot_count()
351 slot_cnt += *slots_per_op; in iop_chan_xor_slot_count()
353 return slot_cnt; in iop_chan_xor_slot_count()
362 int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); in iop_chan_zero_sum_slot_count() local
365 return slot_cnt; in iop_chan_zero_sum_slot_count()
370 slot_cnt += *slots_per_op; in iop_chan_zero_sum_slot_count()
373 slot_cnt += *slots_per_op; in iop_chan_zero_sum_slot_count()
375 return slot_cnt; in iop_chan_zero_sum_slot_count()
[all …]
/OK3568_Linux_fs/kernel/drivers/dma/ppc4xx/
H A Dadma.c796 int slot_cnt; in ppc440spe_chan_xor_slot_count() local
799 slot_cnt = *slots_per_op = (src_cnt + XOR_MAX_OPS - 1)/XOR_MAX_OPS; in ppc440spe_chan_xor_slot_count()
802 return slot_cnt; in ppc440spe_chan_xor_slot_count()
807 return slot_cnt; in ppc440spe_chan_xor_slot_count()
1541 int seen_current = 0, slot_cnt = 0, slots_per_op = 0; in __ppc440spe_adma_slot_cleanup() local
1589 if (!slot_cnt && !slots_per_op) { in __ppc440spe_adma_slot_cleanup()
1590 slot_cnt = iter->slot_cnt; in __ppc440spe_adma_slot_cleanup()
1592 if (slot_cnt <= slots_per_op) { in __ppc440spe_adma_slot_cleanup()
1593 slot_cnt = 0; in __ppc440spe_adma_slot_cleanup()
1598 if (slot_cnt) { in __ppc440spe_adma_slot_cleanup()
[all …]
H A Dadma.h158 u16 slot_cnt; member
/OK3568_Linux_fs/external/mpp/utils/
H A Dmpi_dec_utils.c69 RK_U32 slot_cnt; member
96 slot->index = impl->slot_cnt; in add_new_slot()
97 impl->slots[impl->slot_cnt] = slot; in add_new_slot()
98 impl->slot_cnt++; in add_new_slot()
100 if (impl->slot_cnt >= impl->slot_max) { in add_new_slot()
109 mpp_assert(impl->slot_cnt < impl->slot_max); in add_new_slot()
279 if (slot == NULL || (impl->slot_rd_idx > impl->slot_cnt)) in reader_read()
367 for (i = 0; i < impl->slot_cnt; i++) { in reader_deinit()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Ddma-iop32x.h88 u16 slot_cnt; member
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Df_fastboot.c866 int slot_cnt = 0; in fb_read_var() local
869 while (slot_suffixes_temp[slot_cnt] != '\0') { in fb_read_var()
870 slot_suffixes[slot_cnt * 2] in fb_read_var()
871 = slot_suffixes_temp[slot_cnt]; in fb_read_var()
872 slot_suffixes[slot_cnt * 2 + 1] = ','; in fb_read_var()
873 slot_cnt++; in fb_read_var()
876 slot_suffixes[(slot_cnt - 1) * 2 + 1] = '\0'; in fb_read_var()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/btc/
H A Dhalbtc_fw.c345 if (pcysta->slot_cnt[CXST_LK] != 0 && in _chk_btc_report()
347 if (pcysta->slot_cnt[CXST_LK] < in _chk_btc_report()
376 _chk_btc_err(btc, BTC_DCNT_W1_FREEZE, pcysta->slot_cnt[CXST_W1]); in _chk_btc_report()
377 _chk_btc_err(btc, BTC_DCNT_B1_FREEZE, pcysta->slot_cnt[CXST_B1]); in _chk_btc_report()
H A Dhalbtc_fwdef.h360 u32 slot_cnt[CXST_MAX]; /* slot count */ member
H A Dhalbtc_dbg_cmd.c880 if (!pcysta->slot_cnt[i]) in _show_fbtc_cysta()
885 pcysta->slot_cnt[i]); in _show_fbtc_cysta()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/btc/
H A Dhalbtc_fw.c345 if (pcysta->slot_cnt[CXST_LK] != 0 && in _chk_btc_report()
347 if (pcysta->slot_cnt[CXST_LK] < in _chk_btc_report()
376 _chk_btc_err(btc, BTC_DCNT_W1_FREEZE, pcysta->slot_cnt[CXST_W1]); in _chk_btc_report()
377 _chk_btc_err(btc, BTC_DCNT_B1_FREEZE, pcysta->slot_cnt[CXST_B1]); in _chk_btc_report()
H A Dhalbtc_fwdef.h360 u32 slot_cnt[CXST_MAX]; /* slot count */ member
H A Dhalbtc_dbg_cmd.c880 if (!pcysta->slot_cnt[i]) in _show_fbtc_cysta()
885 pcysta->slot_cnt[i]); in _show_fbtc_cysta()