Home
last modified time | relevance | path

Searched refs:blk (Results 1 - 25 of 530) sorted by relevance

12345678910>>...22

/kernel/linux/linux-5.10/sound/pci/ctxfi/
H A Dcthardware.h87 int (*src_rsc_put_ctrl_blk)(void *blk);
88 int (*src_set_state)(void *blk, unsigned int state);
89 int (*src_set_bm)(void *blk, unsigned int bm);
90 int (*src_set_rsr)(void *blk, unsigned int rsr);
91 int (*src_set_sf)(void *blk, unsigned int sf);
92 int (*src_set_wr)(void *blk, unsigned int wr);
93 int (*src_set_pm)(void *blk, unsigned int pm);
94 int (*src_set_rom)(void *blk, unsigned int rom);
95 int (*src_set_vo)(void *blk, unsigned int vo);
96 int (*src_set_st)(void *blk, unsigne
[all...]
H A Dcthw20k2.c157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local
160 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in src_get_rsc_ctrl_blk()
161 if (!blk) in src_get_rsc_ctrl_blk()
164 *rblk = blk; in src_get_rsc_ctrl_blk()
169 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() argument
171 kfree(blk); in src_put_rsc_ctrl_blk()
176 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument
178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state()
185 static int src_set_bm(void *blk, unsigne argument
194 src_set_rsr(void *blk, unsigned int rsr) src_set_rsr() argument
203 src_set_sf(void *blk, unsigned int sf) src_set_sf() argument
212 src_set_wr(void *blk, unsigned int wr) src_set_wr() argument
221 src_set_pm(void *blk, unsigned int pm) src_set_pm() argument
230 src_set_rom(void *blk, unsigned int rom) src_set_rom() argument
239 src_set_vo(void *blk, unsigned int vo) src_set_vo() argument
248 src_set_st(void *blk, unsigned int st) src_set_st() argument
257 src_set_ie(void *blk, unsigned int ie) src_set_ie() argument
266 src_set_ilsz(void *blk, unsigned int ilsz) src_set_ilsz() argument
275 src_set_bp(void *blk, unsigned int bp) src_set_bp() argument
284 src_set_cisz(void *blk, unsigned int cisz) src_set_cisz() argument
293 src_set_ca(void *blk, unsigned int ca) src_set_ca() argument
302 src_set_sa(void *blk, unsigned int sa) src_set_sa() argument
311 src_set_la(void *blk, unsigned int la) src_set_la() argument
320 src_set_pitch(void *blk, unsigned int pitch) src_set_pitch() argument
329 src_set_clear_zbufs(void *blk, unsigned int clear) src_set_clear_zbufs() argument
335 src_set_dirty(void *blk, unsigned int flags) src_set_dirty() argument
341 src_set_dirty_all(void *blk) src_set_dirty_all() argument
359 src_commit_write(struct hw *hw, unsigned int idx, void *blk) src_commit_write() argument
416 src_get_ca(struct hw *hw, unsigned int idx, void *blk) src_get_ca() argument
426 src_get_dirty(void *blk) src_get_dirty() argument
436 src_mgr_enbs_src(void *blk, unsigned int idx) src_mgr_enbs_src() argument
444 src_mgr_enb_src(void *blk, unsigned int idx) src_mgr_enb_src() argument
451 src_mgr_dsb_src(void *blk, unsigned int idx) src_mgr_dsb_src() argument
458 src_mgr_commit_write(struct hw *hw, void *blk) src_mgr_commit_write() argument
483 struct src_mgr_ctrl_blk *blk; src_mgr_get_ctrl_blk() local
495 src_mgr_put_ctrl_blk(void *blk) src_mgr_put_ctrl_blk() argument
504 struct srcimp_mgr_ctrl_blk *blk; srcimp_mgr_get_ctrl_blk() local
516 srcimp_mgr_put_ctrl_blk(void *blk) srcimp_mgr_put_ctrl_blk() argument
523 srcimp_mgr_set_imaparc(void *blk, unsigned int slot) srcimp_mgr_set_imaparc() argument
532 srcimp_mgr_set_imapuser(void *blk, unsigned int user) srcimp_mgr_set_imapuser() argument
541 srcimp_mgr_set_imapnxt(void *blk, unsigned int next) srcimp_mgr_set_imapnxt() argument
550 srcimp_mgr_set_imapaddr(void *blk, unsigned int addr) srcimp_mgr_set_imapaddr() argument
557 srcimp_mgr_commit_write(struct hw *hw, void *blk) srcimp_mgr_commit_write() argument
599 amixer_set_mode(void *blk, unsigned int mode) amixer_set_mode() argument
608 amixer_set_iv(void *blk, unsigned int iv) amixer_set_iv() argument
617 amixer_set_x(void *blk, unsigned int x) amixer_set_x() argument
626 amixer_set_y(void *blk, unsigned int y) amixer_set_y() argument
635 amixer_set_sadr(void *blk, unsigned int sadr) amixer_set_sadr() argument
644 amixer_set_se(void *blk, unsigned int se) amixer_set_se() argument
653 amixer_set_dirty(void *blk, unsigned int flags) amixer_set_dirty() argument
659 amixer_set_dirty_all(void *blk) amixer_set_dirty_all() argument
665 amixer_commit_write(struct hw *hw, unsigned int idx, void *blk) amixer_commit_write() argument
679 amixer_get_y(void *blk) amixer_get_y() argument
686 amixer_get_dirty(void *blk) amixer_get_dirty() argument
693 struct amixer_rsc_ctrl_blk *blk; amixer_rsc_get_ctrl_blk() local
705 amixer_rsc_put_ctrl_blk(void *blk) amixer_rsc_put_ctrl_blk() argument
719 amixer_mgr_put_ctrl_blk(void *blk) amixer_mgr_put_ctrl_blk() argument
814 dai_srt_set_srco(void *blk, unsigned int src) dai_srt_set_srco() argument
823 dai_srt_set_srcm(void *blk, unsigned int src) dai_srt_set_srcm() argument
832 dai_srt_set_rsr(void *blk, unsigned int rsr) dai_srt_set_rsr() argument
841 dai_srt_set_drat(void *blk, unsigned int drat) dai_srt_set_drat() argument
850 dai_srt_set_ec(void *blk, unsigned int ec) dai_srt_set_ec() argument
859 dai_srt_set_et(void *blk, unsigned int et) dai_srt_set_et() argument
868 dai_commit_write(struct hw *hw, unsigned int idx, void *blk) dai_commit_write() argument
882 struct dai_ctrl_blk *blk; dai_get_ctrl_blk() local
894 dai_put_ctrl_blk(void *blk) dai_put_ctrl_blk() argument
901 dao_set_spos(void *blk, unsigned int spos) dao_set_spos() argument
908 dao_commit_write(struct hw *hw, unsigned int idx, void *blk) dao_commit_write() argument
924 dao_get_spos(void *blk, unsigned int *spos) dao_get_spos() argument
932 struct dao_ctrl_blk *blk; dao_get_ctrl_blk() local
944 dao_put_ctrl_blk(void *blk) dao_put_ctrl_blk() argument
951 daio_mgr_enb_dai(void *blk, unsigned int idx) daio_mgr_enb_dai() argument
960 daio_mgr_dsb_dai(void *blk, unsigned int idx) daio_mgr_dsb_dai() argument
970 daio_mgr_enb_dao(void *blk, unsigned int idx) daio_mgr_enb_dao() argument
979 daio_mgr_dsb_dao(void *blk, unsigned int idx) daio_mgr_dsb_dao() argument
988 daio_mgr_dao_init(void *blk, unsigned int idx, unsigned int conf) daio_mgr_dao_init() argument
1026 daio_mgr_set_imaparc(void *blk, unsigned int slot) daio_mgr_set_imaparc() argument
1035 daio_mgr_set_imapnxt(void *blk, unsigned int next) daio_mgr_set_imapnxt() argument
1044 daio_mgr_set_imapaddr(void *blk, unsigned int addr) daio_mgr_set_imapaddr() argument
1051 daio_mgr_commit_write(struct hw *hw, void *blk) daio_mgr_commit_write() argument
1082 struct daio_mgr_ctrl_blk *blk; daio_mgr_get_ctrl_blk() local
1100 daio_mgr_put_ctrl_blk(void *blk) daio_mgr_put_ctrl_blk() argument
[all...]
H A Dcthw20k1.c157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local
160 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in src_get_rsc_ctrl_blk()
161 if (!blk) in src_get_rsc_ctrl_blk()
164 *rblk = blk; in src_get_rsc_ctrl_blk()
169 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() argument
171 kfree(blk); in src_put_rsc_ctrl_blk()
176 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument
178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state()
185 static int src_set_bm(void *blk, unsigne argument
194 src_set_rsr(void *blk, unsigned int rsr) src_set_rsr() argument
203 src_set_sf(void *blk, unsigned int sf) src_set_sf() argument
212 src_set_wr(void *blk, unsigned int wr) src_set_wr() argument
221 src_set_pm(void *blk, unsigned int pm) src_set_pm() argument
230 src_set_rom(void *blk, unsigned int rom) src_set_rom() argument
239 src_set_vo(void *blk, unsigned int vo) src_set_vo() argument
248 src_set_st(void *blk, unsigned int st) src_set_st() argument
257 src_set_ie(void *blk, unsigned int ie) src_set_ie() argument
266 src_set_ilsz(void *blk, unsigned int ilsz) src_set_ilsz() argument
275 src_set_bp(void *blk, unsigned int bp) src_set_bp() argument
284 src_set_cisz(void *blk, unsigned int cisz) src_set_cisz() argument
293 src_set_ca(void *blk, unsigned int ca) src_set_ca() argument
302 src_set_sa(void *blk, unsigned int sa) src_set_sa() argument
311 src_set_la(void *blk, unsigned int la) src_set_la() argument
320 src_set_pitch(void *blk, unsigned int pitch) src_set_pitch() argument
329 src_set_clear_zbufs(void *blk, unsigned int clear) src_set_clear_zbufs() argument
335 src_set_dirty(void *blk, unsigned int flags) src_set_dirty() argument
341 src_set_dirty_all(void *blk) src_set_dirty_all() argument
359 src_commit_write(struct hw *hw, unsigned int idx, void *blk) src_commit_write() argument
416 src_get_ca(struct hw *hw, unsigned int idx, void *blk) src_get_ca() argument
426 src_get_dirty(void *blk) src_get_dirty() argument
436 src_mgr_enbs_src(void *blk, unsigned int idx) src_mgr_enbs_src() argument
444 src_mgr_enb_src(void *blk, unsigned int idx) src_mgr_enb_src() argument
451 src_mgr_dsb_src(void *blk, unsigned int idx) src_mgr_dsb_src() argument
458 src_mgr_commit_write(struct hw *hw, void *blk) src_mgr_commit_write() argument
483 struct src_mgr_ctrl_blk *blk; src_mgr_get_ctrl_blk() local
495 src_mgr_put_ctrl_blk(void *blk) src_mgr_put_ctrl_blk() argument
504 struct srcimp_mgr_ctrl_blk *blk; srcimp_mgr_get_ctrl_blk() local
516 srcimp_mgr_put_ctrl_blk(void *blk) srcimp_mgr_put_ctrl_blk() argument
523 srcimp_mgr_set_imaparc(void *blk, unsigned int slot) srcimp_mgr_set_imaparc() argument
532 srcimp_mgr_set_imapuser(void *blk, unsigned int user) srcimp_mgr_set_imapuser() argument
541 srcimp_mgr_set_imapnxt(void *blk, unsigned int next) srcimp_mgr_set_imapnxt() argument
550 srcimp_mgr_set_imapaddr(void *blk, unsigned int addr) srcimp_mgr_set_imapaddr() argument
559 srcimp_mgr_commit_write(struct hw *hw, void *blk) srcimp_mgr_commit_write() argument
600 amixer_set_mode(void *blk, unsigned int mode) amixer_set_mode() argument
609 amixer_set_iv(void *blk, unsigned int iv) amixer_set_iv() argument
615 amixer_set_x(void *blk, unsigned int x) amixer_set_x() argument
624 amixer_set_y(void *blk, unsigned int y) amixer_set_y() argument
633 amixer_set_sadr(void *blk, unsigned int sadr) amixer_set_sadr() argument
642 amixer_set_se(void *blk, unsigned int se) amixer_set_se() argument
651 amixer_set_dirty(void *blk, unsigned int flags) amixer_set_dirty() argument
657 amixer_set_dirty_all(void *blk) amixer_set_dirty_all() argument
663 amixer_commit_write(struct hw *hw, unsigned int idx, void *blk) amixer_commit_write() argument
677 amixer_get_y(void *blk) amixer_get_y() argument
684 amixer_get_dirty(void *blk) amixer_get_dirty() argument
691 struct amixer_rsc_ctrl_blk *blk; amixer_rsc_get_ctrl_blk() local
703 amixer_rsc_put_ctrl_blk(void *blk) amixer_rsc_put_ctrl_blk() argument
724 amixer_mgr_put_ctrl_blk(void *blk) amixer_mgr_put_ctrl_blk() argument
824 dai_srt_set_srcr(void *blk, unsigned int src) dai_srt_set_srcr() argument
833 dai_srt_set_srcl(void *blk, unsigned int src) dai_srt_set_srcl() argument
842 dai_srt_set_rsr(void *blk, unsigned int rsr) dai_srt_set_rsr() argument
851 dai_srt_set_drat(void *blk, unsigned int drat) dai_srt_set_drat() argument
860 dai_srt_set_ec(void *blk, unsigned int ec) dai_srt_set_ec() argument
869 dai_srt_set_et(void *blk, unsigned int et) dai_srt_set_et() argument
878 dai_commit_write(struct hw *hw, unsigned int idx, void *blk) dai_commit_write() argument
898 struct dai_ctrl_blk *blk; dai_get_ctrl_blk() local
910 dai_put_ctrl_blk(void *blk) dai_put_ctrl_blk() argument
917 dao_set_spos(void *blk, unsigned int spos) dao_set_spos() argument
924 dao_commit_write(struct hw *hw, unsigned int idx, void *blk) dao_commit_write() argument
939 dao_get_spos(void *blk, unsigned int *spos) dao_get_spos() argument
947 struct dao_ctrl_blk *blk; dao_get_ctrl_blk() local
959 dao_put_ctrl_blk(void *blk) dao_put_ctrl_blk() argument
966 daio_mgr_enb_dai(void *blk, unsigned int idx) daio_mgr_enb_dai() argument
983 daio_mgr_dsb_dai(void *blk, unsigned int idx) daio_mgr_dsb_dai() argument
1000 daio_mgr_enb_dao(void *blk, unsigned int idx) daio_mgr_enb_dao() argument
1017 daio_mgr_dsb_dao(void *blk, unsigned int idx) daio_mgr_dsb_dao() argument
1034 daio_mgr_dao_init(void *blk, unsigned int idx, unsigned int conf) daio_mgr_dao_init() argument
1071 daio_mgr_set_imaparc(void *blk, unsigned int slot) daio_mgr_set_imaparc() argument
1080 daio_mgr_set_imapnxt(void *blk, unsigned int next) daio_mgr_set_imapnxt() argument
1089 daio_mgr_set_imapaddr(void *blk, unsigned int addr) daio_mgr_set_imapaddr() argument
1098 daio_mgr_commit_write(struct hw *hw, void *blk) daio_mgr_commit_write() argument
1141 struct daio_mgr_ctrl_blk *blk; daio_mgr_get_ctrl_blk() local
1157 daio_mgr_put_ctrl_blk(void *blk) daio_mgr_put_ctrl_blk() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/ctxfi/
H A Dcthardware.h87 int (*src_rsc_put_ctrl_blk)(void *blk);
88 int (*src_set_state)(void *blk, unsigned int state);
89 int (*src_set_bm)(void *blk, unsigned int bm);
90 int (*src_set_rsr)(void *blk, unsigned int rsr);
91 int (*src_set_sf)(void *blk, unsigned int sf);
92 int (*src_set_wr)(void *blk, unsigned int wr);
93 int (*src_set_pm)(void *blk, unsigned int pm);
94 int (*src_set_rom)(void *blk, unsigned int rom);
95 int (*src_set_vo)(void *blk, unsigned int vo);
96 int (*src_set_st)(void *blk, unsigne
[all...]
H A Dcthw20k2.c157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local
160 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in src_get_rsc_ctrl_blk()
161 if (!blk) in src_get_rsc_ctrl_blk()
164 *rblk = blk; in src_get_rsc_ctrl_blk()
169 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() argument
171 kfree(blk); in src_put_rsc_ctrl_blk()
176 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument
178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state()
185 static int src_set_bm(void *blk, unsigne argument
194 src_set_rsr(void *blk, unsigned int rsr) src_set_rsr() argument
203 src_set_sf(void *blk, unsigned int sf) src_set_sf() argument
212 src_set_wr(void *blk, unsigned int wr) src_set_wr() argument
221 src_set_pm(void *blk, unsigned int pm) src_set_pm() argument
230 src_set_rom(void *blk, unsigned int rom) src_set_rom() argument
239 src_set_vo(void *blk, unsigned int vo) src_set_vo() argument
248 src_set_st(void *blk, unsigned int st) src_set_st() argument
257 src_set_ie(void *blk, unsigned int ie) src_set_ie() argument
266 src_set_ilsz(void *blk, unsigned int ilsz) src_set_ilsz() argument
275 src_set_bp(void *blk, unsigned int bp) src_set_bp() argument
284 src_set_cisz(void *blk, unsigned int cisz) src_set_cisz() argument
293 src_set_ca(void *blk, unsigned int ca) src_set_ca() argument
302 src_set_sa(void *blk, unsigned int sa) src_set_sa() argument
311 src_set_la(void *blk, unsigned int la) src_set_la() argument
320 src_set_pitch(void *blk, unsigned int pitch) src_set_pitch() argument
329 src_set_clear_zbufs(void *blk, unsigned int clear) src_set_clear_zbufs() argument
335 src_set_dirty(void *blk, unsigned int flags) src_set_dirty() argument
341 src_set_dirty_all(void *blk) src_set_dirty_all() argument
359 src_commit_write(struct hw *hw, unsigned int idx, void *blk) src_commit_write() argument
416 src_get_ca(struct hw *hw, unsigned int idx, void *blk) src_get_ca() argument
426 src_get_dirty(void *blk) src_get_dirty() argument
436 src_mgr_enbs_src(void *blk, unsigned int idx) src_mgr_enbs_src() argument
444 src_mgr_enb_src(void *blk, unsigned int idx) src_mgr_enb_src() argument
451 src_mgr_dsb_src(void *blk, unsigned int idx) src_mgr_dsb_src() argument
458 src_mgr_commit_write(struct hw *hw, void *blk) src_mgr_commit_write() argument
483 struct src_mgr_ctrl_blk *blk; src_mgr_get_ctrl_blk() local
495 src_mgr_put_ctrl_blk(void *blk) src_mgr_put_ctrl_blk() argument
504 struct srcimp_mgr_ctrl_blk *blk; srcimp_mgr_get_ctrl_blk() local
516 srcimp_mgr_put_ctrl_blk(void *blk) srcimp_mgr_put_ctrl_blk() argument
523 srcimp_mgr_set_imaparc(void *blk, unsigned int slot) srcimp_mgr_set_imaparc() argument
532 srcimp_mgr_set_imapuser(void *blk, unsigned int user) srcimp_mgr_set_imapuser() argument
541 srcimp_mgr_set_imapnxt(void *blk, unsigned int next) srcimp_mgr_set_imapnxt() argument
550 srcimp_mgr_set_imapaddr(void *blk, unsigned int addr) srcimp_mgr_set_imapaddr() argument
557 srcimp_mgr_commit_write(struct hw *hw, void *blk) srcimp_mgr_commit_write() argument
599 amixer_set_mode(void *blk, unsigned int mode) amixer_set_mode() argument
608 amixer_set_iv(void *blk, unsigned int iv) amixer_set_iv() argument
617 amixer_set_x(void *blk, unsigned int x) amixer_set_x() argument
626 amixer_set_y(void *blk, unsigned int y) amixer_set_y() argument
635 amixer_set_sadr(void *blk, unsigned int sadr) amixer_set_sadr() argument
644 amixer_set_se(void *blk, unsigned int se) amixer_set_se() argument
653 amixer_set_dirty(void *blk, unsigned int flags) amixer_set_dirty() argument
659 amixer_set_dirty_all(void *blk) amixer_set_dirty_all() argument
665 amixer_commit_write(struct hw *hw, unsigned int idx, void *blk) amixer_commit_write() argument
679 amixer_get_y(void *blk) amixer_get_y() argument
686 amixer_get_dirty(void *blk) amixer_get_dirty() argument
693 struct amixer_rsc_ctrl_blk *blk; amixer_rsc_get_ctrl_blk() local
705 amixer_rsc_put_ctrl_blk(void *blk) amixer_rsc_put_ctrl_blk() argument
719 amixer_mgr_put_ctrl_blk(void *blk) amixer_mgr_put_ctrl_blk() argument
814 dai_srt_set_srco(void *blk, unsigned int src) dai_srt_set_srco() argument
823 dai_srt_set_srcm(void *blk, unsigned int src) dai_srt_set_srcm() argument
832 dai_srt_set_rsr(void *blk, unsigned int rsr) dai_srt_set_rsr() argument
841 dai_srt_set_drat(void *blk, unsigned int drat) dai_srt_set_drat() argument
850 dai_srt_set_ec(void *blk, unsigned int ec) dai_srt_set_ec() argument
859 dai_srt_set_et(void *blk, unsigned int et) dai_srt_set_et() argument
868 dai_commit_write(struct hw *hw, unsigned int idx, void *blk) dai_commit_write() argument
882 struct dai_ctrl_blk *blk; dai_get_ctrl_blk() local
894 dai_put_ctrl_blk(void *blk) dai_put_ctrl_blk() argument
901 dao_set_spos(void *blk, unsigned int spos) dao_set_spos() argument
908 dao_commit_write(struct hw *hw, unsigned int idx, void *blk) dao_commit_write() argument
924 dao_get_spos(void *blk, unsigned int *spos) dao_get_spos() argument
932 struct dao_ctrl_blk *blk; dao_get_ctrl_blk() local
944 dao_put_ctrl_blk(void *blk) dao_put_ctrl_blk() argument
951 daio_mgr_enb_dai(void *blk, unsigned int idx) daio_mgr_enb_dai() argument
960 daio_mgr_dsb_dai(void *blk, unsigned int idx) daio_mgr_dsb_dai() argument
970 daio_mgr_enb_dao(void *blk, unsigned int idx) daio_mgr_enb_dao() argument
979 daio_mgr_dsb_dao(void *blk, unsigned int idx) daio_mgr_dsb_dao() argument
988 daio_mgr_dao_init(void *blk, unsigned int idx, unsigned int conf) daio_mgr_dao_init() argument
1026 daio_mgr_set_imaparc(void *blk, unsigned int slot) daio_mgr_set_imaparc() argument
1035 daio_mgr_set_imapnxt(void *blk, unsigned int next) daio_mgr_set_imapnxt() argument
1044 daio_mgr_set_imapaddr(void *blk, unsigned int addr) daio_mgr_set_imapaddr() argument
1051 daio_mgr_commit_write(struct hw *hw, void *blk) daio_mgr_commit_write() argument
1082 struct daio_mgr_ctrl_blk *blk; daio_mgr_get_ctrl_blk() local
1100 daio_mgr_put_ctrl_blk(void *blk) daio_mgr_put_ctrl_blk() argument
[all...]
H A Dcthw20k1.c157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local
160 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in src_get_rsc_ctrl_blk()
161 if (!blk) in src_get_rsc_ctrl_blk()
164 *rblk = blk; in src_get_rsc_ctrl_blk()
169 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() argument
171 kfree(blk); in src_put_rsc_ctrl_blk()
176 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument
178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state()
185 static int src_set_bm(void *blk, unsigne argument
194 src_set_rsr(void *blk, unsigned int rsr) src_set_rsr() argument
203 src_set_sf(void *blk, unsigned int sf) src_set_sf() argument
212 src_set_wr(void *blk, unsigned int wr) src_set_wr() argument
221 src_set_pm(void *blk, unsigned int pm) src_set_pm() argument
230 src_set_rom(void *blk, unsigned int rom) src_set_rom() argument
239 src_set_vo(void *blk, unsigned int vo) src_set_vo() argument
248 src_set_st(void *blk, unsigned int st) src_set_st() argument
257 src_set_ie(void *blk, unsigned int ie) src_set_ie() argument
266 src_set_ilsz(void *blk, unsigned int ilsz) src_set_ilsz() argument
275 src_set_bp(void *blk, unsigned int bp) src_set_bp() argument
284 src_set_cisz(void *blk, unsigned int cisz) src_set_cisz() argument
293 src_set_ca(void *blk, unsigned int ca) src_set_ca() argument
302 src_set_sa(void *blk, unsigned int sa) src_set_sa() argument
311 src_set_la(void *blk, unsigned int la) src_set_la() argument
320 src_set_pitch(void *blk, unsigned int pitch) src_set_pitch() argument
329 src_set_clear_zbufs(void *blk, unsigned int clear) src_set_clear_zbufs() argument
335 src_set_dirty(void *blk, unsigned int flags) src_set_dirty() argument
341 src_set_dirty_all(void *blk) src_set_dirty_all() argument
359 src_commit_write(struct hw *hw, unsigned int idx, void *blk) src_commit_write() argument
416 src_get_ca(struct hw *hw, unsigned int idx, void *blk) src_get_ca() argument
426 src_get_dirty(void *blk) src_get_dirty() argument
436 src_mgr_enbs_src(void *blk, unsigned int idx) src_mgr_enbs_src() argument
444 src_mgr_enb_src(void *blk, unsigned int idx) src_mgr_enb_src() argument
451 src_mgr_dsb_src(void *blk, unsigned int idx) src_mgr_dsb_src() argument
458 src_mgr_commit_write(struct hw *hw, void *blk) src_mgr_commit_write() argument
483 struct src_mgr_ctrl_blk *blk; src_mgr_get_ctrl_blk() local
495 src_mgr_put_ctrl_blk(void *blk) src_mgr_put_ctrl_blk() argument
504 struct srcimp_mgr_ctrl_blk *blk; srcimp_mgr_get_ctrl_blk() local
516 srcimp_mgr_put_ctrl_blk(void *blk) srcimp_mgr_put_ctrl_blk() argument
523 srcimp_mgr_set_imaparc(void *blk, unsigned int slot) srcimp_mgr_set_imaparc() argument
532 srcimp_mgr_set_imapuser(void *blk, unsigned int user) srcimp_mgr_set_imapuser() argument
541 srcimp_mgr_set_imapnxt(void *blk, unsigned int next) srcimp_mgr_set_imapnxt() argument
550 srcimp_mgr_set_imapaddr(void *blk, unsigned int addr) srcimp_mgr_set_imapaddr() argument
559 srcimp_mgr_commit_write(struct hw *hw, void *blk) srcimp_mgr_commit_write() argument
600 amixer_set_mode(void *blk, unsigned int mode) amixer_set_mode() argument
609 amixer_set_iv(void *blk, unsigned int iv) amixer_set_iv() argument
615 amixer_set_x(void *blk, unsigned int x) amixer_set_x() argument
624 amixer_set_y(void *blk, unsigned int y) amixer_set_y() argument
633 amixer_set_sadr(void *blk, unsigned int sadr) amixer_set_sadr() argument
642 amixer_set_se(void *blk, unsigned int se) amixer_set_se() argument
651 amixer_set_dirty(void *blk, unsigned int flags) amixer_set_dirty() argument
657 amixer_set_dirty_all(void *blk) amixer_set_dirty_all() argument
663 amixer_commit_write(struct hw *hw, unsigned int idx, void *blk) amixer_commit_write() argument
677 amixer_get_y(void *blk) amixer_get_y() argument
684 amixer_get_dirty(void *blk) amixer_get_dirty() argument
691 struct amixer_rsc_ctrl_blk *blk; amixer_rsc_get_ctrl_blk() local
703 amixer_rsc_put_ctrl_blk(void *blk) amixer_rsc_put_ctrl_blk() argument
724 amixer_mgr_put_ctrl_blk(void *blk) amixer_mgr_put_ctrl_blk() argument
824 dai_srt_set_srcr(void *blk, unsigned int src) dai_srt_set_srcr() argument
833 dai_srt_set_srcl(void *blk, unsigned int src) dai_srt_set_srcl() argument
842 dai_srt_set_rsr(void *blk, unsigned int rsr) dai_srt_set_rsr() argument
851 dai_srt_set_drat(void *blk, unsigned int drat) dai_srt_set_drat() argument
860 dai_srt_set_ec(void *blk, unsigned int ec) dai_srt_set_ec() argument
869 dai_srt_set_et(void *blk, unsigned int et) dai_srt_set_et() argument
878 dai_commit_write(struct hw *hw, unsigned int idx, void *blk) dai_commit_write() argument
898 struct dai_ctrl_blk *blk; dai_get_ctrl_blk() local
910 dai_put_ctrl_blk(void *blk) dai_put_ctrl_blk() argument
917 dao_set_spos(void *blk, unsigned int spos) dao_set_spos() argument
924 dao_commit_write(struct hw *hw, unsigned int idx, void *blk) dao_commit_write() argument
939 dao_get_spos(void *blk, unsigned int *spos) dao_get_spos() argument
947 struct dao_ctrl_blk *blk; dao_get_ctrl_blk() local
959 dao_put_ctrl_blk(void *blk) dao_put_ctrl_blk() argument
966 daio_mgr_enb_dai(void *blk, unsigned int idx) daio_mgr_enb_dai() argument
983 daio_mgr_dsb_dai(void *blk, unsigned int idx) daio_mgr_dsb_dai() argument
1000 daio_mgr_enb_dao(void *blk, unsigned int idx) daio_mgr_enb_dao() argument
1017 daio_mgr_dsb_dao(void *blk, unsigned int idx) daio_mgr_dsb_dao() argument
1034 daio_mgr_dao_init(void *blk, unsigned int idx, unsigned int conf) daio_mgr_dao_init() argument
1071 daio_mgr_set_imaparc(void *blk, unsigned int slot) daio_mgr_set_imaparc() argument
1080 daio_mgr_set_imapnxt(void *blk, unsigned int next) daio_mgr_set_imapnxt() argument
1089 daio_mgr_set_imapaddr(void *blk, unsigned int addr) daio_mgr_set_imapaddr() argument
1098 daio_mgr_commit_write(struct hw *hw, void *blk) daio_mgr_commit_write() argument
1141 struct daio_mgr_ctrl_blk *blk; daio_mgr_get_ctrl_blk() local
1157 daio_mgr_put_ctrl_blk(void *blk) daio_mgr_put_ctrl_blk() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.h158 #define MI_GFX6_TILE_MASK_SH_LIST(mask_sh, blk)\
159 SFB(blk, GRPH_CONTROL, GRPH_NUM_BANKS, mask_sh),\
160 SFB(blk, GRPH_CONTROL, GRPH_BANK_WIDTH, mask_sh),\
161 SFB(blk, GRPH_CONTROL, GRPH_BANK_HEIGHT, mask_sh),\
162 SFB(blk, GRPH_CONTROL, GRPH_MACRO_TILE_ASPECT, mask_sh),\
163 SFB(blk, GRPH_CONTROL, GRPH_TILE_SPLIT, mask_sh),\
164 SFB(blk, GRPH_CONTROL, GRPH_PIPE_CONFIG, mask_sh),\
165 SFB(blk, GRPH_CONTROL, GRPH_ARRAY_MODE, mask_sh),\
166 SFB(blk, GRPH_CONTROL, GRPH_COLOR_EXPANSION_MODE, mask_sh)
169 #define MI_GFX8_TILE_MASK_SH_LIST(mask_sh, blk)\
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.h158 #define MI_GFX6_TILE_MASK_SH_LIST(mask_sh, blk)\
159 SFB(blk, GRPH_CONTROL, GRPH_NUM_BANKS, mask_sh),\
160 SFB(blk, GRPH_CONTROL, GRPH_BANK_WIDTH, mask_sh),\
161 SFB(blk, GRPH_CONTROL, GRPH_BANK_HEIGHT, mask_sh),\
162 SFB(blk, GRPH_CONTROL, GRPH_MACRO_TILE_ASPECT, mask_sh),\
163 SFB(blk, GRPH_CONTROL, GRPH_TILE_SPLIT, mask_sh),\
164 SFB(blk, GRPH_CONTROL, GRPH_PIPE_CONFIG, mask_sh),\
165 SFB(blk, GRPH_CONTROL, GRPH_ARRAY_MODE, mask_sh),\
166 SFB(blk, GRPH_CONTROL, GRPH_COLOR_EXPANSION_MODE, mask_sh)
169 #define MI_GFX8_TILE_MASK_SH_LIST(mask_sh, blk)\
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c78 * @blk: block type
84 static u32 ice_sect_id(enum ice_block blk, enum ice_sect sect) in ice_sect_id() argument
86 return ice_sect_lkup[blk][sect]; in ice_sect_id()
623 * @blk: hardware block
630 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx, in ice_find_prot_off() argument
635 if (prof >= hw->blk[blk].es.count) in ice_find_prot_off()
638 if (fv_idx >= hw->blk[blk].es.fvw) in ice_find_prot_off()
641 fv_ext = hw->blk[bl in ice_find_prot_off()
663 ice_ptg_find_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 *ptg) ice_ptg_find_ptype() argument
681 ice_ptg_alloc_val(struct ice_hw *hw, enum ice_block blk, u8 ptg) ice_ptg_alloc_val() argument
697 ice_ptg_remove_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) ice_ptg_remove_ptype() argument
744 ice_ptg_add_mv_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) ice_ptg_add_mv_ptype() argument
888 ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *vsig) ice_vsig_find_vsi() argument
910 ice_vsig_alloc_val(struct ice_hw *hw, enum ice_block blk, u16 vsig) ice_vsig_alloc_val() argument
930 ice_vsig_alloc(struct ice_hw *hw, enum ice_block blk) ice_vsig_alloc() argument
957 ice_find_dup_props_vsig(struct ice_hw *hw, enum ice_block blk, struct list_head *chs, u16 *vsig) ice_find_dup_props_vsig() argument
982 ice_vsig_free(struct ice_hw *hw, enum ice_block blk, u16 vsig) ice_vsig_free() argument
1043 ice_vsig_remove_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig) ice_vsig_remove_vsi() argument
1101 ice_vsig_add_mv_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig) ice_vsig_add_mv_vsi() argument
1160 ice_prof_has_mask_idx(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 idx, u16 mask) ice_prof_has_mask_idx() argument
1203 ice_prof_has_mask(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 *masks) ice_prof_has_mask() argument
1224 ice_find_prof_id_with_mask(struct ice_hw *hw, enum ice_block blk, struct ice_fv_word *fv, u16 *masks, u8 *prof_id) ice_find_prof_id_with_mask() argument
1258 ice_prof_id_rsrc_type(enum ice_block blk, u16 *rsrc_type) ice_prof_id_rsrc_type() argument
1278 ice_tcam_ent_rsrc_type(enum ice_block blk, u16 *rsrc_type) ice_tcam_ent_rsrc_type() argument
1304 ice_alloc_tcam_ent(struct ice_hw *hw, enum ice_block blk, bool btm, u16 *tcam_idx) ice_alloc_tcam_ent() argument
1324 ice_free_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 tcam_idx) ice_free_tcam_ent() argument
1343 ice_alloc_prof_id(struct ice_hw *hw, enum ice_block blk, u8 *prof_id) ice_alloc_prof_id() argument
1367 ice_free_prof_id(struct ice_hw *hw, enum ice_block blk, u8 prof_id) ice_free_prof_id() argument
1384 ice_prof_inc_ref(struct ice_hw *hw, enum ice_block blk, u8 prof_id) ice_prof_inc_ref() argument
1403 ice_write_prof_mask_reg(struct ice_hw *hw, enum ice_block blk, u16 mask_idx, u16 idx, u16 mask) ice_write_prof_mask_reg() argument
1439 ice_write_prof_mask_enable_res(struct ice_hw *hw, enum ice_block blk, u16 prof_id, u32 enable_mask) ice_write_prof_mask_enable_res() argument
1467 ice_init_prof_masks(struct ice_hw *hw, enum ice_block blk) ice_init_prof_masks() argument
1505 ice_alloc_prof_mask(struct ice_hw *hw, enum ice_block blk, u16 idx, u16 mask, u16 *mask_idx) ice_alloc_prof_mask() argument
1573 ice_free_prof_mask(struct ice_hw *hw, enum ice_block blk, u16 mask_idx) ice_free_prof_mask() argument
1615 ice_free_prof_masks(struct ice_hw *hw, enum ice_block blk, u16 prof_id) ice_free_prof_masks() argument
1638 ice_shutdown_prof_masks(struct ice_hw *hw, enum ice_block blk) ice_shutdown_prof_masks() argument
1677 ice_update_prof_masking(struct ice_hw *hw, enum ice_block blk, u16 prof_id, u16 *masks) ice_update_prof_masking() argument
1726 ice_write_es(struct ice_hw *hw, enum ice_block blk, u8 prof_id, struct ice_fv_word *fv) ice_write_es() argument
1749 ice_prof_dec_ref(struct ice_hw *hw, enum ice_block blk, u8 prof_id) ice_prof_dec_ref() argument
1813 ice_init_sw_xlt1_db(struct ice_hw *hw, enum ice_block blk) ice_init_sw_xlt1_db() argument
1833 ice_init_sw_xlt2_db(struct ice_hw *hw, enum ice_block blk) ice_init_sw_xlt2_db() argument
2075 ice_free_vsig_tbl(struct ice_hw *hw, enum ice_block blk) ice_free_vsig_tbl() argument
2326 ice_prof_gen_key(struct ice_hw *hw, enum ice_block blk, u8 ptg, u16 vsig, u8 cdid, u16 flags, u8 vl_msk[ICE_TCAM_KEY_VAL_SZ], u8 dc_msk[ICE_TCAM_KEY_VAL_SZ], u8 nm_msk[ICE_TCAM_KEY_VAL_SZ], u8 key[ICE_TCAM_KEY_SZ]) ice_prof_gen_key() argument
2382 ice_tcam_write_entry(struct ice_hw *hw, enum ice_block blk, u16 idx, u8 prof_id, u8 ptg, u16 vsig, u8 cdid, u16 flags, u8 vl_msk[ICE_TCAM_KEY_VAL_SZ], u8 dc_msk[ICE_TCAM_KEY_VAL_SZ], u8 nm_msk[ICE_TCAM_KEY_VAL_SZ]) ice_tcam_write_entry() argument
2409 ice_vsig_get_ref(struct ice_hw *hw, enum ice_block blk, u16 vsig, u16 *refs) ice_vsig_get_ref() argument
2436 ice_has_prof_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl) ice_has_prof_vsig() argument
2459 ice_prof_bld_es(struct ice_hw *hw, enum ice_block blk, struct ice_buf_build *bld, struct list_head *chgs) ice_prof_bld_es() argument
2497 ice_prof_bld_tcam(struct ice_hw *hw, enum ice_block blk, struct ice_buf_build *bld, struct list_head *chgs) ice_prof_bld_tcam() argument
2533 ice_prof_bld_xlt1(enum ice_block blk, struct ice_buf_build *bld, struct list_head *chgs) ice_prof_bld_xlt1() argument
2565 ice_prof_bld_xlt2(enum ice_block blk, struct ice_buf_build *bld, struct list_head *chgs) ice_prof_bld_xlt2() argument
2604 ice_upd_prof_hw(struct ice_hw *hw, enum ice_block blk, struct list_head *chgs) ice_upd_prof_hw() argument
2973 ice_add_prof(struct ice_hw *hw, enum ice_block blk, u64 id, u8 ptypes[], const struct ice_ptype_attributes *attr, u16 attr_cnt, struct ice_fv_word *es, u16 *masks) ice_add_prof() argument
3101 ice_search_prof_id(struct ice_hw *hw, enum ice_block blk, u64 id) ice_search_prof_id() argument
3122 ice_vsig_prof_id_count(struct ice_hw *hw, enum ice_block blk, u16 vsig) ice_vsig_prof_id_count() argument
3140 ice_rel_tcam_idx(struct ice_hw *hw, enum ice_block blk, u16 idx) ice_rel_tcam_idx() argument
3167 ice_rem_prof_id(struct ice_hw *hw, enum ice_block blk, struct ice_vsig_prof *prof) ice_rem_prof_id() argument
3193 ice_rem_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, struct list_head *chg) ice_rem_vsig() argument
3251 ice_rem_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl, struct list_head *chg) ice_rem_prof_id_vsig() argument
3284 ice_rem_flow_all(struct ice_hw *hw, enum ice_block blk, u64 id) ice_rem_flow_all() argument
3324 ice_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 id) ice_rem_prof() argument
3361 ice_get_prof(struct ice_hw *hw, enum ice_block blk, u64 hdl, struct list_head *chg) ice_get_prof() argument
3416 ice_get_profs_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, struct list_head *lst) ice_get_profs_vsig() argument
3454 ice_add_prof_to_lst(struct ice_hw *hw, enum ice_block blk, struct list_head *lst, u64 hdl) ice_add_prof_to_lst() argument
3501 ice_move_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig, struct list_head *chg) ice_move_vsi() argument
3561 ice_prof_tcam_ena_dis(struct ice_hw *hw, enum ice_block blk, bool enable, u16 vsig, struct ice_tcam_inf *tcam, struct list_head *chg) ice_prof_tcam_ena_dis() argument
3634 ice_adj_prof_priorities(struct ice_hw *hw, enum ice_block blk, u16 vsig, struct list_head *chg) ice_adj_prof_priorities() argument
3705 ice_add_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl, bool rev, struct list_head *chg) ice_add_prof_id_vsig() argument
3817 ice_create_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl, struct list_head *chg) ice_create_prof_id_vsig() argument
3867 ice_create_vsig_from_lst(struct ice_hw *hw, enum ice_block blk, u16 vsi, struct list_head *lst, u16 *new_vsig, struct list_head *chg) ice_create_vsig_from_lst() argument
3904 ice_find_prof_vsig(struct ice_hw *hw, enum ice_block blk, u64 hdl, u16 *vsig) ice_find_prof_vsig() argument
3939 ice_add_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl) ice_add_prof_id_flow() argument
4106 ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl) ice_rem_prof_id_flow() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/lib/
H A Drheap.c47 rh_block_t *block, *blk; in grow() local
73 for (i = 0, blk = block; i < info->max_blocks; i++, blk++) in grow()
74 fixup(blks, blke, delta, &blk->list); in grow()
91 blk = block + info->max_blocks - new_blocks; in grow()
92 for (i = 0; i < new_blocks; i++, blk++) in grow()
93 list_add(&blk->list, &info->empty_list); in grow()
123 rh_block_t *blk; in get_slot() local
133 blk = list_entry(info->empty_list.next, rh_block_t, list); in get_slot()
134 list_del_init(&blk in get_slot()
145 release_slot(rh_info_t * info, rh_block_t * blk) release_slot() argument
153 rh_block_t *blk; attach_free_block() local
234 rh_block_t *blk; attach_taken_block() local
304 rh_block_t *blk; rh_init() local
331 rh_block_t *blk; rh_attach_region() local
373 rh_block_t *blk, *newblk; rh_detach_region() local
445 rh_block_t *blk; rh_alloc_align() local
530 rh_block_t *blk, *newblk1, *newblk2; rh_alloc_fixed() local
614 rh_block_t *blk, *blk2; rh_free() local
643 rh_block_t *blk; rh_get_stats() local
681 rh_block_t *blk, *blk2; rh_set_owner() local
740 rh_dump_blk(rh_info_t * info, rh_block_t * blk) rh_dump_blk() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/lib/
H A Drheap.c47 rh_block_t *block, *blk; in grow() local
73 for (i = 0, blk = block; i < info->max_blocks; i++, blk++) in grow()
74 fixup(blks, blke, delta, &blk->list); in grow()
91 blk = block + info->max_blocks - new_blocks; in grow()
92 for (i = 0; i < new_blocks; i++, blk++) in grow()
93 list_add(&blk->list, &info->empty_list); in grow()
123 rh_block_t *blk; in get_slot() local
133 blk = list_entry(info->empty_list.next, rh_block_t, list); in get_slot()
134 list_del_init(&blk in get_slot()
145 release_slot(rh_info_t * info, rh_block_t * blk) release_slot() argument
153 rh_block_t *blk; attach_free_block() local
234 rh_block_t *blk; attach_taken_block() local
304 rh_block_t *blk; rh_init() local
331 rh_block_t *blk; rh_attach_region() local
373 rh_block_t *blk, *newblk; rh_detach_region() local
445 rh_block_t *blk; rh_alloc_align() local
530 rh_block_t *blk, *newblk1, *newblk2; rh_alloc_fixed() local
614 rh_block_t *blk, *blk2; rh_free() local
643 rh_block_t *blk; rh_get_stats() local
681 rh_block_t *blk, *blk2; rh_set_owner() local
740 rh_dump_blk(rh_info_t * info, rh_block_t * blk) rh_dump_blk() argument
[all...]
/kernel/linux/linux-6.6/block/
H A DMakefile6 obj-y := bdev.o fops.o bio.o elevator.o blk-core.o blk-sysfs.o \
7 blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
8 blk-merge.o blk-timeout.o \
9 blk-lib.o blk
[all...]
/kernel/linux/linux-5.10/block/
H A DMakefile6 obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-sysfs.o \
7 blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
8 blk-exec.o blk-merge.o blk-timeout.o \
9 blk
[all...]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
H A Dmemory.c69 static int synth_alloc_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
70 static int synth_free_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
76 static void emu10k1_memblk_init(struct snd_emu10k1_memblk *blk) in emu10k1_memblk_init() argument
78 blk->mapped_page = -1; in emu10k1_memblk_init()
79 INIT_LIST_HEAD(&blk->mapped_link); in emu10k1_memblk_init()
80 INIT_LIST_HEAD(&blk->mapped_order_link); in emu10k1_memblk_init()
81 blk->map_locked = 0; in emu10k1_memblk_init()
83 blk->first_page = get_aligned_page(blk->mem.offset); in emu10k1_memblk_init()
84 blk in emu10k1_memblk_init()
104 struct snd_emu10k1_memblk *blk = get_emu10k1_memblk(pos, mapped_link); search_empty_map_area() local
134 map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) map_memblk() argument
165 unmap_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) unmap_memblk() argument
205 struct snd_emu10k1_memblk *blk; search_empty() local
254 snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) snd_emu10k1_memblk_map() argument
301 struct snd_emu10k1_memblk *blk; snd_emu10k1_alloc_pages() local
358 snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk) snd_emu10k1_free_pages() argument
404 struct snd_emu10k1_memblk *blk; snd_emu10k1_synth_alloc() local
432 struct snd_emu10k1_memblk *blk = (struct snd_emu10k1_memblk *)memblk; snd_emu10k1_synth_free() local
449 get_single_page_range(struct snd_util_memhdr *hdr, struct snd_emu10k1_memblk *blk, int *first_page_ret, int *last_page_ret) get_single_page_range() argument
505 synth_alloc_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) synth_alloc_pages() argument
537 synth_free_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) synth_free_pages() argument
565 snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, int size) snd_emu10k1_synth_bzero() argument
595 snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, const char __user *data, int size) snd_emu10k1_synth_copy_from_user() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/emu10k1/
H A Dmemory.c69 static int synth_alloc_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
70 static int synth_free_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
76 static void emu10k1_memblk_init(struct snd_emu10k1_memblk *blk) in emu10k1_memblk_init() argument
78 blk->mapped_page = -1; in emu10k1_memblk_init()
79 INIT_LIST_HEAD(&blk->mapped_link); in emu10k1_memblk_init()
80 INIT_LIST_HEAD(&blk->mapped_order_link); in emu10k1_memblk_init()
81 blk->map_locked = 0; in emu10k1_memblk_init()
83 blk->first_page = get_aligned_page(blk->mem.offset); in emu10k1_memblk_init()
84 blk in emu10k1_memblk_init()
104 struct snd_emu10k1_memblk *blk = get_emu10k1_memblk(pos, mapped_link); search_empty_map_area() local
134 map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) map_memblk() argument
165 unmap_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) unmap_memblk() argument
209 struct snd_emu10k1_memblk *blk; search_empty() local
258 snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) snd_emu10k1_memblk_map() argument
306 struct snd_emu10k1_memblk *blk; snd_emu10k1_alloc_pages() local
361 snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk) snd_emu10k1_free_pages() argument
407 struct snd_emu10k1_memblk *blk; snd_emu10k1_synth_alloc() local
435 struct snd_emu10k1_memblk *blk = (struct snd_emu10k1_memblk *)memblk; snd_emu10k1_synth_free() local
452 get_single_page_range(struct snd_util_memhdr *hdr, struct snd_emu10k1_memblk *blk, int *first_page_ret, int *last_page_ret) get_single_page_range() argument
510 synth_alloc_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) synth_alloc_pages() argument
542 synth_free_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) synth_free_pages() argument
570 snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, int size) snd_emu10k1_synth_bzero() argument
600 snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, const char __user *data, int size) snd_emu10k1_synth_copy_from_user() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c86 * @blk: block type
92 static u32 ice_sect_id(enum ice_block blk, enum ice_sect sect) in ice_sect_id() argument
94 return ice_sect_lkup[blk][sect]; in ice_sect_id()
1872 * @blk: HW block
1881 ice_ptg_find_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 *ptg) in ice_ptg_find_ptype() argument
1886 *ptg = hw->blk[blk].xlt1.ptypes[ptype].ptg; in ice_ptg_find_ptype()
1893 * @blk: HW block
1899 static void ice_ptg_alloc_val(struct ice_hw *hw, enum ice_block blk, u8 ptg) in ice_ptg_alloc_val() argument
1901 hw->blk[bl in ice_ptg_alloc_val()
1915 ice_ptg_remove_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) ice_ptg_remove_ptype() argument
1962 ice_ptg_add_mv_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) ice_ptg_add_mv_ptype() argument
2106 ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *vsig) ice_vsig_find_vsi() argument
2128 ice_vsig_alloc_val(struct ice_hw *hw, enum ice_block blk, u16 vsig) ice_vsig_alloc_val() argument
2148 ice_vsig_alloc(struct ice_hw *hw, enum ice_block blk) ice_vsig_alloc() argument
2175 ice_find_dup_props_vsig(struct ice_hw *hw, enum ice_block blk, struct list_head *chs, u16 *vsig) ice_find_dup_props_vsig() argument
2201 ice_vsig_free(struct ice_hw *hw, enum ice_block blk, u16 vsig) ice_vsig_free() argument
2262 ice_vsig_remove_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig) ice_vsig_remove_vsi() argument
2320 ice_vsig_add_mv_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig) ice_vsig_add_mv_vsi() argument
2378 ice_find_prof_id(struct ice_hw *hw, enum ice_block blk, struct ice_fv_word *fv, u8 *prof_id) ice_find_prof_id() argument
2409 ice_prof_id_rsrc_type(enum ice_block blk, u16 *rsrc_type) ice_prof_id_rsrc_type() argument
2429 ice_tcam_ent_rsrc_type(enum ice_block blk, u16 *rsrc_type) ice_tcam_ent_rsrc_type() argument
2454 ice_alloc_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 *tcam_idx) ice_alloc_tcam_ent() argument
2473 ice_free_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 tcam_idx) ice_free_tcam_ent() argument
2493 ice_alloc_prof_id(struct ice_hw *hw, enum ice_block blk, u8 *prof_id) ice_alloc_prof_id() argument
2518 ice_free_prof_id(struct ice_hw *hw, enum ice_block blk, u8 prof_id) ice_free_prof_id() argument
2536 ice_prof_inc_ref(struct ice_hw *hw, enum ice_block blk, u8 prof_id) ice_prof_inc_ref() argument
2554 ice_write_es(struct ice_hw *hw, enum ice_block blk, u8 prof_id, struct ice_fv_word *fv) ice_write_es() argument
2577 ice_prof_dec_ref(struct ice_hw *hw, enum ice_block blk, u8 prof_id) ice_prof_dec_ref() argument
2640 ice_init_sw_xlt1_db(struct ice_hw *hw, enum ice_block blk) ice_init_sw_xlt1_db() argument
2660 ice_init_sw_xlt2_db(struct ice_hw *hw, enum ice_block blk) ice_init_sw_xlt2_db() argument
2902 ice_free_vsig_tbl(struct ice_hw *hw, enum ice_block blk) ice_free_vsig_tbl() argument
3144 ice_prof_gen_key(struct ice_hw *hw, enum ice_block blk, u8 ptg, u16 vsig, u8 cdid, u16 flags, u8 vl_msk[ICE_TCAM_KEY_VAL_SZ], u8 dc_msk[ICE_TCAM_KEY_VAL_SZ], u8 nm_msk[ICE_TCAM_KEY_VAL_SZ], u8 key[ICE_TCAM_KEY_SZ]) ice_prof_gen_key() argument
3200 ice_tcam_write_entry(struct ice_hw *hw, enum ice_block blk, u16 idx, u8 prof_id, u8 ptg, u16 vsig, u8 cdid, u16 flags, u8 vl_msk[ICE_TCAM_KEY_VAL_SZ], u8 dc_msk[ICE_TCAM_KEY_VAL_SZ], u8 nm_msk[ICE_TCAM_KEY_VAL_SZ]) ice_tcam_write_entry() argument
3227 ice_vsig_get_ref(struct ice_hw *hw, enum ice_block blk, u16 vsig, u16 *refs) ice_vsig_get_ref() argument
3254 ice_has_prof_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl) ice_has_prof_vsig() argument
3278 ice_prof_bld_es(struct ice_hw *hw, enum ice_block blk, struct ice_buf_build *bld, struct list_head *chgs) ice_prof_bld_es() argument
3316 ice_prof_bld_tcam(struct ice_hw *hw, enum ice_block blk, struct ice_buf_build *bld, struct list_head *chgs) ice_prof_bld_tcam() argument
3352 ice_prof_bld_xlt1(enum ice_block blk, struct ice_buf_build *bld, struct list_head *chgs) ice_prof_bld_xlt1() argument
3384 ice_prof_bld_xlt2(enum ice_block blk, struct ice_buf_build *bld, struct list_head *chgs) ice_prof_bld_xlt2() argument
3423 ice_upd_prof_hw(struct ice_hw *hw, enum ice_block blk, struct list_head *chgs) ice_upd_prof_hw() argument
3736 ice_add_prof(struct ice_hw *hw, enum ice_block blk, u64 id, u8 ptypes[], struct ice_fv_word *es) ice_add_prof() argument
3851 ice_search_prof_id(struct ice_hw *hw, enum ice_block blk, u64 id) ice_search_prof_id() argument
3872 ice_vsig_prof_id_count(struct ice_hw *hw, enum ice_block blk, u16 vsig) ice_vsig_prof_id_count() argument
3891 ice_rel_tcam_idx(struct ice_hw *hw, enum ice_block blk, u16 idx) ice_rel_tcam_idx() argument
3918 ice_rem_prof_id(struct ice_hw *hw, enum ice_block blk, struct ice_vsig_prof *prof) ice_rem_prof_id() argument
3944 ice_rem_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, struct list_head *chg) ice_rem_vsig() argument
4001 ice_rem_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl, struct list_head *chg) ice_rem_prof_id_vsig() argument
4034 ice_rem_flow_all(struct ice_hw *hw, enum ice_block blk, u64 id) ice_rem_flow_all() argument
4074 ice_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 id) ice_rem_prof() argument
4111 ice_get_prof(struct ice_hw *hw, enum ice_block blk, u64 hdl, struct list_head *chg) ice_get_prof() argument
4166 ice_get_profs_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, struct list_head *lst) ice_get_profs_vsig() argument
4204 ice_add_prof_to_lst(struct ice_hw *hw, enum ice_block blk, struct list_head *lst, u64 hdl) ice_add_prof_to_lst() argument
4251 ice_move_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig, struct list_head *chg) ice_move_vsi() argument
4311 ice_prof_tcam_ena_dis(struct ice_hw *hw, enum ice_block blk, bool enable, u16 vsig, struct ice_tcam_inf *tcam, struct list_head *chg) ice_prof_tcam_ena_dis() argument
4379 ice_adj_prof_priorities(struct ice_hw *hw, enum ice_block blk, u16 vsig, struct list_head *chg) ice_adj_prof_priorities() argument
4450 ice_add_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl, bool rev, struct list_head *chg) ice_add_prof_id_vsig() argument
4556 ice_create_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl, struct list_head *chg) ice_create_prof_id_vsig() argument
4606 ice_create_vsig_from_lst(struct ice_hw *hw, enum ice_block blk, u16 vsi, struct list_head *lst, u16 *new_vsig, struct list_head *chg) ice_create_vsig_from_lst() argument
4643 ice_find_prof_vsig(struct ice_hw *hw, enum ice_block blk, u64 hdl, u16 *vsig) ice_find_prof_vsig() argument
4678 ice_add_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl) ice_add_prof_id_flow() argument
4845 ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl) ice_rem_prof_id_flow() argument
[all...]
/kernel/linux/linux-5.10/sound/synth/
H A Dutil_mem.c62 struct snd_util_memblk *blk; in __snd_util_mem_alloc() local
79 blk = get_memblk(p); in __snd_util_mem_alloc()
80 if (blk->offset - prev_offset >= units) in __snd_util_mem_alloc()
82 prev_offset = blk->offset + blk->size; in __snd_util_mem_alloc()
100 struct snd_util_memblk *blk; in __snd_util_memblk_new() local
102 blk = kmalloc(sizeof(struct snd_util_memblk) + hdr->block_extra_size, in __snd_util_memblk_new()
104 if (blk == NULL) in __snd_util_memblk_new()
108 blk->offset = 0; in __snd_util_memblk_new()
111 blk in __snd_util_memblk_new()
127 struct snd_util_memblk *blk; snd_util_mem_alloc() local
140 __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk) __snd_util_mem_free() argument
151 snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk) snd_util_mem_free() argument
[all...]
/kernel/linux/linux-6.6/sound/synth/
H A Dutil_mem.c62 struct snd_util_memblk *blk; in __snd_util_mem_alloc() local
79 blk = get_memblk(p); in __snd_util_mem_alloc()
80 if (blk->offset - prev_offset >= units) in __snd_util_mem_alloc()
82 prev_offset = blk->offset + blk->size; in __snd_util_mem_alloc()
100 struct snd_util_memblk *blk; in __snd_util_memblk_new() local
102 blk = kmalloc(sizeof(struct snd_util_memblk) + hdr->block_extra_size, in __snd_util_memblk_new()
104 if (blk == NULL) in __snd_util_memblk_new()
108 blk->offset = 0; in __snd_util_memblk_new()
111 blk in __snd_util_memblk_new()
127 struct snd_util_memblk *blk; snd_util_mem_alloc() local
140 __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk) __snd_util_mem_free() argument
151 snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk) snd_util_mem_free() argument
[all...]
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Ddabtree.c54 ds->state->path.blk[level].blkno), in xchk_da_process_error()
76 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt()
85 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry() local
88 ASSERT(blk->magic == XFS_DA_NODE_MAGIC); in xchk_da_btree_node_entry()
90 xfs_da3_node_hdr_from_disk(ds->sc->mp, &hdr, blk->bp->b_addr); in xchk_da_btree_node_entry()
91 return hdr.btree + blk->index; in xchk_da_btree_node_entry()
252 if (altpath->blk[level].bp) in xchk_da_btree_block_check_sibling()
253 xchk_buffer_recheck(ds->sc, altpath->blk[level].bp); in xchk_da_btree_block_check_sibling()
256 if (altpath->blk[leve in xchk_da_btree_block_check_sibling()
316 struct xfs_da_state_blk *blk; xchk_da_btree_block() local
[all...]
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Ddabtree.c55 ds->state->path.blk[level].blkno), in xchk_da_process_error()
77 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt()
86 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry() local
89 ASSERT(blk->magic == XFS_DA_NODE_MAGIC); in xchk_da_btree_node_entry()
91 xfs_da3_node_hdr_from_disk(ds->sc->mp, &hdr, blk->bp->b_addr); in xchk_da_btree_node_entry()
92 return hdr.btree + blk->index; in xchk_da_btree_node_entry()
253 if (altpath->blk[level].bp) in xchk_da_btree_block_check_sibling()
254 xchk_buffer_recheck(ds->sc, altpath->blk[level].bp); in xchk_da_btree_block_check_sibling()
257 if (altpath->blk[leve in xchk_da_btree_block_check_sibling()
317 struct xfs_da_state_blk *blk; xchk_da_btree_block() local
[all...]
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-qup.c241 struct qup_i2c_block blk; member
283 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_interrupt() local
334 blk->tx_fifo_free += qup->out_blk_sz; in qup_i2c_interrupt()
345 if (!blk->is_rx_blk_mode) { in qup_i2c_interrupt()
346 blk->fifo_available += qup->in_fifo_sz; in qup_i2c_interrupt()
349 blk->fifo_available += qup->in_blk_sz; in qup_i2c_interrupt()
355 if (!blk->rx_bytes_read) in qup_i2c_interrupt()
365 if (blk->is_tx_blk_mode && !(opflags & QUP_MX_OUTPUT_DONE)) in qup_i2c_interrupt()
458 struct qup_i2c_block *blk in qup_i2c_write_tx_fifo_v1() local
919 struct qup_i2c_block *blk = &qup->blk; qup_i2c_read_rx_fifo_v1() local
956 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_v1() local
989 qup_i2c_clear_blk_v1(struct qup_i2c_block *blk) qup_i2c_clear_blk_v1() argument
998 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_xfer_v1() local
1042 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_one() local
1053 struct qup_i2c_block *blk = &qup->blk; qup_i2c_read_one() local
1125 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_count_v2() local
1156 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_mode_v2() local
1177 qup_i2c_clear_blk_v2(struct qup_i2c_block *blk) qup_i2c_clear_blk_v2() argument
1195 struct qup_i2c_block *blk = &qup->blk; qup_i2c_recv_data() local
1219 struct qup_i2c_block *blk = &qup->blk; qup_i2c_recv_tags() local
1237 struct qup_i2c_block *blk = &qup->blk; qup_i2c_read_rx_fifo_v2() local
1257 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_blk_data() local
1279 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_rx_tags_v2() local
1310 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_tx_fifo_v2() local
1347 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_xfer_v2() local
1433 struct qup_i2c_block *blk = &qup->blk; qup_i2c_xfer_v2_msg() local
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-qup.c241 struct qup_i2c_block blk; member
283 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_interrupt() local
334 blk->tx_fifo_free += qup->out_blk_sz; in qup_i2c_interrupt()
345 if (!blk->is_rx_blk_mode) { in qup_i2c_interrupt()
346 blk->fifo_available += qup->in_fifo_sz; in qup_i2c_interrupt()
349 blk->fifo_available += qup->in_blk_sz; in qup_i2c_interrupt()
355 if (!blk->rx_bytes_read) in qup_i2c_interrupt()
365 if (blk->is_tx_blk_mode && !(opflags & QUP_MX_OUTPUT_DONE)) in qup_i2c_interrupt()
458 struct qup_i2c_block *blk in qup_i2c_write_tx_fifo_v1() local
919 struct qup_i2c_block *blk = &qup->blk; qup_i2c_read_rx_fifo_v1() local
956 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_v1() local
989 qup_i2c_clear_blk_v1(struct qup_i2c_block *blk) qup_i2c_clear_blk_v1() argument
998 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_xfer_v1() local
1042 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_one() local
1053 struct qup_i2c_block *blk = &qup->blk; qup_i2c_read_one() local
1125 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_count_v2() local
1156 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_mode_v2() local
1177 qup_i2c_clear_blk_v2(struct qup_i2c_block *blk) qup_i2c_clear_blk_v2() argument
1195 struct qup_i2c_block *blk = &qup->blk; qup_i2c_recv_data() local
1219 struct qup_i2c_block *blk = &qup->blk; qup_i2c_recv_tags() local
1237 struct qup_i2c_block *blk = &qup->blk; qup_i2c_read_rx_fifo_v2() local
1257 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_blk_data() local
1279 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_rx_tags_v2() local
1310 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_tx_fifo_v2() local
1347 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_xfer_v2() local
1433 struct qup_i2c_block *blk = &qup->blk; qup_i2c_xfer_v2_msg() local
[all...]
/kernel/linux/linux-5.10/sound/pci/trident/
H A Dtrident_memory.c118 #define firstpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->first_page)
119 #define lastpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->last_page)
127 struct snd_util_memblk *blk; in search_empty() local
134 blk = list_entry(p, struct snd_util_memblk, list); in search_empty()
135 if (page + psize <= firstpg(blk)) in search_empty()
137 page = lastpg(blk) + 1; in search_empty()
144 blk = __snd_util_memblk_new(hdr, psize * ALIGN_PAGE_SIZE, p->prev); in search_empty()
145 if (blk in search_empty()
178 struct snd_util_memblk *blk; snd_trident_alloc_sg_pages() local
225 struct snd_util_memblk *blk; snd_trident_alloc_cont_pages() local
281 snd_trident_free_pages(struct snd_trident *trident, struct snd_util_memblk *blk) snd_trident_free_pages() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/trident/
H A Dtrident_memory.c101 #define firstpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->first_page)
102 #define lastpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->last_page)
110 struct snd_util_memblk *blk; in search_empty() local
117 blk = list_entry(p, struct snd_util_memblk, list); in search_empty()
118 if (page + psize <= firstpg(blk)) in search_empty()
120 page = lastpg(blk) + 1; in search_empty()
127 blk = __snd_util_memblk_new(hdr, psize * ALIGN_PAGE_SIZE, p->prev); in search_empty()
128 if (blk in search_empty()
161 struct snd_util_memblk *blk; snd_trident_alloc_sg_pages() local
206 struct snd_util_memblk *blk; snd_trident_alloc_cont_pages() local
260 snd_trident_free_pages(struct snd_trident *trident, struct snd_util_memblk *blk) snd_trident_free_pages() argument
[all...]
/kernel/linux/linux-5.10/fs/quota/
H A Dquota_tree.c59 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk() argument
65 info->dqi_usable_bs, (loff_t)blk << info->dqi_blocksize_bits); in read_blk()
68 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk() argument
74 info->dqi_usable_bs, (loff_t)blk << info->dqi_blocksize_bits); in write_blk()
117 int ret, blk; in get_free_dqblk() local
122 blk = info->dqi_free_blk; in get_free_dqblk()
123 ret = read_blk(info, blk, buf); in get_free_dqblk()
137 blk = info->dqi_blocks++; in get_free_dqblk()
140 ret = blk; in get_free_dqblk()
147 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk() argument
164 remove_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, uint blk) remove_free_dqentry() argument
211 insert_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, uint blk) insert_free_dqentry() argument
260 uint blk, i; find_free_dqentry() local
448 free_dqentry(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint blk) free_dqentry() argument
513 remove_tree(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint *blk, int depth) remove_tree() argument
579 find_block_dqentry(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint blk) find_block_dqentry() argument
617 find_tree_dqentry(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint blk, int depth) find_tree_dqentry() argument
732 find_next_id(struct qtree_mem_dqinfo *info, qid_t *id, unsigned int blk, int depth) find_next_id() argument
[all...]

Completed in 27 milliseconds

12345678910>>...22