Searched defs:thi (Results 1 - 5 of 5) sorted by relevance
/drivers/i2c/algos/ |
H A D | i2c-algo-pca.c | 447 int tlow, thi; local 496 /* The minimum clock that respects the thi/tlow = 134/157 is 498 * calculate the thi factor. 502 thi = 1000000 - clock * raise_fall_time; 503 thi /= (I2C_PCA_OSC_PER * clock) - tlow; 507 thi = tlow * min_thi / min_tlow; 520 pca_outw(pca_data, I2C_PCA_IND, thi);
|
/drivers/block/drbd/ |
H A D | drbd_worker.c | 2082 int drbd_worker(struct drbd_thread *thi) argument 2084 struct drbd_connection *connection = thi->connection; 2090 while (get_t_state(thi) == RUNNING) { 2091 drbd_thread_current_set_cpu(thi); 2105 if (get_t_state(thi) == RUNNING) { 2112 if (get_t_state(thi) != RUNNING)
|
H A D | drbd_main.c | 325 struct drbd_thread *thi = (struct drbd_thread *) arg; local 326 struct drbd_resource *resource = thi->resource; 331 thi->name[0], 335 retval = thi->function(thi); 337 spin_lock_irqsave(&thi->t_lock, flags); 349 if (thi->t_state == RESTARTING) { 350 drbd_info(resource, "Restarting %s thread\n", thi->name); 351 thi->t_state = RUNNING; 352 spin_unlock_irqrestore(&thi 373 drbd_thread_init(struct drbd_resource *resource, struct drbd_thread *thi, int (*func) (struct drbd_thread *), const char *name) argument 385 drbd_thread_start(struct drbd_thread *thi) argument 451 _drbd_thread_stop(struct drbd_thread *thi, int restart, int wait) argument 545 drbd_thread_current_set_cpu(struct drbd_thread *thi) argument [all...] |
H A D | drbd_receiver.c | 5068 int drbd_receiver(struct drbd_thread *thi) argument 5070 struct drbd_connection *connection = thi->connection; 5495 int drbd_asender(struct drbd_thread *thi) argument 5497 struct drbd_connection *connection = thi->connection; 5514 while (get_t_state(thi) == RUNNING) { 5515 drbd_thread_current_set_cpu(thi);
|
H A D | drbd_int.h | 270 static inline enum drbd_thread_state get_t_state(struct drbd_thread *thi) argument 277 return thi->t_state; 1066 extern int drbd_thread_start(struct drbd_thread *thi); 1067 extern void _drbd_thread_stop(struct drbd_thread *thi, int restart, int wait); 1069 extern void drbd_thread_current_set_cpu(struct drbd_thread *thi); 1487 extern int drbd_worker(struct drbd_thread *thi); 1539 extern int drbd_receiver(struct drbd_thread *thi); 1540 extern int drbd_asender(struct drbd_thread *thi); 1988 static inline void drbd_thread_stop(struct drbd_thread *thi) argument 1990 _drbd_thread_stop(thi, fals 1993 drbd_thread_stop_nowait(struct drbd_thread *thi) argument 1998 drbd_thread_restart_nowait(struct drbd_thread *thi) argument [all...] |
Completed in 107 milliseconds