Lines Matching refs:bi
578 struct sm_ioctl bi; in wss_ioctl() local
589 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in wss_ioctl()
592 switch (bi.cmd) { in wss_ioctl()
598 bi.data.mix.sample_rate = sm->mode_rx->srate; in wss_ioctl()
599 bi.data.mix.bit_rate = sm->hdrv.par.bitrate; in wss_ioctl()
600 bi.data.mix.mixer_type = SCSTATE->crystal ? in wss_ioctl()
603 >> bi.data.mix.reg) & 1) { in wss_ioctl()
604 bi.data.mix.data = read_codec(dev, bi.data.mix.reg); in wss_ioctl()
607 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in wss_ioctl()
614 if ((bi.data.mix.mixer_type != SM_MIXER_CRYSTAL || in wss_ioctl()
616 (bi.data.mix.mixer_type != SM_MIXER_AD1848 || in wss_ioctl()
617 bi.data.mix.reg >= 0x10)) in wss_ioctl()
619 if (!((0x2c0c20fflu >> bi.data.mix.reg) & 1)) in wss_ioctl()
621 write_codec(dev, bi.data.mix.reg, bi.data.mix.data); in wss_ioctl()
625 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in wss_ioctl()