Home
last modified time | relevance | path

Searched refs:host_if (Results 1 – 25 of 28) sorted by relevance

12

/openbsd/sys/dev/ic/
H A Dac97.c610 if ((error = as->host_if->read(as->host_if->arg, reg, val))) in ac97_read()
619 return (as->host_if->write(as->host_if->arg, reg, val)); in ac97_write()
783 as->host_if = host_if; in ac97_attach()
790 host_if->reset(host_if->arg); in ac97_attach()
793 host_if->write(host_if->arg, AC97_REG_POWER, 0); in ac97_attach()
794 host_if->write(host_if->arg, AC97_REG_RESET, 0); in ac97_attach()
798 as->host_flags = host_if->flags(host_if->arg); in ac97_attach()
937 host_if->reset(host_if->arg); in ac97_resume()
940 host_if->write(host_if->arg, AC97_REG_POWER, 0); in ac97_resume()
941 host_if->write(host_if->arg, AC97_REG_RESET, 0); in ac97_resume()
[all …]
/openbsd/sys/dev/pci/
H A Dneo.c152 struct ac97_host_if host_if; member
573 sc->host_if.arg = sc; in neo_attach()
575 sc->host_if.attach = neo_attach_codec; in neo_attach()
576 sc->host_if.read = neo_read_codec; in neo_attach()
577 sc->host_if.write = neo_write_codec; in neo_attach()
578 sc->host_if.reset = neo_reset_codec; in neo_attach()
579 sc->host_if.flags = neo_flags_codec; in neo_attach()
581 if ((error = ac97_attach(&sc->host_if)) != 0) in neo_attach()
H A Dauglx.c194 struct ac97_host_if host_if; member
316 sc->host_if.arg = sc; in auglx_attach()
317 sc->host_if.attach = auglx_attach_codec; in auglx_attach()
318 sc->host_if.read = auglx_read_codec; in auglx_attach()
319 sc->host_if.write = auglx_write_codec; in auglx_attach()
320 sc->host_if.reset = auglx_reset_codec; in auglx_attach()
321 sc->host_if.flags = auglx_flags_codec; in auglx_attach()
323 if (ac97_attach(&sc->host_if) != 0) { in auglx_attach()
909 ac97_resume(&sc->host_if, sc->codec_if); in auglx_activate()
H A Dauacer.c99 struct ac97_host_if host_if; member
257 sc->host_if.arg = sc; in auacer_attach()
258 sc->host_if.attach = auacer_attach_codec; in auacer_attach()
259 sc->host_if.read = auacer_read_codec; in auacer_attach()
260 sc->host_if.write = auacer_write_codec; in auacer_attach()
261 sc->host_if.reset = auacer_reset_codec; in auacer_attach()
263 if (ac97_attach(&sc->host_if) != 0) in auacer_attach()
886 ac97_resume(&sc->host_if, sc->codec_if); in auacer_activate()
H A Dfms.c217 sc->host_if.arg = sc; in fms_attach()
218 sc->host_if.attach = fms_attach_codec; in fms_attach()
219 sc->host_if.read = fms_read_codec; in fms_attach()
220 sc->host_if.write = fms_write_codec; in fms_attach()
221 sc->host_if.reset = fms_reset_codec; in fms_attach()
223 if (ac97_attach(&sc->host_if) != 0) in fms_attach()
H A Dauixp.c919 ac97_resume(&sc->sc_codec.host_if, sc->sc_codec.codec_if); in auixp_activate()
1284 codec->host_if.arg = codec; in auixp_autodetect_codecs()
1285 codec->host_if.attach = auixp_attach_codec; in auixp_autodetect_codecs()
1286 codec->host_if.read = auixp_read_codec; in auixp_autodetect_codecs()
1287 codec->host_if.write = auixp_write_codec; in auixp_autodetect_codecs()
1288 codec->host_if.reset = auixp_reset_codec; in auixp_autodetect_codecs()
1289 codec->host_if.flags = auixp_flags_codec; in auixp_autodetect_codecs()
1303 if (ac97_attach(&sc->sc_codec.host_if) == 0) { in auixp_autodetect_codecs()
1313 if (ac97_attach(&sc->sc_codec.host_if) == 0) { in auixp_autodetect_codecs()
1323 if (ac97_attach(&sc->sc_codec.host_if) == 0) { in auixp_autodetect_codecs()
H A Dauvia.c295 sc->host_if.arg = sc; in auvia_attach()
296 sc->host_if.attach = auvia_attach_codec; in auvia_attach()
297 sc->host_if.read = auvia_read_codec; in auvia_attach()
298 sc->host_if.write = auvia_write_codec; in auvia_attach()
299 sc->host_if.reset = auvia_reset_codec; in auvia_attach()
300 sc->host_if.spdif_event = auvia_spdif_event; in auvia_attach()
302 if ((r = ac97_attach(&sc->host_if)) != 0) { in auvia_attach()
973 ac97_resume(&sc->host_if, sc->codec_if); in auvia_resume()
H A Dcs4281.c119 struct ac97_host_if host_if; member
309 sc->host_if.arg = sc; in cs4281_attach()
310 sc->host_if.attach = cs4281_attach_codec; in cs4281_attach()
311 sc->host_if.read = cs4281_read_codec; in cs4281_attach()
312 sc->host_if.write = cs4281_write_codec; in cs4281_attach()
313 sc->host_if.reset = cs4281_reset_codec; in cs4281_attach()
314 if (ac97_attach(&sc->host_if) != 0) { in cs4281_attach()
969 ac97_resume(&sc->host_if, sc->codec_if); in cs4281_activate()
H A Dauich.c181 struct ac97_host_if host_if; member
492 sc->host_if.arg = sc; in auich_attach()
493 sc->host_if.attach = auich_attach_codec; in auich_attach()
494 sc->host_if.read = auich_read_codec; in auich_attach()
495 sc->host_if.write = auich_write_codec; in auich_attach()
496 sc->host_if.reset = auich_reset_codec; in auich_attach()
497 sc->host_if.flags = auich_flags_codec; in auich_attach()
498 sc->host_if.spdif_event = auich_spdif_event; in auich_attach()
502 if (ac97_attach(&sc->host_if) != 0) in auich_attach()
1328 ac97_resume(&sc->host_if, sc->codec_if); in auich_resume()
H A Dfmsvar.h53 struct ac97_host_if host_if; member
H A Dauviavar.h63 struct ac97_host_if host_if; member
H A Dautri.c515 codec->host_if.arg = codec; in autri_attach()
516 codec->host_if.attach = autri_attach_codec; in autri_attach()
517 codec->host_if.reset = autri_reset_codec; in autri_attach()
518 codec->host_if.read = autri_read_codec; in autri_attach()
519 codec->host_if.write = autri_write_codec; in autri_attach()
520 codec->host_if.flags = autri_flags_codec; in autri_attach()
525 if ((r = ac97_attach(&codec->host_if)) != 0) { in autri_attach()
579 ac97_resume(&sc->sc_codec.host_if, sc->sc_codec.codec_if); in autri_activate()
H A Dauixpvar.h72 struct ac97_host_if host_if; member
H A Dautrivar.h49 struct ac97_host_if host_if; member
H A Desavar.h114 struct ac97_host_if host_if; member
H A Dcs4280.c153 struct ac97_host_if host_if; member
608 sc->host_if.arg = sc; in cs4280_attach()
609 sc->host_if.attach = cs4280_attach_codec; in cs4280_attach()
610 sc->host_if.read = cs4280_read_codec; in cs4280_attach()
611 sc->host_if.write = cs4280_write_codec; in cs4280_attach()
612 sc->host_if.reset = cs4280_reset_codec; in cs4280_attach()
614 if (ac97_attach(&sc->host_if) != 0) { in cs4280_attach()
1582 ac97_resume(&sc->host_if, sc->codec_if); in cs4280_activate()
H A Denvyvar.h96 struct ac97_host_if host_if; member
H A Deap.c139 struct ac97_host_if host_if; member
554 sc->host_if.arg = sc; in eap_attach()
555 sc->host_if.attach = eap1371_attach_codec; in eap_attach()
556 sc->host_if.read = eap1371_read_codec; in eap_attach()
557 sc->host_if.write = eap1371_write_codec; in eap_attach()
558 sc->host_if.reset = eap1371_reset_codec; in eap_attach()
559 sc->host_if.flags = eap_flags_codec; in eap_attach()
562 if (ac97_attach(&sc->host_if) == 0) { in eap_attach()
608 ac97_resume(&sc->host_if, sc->codec_if); in eap_resume()
H A Dmaestro.c442 struct ac97_host_if host_if; member
699 sc->host_if.arg = sc; in maestro_attach()
700 sc->host_if.attach = maestro_attach_codec; in maestro_attach()
701 sc->host_if.flags = maestro_codec_flags; in maestro_attach()
702 sc->host_if.read = maestro_read_codec; in maestro_attach()
703 sc->host_if.write = maestro_write_codec; in maestro_attach()
704 sc->host_if.reset = maestro_reset_codec; in maestro_attach()
705 if (ac97_attach(&sc->host_if) != 0) { in maestro_attach()
H A Desa.c998 sc->host_if.arg = self; in esa_attach()
999 sc->host_if.attach = esa_attach_codec; in esa_attach()
1000 sc->host_if.read = esa_read_codec; in esa_attach()
1001 sc->host_if.write = esa_write_codec; in esa_attach()
1002 sc->host_if.reset = esa_reset_codec; in esa_attach()
1003 sc->host_if.flags = esa_flags_codec; in esa_attach()
1005 if (ac97_attach(&sc->host_if) != 0) { in esa_attach()
H A Dyds.c739 codec->host_if.arg = codec; in yds_attachhook()
740 codec->host_if.attach = yds_attach_codec; in yds_attachhook()
741 codec->host_if.read = yds_read_codec; in yds_attachhook()
742 codec->host_if.write = yds_write_codec; in yds_attachhook()
743 codec->host_if.reset = yds_reset_codec; in yds_attachhook()
745 if ((r = ac97_attach(&codec->host_if)) != 0) { in yds_attachhook()
1585 ac97_resume(&sc->sc_codec[0].host_if, sc->sc_codec[0].codec_if); in yds_activate()
H A Dydsreg.h338 struct ac97_host_if host_if; member
H A Denvy.c650 sc->host_if.arg = sc; in envy_ac97_init()
651 sc->host_if.attach = envy_ac97_attach_codec; in envy_ac97_init()
652 sc->host_if.read = envy_ac97_read_codec; in envy_ac97_init()
653 sc->host_if.write = envy_ac97_write_codec; in envy_ac97_init()
654 sc->host_if.reset = envy_ac97_reset_codec; in envy_ac97_init()
655 sc->host_if.flags = envy_ac97_flags_codec; in envy_ac97_init()
657 if (ac97_attach(&sc->host_if) != 0) in envy_ac97_init()
/openbsd/sbin/pfctl/
H A Dpfctl_parser.c80 struct node_host *host_if(const char *, int);
1653 if ((h = host_if(ps, mask)) == NULL && in host()
1671 host_if(const char *s, int mask) in host_if() function
/openbsd/usr.sbin/httpd/
H A Dparse.y112 int host_if(const char *, struct addresslist *,
2102 if ((cnt = host_if(s, al, max, port, ifname, ipproto)) != 0) in host_dns()
2165 host_if(const char *s, struct addresslist *al, int max, in host_if() function

12