Home
last modified time | relevance | path

Searched refs:board_idx (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/ata/
H A Dpata_pdc2027x.c500 static void pdc_adjust_pll(struct ata_host *host, long pll_clock, unsigned int board_idx) in pdc_adjust_pll() argument
505 long pout_required = board_idx? PDC_133_MHZ:PDC_100_MHZ; in pdc_adjust_pll()
631 static void pdc_hardware_init(struct ata_host *host, unsigned int board_idx) in pdc_hardware_init() argument
646 pdc_adjust_pll(host, pll_clock, board_idx); in pdc_hardware_init()
686 unsigned int board_idx = (unsigned int) ent->driver_data; in pdc2027x_init_one() local
688 { &pdc2027x_port_info[board_idx], NULL }; in pdc2027x_init_one()
729 pdc_hardware_init(host, board_idx); in pdc2027x_init_one()
740 unsigned int board_idx; in pdc2027x_reinit_one() local
749 board_idx = PDC_UDMA_100; in pdc2027x_reinit_one()
751 board_idx = PDC_UDMA_133; in pdc2027x_reinit_one()
[all …]
H A Dsata_uli.c132 unsigned int board_idx = (unsigned int) ent->driver_data; in uli_init_one() local
146 if (board_idx == uli_5287) in uli_init_one()
168 switch (board_idx) { in uli_init_one()
H A Dsata_qstor.c543 unsigned int board_idx = (unsigned int) ent->driver_data; in qs_ata_init_one() local
544 const struct ata_port_info *ppi[] = { &qs_port_info[board_idx], NULL }; in qs_ata_init_one()
584 qs_host_init(host, board_idx); in qs_ata_init_one()
H A Dpdc_adma.c550 unsigned int board_idx = (unsigned int) ent->driver_data; in adma_ata_init_one() local
551 const struct ata_port_info *ppi[] = { &adma_port_info[board_idx], NULL }; in adma_ata_init_one()
595 adma_host_init(host, board_idx); in adma_ata_init_one()
/linux/drivers/net/ethernet/alteon/
H A Dacenic.c576 ap->board_idx = BOARD_IDX_OVERFLOW; in acenic_probe_one()
578 ap->board_idx = boards_found; in acenic_probe_one()
580 ap->board_idx = BOARD_IDX_STATIC; in acenic_probe_one()
868 int board_idx, ecode = 0; in ace_init() local
876 board_idx = ap->board_idx; in ace_init()
1045 if (board_idx == BOARD_IDX_OVERFLOW || in ace_init()
1046 dis_pci_mem_inval[board_idx]) { in ace_init()
1334 if (board_idx == BOARD_IDX_OVERFLOW) { in ace_init()
1338 } else if (board_idx >= 0) { in ace_init()
1339 if (tx_coal_tick[board_idx]) in ace_init()
[all …]
H A Dacenic.h686 int board_idx; member
/linux/drivers/net/ethernet/dec/tulip/
H A Dtulip_core.c1304 static int board_idx = -1; in tulip_init_one() local
1311 board_idx++; in tulip_init_one()
1394 pr_err("Cannot enable tulip board #%d, aborting\n", board_idx); in tulip_init_one()
1634 if (board_idx >= 0 && board_idx < MAX_UNITS) { in tulip_init_one()
1635 if (options[board_idx] & MEDIA_MASK) in tulip_init_one()
1636 tp->default_port = options[board_idx] & MEDIA_MASK; in tulip_init_one()
1637 if ((options[board_idx] & FullDuplex) || full_duplex[board_idx] > 0) in tulip_init_one()
1639 if (mtu[board_idx] > 0) in tulip_init_one()
1640 dev->mtu = mtu[board_idx]; in tulip_init_one()
1646 board_idx, medianame[tp->default_port & MEDIA_MASK]); in tulip_init_one()
[all …]
H A Dmedia.c444 void tulip_find_mii(struct net_device *dev, int board_idx) in tulip_find_mii() argument
493 board_idx, phy, mii_reg0, mii_status, mii_advert); in tulip_find_mii()
498 board_idx, to_advert, phy, mii_advert); in tulip_find_mii()
544 board_idx); in tulip_find_mii()
H A Dde2104x.c320 unsigned board_idx; member
1853 de->board_idx, ofs, media_name[de->media_type]); in de21041_get_srom_info()
1901 de->board_idx, i, in de21041_get_srom_info()
1983 static int board_idx = -1; in de_init_one() local
1985 board_idx++; in de_init_one()
2002 de->board_idx = board_idx; in de_init_one()
H A Dtulip.h501 void tulip_find_mii (struct net_device *dev, int board_idx);
/linux/drivers/net/ethernet/realtek/
H A D8139too.c951 static int board_idx = -1; in rtl8139_init_one() local
956 board_idx++; in rtl8139_init_one()
1078 option = (board_idx >= MAX_UNITS) ? 0 : media[board_idx]; in rtl8139_init_one()
1085 if (board_idx < MAX_UNITS && full_duplex[board_idx] > 0) in rtl8139_init_one()
1086 tp->mii.full_duplex = full_duplex[board_idx]; in rtl8139_init_one()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h2067 enum board_idx { enum
2699 enum board_idx board_idx; member
H A Dbnxt.c310 static bool bnxt_vf_pciid(enum board_idx idx) in bnxt_vf_pciid()
16010 board_info[bp->board_idx].name, in bnxt_print_device_info()
16046 bp->board_idx = ent->driver_data; in bnxt_init_one()
16050 if (bnxt_vf_pciid(bp->board_idx)) in bnxt_init_one()