| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/preprocessor/comparison/ |
| H A D | not_equal.hpp | 38 # define BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_0(c, y) 0 argument 39 # define BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1(c, y) 0 argument 40 # define BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2(c, y) 0 argument 41 # define BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_3(c, y) 0 argument 42 # define BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_4(c, y) 0 argument 43 # define BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_5(c, y) 0 argument 44 # define BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_6(c, y) 0 argument 45 # define BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_7(c, y) 0 argument 46 # define BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_8(c, y) 0 argument 47 # define BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_9(c, y) 0 argument [all …]
|
| /OK3568_Linux_fs/u-boot/fs/ubifs/ |
| H A D | master.c | 30 static int scan_for_master(struct ubifs_info *c) in scan_for_master() argument 38 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master() 47 memcpy(c->mst_node, snod->node, snod->len); in scan_for_master() 54 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master() 66 if (memcmp((void *)c->mst_node + UBIFS_CH_SZ, in scan_for_master() 70 c->mst_offs = offs; in scan_for_master() 79 ubifs_err(c, "unexpected node type %d master LEB %d:%d", in scan_for_master() 92 static int validate_master(const struct ubifs_info *c) in validate_master() argument 97 if (c->max_sqnum >= SQNUM_WATERMARK) { in validate_master() 102 if (c->cmt_no >= c->max_sqnum) { in validate_master() [all …]
|
| H A D | lpt_commit.c | 29 static int dbg_populate_lsave(struct ubifs_info *c); 96 static int get_cnodes_to_commit(struct ubifs_info *c) in get_cnodes_to_commit() argument 101 if (!c->nroot) in get_cnodes_to_commit() 104 if (!test_bit(DIRTY_CNODE, &c->nroot->flags)) in get_cnodes_to_commit() 107 c->lpt_cnext = first_dirty_cnode(c->nroot); in get_cnodes_to_commit() 108 cnode = c->lpt_cnext; in get_cnodes_to_commit() 117 cnode->cnext = c->lpt_cnext; in get_cnodes_to_commit() 126 ubifs_assert(cnt == c->dirty_nn_cnt + c->dirty_pn_cnt); in get_cnodes_to_commit() 137 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab() argument 140 lnum, c->ltab[lnum - c->lpt_first].free, in upd_ltab() [all …]
|
| H A D | super.c | 205 static int validate_inode(struct ubifs_info *c, const struct inode *inode) in validate_inode() argument 210 if (inode->i_size > c->max_inode_sz) { in validate_inode() 211 ubifs_err(c, "inode is too large (%lld)", in validate_inode() 217 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode() 231 ubifs_warn(c, "inode %lu uses '%s' compression, but it was not compiled in", in validate_inode() 235 err = dbg_check_dir(c, inode); in validate_inode() 244 struct ubifs_info *c = sb->s_fs_info; in ubifs_iget() local 289 ino_key_init(c, &key, inode->i_ino); in ubifs_iget() 291 err = ubifs_tnc_lookup(c, &key, ino); in ubifs_iget() 319 err = validate_inode(c, inode); in ubifs_iget() [all …]
|
| H A D | sb.c | 71 static int create_default_filesystem(struct ubifs_info *c) in create_default_filesystem() argument 87 c->key_len = UBIFS_SK_LEN; in create_default_filesystem() 93 if (c->leb_cnt < 0x7FFFFFFF / DEFAULT_JNL_PERCENT) in create_default_filesystem() 95 jnl_lebs = c->leb_cnt * DEFAULT_JNL_PERCENT / 100; in create_default_filesystem() 97 jnl_lebs = (c->leb_cnt / 100) * DEFAULT_JNL_PERCENT; in create_default_filesystem() 101 if (jnl_lebs * c->leb_size > DEFAULT_MAX_JNL) in create_default_filesystem() 102 jnl_lebs = DEFAULT_MAX_JNL / c->leb_size; in create_default_filesystem() 110 tmp = 2 * (c->ref_node_alsz * jnl_lebs) + c->leb_size - 1; in create_default_filesystem() 111 log_lebs = tmp / c->leb_size; in create_default_filesystem() 114 if (c->leb_cnt - min_leb_cnt > 8) { in create_default_filesystem() [all …]
|
| H A D | log.c | 24 static int dbg_check_bud_bytes(struct ubifs_info *c); 34 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud() argument 39 spin_lock(&c->buds_lock); in ubifs_search_bud() 40 p = c->buds.rb_node; in ubifs_search_bud() 48 spin_unlock(&c->buds_lock); in ubifs_search_bud() 52 spin_unlock(&c->buds_lock); in ubifs_search_bud() 63 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf() argument 69 if (!c->jheads) in ubifs_get_wbuf() 72 spin_lock(&c->buds_lock); in ubifs_get_wbuf() 73 p = c->buds.rb_node; in ubifs_get_wbuf() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | master.c | 24 int ubifs_compare_master_node(struct ubifs_info *c, void *m1, void *m2) in ubifs_compare_master_node() argument 64 static int mst_node_check_hash(const struct ubifs_info *c, in mst_node_check_hash() argument 71 crypto_shash_tfm_digest(c->hash_tfm, node + sizeof(struct ubifs_ch), in mst_node_check_hash() 75 if (ubifs_check_hash(c, expected, calc)) in mst_node_check_hash() 90 static int scan_for_master(struct ubifs_info *c) in scan_for_master() argument 98 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master() 107 memcpy(c->mst_node, snod->node, snod->len); in scan_for_master() 114 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master() 126 if (ubifs_compare_master_node(c, c->mst_node, snod->node)) in scan_for_master() 129 c->mst_offs = offs; in scan_for_master() [all …]
|
| H A D | super.c | 73 static int validate_inode(struct ubifs_info *c, const struct inode *inode) in validate_inode() argument 78 if (inode->i_size > c->max_inode_sz) { in validate_inode() 79 ubifs_err(c, "inode is too large (%lld)", in validate_inode() 85 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode() 98 if (!ubifs_compr_present(c, ui->compr_type)) { in validate_inode() 99 ubifs_warn(c, "inode %lu uses '%s' compression, but it was not compiled in", in validate_inode() 100 inode->i_ino, ubifs_compr_name(c, ui->compr_type)); in validate_inode() 103 err = dbg_check_dir(c, inode); in validate_inode() 112 struct ubifs_info *c = sb->s_fs_info; in ubifs_iget() local 131 ino_key_init(c, &key, inode->i_ino); in ubifs_iget() [all …]
|
| H A D | lpt_commit.c | 21 static int dbg_populate_lsave(struct ubifs_info *c); 30 static struct ubifs_cnode *first_dirty_cnode(const struct ubifs_info *c, struct ubifs_nnode *nnode) in first_dirty_cnode() argument 32 ubifs_assert(c, nnode); in first_dirty_cnode() 61 static struct ubifs_cnode *next_dirty_cnode(const struct ubifs_info *c, struct ubifs_cnode *cnode) in next_dirty_cnode() argument 66 ubifs_assert(c, cnode); in next_dirty_cnode() 76 return first_dirty_cnode(c, (struct ubifs_nnode *)cnode); in next_dirty_cnode() 88 static int get_cnodes_to_commit(struct ubifs_info *c) in get_cnodes_to_commit() argument 93 if (!c->nroot) in get_cnodes_to_commit() 96 if (!test_bit(DIRTY_CNODE, &c->nroot->flags)) in get_cnodes_to_commit() 99 c->lpt_cnext = first_dirty_cnode(c, c->nroot); in get_cnodes_to_commit() [all …]
|
| H A D | budget.c | 51 static void shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability() argument 53 down_read(&c->vfs_sb->s_umount); in shrink_liability() 54 writeback_inodes_sb_nr(c->vfs_sb, nr_to_write, WB_REASON_FS_FREE_SPACE); in shrink_liability() 55 up_read(&c->vfs_sb->s_umount); in shrink_liability() 66 static int run_gc(struct ubifs_info *c) in run_gc() argument 71 down_read(&c->commit_sem); in run_gc() 72 lnum = ubifs_garbage_collect(c, 1); in run_gc() 73 up_read(&c->commit_sem); in run_gc() 79 err = ubifs_return_leb(c, lnum); in run_gc() 92 static long long get_liability(struct ubifs_info *c) in get_liability() argument [all …]
|
| H A D | sb.c | 54 static int get_default_compressor(struct ubifs_info *c) in get_default_compressor() argument 56 if (ubifs_compr_present(c, UBIFS_COMPR_LZO)) in get_default_compressor() 59 if (ubifs_compr_present(c, UBIFS_COMPR_ZLIB)) in get_default_compressor() 72 static int create_default_filesystem(struct ubifs_info *c) in create_default_filesystem() argument 92 c->key_len = UBIFS_SK_LEN; in create_default_filesystem() 98 if (c->leb_cnt < 0x7FFFFFFF / DEFAULT_JNL_PERCENT) in create_default_filesystem() 100 jnl_lebs = c->leb_cnt * DEFAULT_JNL_PERCENT / 100; in create_default_filesystem() 102 jnl_lebs = (c->leb_cnt / 100) * DEFAULT_JNL_PERCENT; in create_default_filesystem() 106 if (jnl_lebs * c->leb_size > DEFAULT_MAX_JNL) in create_default_filesystem() 107 jnl_lebs = DEFAULT_MAX_JNL / c->leb_size; in create_default_filesystem() [all …]
|
| H A D | log.c | 20 static int dbg_check_bud_bytes(struct ubifs_info *c); 30 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud() argument 35 spin_lock(&c->buds_lock); in ubifs_search_bud() 36 p = c->buds.rb_node; in ubifs_search_bud() 44 spin_unlock(&c->buds_lock); in ubifs_search_bud() 48 spin_unlock(&c->buds_lock); in ubifs_search_bud() 59 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf() argument 65 if (!c->jheads) in ubifs_get_wbuf() 68 spin_lock(&c->buds_lock); in ubifs_get_wbuf() 69 p = c->buds.rb_node; in ubifs_get_wbuf() [all …]
|
| H A D | commit.c | 56 static int nothing_to_commit(struct ubifs_info *c) in nothing_to_commit() argument 62 if (c->mounting || c->remounting_rw) in nothing_to_commit() 69 if (c->zroot.znode && ubifs_zn_dirty(c->zroot.znode)) in nothing_to_commit() 79 if (c->nroot && test_bit(DIRTY_CNODE, &c->nroot->flags)) in nothing_to_commit() 82 ubifs_assert(c, atomic_long_read(&c->dirty_zn_cnt) == 0); in nothing_to_commit() 83 ubifs_assert(c, c->dirty_pn_cnt == 0); in nothing_to_commit() 84 ubifs_assert(c, c->dirty_nn_cnt == 0); in nothing_to_commit() 97 static int do_commit(struct ubifs_info *c) in do_commit() argument 104 ubifs_assert(c, !c->ro_media && !c->ro_mount); in do_commit() 106 if (c->ro_error) { in do_commit() [all …]
|
| H A D | lpt.c | 46 static void do_calc_lpt_geom(struct ubifs_info *c) in do_calc_lpt_geom() argument 51 n = c->main_lebs + c->max_leb_cnt - c->leb_cnt; in do_calc_lpt_geom() 54 c->lpt_hght = 1; in do_calc_lpt_geom() 57 c->lpt_hght += 1; in do_calc_lpt_geom() 61 c->pnode_cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in do_calc_lpt_geom() 63 n = DIV_ROUND_UP(c->pnode_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom() 64 c->nnode_cnt = n; in do_calc_lpt_geom() 65 for (i = 1; i < c->lpt_hght; i++) { in do_calc_lpt_geom() 67 c->nnode_cnt += n; in do_calc_lpt_geom() 70 c->space_bits = fls(c->leb_size) - 3; in do_calc_lpt_geom() [all …]
|
| /OK3568_Linux_fs/buildroot/boot/grub2/ |
| H A D | 0131-kern-buffer-Add-variable-sized-heap-buffer.patch | 18 grub-core/kern/buffer.c | 117 +++++++++++++++ 22 create mode 100644 grub-core/kern/buffer.c 33 …c kern/emu/cache_s.S kern/emu/hostdisk.c osdep/unix/hostdisk.c osdep/exec.c osdep/devmapper/hostdi… 34 …c kern/emu/cache_s.S kern/emu/hostdisk.c osdep/unix/hostdisk.c osdep/exec.c osdep/devmapper/hostdi… 42 …c kern/i386/pc/mmap.c term/i386/pc/console.c kern/i386/dl.c kern/i386/tsc.c kern/i386/tsc_pit.c ke… 43 …c kern/i386/pc/mmap.c term/i386/pc/console.c kern/i386/dl.c kern/i386/tsc.c kern/i386/tsc_pit.c ke… 44 nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources 51 …c kern/i386/tsc_pmtimer.c kern/i386/efi/init.c bus/pci.c kern/i386/dl.c kern/i386/tsc.c kern/i386/… 52 …c kern/i386/tsc_pmtimer.c kern/i386/efi/init.c bus/pci.c kern/i386/dl.c kern/i386/tsc.c kern/i386/… 53 nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources [all …]
|
| H A D | 0032-efi-Add-secure-boot-detection.patch | 21 grub-core/kern/efi/sb.c | 109 ++++++++++++++++++++++++++++++++++++++++++++ 25 create mode 100644 grub-core/kern/efi/sb.c 48 …c kern/i386/tsc_pmtimer.c kern/i386/efi/init.c bus/pci.c kern/i386/dl.c kern/i386/tsc.c kern/i386/… 49 …c kern/i386/tsc_pmtimer.c kern/i386/efi/init.c bus/pci.c kern/i386/dl.c kern/i386/tsc.c kern/i386/… 50 nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources 57 …c kern/i386/tsc_pmtimer.c kern/x86_64/efi/callwrap.S kern/i386/efi/init.c bus/pci.c kern/x86_64/dl… 58 …c kern/i386/tsc_pmtimer.c kern/x86_64/efi/callwrap.S kern/i386/efi/init.c bus/pci.c kern/x86_64/dl… 59 nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources 66 …c kern/ia64/dl.c kern/ia64/dl_helper.c kern/ia64/cache.c lib/division.c disk/efi/efidisk.c kern/ef… 67 …c kern/ia64/dl.c kern/ia64/dl_helper.c kern/ia64/cache.c lib/division.c disk/efi/efidisk.c kern/ef… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wan/ |
| H A D | z85230.c | 108 static void z8530_rx_done(struct z8530_channel *c); 109 static void z8530_tx_done(struct z8530_channel *c); 123 static inline u8 read_zsreg(struct z8530_channel *c, u8 reg) in read_zsreg() argument 126 z8530_write_port(c->ctrlio, reg); in read_zsreg() 127 return z8530_read_port(c->ctrlio); in read_zsreg() 138 static inline u8 read_zsdata(struct z8530_channel *c) in read_zsdata() argument 141 r=z8530_read_port(c->dataio); in read_zsdata() 157 static inline void write_zsreg(struct z8530_channel *c, u8 reg, u8 val) in write_zsreg() argument 160 z8530_write_port(c->ctrlio, reg); in write_zsreg() 161 z8530_write_port(c->ctrlio, val); in write_zsreg() [all …]
|
| /OK3568_Linux_fs/buildroot/package/beecrypt/ |
| H A D | 0001-cppglue.cxx-cplusplus-only.patch | 19 …c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhies.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c d… 20 …c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhies.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c d…
|
| /OK3568_Linux_fs/kernel/fs/jffs2/ |
| H A D | wbuf.c | 35 #define PAGE_DIV(x) ( ((unsigned long)(x) / (unsigned long)(c->wbuf_pagesize)) * (unsigned long)(c-… 36 #define PAGE_MOD(x) ( (unsigned long)(x) % (unsigned long)(c->wbuf_pagesize) ) 48 static int jffs2_wbuf_pending_for_ino(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_pending_for_ino() argument 50 struct jffs2_inodirty *this = c->wbuf_inodes; in jffs2_wbuf_pending_for_ino() 69 static void jffs2_clear_wbuf_ino_list(struct jffs2_sb_info *c) in jffs2_clear_wbuf_ino_list() argument 73 this = c->wbuf_inodes; in jffs2_clear_wbuf_ino_list() 82 c->wbuf_inodes = NULL; in jffs2_clear_wbuf_ino_list() 85 static void jffs2_wbuf_dirties_inode(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_dirties_inode() argument 90 jffs2_dirty_trigger(c); in jffs2_wbuf_dirties_inode() 92 if (jffs2_wbuf_pending_for_ino(c, ino)) in jffs2_wbuf_dirties_inode() [all …]
|
| H A D | nodemgmt.c | 24 static int jffs2_rp_can_write(struct jffs2_sb_info *c) in jffs2_rp_can_write() argument 27 struct jffs2_mount_opts *opts = &c->mount_opts; in jffs2_rp_can_write() 29 avail = c->dirty_size + c->free_size + c->unchecked_size + in jffs2_rp_can_write() 30 c->erasing_size - c->resv_blocks_write * c->sector_size in jffs2_rp_can_write() 31 - c->nospc_dirty_size; in jffs2_rp_can_write() 37 opts->rp_size, c->dirty_size, c->free_size, in jffs2_rp_can_write() 38 c->erasing_size, c->unchecked_size, in jffs2_rp_can_write() 39 c->nr_erasing_blocks, avail, c->nospc_dirty_size); in jffs2_rp_can_write() 71 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, 74 int jffs2_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space() argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | cpu-probe.c | 86 static int set_ftlb_enable(struct cpuinfo_mips *c, enum ftlb_flags flags); 143 static inline void cpu_set_mt_per_tc_perf(struct cpuinfo_mips *c) in cpu_set_mt_per_tc_perf() argument 146 c->options |= MIPS_CPU_MT_PER_TC_PERF_COUNTERS; in cpu_set_mt_per_tc_perf() 151 struct cpuinfo_mips *c = ¤t_cpu_data; in check_errata() local 160 if ((c->processor_id & PRID_REV_MASK) <= PRID_REV_34K_V1_0_2) in check_errata() 208 static inline void cpu_probe_vmbits(struct cpuinfo_mips *c) in cpu_probe_vmbits() argument 213 c->vmbits = fls64(read_c0_entryhi() & 0x3fffffffffffe000ULL); in cpu_probe_vmbits() 217 static void set_isa(struct cpuinfo_mips *c, unsigned int isa) in set_isa() argument 221 c->isa_level |= MIPS_CPU_ISA_M32R5 | MIPS_CPU_ISA_M64R5; in set_isa() 225 c->isa_level |= MIPS_CPU_ISA_M32R2 | MIPS_CPU_ISA_M64R2; in set_isa() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | Makefile.am | 28 sox_SOURCES = sox.c 30 sox_SOURCES += win32/glob.c win32/glob.h 34 example0_SOURCES = example0.c 35 example1_SOURCES = example1.c 36 example2_SOURCES = example2.c 37 example3_SOURCES = example3.c 38 example4_SOURCES = example4.c 39 example5_SOURCES = example5.c 40 example6_SOURCES = example6.c 41 sox_sample_test_SOURCES = sox_sample_test.c [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/lpc10/ |
| H A D | Makefile.am | 2 EXTRA_DIST = analys.c bsynz.c chanwr.c dcbias.c \ 3 decode.c deemp.c difmag.c dyptrk.c encode.c energy.c f2c.h f2clib.c \ 4 ham84.c hp100.c invert.c irc2pc.c ivfilt.c lpcdec.c lpcenc.c lpcini.c \ 5 lpfilt.c median.c mload.c onset.c pitsyn.c placea.c placev.c preemp.c \ 6 prepro.c random.c rcchk.c synths.c tbdm.c voicin.c vparms.c lpc10.h 10 liblpc10_la_SOURCES = analys.c bsynz.c chanwr.c dcbias.c \ 11 decode.c deemp.c difmag.c dyptrk.c encode.c energy.c f2c.h f2clib.c \ 12 ham84.c hp100.c invert.c irc2pc.c ivfilt.c lpcdec.c lpcenc.c lpcini.c \ 13 lpfilt.c median.c mload.c onset.c pitsyn.c placea.c placev.c preemp.c \ 14 prepro.c random.c rcchk.c synths.c tbdm.c voicin.c vparms.c
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/ |
| H A D | amd.c | 99 static void init_amd_k5(struct cpuinfo_x86 *c) in init_amd_k5() argument 111 if (c->x86_model == 9 || c->x86_model == 10) { in init_amd_k5() 118 static void init_amd_k6(struct cpuinfo_x86 *c) in init_amd_k6() argument 124 if (c->x86_model < 6) { in init_amd_k6() 126 if (c->x86_model == 0) { in init_amd_k6() 127 clear_cpu_cap(c, X86_FEATURE_APIC); in init_amd_k6() 128 set_cpu_cap(c, X86_FEATURE_PGE); in init_amd_k6() 133 if (c->x86_model == 6 && c->x86_stepping == 1) { in init_amd_k6() 162 if (c->x86_model < 8 || in init_amd_k6() 163 (c->x86_model == 8 && c->x86_stepping < 8)) { in init_amd_k6() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/most/ |
| H A D | core.c | 102 struct most_channel *c = mbo->context; in most_free_mbo_coherent() local 103 u16 const coherent_buf_size = c->cfg.buffer_size + c->cfg.extra_len; in most_free_mbo_coherent() 105 if (c->iface->dma_free) in most_free_mbo_coherent() 106 c->iface->dma_free(mbo, coherent_buf_size); in most_free_mbo_coherent() 110 if (atomic_sub_and_test(1, &c->mbo_ref)) in most_free_mbo_coherent() 111 complete(&c->cleanup); in most_free_mbo_coherent() 118 static void flush_channel_fifos(struct most_channel *c) in flush_channel_fifos() argument 123 if (list_empty(&c->fifo) && list_empty(&c->halt_fifo)) in flush_channel_fifos() 126 spin_lock_irqsave(&c->fifo_lock, flags); in flush_channel_fifos() 127 list_for_each_entry_safe(mbo, tmp, &c->fifo, list) { in flush_channel_fifos() [all …]
|