Lines Matching refs:port

69  * gmux port offsets. Many of these are not yet used, but may be in the
102 static u8 gmux_pio_read8(struct apple_gmux_data *gmux_data, int port)
104 return inb(gmux_data->iostart + port);
107 static void gmux_pio_write8(struct apple_gmux_data *gmux_data, int port,
110 outb(val, gmux_data->iostart + port);
113 static u32 gmux_pio_read32(struct apple_gmux_data *gmux_data, int port)
115 return inl(gmux_data->iostart + port);
118 static void gmux_pio_write32(struct apple_gmux_data *gmux_data, int port,
126 outb(tmpval, gmux_data->iostart + port + i);
162 static u8 gmux_index_read8(struct apple_gmux_data *gmux_data, int port)
168 outb((port & 0xff), gmux_data->iostart + GMUX_PORT_READ);
176 static void gmux_index_write8(struct apple_gmux_data *gmux_data, int port,
182 outb(port & 0xff, gmux_data->iostart + GMUX_PORT_WRITE);
187 static u32 gmux_index_read32(struct apple_gmux_data *gmux_data, int port)
193 outb((port & 0xff), gmux_data->iostart + GMUX_PORT_READ);
201 static void gmux_index_write32(struct apple_gmux_data *gmux_data, int port,
215 outb(port & 0xff, gmux_data->iostart + GMUX_PORT_WRITE);
220 static u8 gmux_read8(struct apple_gmux_data *gmux_data, int port)
223 return gmux_index_read8(gmux_data, port);
225 return gmux_pio_read8(gmux_data, port);
228 static void gmux_write8(struct apple_gmux_data *gmux_data, int port, u8 val)
231 gmux_index_write8(gmux_data, port, val);
233 gmux_pio_write8(gmux_data, port, val);
236 static u32 gmux_read32(struct apple_gmux_data *gmux_data, int port)
239 return gmux_index_read32(gmux_data, port);
241 return gmux_pio_read32(gmux_data, port);
244 static void gmux_write32(struct apple_gmux_data *gmux_data, int port,
248 gmux_index_write32(gmux_data, port, val);
250 gmux_pio_write32(gmux_data, port, val);
335 * The external DP port is only fully switchable on the first two unibody
340 * The following MacBook Pro generations replaced the external DP port with a
341 * combined DP/Thunderbolt port and lost the ability to switch it between GPUs,
343 * Oddly enough, while the full port is no longer switchable, AUX and HPD
357 * Our switching policy for the external port is that on those generations
358 * which are able to switch it fully, the port is switched together with the
364 * On all newer generations, the external port can only be driven by the
739 * If Thunderbolt is present, the external DP port is not fully