Lines Matching refs:pkt
118 static int bit_parity(u32 pkt) in bit_parity() argument
120 int x = pkt ^ (pkt >> 16); in bit_parity()
167 u32 pkt; /* packet temporary storage */ in mp_io() local
206 pkt = (PACKET_FULL | PACKET_IO_FAST) >> 28; in mp_io()
210 pkt = (PACKET_FULL | PACKET_IO_SLOW) >> 28; in mp_io()
220 if (pkt & PACKET_FULL) in mp_io()
222 pkt = (pkt << bits_per_read) | raw_data; in mp_io()
234 pkt = (pkt & 0xffff0000) | ((pkt << 1) & 0xffff); in mp_io()
235 pkt = (pkt >> 2) | 0xf0000000; in mp_io()
238 if (bit_parity(pkt) == 1) in mp_io()
258 *packet = pkt; in mp_io()
259 if ((sendflags == 0) || ((sendflags & IO_RETRY) && !(pkt & PACKET_MP_DONE))) in mp_io()
262 if (pkt & PACKET_MP_MORE) in mp_io()