Home
last modified time | relevance | path

Searched refs:card_idx (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/dlink/
Ddl2k.c112 static int card_idx; in rio_probe1() local
164 if (card_idx < MAX_UNITS) { in rio_probe1()
165 if (media[card_idx] != NULL) { in rio_probe1()
167 if (strcmp (media[card_idx], "auto") == 0 || in rio_probe1()
168 strcmp (media[card_idx], "autosense") == 0 || in rio_probe1()
169 strcmp (media[card_idx], "0") == 0 ) { in rio_probe1()
171 } else if (strcmp (media[card_idx], "100mbps_fd") == 0 || in rio_probe1()
172 strcmp (media[card_idx], "4") == 0) { in rio_probe1()
175 } else if (strcmp (media[card_idx], "100mbps_hd") == 0 || in rio_probe1()
176 strcmp (media[card_idx], "3") == 0) { in rio_probe1()
[all …]
Dsundance.c504 static int card_idx; in sundance_probe1() local
636 if (card_idx < MAX_UNITS) { in sundance_probe1()
637 if (media[card_idx] != NULL) { in sundance_probe1()
639 if (strcmp (media[card_idx], "100mbps_fd") == 0 || in sundance_probe1()
640 strcmp (media[card_idx], "4") == 0) { in sundance_probe1()
643 } else if (strcmp (media[card_idx], "100mbps_hd") == 0 || in sundance_probe1()
644 strcmp (media[card_idx], "3") == 0) { in sundance_probe1()
647 } else if (strcmp (media[card_idx], "10mbps_fd") == 0 || in sundance_probe1()
648 strcmp (media[card_idx], "2") == 0) { in sundance_probe1()
651 } else if (strcmp (media[card_idx], "10mbps_hd") == 0 || in sundance_probe1()
[all …]
/Linux-v5.4/drivers/net/ethernet/packetengines/
Dhamachi.c587 static int card_idx; in hamachi_init_one() local
660 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in hamachi_init_one()
701 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in hamachi_init_one()
716 rx_int_var = card_idx < MAX_UNITS ? rx_params[card_idx] : -1; in hamachi_init_one()
717 tx_int_var = card_idx < MAX_UNITS ? tx_params[card_idx] : -1; in hamachi_init_one()
772 card_idx++; in hamachi_init_one()
/Linux-v5.4/drivers/net/ethernet/3com/
D3c59x.c617 int card_idx; member
754 int chip_idx, int card_idx);
1089 int chip_idx, int card_idx) in vortex_probe1() argument
1136 else if (card_idx < MAX_UNITS) { in vortex_probe1()
1137 if (options[card_idx] >= 0) in vortex_probe1()
1138 option = options[card_idx]; in vortex_probe1()
1168 vp->card_idx = card_idx; in vortex_probe1()
1241 if (card_idx < MAX_UNITS) { in vortex_probe1()
1242 if (full_duplex[card_idx] > 0) in vortex_probe1()
1244 if (flow_ctrl[card_idx] > 0) in vortex_probe1()
[all …]
/Linux-v5.4/drivers/net/ethernet/smsc/
Depic100.c321 static int card_idx = -1; in epic_init_one() local
335 card_idx++; in epic_init_one()
391 } else if (card_idx >= 0 && card_idx < MAX_UNITS) { in epic_init_one()
392 if (options[card_idx] >= 0) in epic_init_one()
393 option = options[card_idx]; in epic_init_one()
394 if (full_duplex[card_idx] >= 0) in epic_init_one()
395 duplex = full_duplex[card_idx]; in epic_init_one()
/Linux-v5.4/drivers/misc/genwqe/
Dcard_debugfs.c306 cd->card_idx, slu_id, app_id, in info_show()
326 sprintf(card_name, "%s%d_card", GENWQE_DEVNAME, cd->card_idx); in genwqe_init_debugfs()
Dcard_base.c129 cd->card_idx = i; in genwqe_dev_alloc()
162 genwqe_devices[cd->card_idx] = NULL; in genwqe_dev_free()
1030 cd->card_idx); in genwqe_health_check_start()
Dcard_base.h272 int card_idx; /* card index 0..CARD_NO_MAX-1 */ member
Dcard_ddcb.c174 cd->card_idx, queue->ddcb_act, queue->ddcb_next); in print_ddcb_info()
1256 cd->card_idx); in genwqe_setup_service_layer()
Dcard_dev.c1298 cd->card_idx); in genwqe_device_create()
/Linux-v5.4/drivers/net/ethernet/
Dfealnx.c484 static int card_idx = -1; in fealnx_init_one() local
505 card_idx++; in fealnx_init_one()
506 sprintf(boardname, "fealnx%d", card_idx); in fealnx_init_one()
508 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in fealnx_init_one()
636 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in fealnx_init_one()
637 np->mii.full_duplex = full_duplex[card_idx]; in fealnx_init_one()
/Linux-v5.4/drivers/net/wireless/intersil/hostap/
Dhostap_hw.c3045 prism2_init_local_data(struct prism2_helper_functions *funcs, int card_idx, in prism2_init_local_data() argument
3116 if (card_idx < 0 || card_idx >= MAX_PARM_DEVICES) in prism2_init_local_data()
3117 card_idx = 0; in prism2_init_local_data()
3118 local->card_idx = card_idx; in prism2_init_local_data()
3124 i = GET_INT_PARM(iw_mode, card_idx); in prism2_init_local_data()
3133 local->channel = GET_INT_PARM(channel, card_idx); in prism2_init_local_data()
3134 local->beacon_int = GET_INT_PARM(beacon_int, card_idx); in prism2_init_local_data()
3135 local->dtim_period = GET_INT_PARM(dtim_period, card_idx); in prism2_init_local_data()
Dhostap_wlan.h648 int card_idx; member
Dhostap_ap.c803 ap->ap_policy = GET_INT_PARM(other_ap_policy, local->card_idx); in hostap_init_data()
804 ap->bridge_packets = GET_INT_PARM(ap_bridge_packets, local->card_idx); in hostap_init_data()
806 GET_INT_PARM(ap_max_inactivity, local->card_idx) * HZ; in hostap_init_data()
807 ap->autom_ap_wds = GET_INT_PARM(autom_ap_wds, local->card_idx); in hostap_init_data()
/Linux-v5.4/sound/soc/fsl/
Dfsl_ssi.c290 u32 card_idx; member
1399 ret = of_property_read_u32(np, "cell-index", &ssi->card_idx); in fsl_ssi_probe_from_dt()
1453 ssi->card_idx = 0; in fsl_ssi_probe_from_dt()
1601 ssi->card_name, ssi->card_idx, NULL, 0); in fsl_ssi_probe()
/Linux-v5.4/drivers/net/ethernet/rdc/
Dr6040.c1029 static int card_idx = -1; in r6040_init_one() local
1099 card_idx++; in r6040_init_one()
1140 dev_name(&pdev->dev), card_idx); in r6040_init_one()
/Linux-v5.4/drivers/net/ethernet/amd/
Damd8111e.h795 static int card_idx; variable
Damd8111e.c1827 lp->ext_phy_option = speed_duplex[card_idx]; in amd8111e_probe_one()
1828 if(coalesce[card_idx]) in amd8111e_probe_one()
1830 if(dynamic_ipg[card_idx++]) in amd8111e_probe_one()