/drivers/net/ethernet/dlink/ |
D | dl2k.c | 118 static int card_idx; in rio_probe1() local 170 if (card_idx < MAX_UNITS) { in rio_probe1() 171 if (media[card_idx] != NULL) { in rio_probe1() 173 if (strcmp (media[card_idx], "auto") == 0 || in rio_probe1() 174 strcmp (media[card_idx], "autosense") == 0 || in rio_probe1() 175 strcmp (media[card_idx], "0") == 0 ) { in rio_probe1() 177 } else if (strcmp (media[card_idx], "100mbps_fd") == 0 || in rio_probe1() 178 strcmp (media[card_idx], "4") == 0) { in rio_probe1() 181 } else if (strcmp (media[card_idx], "100mbps_hd") == 0 || in rio_probe1() 182 strcmp (media[card_idx], "3") == 0) { in rio_probe1() [all …]
|
D | sundance.c | 504 static int card_idx; in sundance_probe1() local 632 if (card_idx < MAX_UNITS) { in sundance_probe1() 633 if (media[card_idx] != NULL) { in sundance_probe1() 635 if (strcmp (media[card_idx], "100mbps_fd") == 0 || in sundance_probe1() 636 strcmp (media[card_idx], "4") == 0) { in sundance_probe1() 639 } else if (strcmp (media[card_idx], "100mbps_hd") == 0 || in sundance_probe1() 640 strcmp (media[card_idx], "3") == 0) { in sundance_probe1() 643 } else if (strcmp (media[card_idx], "10mbps_fd") == 0 || in sundance_probe1() 644 strcmp (media[card_idx], "2") == 0) { in sundance_probe1() 647 } else if (strcmp (media[card_idx], "10mbps_hd") == 0 || in sundance_probe1() [all …]
|
/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 588 static int card_idx; in hamachi_init_one() local 661 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in hamachi_init_one() 702 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in hamachi_init_one() 717 rx_int_var = card_idx < MAX_UNITS ? rx_params[card_idx] : -1; in hamachi_init_one() 718 tx_int_var = card_idx < MAX_UNITS ? tx_params[card_idx] : -1; in hamachi_init_one() 773 card_idx++; in hamachi_init_one()
|
/drivers/net/ethernet/3com/ |
D | 3c59x.c | 617 int card_idx; member 755 int chip_idx, int card_idx); 1098 int chip_idx, int card_idx) in vortex_probe1() argument 1145 else if (card_idx < MAX_UNITS) { in vortex_probe1() 1146 if (options[card_idx] >= 0) in vortex_probe1() 1147 option = options[card_idx]; in vortex_probe1() 1177 vp->card_idx = card_idx; in vortex_probe1() 1250 if (card_idx < MAX_UNITS) { in vortex_probe1() 1251 if (full_duplex[card_idx] > 0) in vortex_probe1() 1253 if (flow_ctrl[card_idx] > 0) in vortex_probe1() [all …]
|
/drivers/net/ethernet/smsc/ |
D | epic100.c | 323 static int card_idx = -1; in epic_init_one() local 338 card_idx++; in epic_init_one() 395 } else if (card_idx >= 0 && card_idx < MAX_UNITS) { in epic_init_one() 396 if (options[card_idx] >= 0) in epic_init_one() 397 option = options[card_idx]; in epic_init_one() 398 if (full_duplex[card_idx] >= 0) in epic_init_one() 399 duplex = full_duplex[card_idx]; in epic_init_one()
|
/drivers/net/ethernet/ |
D | fealnx.c | 485 static int card_idx = -1; in fealnx_init_one() local 506 card_idx++; in fealnx_init_one() 507 sprintf(boardname, "fealnx%d", card_idx); in fealnx_init_one() 509 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in fealnx_init_one() 637 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in fealnx_init_one() 638 np->mii.full_duplex = full_duplex[card_idx]; in fealnx_init_one()
|
/drivers/misc/genwqe/ |
D | card_debugfs.c | 331 cd->card_idx, slu_id, app_id, in genwqe_info_show() 353 sprintf(card_name, "%s%d_card", GENWQE_DEVNAME, cd->card_idx); in genwqe_init_debugfs()
|
D | card_base.c | 138 cd->card_idx = i; in genwqe_dev_alloc() 171 genwqe_devices[cd->card_idx] = NULL; in genwqe_dev_free() 1040 cd->card_idx); in genwqe_health_check_start()
|
D | card_base.h | 279 int card_idx; /* card index 0..CARD_NO_MAX-1 */ member
|
D | card_ddcb.c | 183 cd->card_idx, queue->ddcb_act, queue->ddcb_next); in print_ddcb_info() 1266 cd->card_idx); in genwqe_setup_service_layer()
|
D | card_dev.c | 1310 cd->card_idx); in genwqe_device_create()
|
/drivers/net/wireless/hostap/ |
D | hostap_hw.c | 3090 prism2_init_local_data(struct prism2_helper_functions *funcs, int card_idx, in prism2_init_local_data() argument 3161 if (card_idx < 0 || card_idx >= MAX_PARM_DEVICES) in prism2_init_local_data() 3162 card_idx = 0; in prism2_init_local_data() 3163 local->card_idx = card_idx; in prism2_init_local_data() 3169 i = GET_INT_PARM(iw_mode, card_idx); in prism2_init_local_data() 3178 local->channel = GET_INT_PARM(channel, card_idx); in prism2_init_local_data() 3179 local->beacon_int = GET_INT_PARM(beacon_int, card_idx); in prism2_init_local_data() 3180 local->dtim_period = GET_INT_PARM(dtim_period, card_idx); in prism2_init_local_data()
|
D | hostap_wlan.h | 646 int card_idx; member
|
D | hostap_ap.c | 850 ap->ap_policy = GET_INT_PARM(other_ap_policy, local->card_idx); in hostap_init_data() 851 ap->bridge_packets = GET_INT_PARM(ap_bridge_packets, local->card_idx); in hostap_init_data() 853 GET_INT_PARM(ap_max_inactivity, local->card_idx) * HZ; in hostap_init_data() 854 ap->autom_ap_wds = GET_INT_PARM(autom_ap_wds, local->card_idx); in hostap_init_data()
|
/drivers/net/ethernet/rdc/ |
D | r6040.c | 1084 static int card_idx = -1; in r6040_init_one() local 1157 card_idx++; in r6040_init_one() 1198 dev_name(&pdev->dev), card_idx); in r6040_init_one()
|
/drivers/net/ethernet/amd/ |
D | amd8111e.h | 806 static int card_idx; variable
|
D | amd8111e.c | 1865 lp->ext_phy_option = speed_duplex[card_idx]; in amd8111e_probe_one() 1866 if(coalesce[card_idx]) in amd8111e_probe_one() 1868 if(dynamic_ipg[card_idx++]) in amd8111e_probe_one()
|