Lines Matching refs:core
50 printk(KERN_INFO "%s/1: " fmt, chip->core->name , ## arg);\
55 printk(KERN_DEBUG "%s/1: " fmt, chip->core->name , ## arg);\
72 struct cx88_core *core; member
141 struct cx88_core *core=chip->core; in _cx88_start_audio_dma() local
148 cx88_sram_channel_setup(chip->core, audio_ch, buf->bpl, buf->risc.dma); in _cx88_start_audio_dma()
169 cx_set(MO_PCI_INTMSK, chip->core->pci_irqmask | PCI_INT_AUDINT); in _cx88_start_audio_dma()
176 cx88_sram_channel_dump(chip->core, audio_ch); in _cx88_start_audio_dma()
186 struct cx88_core *core=chip->core; in _cx88_stop_audio_dma() local
198 cx88_sram_channel_dump(chip->core, &cx88_sram_channels[SRAM_CH25]); in _cx88_stop_audio_dma()
226 struct cx88_core *core = chip->core; in cx8801_aud_irq() local
235 cx88_print_irqbits(core->name, "irq aud", in cx8801_aud_irq()
240 printk(KERN_WARNING "%s/1: Audio risc op code error\n",core->name); in cx8801_aud_irq()
242 cx88_sram_channel_dump(core, &cx88_sram_channels[SRAM_CH25]); in cx8801_aud_irq()
263 struct cx88_core *core = chip->core; in cx8801_irq() local
269 (core->pci_irqmask | PCI_INT_AUDINT); in cx8801_irq()
277 if (status & core->pci_irqmask) in cx8801_irq()
278 cx88_core_irq(core, status); in cx8801_irq()
286 core->name); in cx8801_irq()
650 struct cx88_core *core=chip->core; in snd_cx88_volume_get() local
665 struct cx88_core *core = chip->core; in snd_cx88_wm8775_volume_put() local
678 wm8775_s_ctrl(core, V4L2_CID_AUDIO_VOLUME, v); in snd_cx88_wm8775_volume_put()
679 wm8775_s_ctrl(core, V4L2_CID_AUDIO_BALANCE, b); in snd_cx88_wm8775_volume_put()
687 struct cx88_core *core=chip->core; in snd_cx88_volume_put() local
692 if (core->sd_wm8775) in snd_cx88_volume_put()
737 struct cx88_core *core = chip->core; in snd_cx88_switch_get() local
748 struct cx88_core *core = chip->core; in snd_cx88_switch_put() local
759 if (core->sd_wm8775 && ((1<<6) == bit)) in snd_cx88_switch_put()
760 wm8775_s_ctrl(core, V4L2_CID_AUDIO_MUTE, 0 != (vol & bit)); in snd_cx88_switch_put()
789 struct cx88_core *core = chip->core; in snd_cx88_alc_get() local
792 val = wm8775_g_ctrl(core, V4L2_CID_AUDIO_LOUDNESS); in snd_cx88_alc_get()
801 struct cx88_core *core = chip->core; in snd_cx88_alc_put() local
807 call_hw(core, WM8775_GID, core, s_ctrl, &client_ctl); in snd_cx88_alc_put()
846 cx88_core_put(chip->core,chip->pci); in snd_cx88_free()
873 struct cx88_core *core; in snd_cx88_create() local
887 core = cx88_core_get(pci); in snd_cx88_create()
888 if (NULL == core) { in snd_cx88_create()
894 dprintk(0, "%s/1: Oops: no 32bit PCI DMA ???\n",core->name); in snd_cx88_create()
896 cx88_core_put(core, pci); in snd_cx88_create()
907 chip->core = core; in snd_cx88_create()
911 IRQF_SHARED, chip->core->name, chip); in snd_cx88_create()
914 chip->core->name, chip->pci->irq); in snd_cx88_create()
922 "latency: %d, mmio: 0x%llx\n", core->name, devno, in snd_cx88_create()
930 *core_ptr = core; in snd_cx88_create()
940 struct cx88_core *core = NULL; in cx88_audio_initdev() local
958 err = snd_cx88_create(card, pci, &chip, &core); in cx88_audio_initdev()
977 if (core->sd_wm8775) in cx88_audio_initdev()