Lines Matching defs:work
1710 /* Cancel any pending Vbat check work */
1939 * @work pointer to the work_struct structure
1946 static void ab8500_charger_check_vbat_work(struct work_struct *work)
1949 struct ab8500_charger *di = container_of(work,
1950 struct ab8500_charger, check_vbat_work.work);
1987 * @work: pointer to the work_struct structure
1991 static void ab8500_charger_check_hw_failure_work(struct work_struct *work)
1996 struct ab8500_charger *di = container_of(work,
1997 struct ab8500_charger, check_hw_failure_work.work);
2034 * @work: pointer to the work_struct structure
2046 static void ab8500_charger_kick_watchdog_work(struct work_struct *work)
2050 struct ab8500_charger *di = container_of(work,
2051 struct ab8500_charger, kick_wd_work.work);
2064 * ab8500_charger_ac_work() - work to get and set main charger status
2065 * @work: pointer to the work_struct structure
2069 static void ab8500_charger_ac_work(struct work_struct *work)
2073 struct ab8500_charger *di = container_of(work,
2096 static void ab8500_charger_usb_attached_work(struct work_struct *work)
2098 struct ab8500_charger *di = container_of(work,
2100 usb_charger_attached_work.work);
2133 static void ab8500_charger_ac_attached_work(struct work_struct *work)
2136 struct ab8500_charger *di = container_of(work,
2138 ac_charger_attached_work.work);
2175 * ab8500_charger_detect_usb_type_work() - work to detect USB type
2176 * @work: Pointer to the work_struct structure
2180 static void ab8500_charger_detect_usb_type_work(struct work_struct *work)
2184 struct ab8500_charger *di = container_of(work,
2235 * ab8500_charger_usb_link_attach_work() - work to detect USB type
2236 * @work: pointer to the work_struct structure
2240 static void ab8500_charger_usb_link_attach_work(struct work_struct *work)
2243 container_of(work, struct ab8500_charger, attach_work.work);
2259 * ab8500_charger_usb_link_status_work() - work to detect USB type
2260 * @work: pointer to the work_struct structure
2264 static void ab8500_charger_usb_link_status_work(struct work_struct *work)
2271 struct ab8500_charger *di = container_of(work,
2372 "Delay work for %d msec for USB enum "
2394 static void ab8500_charger_usb_state_changed_work(struct work_struct *work)
2399 struct ab8500_charger *di = container_of(work,
2400 struct ab8500_charger, usb_state_changed_work.work);
2457 * @work: pointer to the work_struct structure
2461 static void ab8500_charger_check_usbchargernotok_work(struct work_struct *work)
2467 struct ab8500_charger *di = container_of(work,
2468 struct ab8500_charger, check_usbchgnotok_work.work);
2495 * @work: pointer to the work_struct structure
2500 struct work_struct *work)
2505 struct ab8500_charger *di = container_of(work,
2525 * @work: pointer to the work_struct structure
2530 struct work_struct *work)
2535 struct ab8500_charger *di = container_of(work,
2657 static void ab8500_charger_vbus_drop_end_work(struct work_struct *work)
2659 struct ab8500_charger *di = container_of(work,
2660 struct ab8500_charger, vbus_drop_end_work.work);
3324 /* Create a work queue for the charger */
3328 dev_err(dev, "failed to create work queue\n");
3378 /* Delete the work queue */
3531 /* Init work for HW failure check */
3566 /* Init work for charger detection */
3573 /* Init work for checking HW status */