Lines Matching refs:bits

283  *			  (set sr bits to free).
296 if (!sr.bits.ldw.tas) {
302 if (!sr.bits.ldw.sr) {
304 sr.bits.ldw.sr |= NPI_DEV_SR_LOCK_ST_FREE;
306 sr.bits.ldw.tas = 0;
313 sr.bits.ldw.sr));
318 sr.bits.ldw));
319 status = NPI_VIR_TAS_BUSY(sr.bits.ldw.funcid);
350 if (!sr.bits.ldw.tas) {
355 state = sr.bits.ldw.sr & NPI_DEV_SR_LOCK_ST_MASK;
361 sr.bits.ldw.sr |= (NPI_DEV_SR_LOCK_ST_BUSY |
362 (sr.bits.ldw.funcid <<
371 sr.bits.ldw.sr));
372 status = NPI_VIR_SR_RESET(sr.bits.ldw.funcid);
379 sr.bits.ldw.sr));
380 status = NPI_VIR_SR_BUSY(sr.bits.ldw.funcid);
387 sr.bits.ldw.sr));
388 status = NPI_VIR_SR_INVALID(sr.bits.ldw.funcid);
394 " tas busy", sr.bits.ldw));
395 status = NPI_VIR_TAS_BUSY(sr.bits.ldw.funcid);
423 if (sr.bits.ldw.tas) {
424 if (sr.bits.ldw.funcid == NPI_GET_LOCK_OWNER(sr.bits.ldw.sr)) {
425 sr.bits.ldw.sr &= NPI_DEV_SR_IMPL_ST_MASK;
426 sr.bits.ldw.sr |= NPI_DEV_SR_LOCK_ST_FREE;
427 sr.bits.ldw.tas = 0;
433 sr.bits.ldw.sr));
434 status = NPI_VIR_SR_NOTOWNER(sr.bits.ldw.funcid);
440 sr.bits.ldw.tas));
441 status = NPI_VIR_TAS_NOTREAD(sr.bits.ldw.funcid);
450 * (based on address bits [25:26] on read access.
470 if (!sr.bits.ldw.tas) {
475 sr.bits.ldw.tas = 0;
504 if (!sr.bits.ldw.tas) {
509 sr.bits.ldw.tas = 0;
544 if (!sr.bits.ldw.tas) {
549 sr.bits.ldw.tas = 0;
591 sr.bits.ldw.sr |= (impl_sr << NPI_DEV_SR_IMPL_ST_SHIFT);
620 if (sr.bits.ldw.funcid == NPI_GET_LOCK_OWNER(sr.bits.ldw.sr)) {
621 sr.bits.ldw.sr |= (impl_sr << NPI_DEV_SR_IMPL_ST_SHIFT);
627 sr.bits.ldw.sr));
628 status = NPI_VIR_SR_NOTOWNER(sr.bits.ldw.funcid);
653 if (!sr.bits.ldw.tas) {
654 sr.bits.ldw.tas = 0;
686 *tas_p = sr.bits.ldw.tas;
687 if (!sr.bits.ldw.tas) {
688 sr.bits.ldw.tas = 0;
714 mp.bits.ldw.mpc = 1;
738 *mpc_p = mpc.bits.ldw.mpc;
792 bind.bits.ldw.tx_bind = 1;
793 bind.bits.ldw.tx = tn;
796 bind.bits.ldw.rx_bind = 1;
797 bind.bits.ldw.rx = rn;
868 gnum.bits.ldw.num = ldg;
917 * *ldf_p - pointer to store ldf0 and ldf1 flag bits.
951 * *ldf_p - pointer to store its flag bits.
1008 * *ldf_p - pointer to store its flag bits.
1085 * *ldf_p - pointer to store its flag bits.
1112 * *ldf_p - pointer to store its flag bits.
1134 * This function is called to select the mask bits for both ldf0 and ldf1.
1173 * This function is called to get the mask bits.
1177 * ldf_mask - pointer to store mask bits info.
1241 mgm.bits.ldw.arm = 1;
1247 mgm.bits.ldw.timer = timer;
1324 mgm.bits.ldw.arm = 1;
1442 sd.bits.ldw.data = ((sid.func << SID_DATA_FUNCNUM_SHIFT) |
1483 sid_p->func = ((sd.bits.ldw.data & SID_DATA_FUNCNUM_MASK) >>
1485 sid_p->vector = ((sd.bits.ldw.data & SID_DATA_INTNUM_MASK) >>
1496 * This function is called to mask/unmask the device error mask bits.