Lines Matching refs:cond

479 init_condition_met(struct nvbios_init *init, u8 cond)
484 u32 reg = nvbios_rd32(bios, table + (cond * 12) + 0);
485 u32 msk = nvbios_rd32(bios, table + (cond * 12) + 4);
486 u32 val = nvbios_rd32(bios, table + (cond * 12) + 8);
488 cond, reg, msk, val);
495 init_io_condition_met(struct nvbios_init *init, u8 cond)
500 u16 port = nvbios_rd16(bios, table + (cond * 5) + 0);
501 u8 index = nvbios_rd08(bios, table + (cond * 5) + 2);
502 u8 mask = nvbios_rd08(bios, table + (cond * 5) + 3);
503 u8 value = nvbios_rd08(bios, table + (cond * 5) + 4);
505 cond, port, index, mask, value);
512 init_io_flag_condition_met(struct nvbios_init *init, u8 cond)
517 u16 port = nvbios_rd16(bios, table + (cond * 9) + 0);
518 u8 index = nvbios_rd08(bios, table + (cond * 9) + 2);
519 u8 mask = nvbios_rd08(bios, table + (cond * 9) + 3);
520 u8 shift = nvbios_rd08(bios, table + (cond * 9) + 4);
521 u16 data = nvbios_rd16(bios, table + (cond * 9) + 5);
522 u8 dmask = nvbios_rd08(bios, table + (cond * 9) + 7);
523 u8 value = nvbios_rd08(bios, table + (cond * 9) + 8);
782 u8 cond = nvbios_rd08(bios, init->offset + 1);
784 trace("IO_FLAG_CONDITION\t0x%02x\n", cond);
787 if (!init_io_flag_condition_met(init, cond))
800 u8 cond = nvbios_rd08(bios, init->offset + 1);
805 trace("GENERIC_CONDITION\t0x%02x 0x%02x\n", cond, size);
808 switch (cond) {
821 if (!(info.flags & cond))
837 warn("INIT_GENERIC_CONDITION: unknown 0x%02x\n", cond);
1240 u8 cond = nvbios_rd08(bios, init->offset + 1);
1244 trace("CONDITION_TIME\t0x%02x 0x%02x\n", cond, retry);
1251 if (init_condition_met(init, cond))
1805 u8 cond = nvbios_rd08(bios, init->offset + 1);
1807 trace("CONDITION\t0x%02x\n", cond);
1810 if (!init_condition_met(init, cond))
1822 u8 cond = nvbios_rd08(bios, init->offset + 1);
1824 trace("IO_CONDITION\t0x%02x\n", cond);
1827 if (!init_io_condition_met(init, cond))