Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/dlink/
A Ddl2k.c107 static int card_idx; in rio_probe1() local
155 if (card_idx < MAX_UNITS) { in rio_probe1()
156 if (media[card_idx] != NULL) { in rio_probe1()
179 strcmp (media[card_idx], "6") == 0) { in rio_probe1()
183 strcmp (media[card_idx], "5") == 0) { in rio_probe1()
190 if (jumbo[card_idx] != 0) { in rio_probe1()
195 if (mtu[card_idx] > 0 && mtu[card_idx] < PACKET_SIZE) in rio_probe1()
196 dev->mtu = mtu[card_idx]; in rio_probe1()
198 np->vlan = (vlan[card_idx] > 0 && vlan[card_idx] < 4096) ? in rio_probe1()
199 vlan[card_idx] : 0; in rio_probe1()
[all …]
A Dsundance.c497 static int card_idx; in sundance_probe1() local
625 if (card_idx < MAX_UNITS) { in sundance_probe1()
626 if (media[card_idx] != NULL) { in sundance_probe1()
628 if (strcmp (media[card_idx], "100mbps_fd") == 0 || in sundance_probe1()
629 strcmp (media[card_idx], "4") == 0) { in sundance_probe1()
633 strcmp (media[card_idx], "3") == 0) { in sundance_probe1()
636 } else if (strcmp (media[card_idx], "10mbps_fd") == 0 || in sundance_probe1()
637 strcmp (media[card_idx], "2") == 0) { in sundance_probe1()
640 } else if (strcmp (media[card_idx], "10mbps_hd") == 0 || in sundance_probe1()
641 strcmp (media[card_idx], "1") == 0) { in sundance_probe1()
[all …]
/linux/drivers/net/ethernet/packetengines/
A Dhamachi.c590 static int card_idx; in hamachi_init_one() local
666 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in hamachi_init_one()
707 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in hamachi_init_one()
722 rx_int_var = card_idx < MAX_UNITS ? rx_params[card_idx] : -1; in hamachi_init_one()
723 tx_int_var = card_idx < MAX_UNITS ? tx_params[card_idx] : -1; in hamachi_init_one()
778 card_idx++; in hamachi_init_one()
/linux/drivers/net/ethernet/3com/
A D3c59x.c617 int card_idx; member
1089 int chip_idx, int card_idx) in vortex_probe1() argument
1138 if (options[card_idx] >= 0) in vortex_probe1()
1139 option = options[card_idx]; in vortex_probe1()
1169 vp->card_idx = card_idx; in vortex_probe1()
1242 if (card_idx < MAX_UNITS) { in vortex_probe1()
1243 if (full_duplex[card_idx] > 0) in vortex_probe1()
1245 if (flow_ctrl[card_idx] > 0) in vortex_probe1()
1247 if (enable_wol[card_idx] > 0) in vortex_probe1()
1448 if (card_idx < MAX_UNITS && in vortex_probe1()
[all …]
/linux/drivers/net/ethernet/smsc/
A Depic100.c322 static int card_idx = -1; in epic_init_one() local
337 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()
/linux/drivers/net/ethernet/
A Dfealnx.c477 static int card_idx = -1; in fealnx_init_one() local
492 card_idx++; in fealnx_init_one()
493 sprintf(boardname, "fealnx%d", card_idx); in fealnx_init_one()
495 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in fealnx_init_one()
626 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in fealnx_init_one()
627 np->mii.full_duplex = full_duplex[card_idx]; in fealnx_init_one()
/linux/drivers/misc/genwqe/
A 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()
A Dcard_base.c129 cd->card_idx = i; in genwqe_dev_alloc()
162 genwqe_devices[cd->card_idx] = NULL; in genwqe_dev_free()
1042 cd->card_idx); in genwqe_health_check_start()
A Dcard_base.h272 int card_idx; /* card index 0..CARD_NO_MAX-1 */ member
A Dcard_ddcb.c174 cd->card_idx, queue->ddcb_act, queue->ddcb_next); in print_ddcb_info()
1264 cd->card_idx); in genwqe_setup_service_layer()
A Dcard_dev.c1288 cd->card_idx); in genwqe_device_create()
/linux/sound/drivers/
A Daloop.c1041 int card_idx = 0, dev = 0, subdev = 0; in loopback_parse_timer_id() local
1052 err = kstrtoint(name, 0, &card_idx); in loopback_parse_timer_id()
1055 for (card_idx = 0; card_idx < snd_ecards_limit; card_idx++) { in loopback_parse_timer_id()
1056 struct snd_card *card = snd_card_ref(card_idx); in loopback_parse_timer_id()
1086 tid->card = card_idx; in loopback_parse_timer_id()
/linux/drivers/net/wireless/intersil/hostap/
A Dhostap_hw.c3059 prism2_init_local_data(struct prism2_helper_functions *funcs, int card_idx, in prism2_init_local_data() argument
3130 if (card_idx < 0 || card_idx >= MAX_PARM_DEVICES) in prism2_init_local_data()
3131 card_idx = 0; in prism2_init_local_data()
3132 local->card_idx = card_idx; in prism2_init_local_data()
3138 i = GET_INT_PARM(iw_mode, card_idx); in prism2_init_local_data()
3147 local->channel = GET_INT_PARM(channel, card_idx); in prism2_init_local_data()
3148 local->beacon_int = GET_INT_PARM(beacon_int, card_idx); in prism2_init_local_data()
3149 local->dtim_period = GET_INT_PARM(dtim_period, card_idx); in prism2_init_local_data()
A Dhostap_wlan.h648 int card_idx; member
A 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/sound/soc/fsl/
A Dfsl_ssi.c279 u32 card_idx; member
1415 ret = of_property_read_u32(np, "cell-index", &ssi->card_idx); in fsl_ssi_probe_from_dt()
1469 ssi->card_idx = 0; in fsl_ssi_probe_from_dt()
1617 ssi->card_name, ssi->card_idx, NULL, 0); in fsl_ssi_probe()
/linux/drivers/net/ethernet/rdc/
A Dr6040.c1033 static int card_idx = -1; in r6040_init_one() local
1103 card_idx++; in r6040_init_one()
1144 dev_name(&pdev->dev), card_idx); in r6040_init_one()
/linux/drivers/net/ethernet/amd/
A Damd8111e.h795 static int card_idx; variable
A Damd8111e.c1817 lp->ext_phy_option = speed_duplex[card_idx]; in amd8111e_probe_one()
1818 if (coalesce[card_idx]) in amd8111e_probe_one()
1820 if (dynamic_ipg[card_idx++]) in amd8111e_probe_one()

Completed in 81 milliseconds