Lines Matching refs:adi_state
26 struct adi_config adi_state; variable
27 EXPORT_SYMBOL(adi_state);
60 adi_state.enabled = false; in mdesc_adi_init()
65 adi_state.enabled = true; in mdesc_adi_init()
74 if (!adi_state.enabled) in mdesc_adi_init()
88 adi_state.caps.blksz = *val; in mdesc_adi_init()
93 adi_state.caps.nbits = *val; in mdesc_adi_init()
98 adi_state.caps.ue_on_adi = *val; in mdesc_adi_init()
108 if (adi_state.caps.nbits > 4) { in mdesc_adi_init()
110 adi_state.enabled = false; in mdesc_adi_init()
117 adi_state.enabled = false; in mdesc_adi_init()
118 adi_state.caps.blksz = 0; in mdesc_adi_init()
119 adi_state.caps.nbits = 0; in mdesc_adi_init()