Lines Matching refs:plat
89 const struct ax_plat_data *plat; member
180 if (!ax->plat->check_irq(pdev)) in ax_ei_interrupt_filtered()
397 u8 reg_gpoc = ax->plat->gpoc_val; in ax_phy_switch()
502 if (ax->plat->check_irq) in ax_open()
669 ei_outb(ax->plat->dcr_val & ~1, ioaddr + EN0_DCFG); in ax_initial_setup()
670 ei_outb(ax->plat->gpoc_val, ioaddr + EI_SHIFT(0x17)); in ax_initial_setup()
701 if (ax->plat->flags & AXFLG_HAS_EEPROM) { in ax_init_dev()
715 if (ax->plat->wordlength == 2) in ax_init_dev()
723 if (ax->plat->flags & AXFLG_HAS_93CX6) { in ax_init_dev()
739 if (ax->plat->wordlength == 2) { in ax_init_dev()
741 ei_outb(ax->plat->dcr_val, ei_local->mem + EN0_DCFG); in ax_init_dev()
750 if (ax->plat->flags & AXFLG_MAC_FROMDEV) { in ax_init_dev()
758 if ((ax->plat->flags & AXFLG_MAC_FROMPLATFORM) && in ax_init_dev()
759 ax->plat->mac_addr) in ax_init_dev()
760 memcpy(dev->dev_addr, ax->plat->mac_addr, ETH_ALEN); in ax_init_dev()
773 ei_local->word16 = (ax->plat->wordlength == 2); in ax_init_dev()
782 if (ax->plat->block_input) in ax_init_dev()
783 ei_local->block_input = ax->plat->block_input; in ax_init_dev()
786 if (ax->plat->block_output) in ax_init_dev()
787 ei_local->block_output = ax->plat->block_output; in ax_init_dev()
862 ax->plat = dev_get_platdata(&pdev->dev); in ax_probe()
865 ei_local->rxcr_base = ax->plat->rcr_val; in ax_probe()
894 if (ax->plat->reg_offsets) in ax_probe()
895 ei_local->reg_offset = ax->plat->reg_offsets; in ax_probe()
921 if (!ax->plat->reg_offsets) { in ax_probe()