Lines Matching defs:work
751 * @work: pointer to the work_struct structure
756 static void ab8500_fg_acc_cur_work(struct work_struct *work)
762 struct ab8500_fg *di = container_of(work,
1558 /* We use the FG IRQ to work on */
1802 * @work: pointer to the work_struct structure
1804 * Work queue function for periodic work
1806 static void ab8500_fg_periodic_work(struct work_struct *work)
1808 struct ab8500_fg *di = container_of(work, struct ab8500_fg,
1809 fg_periodic_work.work);
1837 * @work: pointer to the work_struct structure
1841 static void ab8500_fg_check_hw_failure_work(struct work_struct *work)
1846 struct ab8500_fg *di = container_of(work, struct ab8500_fg,
1847 fg_check_hw_failure_work.work);
1878 * @work: pointer to the work_struct structure
1882 static void ab8500_fg_low_bat_work(struct work_struct *work)
1886 struct ab8500_fg *di = container_of(work, struct ab8500_fg,
1887 fg_low_bat_work.work);
1982 * @work: pointer to the work_struct structure
1984 * Work queue function for instant work
1986 static void ab8500_fg_instant_work(struct work_struct *work)
1988 struct ab8500_fg *di = container_of(work, struct ab8500_fg, fg_work);
2415 * ab8500_fg_reinit_work() - work to reset the FG algorithm
2416 * @work: pointer to the work_struct structure
2422 static void ab8500_fg_reinit_work(struct work_struct *work)
2424 struct ab8500_fg *di = container_of(work, struct ab8500_fg,
2425 fg_reinit_work.work);
3110 /* Create a work queue for running the FG algorithm */
3113 dev_err(dev, "failed to create work queue\n");
3117 /* Init work for running the fg algorithm instantly */
3120 /* Init work for getting the battery accumulated current */
3123 /* Init work for reinitialising the fg algorithm */
3135 /* Init work for HW failure check */