Lines Matching defs:options
110 * to internal options
140 #define MAX_UNITS 8 /* More are supported, limit only on options */
141 static int options[MAX_UNITS];
287 int options;
1861 (options[cards_found] >= sizeof(options_mapping)))
1862 lp->options = PCNET32_PORT_ASEL;
1864 lp->options = options_mapping[options[cards_found]];
1867 lp->options = PCNET32_PORT_10BT;
1877 if (fdx && !(lp->options & PCNET32_PORT_ASEL) &&
1879 lp->options |= PCNET32_PORT_FD;
1891 lp->options = PCNET32_PORT_FD | PCNET32_PORT_GPSI;
1962 lp->options |= PCNET32_PORT_MII;
2113 lp->autoneg = !!(lp->options & PCNET32_PORT_ASEL);
2114 lp->port_tp = !!(lp->options & PCNET32_PORT_10BT);
2115 lp->fdx = !!(lp->options & PCNET32_PORT_FD);
2119 if (lp->options & PCNET32_PORT_ASEL)
2126 if (lp->options & PCNET32_PORT_FD) {
2128 if (lp->options == (PCNET32_PORT_FD | PCNET32_PORT_AUI))
2130 } else if (lp->options & PCNET32_PORT_ASEL) {
2140 if ((lp->options & PCNET32_PORT_PORTSEL) == PCNET32_PORT_GPSI)
2148 if (lp->options & PCNET32_PORT_ASEL) {
2149 lp->options = PCNET32_PORT_FD | PCNET32_PORT_100;
2160 if (lp->mii && !(lp->options & PCNET32_PORT_ASEL)) {
2165 if (lp->options & PCNET32_PORT_FD)
2167 if (lp->options & PCNET32_PORT_100)
2171 if (lp->options & PCNET32_PORT_ASEL) {
2196 if (!(lp->options & PCNET32_PORT_ASEL)) {
2202 (lp->options & PCNET32_PORT_100) ?
2206 if (lp->options & PCNET32_PORT_FD) {
2231 if (lp->options & PCNET32_PORT_ASEL) {
2251 cpu_to_le16((lp->options & PCNET32_PORT_PORTSEL) << 7);
2717 cpu_to_le16(0x8000 | (lp->options & PCNET32_PORT_PORTSEL) <<
2722 cpu_to_le16((lp->options & PCNET32_PORT_PORTSEL) << 7);
2974 module_param_array(options, int, NULL, 0);
2975 MODULE_PARM_DESC(options, DRV_NAME " initial option setting(s) (0-15)");