host_if
if ((ipa = host_if(ps, mask)) == NULL &&
struct ipsec_addr_wrap *host_if(const char *, int);
if (cont && (ipa = host_if(ps, mask)) != NULL)
struct ipsec_addr_wrap *host_if(const char *, int);
if ((h = host_if(ps, mask)) == NULL &&
struct node_host *host_if(const char *, int);
if (spdif && as->host_if->spdif_event != NULL)
as->host_if->spdif_event(as->host_if->arg, cp->un.ord);
struct ac97_host_if *host_if;
if ((error = as->host_if->read(as->host_if->arg, reg, val)))
return (as->host_if->write(as->host_if->arg, reg, val));
ac97_attach(struct ac97_host_if *host_if)
as->host_if = host_if;
if ((error = host_if->attach(host_if->arg, &as->codec_if))) {
host_if->reset(host_if->arg);
host_if->write(host_if->arg, AC97_REG_POWER, 0);
host_if->write(host_if->arg, AC97_REG_RESET, 0);
if (host_if->flags)
as->host_flags = host_if->flags(host_if->arg);
ac97_resume(struct ac97_host_if *host_if, struct ac97_codec_if *codec_if)
host_if->reset(host_if->arg);
host_if->write(host_if->arg, AC97_REG_POWER, 0);
host_if->write(host_if->arg, AC97_REG_RESET, 0);
sc->host_if.arg = sc;
sc->host_if.attach = auacer_attach_codec;
sc->host_if.read = auacer_read_codec;
sc->host_if.write = auacer_write_codec;
sc->host_if.reset = auacer_reset_codec;
if (ac97_attach(&sc->host_if) != 0)
ac97_resume(&sc->host_if, sc->codec_if);
struct ac97_host_if host_if;
struct ac97_host_if host_if;
sc->host_if.arg = sc;
sc->host_if.attach = auglx_attach_codec;
sc->host_if.read = auglx_read_codec;
sc->host_if.write = auglx_write_codec;
sc->host_if.reset = auglx_reset_codec;
sc->host_if.flags = auglx_flags_codec;
if (ac97_attach(&sc->host_if) != 0) {
ac97_resume(&sc->host_if, sc->codec_if);
ac97_resume(&sc->host_if, sc->codec_if);
struct ac97_host_if host_if;
sc->host_if.arg = sc;
sc->host_if.attach = auich_attach_codec;
sc->host_if.read = auich_read_codec;
sc->host_if.write = auich_write_codec;
sc->host_if.reset = auich_reset_codec;
sc->host_if.flags = auich_flags_codec;
sc->host_if.spdif_event = auich_spdif_event;
if (ac97_attach(&sc->host_if) != 0)
codec->host_if.arg = codec;
codec->host_if.attach = auixp_attach_codec;
codec->host_if.read = auixp_read_codec;
codec->host_if.write = auixp_write_codec;
codec->host_if.reset = auixp_reset_codec;
codec->host_if.flags = auixp_flags_codec;
if (ac97_attach(&sc->sc_codec.host_if) == 0) {
if (ac97_attach(&sc->sc_codec.host_if) == 0) {
if (ac97_attach(&sc->sc_codec.host_if) == 0) {
ac97_resume(&sc->sc_codec.host_if, sc->sc_codec.codec_if);
struct ac97_host_if host_if;
codec->host_if.arg = codec;
codec->host_if.attach = autri_attach_codec;
codec->host_if.reset = autri_reset_codec;
codec->host_if.read = autri_read_codec;
codec->host_if.write = autri_write_codec;
codec->host_if.flags = autri_flags_codec;
if ((r = ac97_attach(&codec->host_if)) != 0) {
ac97_resume(&sc->sc_codec.host_if, sc->sc_codec.codec_if);
struct ac97_host_if host_if;
sc->host_if.arg = sc;
sc->host_if.attach = auvia_attach_codec;
sc->host_if.read = auvia_read_codec;
sc->host_if.write = auvia_write_codec;
sc->host_if.reset = auvia_reset_codec;
sc->host_if.spdif_event = auvia_spdif_event;
if ((r = ac97_attach(&sc->host_if)) != 0) {
ac97_resume(&sc->host_if, sc->codec_if);
struct ac97_host_if host_if;
struct ac97_host_if host_if;
ac97_resume(&sc->host_if, sc->codec_if);
sc->host_if.arg = sc;
sc->host_if.attach = cs4280_attach_codec;
sc->host_if.read = cs4280_read_codec;
sc->host_if.write = cs4280_write_codec;
sc->host_if.reset = cs4280_reset_codec;
if (ac97_attach(&sc->host_if) != 0) {
struct ac97_host_if host_if;
sc->host_if.arg = sc;
sc->host_if.attach = cs4281_attach_codec;
sc->host_if.read = cs4281_read_codec;
sc->host_if.write = cs4281_write_codec;
sc->host_if.reset = cs4281_reset_codec;
if (ac97_attach(&sc->host_if) != 0) {
ac97_resume(&sc->host_if, sc->codec_if);
struct ac97_host_if host_if;
sc->host_if.arg = sc;
sc->host_if.attach = eap1371_attach_codec;
sc->host_if.read = eap1371_read_codec;
sc->host_if.write = eap1371_write_codec;
sc->host_if.reset = eap1371_reset_codec;
sc->host_if.flags = eap_flags_codec;
if (ac97_attach(&sc->host_if) == 0) {
ac97_resume(&sc->host_if, sc->codec_if);
sc->host_if.arg = sc;
sc->host_if.attach = envy_ac97_attach_codec;
sc->host_if.read = envy_ac97_read_codec;
sc->host_if.write = envy_ac97_write_codec;
sc->host_if.reset = envy_ac97_reset_codec;
sc->host_if.flags = envy_ac97_flags_codec;
if (ac97_attach(&sc->host_if) != 0)
struct ac97_host_if host_if;
sc->host_if.read = esa_read_codec;
sc->host_if.write = esa_write_codec;
sc->host_if.reset = esa_reset_codec;
sc->host_if.flags = esa_flags_codec;
if (ac97_attach(&sc->host_if) != 0) {
sc->host_if.arg = self;
sc->host_if.attach = esa_attach_codec;
struct ac97_host_if host_if;
sc->host_if.arg = sc;
sc->host_if.attach = fms_attach_codec;
sc->host_if.read = fms_read_codec;
sc->host_if.write = fms_write_codec;
sc->host_if.reset = fms_reset_codec;
if (ac97_attach(&sc->host_if) != 0)
struct ac97_host_if host_if;
struct ac97_host_if host_if;
sc->host_if.arg = sc;
sc->host_if.attach = maestro_attach_codec;
sc->host_if.flags = maestro_codec_flags;
sc->host_if.read = maestro_read_codec;
sc->host_if.write = maestro_write_codec;
sc->host_if.reset = maestro_reset_codec;
if (ac97_attach(&sc->host_if) != 0) {
struct ac97_host_if host_if;
sc->host_if.arg = sc;
sc->host_if.attach = neo_attach_codec;
sc->host_if.read = neo_read_codec;
sc->host_if.write = neo_write_codec;
sc->host_if.reset = neo_reset_codec;
sc->host_if.flags = neo_flags_codec;
if ((error = ac97_attach(&sc->host_if)) != 0)
ac97_resume(&sc->sc_codec[0].host_if, sc->sc_codec[0].codec_if);
codec->host_if.arg = codec;
codec->host_if.attach = yds_attach_codec;
codec->host_if.read = yds_read_codec;
codec->host_if.write = yds_write_codec;
codec->host_if.reset = yds_reset_codec;
if ((r = ac97_attach(&codec->host_if)) != 0) {
struct ac97_host_if host_if;
int host_if(const char *, struct addresslist *,
if ((cnt = host_if(s, al, max, port, ifname, ipproto)) != 0)
int host_if(const char *, struct addresslist *,
if ((cnt = host_if(s, al, max, port, ifname, ipproto)) != 0)