Lines Matching defs:res
1713 intptr_t *res __unused)
1799 intptr_t *res)
1804 *res = 8 * (port & 1);
1807 *res = 0x14 + (port >> 1) * 4;
1817 intptr_t *res)
1826 *res = port * 8 + ((port > 2) ? 0x18 : 0);
1834 int port, intptr_t *res)
1838 *res = port * 0x200;
1846 int port, intptr_t *res)
1850 *res = port * 0x400;
1858 int port __unused, intptr_t *res)
1862 *res = PUC_ILR_DIGI;
1870 intptr_t *res)
1878 *res = port * 0x200;
1887 int port __unused, intptr_t *res)
1953 *res = DEFAULT_RCLK;
1961 *res = DEFAULT_RCLK << -cfg->clock;
1963 *res = DEFAULT_RCLK << v0;
1968 *res = (v0 == 0 && v1 == 0x80 + -cfg->clock) ?
1979 intptr_t *res)
2029 *res = 0x2f8;
2032 *res = 0x2e8;
2035 *res = 0x3f8;
2038 *res = 0x3e8;
2041 *res = 0x278;
2053 intptr_t *res)
2060 *res = (port > 4) ? 8 * (port - 4) : 0;
2066 *res = 0x10 + ((port > 4) ? 0x10 : 4 * port);
2071 case 0: *res = 0x10; return (0);
2072 case 1: *res = 0x14; return (0);
2073 case 2: *res = 0x1c; return (0);
2085 intptr_t *res)
2120 *res = DEFAULT_RCLK * 8;
2122 *res = DEFAULT_RCLK;
2127 *res = (intptr_t)desc;
2137 *res = sc->sc_cfg_data;
2146 *res = (port == 1 || port == 3) ? 8 : 0;
2149 *res = 0x10 + ((port > 3) ? port - 2 : port >> 1) * 4;
2152 *res = PUC_TYPE_SERIAL;
2162 int port __unused, intptr_t *res)
2172 *res = DEFAULT_RCLK * 8;
2174 *res = DEFAULT_RCLK;
2184 intptr_t *res)
2208 *res = 0x200;
2227 *res = sc->sc_cfg_data;
2241 *res = sc->sc_cfg_data;
2244 *res = 0x1000 + (port << 9);
2247 *res = PUC_TYPE_SERIAL;
2257 intptr_t *res)
2263 error = puc_config(sc, PUC_CFG_GET_TYPE, port, res);
2266 *res = (*res == PUC_TYPE_SERIAL) ? (port & 3) * 8 : 0;
2269 error = puc_config(sc, PUC_CFG_GET_TYPE, port, res);
2272 *res = (*res == PUC_TYPE_SERIAL && port <= 3) ? 0x10 : 0x14;
2282 int port, intptr_t *res)
2287 *res = (port < 3) ? 0 : (port - 2) << 3;
2290 *res = 0x14 + ((port >= 2) ? 0x0c : port << 2);