Lines Matching refs:ports
1533 int ad1848_detect(struct resource *ports, int *ad_flags, int *osp) in ad1848_detect() argument
1543 int io_base = ports->start; in ad1848_detect()
1942 int ad1848_init (char *name, struct resource *ports, int irq, int dma_playback, in ad1848_init() argument
1977 rename_region(ports, devc->name); in ad1848_init()
2505 int probe_ms_sound(struct address_info *hw_config, struct resource *ports) in probe_ms_sound() argument
2514 return ad1848_detect(ports, NULL, hw_config->osp); in probe_ms_sound()
2540 if (!(ret = ad1848_detect(ports, NULL, hw_config->osp))) in probe_ms_sound()
2553 if (!(ret = ad1848_detect(ports, NULL, hw_config->osp))) in probe_ms_sound()
2588 return ad1848_detect(ports, NULL, hw_config->osp); in probe_ms_sound()
2591 void attach_ms_sound(struct address_info *hw_config, struct resource *ports, struct module *owner) in attach_ms_sound() argument
2612 hw_config->slots[0] = ad1848_init("MS Sound System", ports, in attach_ms_sound()
2628 release_region(ports->start, 4); in attach_ms_sound()
2629 release_region(ports->start - 4, 4); in attach_ms_sound()
2673 hw_config->slots[0] = ad1848_init("MS Sound System", ports, in attach_ms_sound()
2994 struct resource *ports; in init_ad1848() local
3009 ports = request_region(io + 4, 4, "ad1848"); in init_ad1848()
3011 if (!ports) in init_ad1848()
3019 if (!probe_ms_sound(&cfg, ports)) { in init_ad1848()
3024 attach_ms_sound(&cfg, ports, THIS_MODULE); in init_ad1848()