Home
last modified time | relevance | path

Searched refs:vhalf (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
H A Dstnic.c35 #define vhalf volatile unsigned short macro
92 val = (*(vhalf *) (PA_83902 + ((reg) << 1)) >> 8) & 0xff; in STNIC_READ()
100 *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); in STNIC_WRITE()
177 *(vhalf *) PA_83902_RST = 0; in stnic_reset()
180 *(vhalf *) PA_83902_RST = ~0; in stnic_reset()
198 buf[0] = *(vhalf *) PA_83902_IF; in stnic_get_hdr()
200 buf[1] = *(vhalf *) PA_83902_IF; in stnic_get_hdr()
239 val = *(vhalf *) PA_83902_IF; in stnic_block_input()
274 *(vhalf *) PA_83902_IF = ((half) buf[1] << 8) | buf[0]; in stnic_block_output()
276 *(vhalf *) PA_83902_I in stnic_block_output()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/
H A Dstnic.c32 #define vhalf volatile unsigned short macro
89 val = (*(vhalf *) (PA_83902 + ((reg) << 1)) >> 8) & 0xff; in STNIC_READ()
97 *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); in STNIC_WRITE()
173 *(vhalf *) PA_83902_RST = 0; in stnic_reset()
176 *(vhalf *) PA_83902_RST = ~0; in stnic_reset()
194 buf[0] = *(vhalf *) PA_83902_IF; in stnic_get_hdr()
196 buf[1] = *(vhalf *) PA_83902_IF; in stnic_get_hdr()
235 val = *(vhalf *) PA_83902_IF; in stnic_block_input()
270 *(vhalf *) PA_83902_IF = ((half) buf[1] << 8) | buf[0]; in stnic_block_output()
272 *(vhalf *) PA_83902_I in stnic_block_output()
[all...]

Completed in 2 milliseconds