Home
last modified time | relevance | path

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

/openbmc/linux/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_IF = ((half) buf[0] << 8) | buf[1]; in stnic_block_output()