Lines Matching defs:plat
89 const struct ax_plat_data *plat;
173 if (!ax->plat->check_irq(pdev))
390 u8 reg_gpoc = ax->plat->gpoc_val;
495 if (ax->plat->check_irq)
662 ei_outb(ax->plat->dcr_val & ~1, ioaddr + EN0_DCFG);
663 ei_outb(ax->plat->gpoc_val, ioaddr + EI_SHIFT(0x17));
694 if (ax->plat->flags & AXFLG_HAS_EEPROM) {
708 if (ax->plat->wordlength == 2)
716 if (ax->plat->flags & AXFLG_HAS_93CX6) {
732 if (ax->plat->wordlength == 2) {
734 ei_outb(ax->plat->dcr_val, ei_local->mem + EN0_DCFG);
743 if (ax->plat->flags & AXFLG_MAC_FROMDEV) {
751 if ((ax->plat->flags & AXFLG_MAC_FROMPLATFORM) &&
752 ax->plat->mac_addr)
753 memcpy(dev->dev_addr, ax->plat->mac_addr, ETH_ALEN);
766 ei_local->word16 = (ax->plat->wordlength == 2);
775 if (ax->plat->block_input)
776 ei_local->block_input = ax->plat->block_input;
779 if (ax->plat->block_output)
780 ei_local->block_output = ax->plat->block_output;
855 ax->plat = dev_get_platdata(&pdev->dev);
858 ei_local->rxcr_base = ax->plat->rcr_val;
887 if (ax->plat->reg_offsets)
888 ei_local->reg_offset = ax->plat->reg_offsets;
914 if (!ax->plat->reg_offsets) {