Home
last modified time | relevance | path

Searched defs:mgr (Results 1 – 19 of 19) sorted by relevance

/sound/pci/pcxhr/
Dpcxhr_core.c59 #define PCXHR_INPB(mgr,x) inb((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) argument
60 #define PCXHR_INPL(mgr,x) inl((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) argument
61 #define PCXHR_OUTPB(mgr,x,data) outb((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) argument
62 #define PCXHR_OUTPL(mgr,x,data) outl((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) argument
113 static int pcxhr_check_reg_bit(struct pcxhr_mgr *mgr, unsigned int reg, in pcxhr_check_reg_bit()
166 static int pcxhr_send_it_dsp(struct pcxhr_mgr *mgr, in pcxhr_send_it_dsp()
226 void pcxhr_reset_xilinx_com(struct pcxhr_mgr *mgr) in pcxhr_reset_xilinx_com()
233 static void pcxhr_enable_irq(struct pcxhr_mgr *mgr, int enable) in pcxhr_enable_irq()
244 void pcxhr_reset_dsp(struct pcxhr_mgr *mgr) in pcxhr_reset_dsp()
259 void pcxhr_enable_dsp(struct pcxhr_mgr *mgr) in pcxhr_enable_dsp()
[all …]
Dpcxhr_hwdep.c29 static int pcxhr_init_board(struct pcxhr_mgr *mgr) in pcxhr_init_board()
87 static int pcxhr_sub_init(struct pcxhr_mgr *mgr) in pcxhr_sub_init()
121 void pcxhr_reset_board(struct pcxhr_mgr *mgr) in pcxhr_reset_board()
153 static int pcxhr_dsp_allocate_pipe(struct pcxhr_mgr *mgr, in pcxhr_dsp_allocate_pipe()
229 static int pcxhr_config_pipes(struct pcxhr_mgr *mgr) in pcxhr_config_pipes()
257 static int pcxhr_start_pipes(struct pcxhr_mgr *mgr) in pcxhr_start_pipes()
276 static int pcxhr_dsp_load(struct pcxhr_mgr *mgr, int index, in pcxhr_dsp_load()
349 int pcxhr_setup_firmware(struct pcxhr_mgr *mgr) in pcxhr_setup_firmware()
Dpcxhr_mix22.c36 #define PCXHR_INPB(mgr, x) inb((mgr)->port[PCXHR_DSP] + (x)) argument
37 #define PCXHR_OUTPB(mgr, x, data) outb((data), (mgr)->port[PCXHR_DSP] + (x)) argument
206 static void hr222_config_akm(struct pcxhr_mgr *mgr, unsigned short data) in hr222_config_akm()
222 static int hr222_set_hw_playback_level(struct pcxhr_mgr *mgr, in hr222_set_hw_playback_level()
244 static int hr222_set_hw_capture_level(struct pcxhr_mgr *mgr, in hr222_set_hw_capture_level()
271 int hr222_sub_init(struct pcxhr_mgr *mgr) in hr222_sub_init()
338 int hr222_sub_set_clock(struct pcxhr_mgr *mgr, in hr222_sub_set_clock()
402 int hr222_get_external_clock(struct pcxhr_mgr *mgr, in hr222_get_external_clock()
496 int hr222_read_gpio(struct pcxhr_mgr *mgr, int is_gpi, int *value) in hr222_read_gpio()
510 int hr222_write_gpo(struct pcxhr_mgr *mgr, int value) in hr222_write_gpo()
[all …]
Dpcxhr.c235 static int pcxhr_get_clock_reg(struct pcxhr_mgr *mgr, unsigned int rate, in pcxhr_get_clock_reg()
308 static int pcxhr_sub_set_clock(struct pcxhr_mgr *mgr, in pcxhr_sub_set_clock()
380 int pcxhr_set_clock(struct pcxhr_mgr *mgr, unsigned int rate) in pcxhr_set_clock()
413 static int pcxhr_sub_get_external_clock(struct pcxhr_mgr *mgr, in pcxhr_sub_get_external_clock()
476 int pcxhr_get_external_clock(struct pcxhr_mgr *mgr, in pcxhr_get_external_clock()
692 static void pcxhr_start_linked_stream(struct pcxhr_mgr *mgr) in pcxhr_start_linked_stream()
880 static int pcxhr_hardware_timer(struct pcxhr_mgr *mgr, int start) in pcxhr_hardware_timer()
904 struct pcxhr_mgr *mgr = chip->mgr; in pcxhr_prepare() local
941 struct pcxhr_mgr *mgr = chip->mgr; in pcxhr_hw_params() local
1006 struct pcxhr_mgr *mgr = chip->mgr; in pcxhr_open() local
[all …]
Dpcxhr_mixer.c725 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_info() local
745 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_get() local
753 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_put() local
803 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_rate_info() local
814 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_rate_get() local
1103 int pcxhr_create_mixer(struct pcxhr_mgr *mgr) in pcxhr_create_mixer()
Dpcxhr.h155 struct pcxhr_mgr *mgr; member
/sound/pci/mixart/
Dmixart_core.c36 static int retrieve_msg_frame(struct mixart_mgr *mgr, u32 *msg_frame) in retrieve_msg_frame()
63 static int get_msg(struct mixart_mgr *mgr, struct mixart_msg *resp, in get_msg()
132 static int send_msg( struct mixart_mgr *mgr, in send_msg()
224 int snd_mixart_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void… in snd_mixart_send_msg()
270 int snd_mixart_send_msg_wait_notif(struct mixart_mgr *mgr, in snd_mixart_send_msg_wait_notif()
311 int snd_mixart_send_msg_nonblock(struct mixart_mgr *mgr, struct mixart_msg *request) in snd_mixart_send_msg_nonblock()
332 static void snd_mixart_process_msg(struct mixart_mgr *mgr) in snd_mixart_process_msg()
397 struct mixart_mgr *mgr = dev_id; in snd_mixart_interrupt() local
421 struct mixart_mgr *mgr = dev_id; in snd_mixart_threaded_irq() local
565 void snd_mixart_init_mailbox(struct mixart_mgr *mgr) in snd_mixart_init_mailbox()
[all …]
Dmixart.c59 static int mixart_set_pipe_state(struct mixart_mgr *mgr, in mixart_set_pipe_state()
158 static int mixart_set_clock(struct mixart_mgr *mgr, in mixart_set_clock()
329 int snd_mixart_kill_ref_pipe(struct mixart_mgr *mgr, in snd_mixart_kill_ref_pipe()
461 static int mixart_sync_nonblock_events(struct mixart_mgr *mgr) in mixart_sync_nonblock_events()
595 struct mixart_mgr *mgr = chip->mgr; in snd_mixart_hw_params() local
712 struct mixart_mgr *mgr = chip->mgr; in snd_mixart_playback_open() local
791 struct mixart_mgr *mgr = chip->mgr; in snd_mixart_capture_open() local
873 struct mixart_mgr *mgr = chip->mgr; in snd_mixart_close() local
1034 static int snd_mixart_create(struct mixart_mgr *mgr, struct snd_card *card, int idx) in snd_mixart_create()
1080 static int snd_mixart_free(struct mixart_mgr *mgr) in snd_mixart_free()
[all …]
Dmixart_hwdep.c33 static int mixart_wait_nice_for_register_value(struct mixart_mgr *mgr, in mixart_wait_nice_for_register_value()
89 static int mixart_load_elf(struct mixart_mgr *mgr, const struct firmware *dsp ) in mixart_load_elf()
128 static int mixart_enum_connectors(struct mixart_mgr *mgr) in mixart_enum_connectors()
246 static int mixart_enum_physio(struct mixart_mgr *mgr) in mixart_enum_physio()
302 static int mixart_first_init(struct mixart_mgr *mgr) in mixart_first_init()
332 static int mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmware *dsp) in mixart_dsp_load()
549 int snd_mixart_setup_firmware(struct mixart_mgr *mgr) in snd_mixart_setup_firmware()
Dmixart_hwdep.h31 #define MIXART_MEM(mgr,x) ((mgr)->mem[0].virt + (x)) argument
32 #define MIXART_REG(mgr,x) ((mgr)->mem[1].virt + (x)) argument
Dmixart_mixer.c1102 int snd_mixart_create_mixer(struct mixart_mgr *mgr) in snd_mixart_create_mixer()
Dmixart.h154 struct mixart_mgr *mgr; member
/sound/pci/ctxfi/
Dctdaio.c387 struct daio_mgr *mgr) in dao_rsc_init()
452 struct daio_mgr *mgr = dao->mgr; in dao_rsc_reinit() local
464 struct daio_mgr *mgr) in dai_rsc_init()
506 static int daio_mgr_get_rsc(struct rsc_mgr *mgr, enum DAIOTYP type) in daio_mgr_get_rsc()
516 static int daio_mgr_put_rsc(struct rsc_mgr *mgr, enum DAIOTYP type) in daio_mgr_put_rsc()
523 static int get_daio_rsc(struct daio_mgr *mgr, in get_daio_rsc()
582 static int put_daio_rsc(struct daio_mgr *mgr, struct daio *daio) in put_daio_rsc()
604 static int daio_mgr_enb_daio(struct daio_mgr *mgr, struct daio *daio) in daio_mgr_enb_daio()
618 static int daio_mgr_dsb_daio(struct daio_mgr *mgr, struct daio *daio) in daio_mgr_dsb_daio()
634 struct rsc_mgr *mgr = &((struct daio_mgr *)data)->mgr; in daio_map_op() local
[all …]
Dctsrc.c357 const struct src_desc *desc, struct src_mgr *mgr) in src_rsc_init()
392 static int src_rsc_uninit(struct src *src, struct src_mgr *mgr) in src_rsc_uninit()
412 get_src_rsc(struct src_mgr *mgr, const struct src_desc *desc, struct src **rsrc) in get_src_rsc()
467 static int put_src_rsc(struct src_mgr *mgr, struct src *src) in put_src_rsc()
486 static int src_enable_s(struct src_mgr *mgr, struct src *src) in src_enable_s()
502 static int src_enable(struct src_mgr *mgr, struct src *src) in src_enable()
518 static int src_disable(struct src_mgr *mgr, struct src *src) in src_disable()
534 static int src_mgr_commit_write(struct src_mgr *mgr) in src_mgr_commit_write()
668 struct srcimp_mgr *mgr) in srcimp_rsc_init()
710 static int get_srcimp_rsc(struct srcimp_mgr *mgr, in get_srcimp_rsc()
[all …]
Dctresource.c73 int mgr_get_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int *ridx) in mgr_get_resource()
87 int mgr_put_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int idx) in mgr_put_resource()
205 int rsc_mgr_init(struct rsc_mgr *mgr, enum RSCTYP type, in rsc_mgr_init()
255 int rsc_mgr_uninit(struct rsc_mgr *mgr) in rsc_mgr_uninit()
Dctamixer.c198 struct amixer_mgr *mgr) in amixer_rsc_init()
228 static int get_amixer_rsc(struct amixer_mgr *mgr, in get_amixer_rsc()
280 static int put_amixer_rsc(struct amixer_mgr *mgr, struct amixer *amixer) in put_amixer_rsc()
365 struct sum_mgr *mgr) in sum_rsc_init()
384 static int get_sum_rsc(struct sum_mgr *mgr, in get_sum_rsc()
435 static int put_sum_rsc(struct sum_mgr *mgr, struct sum *sum) in put_sum_rsc()
Dctamixer.h34 struct rsc_mgr mgr; /* Basic resource manager info */ member
79 struct rsc_mgr mgr; /* Basic resource manager info */ member
Dctsrc.h84 struct rsc_mgr mgr; /* Basic resource manager info */ member
108 struct srcimp_mgr *mgr; member
123 struct rsc_mgr mgr; /* Basic resource manager info */ member
Dctdaio.h52 struct daio_mgr *mgr; member
97 struct rsc_mgr mgr; /* Basic resource manager info */ member