Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/can/sja1000/
Dtscan1.c95 unsigned long pld_base, sja1000_base; in tscan1_probe() local
98 pld_base = TSCAN1_PLD_ADDRESS + id * TSCAN1_PLD_SIZE; in tscan1_probe()
99 if (!request_region(pld_base, TSCAN1_PLD_SIZE, dev_name(dev))) in tscan1_probe()
102 if (inb(pld_base + TSCAN1_ID1) != TSCAN1_ID1_VALUE || in tscan1_probe()
103 inb(pld_base + TSCAN1_ID2) != TSCAN1_ID2_VALUE) { in tscan1_probe()
104 release_region(pld_base, TSCAN1_PLD_SIZE); in tscan1_probe()
108 switch (inb(pld_base + TSCAN1_JUMPERS) & (TSCAN1_JP4 | TSCAN1_JP5)) { in tscan1_probe()
120 release_region(pld_base, TSCAN1_PLD_SIZE); in tscan1_probe()
126 release_region(pld_base, TSCAN1_PLD_SIZE); in tscan1_probe()
133 netdev->base_addr = pld_base; in tscan1_probe()
[all …]