Home
last modified time | relevance | path

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

/drivers/ata/
Dpata_pdc2027x.c518 static void pdc_adjust_pll(struct ata_host *host, long pll_clock, unsigned int board_idx) in pdc_adjust_pll() argument
523 long pout_required = board_idx? PDC_133_MHZ:PDC_100_MHZ; in pdc_adjust_pll()
652 static int pdc_hardware_init(struct ata_host *host, unsigned int board_idx) in pdc_hardware_init() argument
667 pdc_adjust_pll(host, pll_clock, board_idx); in pdc_hardware_init()
709 unsigned int board_idx = (unsigned int) ent->driver_data; in pdc2027x_init_one() local
711 { &pdc2027x_port_info[board_idx], NULL }; in pdc2027x_init_one()
756 if (pdc_hardware_init(host, board_idx) != 0) in pdc2027x_init_one()
768 unsigned int board_idx; in pdc2027x_reinit_one() local
777 board_idx = PDC_UDMA_100; in pdc2027x_reinit_one()
779 board_idx = PDC_UDMA_133; in pdc2027x_reinit_one()
[all …]
Dsata_uli.c148 unsigned int board_idx = (unsigned int) ent->driver_data; in uli_init_one() local
162 if (board_idx == uli_5287) in uli_init_one()
184 switch (board_idx) { in uli_init_one()
Dsata_qstor.c589 unsigned int board_idx = (unsigned int) ent->driver_data; in qs_ata_init_one() local
590 const struct ata_port_info *ppi[] = { &qs_port_info[board_idx], NULL }; in qs_ata_init_one()
630 qs_host_init(host, board_idx); in qs_ata_init_one()
Dpdc_adma.c612 unsigned int board_idx = (unsigned int) ent->driver_data; in adma_ata_init_one() local
613 const struct ata_port_info *ppi[] = { &adma_port_info[board_idx], NULL }; in adma_ata_init_one()
655 adma_host_init(host, board_idx); in adma_ata_init_one()
Dsata_mv.c552 unsigned int board_idx; member
3782 static int mv_chip_id(struct ata_host *host, unsigned int board_idx) in mv_chip_id() argument
3788 switch (board_idx) { in mv_chip_id()
3884 if (board_idx == chip_6042 && mv_pci_cut_through_okay(host)) in mv_chip_id()
3908 dev_err(host->dev, "BUG: invalid board index %u\n", board_idx); in mv_chip_id()
3942 rc = mv_chip_id(host, hpriv->board_idx); in mv_init_host()
4130 hpriv->board_idx = chip_soc; in mv_platform_probe()
4416 unsigned int board_idx = (unsigned int)ent->driver_data; in mv_pci_init_one() local
4417 const struct ata_port_info *ppi[] = { &mv_port_info[board_idx], NULL }; in mv_pci_init_one()
4433 hpriv->board_idx = board_idx; in mv_pci_init_one()
Dpata_bf54x.c1543 int board_idx = 0; in bfin_atapi_probe() local
1549 { &bfin_port_info[board_idx], NULL }; in bfin_atapi_probe()
1566 while (bfin_port_info[board_idx].udma_mask > 0 && in bfin_atapi_probe()
1569 bfin_port_info[board_idx].udma_mask >>= 1; in bfin_atapi_probe()
/drivers/net/ethernet/alteon/
Dacenic.c574 ap->board_idx = BOARD_IDX_OVERFLOW; in acenic_probe_one()
576 ap->board_idx = boards_found; in acenic_probe_one()
578 ap->board_idx = BOARD_IDX_STATIC; in acenic_probe_one()
869 int board_idx, ecode = 0; in ace_init() local
876 board_idx = ap->board_idx; in ace_init()
1044 if (board_idx == BOARD_IDX_OVERFLOW || in ace_init()
1045 dis_pci_mem_inval[board_idx]) { in ace_init()
1340 if (board_idx == BOARD_IDX_OVERFLOW) { in ace_init()
1344 } else if (board_idx >= 0) { in ace_init()
1345 if (tx_coal_tick[board_idx]) in ace_init()
[all …]
Dacenic.h684 int board_idx; member
/drivers/net/ethernet/dec/tulip/
Dtulip_core.c1313 static int board_idx = -1; in tulip_init_one() local
1324 board_idx++; in tulip_init_one()
1407 pr_err("Cannot enable tulip board #%d, aborting\n", board_idx); in tulip_init_one()
1641 if (board_idx >= 0 && board_idx < MAX_UNITS) { in tulip_init_one()
1642 if (options[board_idx] & MEDIA_MASK) in tulip_init_one()
1643 tp->default_port = options[board_idx] & MEDIA_MASK; in tulip_init_one()
1644 if ((options[board_idx] & FullDuplex) || full_duplex[board_idx] > 0) in tulip_init_one()
1646 if (mtu[board_idx] > 0) in tulip_init_one()
1647 dev->mtu = mtu[board_idx]; in tulip_init_one()
1653 board_idx, medianame[tp->default_port & MEDIA_MASK]); in tulip_init_one()
[all …]
Dmedia.c449 void tulip_find_mii(struct net_device *dev, int board_idx) in tulip_find_mii() argument
498 board_idx, phy, mii_reg0, mii_status, mii_advert); in tulip_find_mii()
503 board_idx, to_advert, phy, mii_advert); in tulip_find_mii()
549 board_idx); in tulip_find_mii()
Dde2104x.c328 unsigned board_idx; member
1840 de->board_idx, ofs, media_name[de->media_type]); in de21041_get_srom_info()
1888 de->board_idx, i, in de21041_get_srom_info()
1971 static int board_idx = -1; in de_init_one() local
1973 board_idx++; in de_init_one()
1976 if (board_idx == 0) in de_init_one()
1995 de->board_idx = board_idx; in de_init_one()
Dtulip.h502 void tulip_find_mii (struct net_device *dev, int board_idx);
/drivers/net/ethernet/realtek/
D8139too.c959 static int board_idx = -1; in rtl8139_init_one() local
964 board_idx++; in rtl8139_init_one()
1082 option = (board_idx >= MAX_UNITS) ? 0 : media[board_idx]; in rtl8139_init_one()
1089 if (board_idx < MAX_UNITS && full_duplex[board_idx] > 0) in rtl8139_init_one()
1090 tp->mii.full_duplex = full_duplex[board_idx]; in rtl8139_init_one()
/drivers/net/wan/lmc/
Dlmc_var.h296 u8 board_idx; member
Dlmc_main.c960 sc->board_idx = cards_found++; in lmc_init_one()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c73 enum board_idx { enum
202 static bool bnxt_vf_pciid(enum board_idx idx) in bnxt_vf_pciid()