Lines Matching defs:enable
309 * ones we track sending (the only ones we enable interrupts for and the only
337 * then trigger/enable for this transfer.
348 u32 enable;
351 * HW req: Clear the DRV_CONTROL and enable TCS again
353 * and then the mode enable is cleared.
355 enable = read_tcs_reg(drv, RSC_DRV_CONTROL, tcs_id);
356 enable &= ~TCS_AMC_MODE_TRIGGER;
357 write_tcs_reg_sync(drv, RSC_DRV_CONTROL, tcs_id, enable);
358 enable &= ~TCS_AMC_MODE_ENABLE;
359 write_tcs_reg_sync(drv, RSC_DRV_CONTROL, tcs_id, enable);
363 enable = TCS_AMC_MODE_ENABLE;
364 write_tcs_reg_sync(drv, RSC_DRV_CONTROL, tcs_id, enable);
365 enable |= TCS_AMC_MODE_TRIGGER;
366 write_tcs_reg_sync(drv, RSC_DRV_CONTROL, tcs_id, enable);
374 * @enable: If true then enable; if false then disable
379 static void enable_tcs_irq(struct rsc_drv *drv, int tcs_id, bool enable)
384 if (enable)
396 * Called for ACTIVE_ONLY transfers (those are the only ones we enable the
437 * votes, clear AMC trigger & enable modes and
524 * The caller must re-enable interrupts between tries since that's