Lines Matching refs:val

17 #define CACHEABLE_STR(val) ((val) ? "not cached" : "cached")  argument
23 unsigned short val, decode = vac_inw(VAC_DECODE_CTRL); in vac_show() local
90 val = vac_inw(regs[i]); in vac_show()
95 region_mode[VAC_REG_MODE(val)], in vac_show()
96 asiz[VAC_REG_ASIZ_VAL(val)], in vac_show()
97 ((val & VAC_REG_WORD) ? "D16" : "D32"), in vac_show()
98 CACHEABLE_STR(val&VAC_A24_A24_CACHINH)); in vac_show()
111 val = vac_inw(VAC_EPROMCS_CTRL); in vac_show()
114 VAC_CTRL_DELAY_DSACKI_VAL(val), in vac_show()
115 state[val & (VAC_CTRL_IORD|VAC_CTRL_IOWR)], in vac_show()
116 (val & VAC_CTRL_DSACK0) ? "dsack0*, " : "", in vac_show()
117 (val & VAC_CTRL_DSACK1) ? "dsack1*, " : "", in vac_show()
118 VAC_CTRL_RECOVERY_IOSELI_VAL(val), in vac_show()
119 VAC_CTRL_DELAY_IORD_VAL(val)/2, in vac_show()
120 (VAC_CTRL_DELAY_IORD_VAL(val)&1) ? ".5" : "", in vac_show()
121 VAC_CTRL_DELAY_IOWR_VAL(val)/2, in vac_show()
122 (VAC_CTRL_DELAY_IOWR_VAL(val)&1) ? ".5" : "", in vac_show()
123 VAC_CTRL_DELAY_IOSELI_VAL(val)/2, in vac_show()
124 (VAC_CTRL_DELAY_IOSELI_VAL(val)&1) ? ".5" : ""); in vac_show()
130 val = vac_inw(io_sels[i]); in vac_show()
135 VAC_CTRL_DELAY_DSACKI_VAL(val), in vac_show()
136 state[val & (VAC_CTRL_IORD|VAC_CTRL_IOWR)], in vac_show()
137 (val & VAC_CTRL_DSACK0) ? "dsack0*, " : "", in vac_show()
138 (val & VAC_CTRL_DSACK1) ? "dsack1*, " : "", in vac_show()
139 VAC_CTRL_RECOVERY_IOSELI_VAL(val), in vac_show()
140 VAC_CTRL_DELAY_IORD_VAL(val)/2, in vac_show()
141 (VAC_CTRL_DELAY_IORD_VAL(val)&1) ? ".5" : "", in vac_show()
142 VAC_CTRL_DELAY_IOWR_VAL(val)/2, in vac_show()
143 (VAC_CTRL_DELAY_IOWR_VAL(val)&1) ? ".5" : "", in vac_show()
144 VAC_CTRL_DELAY_IOSELI_VAL(val)/2, in vac_show()
145 (VAC_CTRL_DELAY_IOSELI_VAL(val)&1) ? ".5" : "", in vac_show()
155 val = vac_inw(VAC_SHRCS_CTRL); in vac_show()
158 VAC_CTRL_DELAY_DSACKI_VAL(val), in vac_show()
159 state[val & (VAC_CTRL_IORD|VAC_CTRL_IOWR)], in vac_show()
160 (val & VAC_CTRL_DSACK0) ? "dsack0*, " : "", in vac_show()
161 (val & VAC_CTRL_DSACK1) ? "dsack1*, " : "", in vac_show()
162 VAC_CTRL_RECOVERY_IOSELI_VAL(val), in vac_show()
163 VAC_CTRL_DELAY_IORD_VAL(val)/2, in vac_show()
164 (VAC_CTRL_DELAY_IORD_VAL(val)&1) ? ".5" : "", in vac_show()
165 VAC_CTRL_DELAY_IOWR_VAL(val)/2, in vac_show()
166 (VAC_CTRL_DELAY_IOWR_VAL(val)&1) ? ".5" : "", in vac_show()
167 VAC_CTRL_DELAY_IOSELI_VAL(val)/2, in vac_show()
168 (VAC_CTRL_DELAY_IOSELI_VAL(val)&1) ? ".5" : ""); in vac_show()
306 unsigned char val; in vic_show() local
312 val = vic_inb(VIC_IFACE_CFG); in vic_show()
313 if (val & VIC_IFACE_CFG_VME) in vic_show()
315 if (val & VIC_IFACE_CFG_TURBO) in vic_show()
317 if (val & VIC_IFACE_CFG_MSTAB) in vic_show()
320 deadlock[VIC_IFACE_CFG_DEADLOCK_VAL(val)]); in vic_show()
324 val = vic_inb(VIC_ERR_INT); in vic_show()
325 if (!(val & VIC_ERR_INT_SYSFAIL)) in vic_show()
327 if (!(val & VIC_ERR_INT_TIMO)) in vic_show()
329 if (!(val & VIC_ERR_INT_WRPOST)) in vic_show()
331 if (!(val & VIC_ERR_INT_ACFAIL)) in vic_show()
336 val = vic_inb(VIC_XFER_TIMO); in vic_show()
338 timeout[VIC_XFER_TIMO_LOCAL_PERIOD_VAL(val)], in vic_show()
339 timeout[VIC_XFER_TIMO_VME_PERIOD_VAL(val)]); in vic_show()
340 if (val & VIC_XFER_TIMO_VME) in vic_show()
342 if (val & VIC_XFER_TIMO_ARB) in vic_show()
346 val = vic_inb(VIC_LOCAL_TIM); in vic_show()
348 VIC_LOCAL_TIM_PAS_ASSERT_VAL(val), in vic_show()
349 VIC_LOCAL_TIM_PAS_DEASSERT_VAL(val), in vic_show()
350 VIC_LOCAT_TIM_DS_DEASSERT_VAL(val)); in vic_show()
352 val = vic_inb(VIC_BXFER_DEF); in vic_show()
354 if (val & VIC_BXFER_DEF_DUAL) in vic_show()
356 if (val & VIC_BXFER_DEF_LOCAL_CROSS) in vic_show()
358 if (val & VIC_BXFER_DEF_VME_CROSS) in vic_show()