Home
last modified time | relevance | path

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

/sound/pci/pcxhr/
Dpcxhr_core.c72 #define PCXHR_INPB(mgr,x) inb((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) argument
73 #define PCXHR_INPL(mgr,x) inl((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) argument
74 #define PCXHR_OUTPB(mgr,x,data) outb((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) argument
75 #define PCXHR_OUTPL(mgr,x,data) outl((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) argument
126 static int pcxhr_check_reg_bit(struct pcxhr_mgr *mgr, unsigned int reg, in pcxhr_check_reg_bit()
179 static int pcxhr_send_it_dsp(struct pcxhr_mgr *mgr, in pcxhr_send_it_dsp()
239 void pcxhr_reset_xilinx_com(struct pcxhr_mgr *mgr) in pcxhr_reset_xilinx_com()
246 static void pcxhr_enable_irq(struct pcxhr_mgr *mgr, int enable) in pcxhr_enable_irq()
257 void pcxhr_reset_dsp(struct pcxhr_mgr *mgr) in pcxhr_reset_dsp()
272 void pcxhr_enable_dsp(struct pcxhr_mgr *mgr) in pcxhr_enable_dsp()
[all …]
Dpcxhr_hwdep.c42 static int pcxhr_init_board(struct pcxhr_mgr *mgr) in pcxhr_init_board()
100 static int pcxhr_sub_init(struct pcxhr_mgr *mgr) in pcxhr_sub_init()
134 void pcxhr_reset_board(struct pcxhr_mgr *mgr) in pcxhr_reset_board()
166 static int pcxhr_dsp_allocate_pipe(struct pcxhr_mgr *mgr, in pcxhr_dsp_allocate_pipe()
242 static int pcxhr_config_pipes(struct pcxhr_mgr *mgr) in pcxhr_config_pipes()
270 static int pcxhr_start_pipes(struct pcxhr_mgr *mgr) in pcxhr_start_pipes()
289 static int pcxhr_dsp_load(struct pcxhr_mgr *mgr, int index, in pcxhr_dsp_load()
362 int pcxhr_setup_firmware(struct pcxhr_mgr *mgr) in pcxhr_setup_firmware()
Dpcxhr_mix22.c49 #define PCXHR_INPB(mgr, x) inb((mgr)->port[PCXHR_DSP] + (x)) argument
50 #define PCXHR_OUTPB(mgr, x, data) outb((data), (mgr)->port[PCXHR_DSP] + (x)) argument
219 static void hr222_config_akm(struct pcxhr_mgr *mgr, unsigned short data) in hr222_config_akm()
235 static int hr222_set_hw_playback_level(struct pcxhr_mgr *mgr, in hr222_set_hw_playback_level()
257 static int hr222_set_hw_capture_level(struct pcxhr_mgr *mgr, in hr222_set_hw_capture_level()
284 int hr222_sub_init(struct pcxhr_mgr *mgr) in hr222_sub_init()
351 int hr222_sub_set_clock(struct pcxhr_mgr *mgr, in hr222_sub_set_clock()
415 int hr222_get_external_clock(struct pcxhr_mgr *mgr, in hr222_get_external_clock()
509 int hr222_read_gpio(struct pcxhr_mgr *mgr, int is_gpi, int *value) in hr222_read_gpio()
523 int hr222_write_gpo(struct pcxhr_mgr *mgr, int value) in hr222_write_gpo()
[all …]
Dpcxhr.c248 static int pcxhr_get_clock_reg(struct pcxhr_mgr *mgr, unsigned int rate, in pcxhr_get_clock_reg()
321 static int pcxhr_sub_set_clock(struct pcxhr_mgr *mgr, in pcxhr_sub_set_clock()
393 int pcxhr_set_clock(struct pcxhr_mgr *mgr, unsigned int rate) in pcxhr_set_clock()
426 static int pcxhr_sub_get_external_clock(struct pcxhr_mgr *mgr, in pcxhr_sub_get_external_clock()
489 int pcxhr_get_external_clock(struct pcxhr_mgr *mgr, in pcxhr_get_external_clock()
705 static void pcxhr_start_linked_stream(struct pcxhr_mgr *mgr) in pcxhr_start_linked_stream()
893 static int pcxhr_hardware_timer(struct pcxhr_mgr *mgr, int start) in pcxhr_hardware_timer()
917 struct pcxhr_mgr *mgr = chip->mgr; in pcxhr_prepare() local
954 struct pcxhr_mgr *mgr = chip->mgr; in pcxhr_hw_params() local
1019 struct pcxhr_mgr *mgr = chip->mgr; in pcxhr_open() local
[all …]
Dpcxhr_mixer.c738 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_info() local
758 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_get() local
766 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_put() local
816 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_rate_info() local
827 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_rate_get() local
1116 int pcxhr_create_mixer(struct pcxhr_mgr *mgr) in pcxhr_create_mixer()
Dpcxhr.h169 struct pcxhr_mgr *mgr; member
/sound/pci/mixart/
Dmixart_core.c49 static int retrieve_msg_frame(struct mixart_mgr *mgr, u32 *msg_frame) in retrieve_msg_frame()
76 static int get_msg(struct mixart_mgr *mgr, struct mixart_msg *resp, in get_msg()
145 static int send_msg( struct mixart_mgr *mgr, in send_msg()
237 int snd_mixart_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void… in snd_mixart_send_msg()
283 int snd_mixart_send_msg_wait_notif(struct mixart_mgr *mgr, in snd_mixart_send_msg_wait_notif()
324 int snd_mixart_send_msg_nonblock(struct mixart_mgr *mgr, struct mixart_msg *request) in snd_mixart_send_msg_nonblock()
345 static void snd_mixart_process_msg(struct mixart_mgr *mgr) in snd_mixart_process_msg()
410 struct mixart_mgr *mgr = dev_id; in snd_mixart_interrupt() local
434 struct mixart_mgr *mgr = dev_id; in snd_mixart_threaded_irq() local
578 void snd_mixart_init_mailbox(struct mixart_mgr *mgr) in snd_mixart_init_mailbox()
[all …]
Dmixart.c72 static int mixart_set_pipe_state(struct mixart_mgr *mgr, in mixart_set_pipe_state()
171 static int mixart_set_clock(struct mixart_mgr *mgr, in mixart_set_clock()
341 int snd_mixart_kill_ref_pipe(struct mixart_mgr *mgr, in snd_mixart_kill_ref_pipe()
473 static int mixart_sync_nonblock_events(struct mixart_mgr *mgr) in mixart_sync_nonblock_events()
607 struct mixart_mgr *mgr = chip->mgr; in snd_mixart_hw_params() local
724 struct mixart_mgr *mgr = chip->mgr; in snd_mixart_playback_open() local
803 struct mixart_mgr *mgr = chip->mgr; in snd_mixart_capture_open() local
885 struct mixart_mgr *mgr = chip->mgr; in snd_mixart_close() local
1046 static int snd_mixart_create(struct mixart_mgr *mgr, struct snd_card *card, int idx) in snd_mixart_create()
1094 static int snd_mixart_free(struct mixart_mgr *mgr) in snd_mixart_free()
[all …]
Dmixart_hwdep.c46 static int mixart_wait_nice_for_register_value(struct mixart_mgr *mgr, in mixart_wait_nice_for_register_value()
102 static int mixart_load_elf(struct mixart_mgr *mgr, const struct firmware *dsp ) in mixart_load_elf()
141 static int mixart_enum_connectors(struct mixart_mgr *mgr) in mixart_enum_connectors()
259 static int mixart_enum_physio(struct mixart_mgr *mgr) in mixart_enum_physio()
315 static int mixart_first_init(struct mixart_mgr *mgr) in mixart_first_init()
345 static int mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmware *dsp) in mixart_dsp_load()
562 int snd_mixart_setup_firmware(struct mixart_mgr *mgr) in snd_mixart_setup_firmware()
Dmixart_hwdep.h44 #define MIXART_MEM(mgr,x) ((mgr)->mem[0].virt + (x)) argument
45 #define MIXART_REG(mgr,x) ((mgr)->mem[1].virt + (x)) argument
Dmixart_mixer.c1115 int snd_mixart_create_mixer(struct mixart_mgr *mgr) in snd_mixart_create_mixer()
Dmixart.h171 struct mixart_mgr *mgr; member
/sound/pci/ctxfi/
Dctdaio.c391 struct daio_mgr *mgr) in dao_rsc_init()
455 struct daio_mgr *mgr = dao->mgr; in dao_rsc_reinit() local
467 struct daio_mgr *mgr) in dai_rsc_init()
509 static int daio_mgr_get_rsc(struct rsc_mgr *mgr, enum DAIOTYP type) in daio_mgr_get_rsc()
519 static int daio_mgr_put_rsc(struct rsc_mgr *mgr, enum DAIOTYP type) in daio_mgr_put_rsc()
526 static int get_daio_rsc(struct daio_mgr *mgr, in get_daio_rsc()
585 static int put_daio_rsc(struct daio_mgr *mgr, struct daio *daio) in put_daio_rsc()
607 static int daio_mgr_enb_daio(struct daio_mgr *mgr, struct daio *daio) in daio_mgr_enb_daio()
621 static int daio_mgr_dsb_daio(struct daio_mgr *mgr, struct daio *daio) in daio_mgr_dsb_daio()
637 struct rsc_mgr *mgr = &((struct daio_mgr *)data)->mgr; in daio_map_op() local
[all …]
Dctsrc.c361 const struct src_desc *desc, struct src_mgr *mgr) in src_rsc_init()
396 static int src_rsc_uninit(struct src *src, struct src_mgr *mgr) in src_rsc_uninit()
416 get_src_rsc(struct src_mgr *mgr, const struct src_desc *desc, struct src **rsrc) in get_src_rsc()
471 static int put_src_rsc(struct src_mgr *mgr, struct src *src) in put_src_rsc()
490 static int src_enable_s(struct src_mgr *mgr, struct src *src) in src_enable_s()
506 static int src_enable(struct src_mgr *mgr, struct src *src) in src_enable()
522 static int src_disable(struct src_mgr *mgr, struct src *src) in src_disable()
538 static int src_mgr_commit_write(struct src_mgr *mgr) in src_mgr_commit_write()
672 struct srcimp_mgr *mgr) in srcimp_rsc_init()
716 static int get_srcimp_rsc(struct srcimp_mgr *mgr, in get_srcimp_rsc()
[all …]
Dctresource.c77 int mgr_get_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int *ridx) in mgr_get_resource()
91 int mgr_put_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int idx) in mgr_put_resource()
209 int rsc_mgr_init(struct rsc_mgr *mgr, enum RSCTYP type, in rsc_mgr_init()
259 int rsc_mgr_uninit(struct rsc_mgr *mgr) in rsc_mgr_uninit()
Dctamixer.c202 struct amixer_mgr *mgr) in amixer_rsc_init()
232 static int get_amixer_rsc(struct amixer_mgr *mgr, in get_amixer_rsc()
284 static int put_amixer_rsc(struct amixer_mgr *mgr, struct amixer *amixer) in put_amixer_rsc()
369 struct sum_mgr *mgr) in sum_rsc_init()
388 static int get_sum_rsc(struct sum_mgr *mgr, in get_sum_rsc()
439 static int put_sum_rsc(struct sum_mgr *mgr, struct sum *sum) in put_sum_rsc()
Dctamixer.h38 struct rsc_mgr mgr; /* Basic resource manager info */ member
83 struct rsc_mgr mgr; /* Basic resource manager info */ member
Dctsrc.h88 struct rsc_mgr mgr; /* Basic resource manager info */ member
112 struct srcimp_mgr *mgr; member
127 struct rsc_mgr mgr; /* Basic resource manager info */ member
Dctdaio.h56 struct daio_mgr *mgr; member
101 struct rsc_mgr mgr; /* Basic resource manager info */ member