Lines Matching refs:force
222 int force; /* force various values; see FORCE* above. */
522 lp->force = g_cs89x0_media__force;
689 /* allow them to force multiple transceivers. If they force multiple, autosense */
692 if (lp->force & FORCE_RJ45) {lp->adapter_cnf |= A_CNF_10B_T; count++; }
693 if (lp->force & FORCE_AUI) {lp->adapter_cnf |= A_CNF_AUI; count++; }
694 if (lp->force & FORCE_BNC) {lp->adapter_cnf |= A_CNF_10B_2; count++; }
696 else if (lp->force & FORCE_RJ45){lp->adapter_cnf |= A_CNF_MEDIA_10B_T; }
697 else if (lp->force & FORCE_AUI) {lp->adapter_cnf |= A_CNF_MEDIA_AUI; }
698 else if (lp->force & FORCE_BNC) {lp->adapter_cnf |= A_CNF_MEDIA_10B_2; }
702 printk(KERN_DEBUG "%s: after force 0x%x, adapter_cnf=0x%x\n",
703 dev->name, lp->force, lp->adapter_cnf);
1026 switch (lp->force & 0xf0) {
1029 lp->force &= ~FORCE_AUTO;
1030 lp->force |= FORCE_HALF;
1040 switch (lp->force & 0xf0) {