Searched refs:bpw (Results 1 – 3 of 3) sorted by relevance
550 static int bpw = 0; in rmultiply() local564 if (!bpw) { in rmultiply()565 bpw = sizeof(u_quad_t) * 8; in rmultiply()566 while (((u_quad_t)1 << (bpw-1)) == 0) in rmultiply()567 --bpw; in rmultiply()575 for (b1 = bpw; (((u_quad_t)1 << (b1-1)) & n1) == 0; --b1) in rmultiply()577 for (b2 = bpw; (((u_quad_t)1 << (b2-1)) & n2) == 0; --b2) in rmultiply()579 if (b1 + b2 - 2 > bpw) { in rmultiply()605 if (m >= ((u_quad_t)1 << (bpw-2))) { in rmultiply()
507 const int bpw = sizeof(*ports)*8; in set_search_ordering_ports() local535 words = (sw->num_ports + bpw - 1)/bpw; in set_search_ordering_ports()559 if (ports[port/bpw] & (1u << (port%bpw))) { in set_search_ordering_ports()568 ports[port/bpw] |= (1u << (port%bpw)); in set_search_ordering_ports()583 if (!(ports[port/bpw] & (1u << (port%bpw)))) { in set_search_ordering_ports()
554 static void endian_convert(void *buf, UWORD bpw, UINT32 num_bytes) in endian_convert() argument558 UWORD iters = num_bytes / bpw; in endian_convert()559 if (bpw == 4) { in endian_convert()565 } else if (bpw == 8) { in endian_convert()