Lines Matching refs:ioctl
296 u_short scf1, ioctl, base, num; in is_active() local
309 ioctl = tcic_getw(TCIC_DATA); in is_active()
311 if (ioctl & TCIC_ICTL_TINY) in is_active()
319 (scf1 & TCIC_SCF1_IOSTS) && (ioctl & TCIC_ICTL_ENA) && in is_active()
700 u_short base, len, ioctl; in tcic_set_io_map() local
717 ioctl = (psock << TCIC_ICTL_SS_SHFT); in tcic_set_io_map()
718 ioctl |= (len == 0) ? TCIC_ICTL_TINY : 0; in tcic_set_io_map()
719 ioctl |= (io->flags & MAP_ACTIVE) ? TCIC_ICTL_ENA : 0; in tcic_set_io_map()
720 ioctl |= to_cycles(io->speed) & TCIC_ICTL_WSCNT_MASK; in tcic_set_io_map()
722 ioctl |= TCIC_ICTL_QUIET; in tcic_set_io_map()
723 ioctl |= (io->flags & MAP_16BIT) ? TCIC_ICTL_BW_16 : TCIC_ICTL_BW_8; in tcic_set_io_map()
726 tcic_setw(TCIC_DATA, ioctl); in tcic_set_io_map()