HomeSort by: relevance | last modified time | path
    Searched defs:bit_pos (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/arch/hppa/hppa/
intr.c 128 struct hppa_interrupt_register *ir, int bit_pos)
135 if (bit_pos < 0 || bit_pos >= HPPA_INTERRUPT_BITS)
136 panic("%s: bad interrupt bit %d", __func__, bit_pos);
144 if (IR_BIT_USED_P(ir->ir_bits_map[31 ^ bit_pos]))
159 ir->ir_bits_map[31 ^ bit_pos] = IR_BIT_REG(idx);
169 ir->ir_bits &= ~(1 << bit_pos);
170 ir->ir_rbits &= ~(1 << bit_pos);
171 if (!IR_BIT_USED_P(ir->ir_bits_map[31 ^ bit_pos])) {
172 ir->ir_bits_map[31 ^ bit_pos] = 1 << idx
205 int bit_pos; local in function:hppa_intr_allocate_bit
256 int idx, bit_pos; local in function:hppa_intr_calculatemasks
408 int bit_pos; local in function:hppa_intr_dispatch
    [all...]
intr.c 128 struct hppa_interrupt_register *ir, int bit_pos)
135 if (bit_pos < 0 || bit_pos >= HPPA_INTERRUPT_BITS)
136 panic("%s: bad interrupt bit %d", __func__, bit_pos);
144 if (IR_BIT_USED_P(ir->ir_bits_map[31 ^ bit_pos]))
159 ir->ir_bits_map[31 ^ bit_pos] = IR_BIT_REG(idx);
169 ir->ir_bits &= ~(1 << bit_pos);
170 ir->ir_rbits &= ~(1 << bit_pos);
171 if (!IR_BIT_USED_P(ir->ir_bits_map[31 ^ bit_pos])) {
172 ir->ir_bits_map[31 ^ bit_pos] = 1 << idx
205 int bit_pos; local in function:hppa_intr_allocate_bit
256 int idx, bit_pos; local in function:hppa_intr_calculatemasks
408 int bit_pos; local in function:hppa_intr_dispatch
    [all...]
  /src/sys/dev/usb/
udl.c 1375 uint8_t bit_count, bit_pos, bit_rem, curlen; local in function:udl_cmd_add_buf_comp
1383 prev = bit_pos = *sc->sc_cmd_buf = 0;
1398 curlen = (bit_pos + bit_count + 7) / 8;
1406 (bit_pattern & ((1 << bit_rem) - 1)) << bit_pos;
1411 bit_pos = 0;
1417 (bit_pattern & ((1 << bit_count) - 1)) << bit_pos;
1418 bit_pos += bit_count;
1429 if (bit_pos > 0) {
udl.c 1375 uint8_t bit_count, bit_pos, bit_rem, curlen; local in function:udl_cmd_add_buf_comp
1383 prev = bit_pos = *sc->sc_cmd_buf = 0;
1398 curlen = (bit_pos + bit_count + 7) / 8;
1406 (bit_pattern & ((1 << bit_rem) - 1)) << bit_pos;
1411 bit_pos = 0;
1417 (bit_pattern & ((1 << bit_count) - 1)) << bit_pos;
1418 bit_pos += bit_count;
1429 if (bit_pos > 0) {

Completed in 107 milliseconds