Lines Matching refs:options
145 static int options[MAX_UNITS]; variable
291 int options; member
1814 (options[cards_found] >= sizeof(options_mapping))) in pcnet32_probe1()
1815 lp->options = PCNET32_PORT_ASEL; in pcnet32_probe1()
1817 lp->options = options_mapping[options[cards_found]]; in pcnet32_probe1()
1827 if (fdx && !(lp->options & PCNET32_PORT_ASEL) && in pcnet32_probe1()
1829 lp->options |= PCNET32_PORT_FD; in pcnet32_probe1()
1841 lp->options = PCNET32_PORT_FD | PCNET32_PORT_GPSI; in pcnet32_probe1()
1912 lp->options |= PCNET32_PORT_MII; in pcnet32_probe1()
2071 if (lp->options & PCNET32_PORT_ASEL) in pcnet32_open()
2078 if (lp->options & PCNET32_PORT_FD) { in pcnet32_open()
2080 if (lp->options == (PCNET32_PORT_FD | PCNET32_PORT_AUI)) in pcnet32_open()
2082 } else if (lp->options & PCNET32_PORT_ASEL) { in pcnet32_open()
2092 if ((lp->options & PCNET32_PORT_PORTSEL) == PCNET32_PORT_GPSI) in pcnet32_open()
2100 if (lp->options & PCNET32_PORT_ASEL) { in pcnet32_open()
2101 lp->options = PCNET32_PORT_FD | PCNET32_PORT_100; in pcnet32_open()
2112 if (lp->mii && !(lp->options & PCNET32_PORT_ASEL)) { in pcnet32_open()
2117 if (lp->options & PCNET32_PORT_FD) in pcnet32_open()
2119 if (lp->options & PCNET32_PORT_100) in pcnet32_open()
2123 if (lp->options & PCNET32_PORT_ASEL) { in pcnet32_open()
2148 if (!(lp->options & PCNET32_PORT_ASEL)) { in pcnet32_open()
2154 (lp->options & PCNET32_PORT_100) ? in pcnet32_open()
2158 if (lp->options & PCNET32_PORT_FD) { in pcnet32_open()
2183 if (lp->options & PCNET32_PORT_ASEL) { in pcnet32_open()
2203 cpu_to_le16((lp->options & PCNET32_PORT_PORTSEL) << 7); in pcnet32_open()
2670 cpu_to_le16(0x8000 | (lp->options & PCNET32_PORT_PORTSEL) << in pcnet32_set_multicast_list()
2675 cpu_to_le16((lp->options & PCNET32_PORT_PORTSEL) << 7); in pcnet32_set_multicast_list()
2922 module_param_array(options, int, NULL, 0);
2923 MODULE_PARM_DESC(options, DRV_NAME " initial option setting(s) (0-15)");