Lines Matching full:private

100 	struct eadm_private *private = from_timer(private, t, timer);  in eadm_subchannel_timeout()  local
101 struct subchannel *sch = private->sch; in eadm_subchannel_timeout()
113 struct eadm_private *private = get_eadm_private(sch); in eadm_subchannel_set_timeout() local
116 del_timer(&private->timer); in eadm_subchannel_set_timeout()
119 if (timer_pending(&private->timer)) { in eadm_subchannel_set_timeout()
120 if (mod_timer(&private->timer, jiffies + expires)) in eadm_subchannel_set_timeout()
123 private->timer.expires = jiffies + expires; in eadm_subchannel_set_timeout()
124 add_timer(&private->timer); in eadm_subchannel_set_timeout()
129 struct eadm_private *private = get_eadm_private(sch); in eadm_subchannel_irq() local
148 if (private->state != EADM_BUSY) { in eadm_subchannel_irq()
151 private->state = EADM_NOT_OPER; in eadm_subchannel_irq()
156 private->state = EADM_IDLE; in eadm_subchannel_irq()
158 if (private->completion) in eadm_subchannel_irq()
159 complete(private->completion); in eadm_subchannel_irq()
164 struct eadm_private *private; in eadm_get_idle_sch() local
169 list_for_each_entry(private, &eadm_list, head) { in eadm_get_idle_sch()
170 sch = private->sch; in eadm_get_idle_sch()
172 if (private->state == EADM_IDLE) { in eadm_get_idle_sch()
173 private->state = EADM_BUSY; in eadm_get_idle_sch()
174 list_move_tail(&private->head, &eadm_list); in eadm_get_idle_sch()
189 struct eadm_private *private; in eadm_start_aob() local
206 private = get_eadm_private(sch); in eadm_start_aob()
207 private->state = EADM_NOT_OPER; in eadm_start_aob()
219 struct eadm_private *private; in eadm_subchannel_probe() local
222 private = kzalloc(sizeof(*private), GFP_KERNEL | GFP_DMA); in eadm_subchannel_probe()
223 if (!private) in eadm_subchannel_probe()
226 INIT_LIST_HEAD(&private->head); in eadm_subchannel_probe()
227 timer_setup(&private->timer, eadm_subchannel_timeout, 0); in eadm_subchannel_probe()
230 set_eadm_private(sch, private); in eadm_subchannel_probe()
231 private->state = EADM_IDLE; in eadm_subchannel_probe()
232 private->sch = sch; in eadm_subchannel_probe()
238 kfree(private); in eadm_subchannel_probe()
244 list_add(&private->head, &eadm_list); in eadm_subchannel_probe()
257 struct eadm_private *private = get_eadm_private(sch); in eadm_quiesce() local
262 if (private->state != EADM_BUSY) in eadm_quiesce()
268 private->completion = &completion; in eadm_quiesce()
274 private->completion = NULL; in eadm_quiesce()
287 struct eadm_private *private = get_eadm_private(sch); in eadm_subchannel_remove() local
290 list_del(&private->head); in eadm_subchannel_remove()
299 kfree(private); in eadm_subchannel_remove()
331 struct eadm_private *private; in eadm_subchannel_sch_event() local
345 private = get_eadm_private(sch); in eadm_subchannel_sch_event()
346 if (private->state == EADM_NOT_OPER) in eadm_subchannel_sch_event()
347 private->state = EADM_IDLE; in eadm_subchannel_sch_event()