Lines Matching refs:options

145 static int options[MAX_UNITS];  variable
291 int options; member
1815 (options[cards_found] >= sizeof(options_mapping))) in pcnet32_probe1()
1816 lp->options = PCNET32_PORT_ASEL; in pcnet32_probe1()
1818 lp->options = options_mapping[options[cards_found]]; in pcnet32_probe1()
1828 if (fdx && !(lp->options & PCNET32_PORT_ASEL) && in pcnet32_probe1()
1830 lp->options |= PCNET32_PORT_FD; in pcnet32_probe1()
1842 lp->options = PCNET32_PORT_FD | PCNET32_PORT_GPSI; in pcnet32_probe1()
1913 lp->options |= PCNET32_PORT_MII; in pcnet32_probe1()
2072 if (lp->options & PCNET32_PORT_ASEL) in pcnet32_open()
2079 if (lp->options & PCNET32_PORT_FD) { in pcnet32_open()
2081 if (lp->options == (PCNET32_PORT_FD | PCNET32_PORT_AUI)) in pcnet32_open()
2083 } else if (lp->options & PCNET32_PORT_ASEL) { in pcnet32_open()
2093 if ((lp->options & PCNET32_PORT_PORTSEL) == PCNET32_PORT_GPSI) in pcnet32_open()
2101 if (lp->options & PCNET32_PORT_ASEL) { in pcnet32_open()
2102 lp->options = PCNET32_PORT_FD | PCNET32_PORT_100; in pcnet32_open()
2113 if (lp->mii && !(lp->options & PCNET32_PORT_ASEL)) { in pcnet32_open()
2118 if (lp->options & PCNET32_PORT_FD) in pcnet32_open()
2120 if (lp->options & PCNET32_PORT_100) in pcnet32_open()
2124 if (lp->options & PCNET32_PORT_ASEL) { in pcnet32_open()
2149 if (!(lp->options & PCNET32_PORT_ASEL)) { in pcnet32_open()
2155 (lp->options & PCNET32_PORT_100) ? in pcnet32_open()
2159 if (lp->options & PCNET32_PORT_FD) { in pcnet32_open()
2184 if (lp->options & PCNET32_PORT_ASEL) { in pcnet32_open()
2204 cpu_to_le16((lp->options & PCNET32_PORT_PORTSEL) << 7); in pcnet32_open()
2671 cpu_to_le16(0x8000 | (lp->options & PCNET32_PORT_PORTSEL) << in pcnet32_set_multicast_list()
2676 cpu_to_le16((lp->options & PCNET32_PORT_PORTSEL) << 7); in pcnet32_set_multicast_list()
2923 module_param_array(options, int, NULL, 0);
2924 MODULE_PARM_DESC(options, DRV_NAME " initial option setting(s) (0-15)");