Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/sja1000/
H A Dtscan1.c82 unsigned long pld_base, sja1000_base; in tscan1_probe() local
85 pld_base = TSCAN1_PLD_ADDRESS + id * TSCAN1_PLD_SIZE; in tscan1_probe()
86 if (!request_region(pld_base, TSCAN1_PLD_SIZE, dev_name(dev))) in tscan1_probe()
89 if (inb(pld_base + TSCAN1_ID1) != TSCAN1_ID1_VALUE || in tscan1_probe()
90 inb(pld_base + TSCAN1_ID2) != TSCAN1_ID2_VALUE) { in tscan1_probe()
91 release_region(pld_base, TSCAN1_PLD_SIZE); in tscan1_probe()
95 switch (inb(pld_base + TSCAN1_JUMPERS) & (TSCAN1_JP4 | TSCAN1_JP5)) { in tscan1_probe()
107 release_region(pld_base, TSCAN1_PLD_SIZE); in tscan1_probe()
113 release_region(pld_base, TSCAN1_PLD_SIZE); in tscan1_probe()
120 netdev->base_addr = pld_base; in tscan1_probe()
[all …]