Searched refs:check_mode (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/md/ |
D | md-faulty.c | 85 static int check_mode(struct faulty_conf *conf, int mode) in check_mode() function 182 if (check_mode(conf, WritePersistent)) { in faulty_make_request() 187 if (check_mode(conf, WriteTransient)) in faulty_make_request() 194 if (check_mode(conf, ReadTransient)) in faulty_make_request() 196 if (check_mode(conf, ReadPersistent)) { in faulty_make_request() 201 if (check_mode(conf, ReadFixable)) { in faulty_make_request()
|
/Linux-v5.4/drivers/media/v4l2-core/ |
D | tuner-core.c | 819 static inline int check_mode(struct tuner *t, enum v4l2_tuner_type mode) in check_mode() function 847 if (check_mode(t, mode) == -EINVAL) { in set_mode() 1208 if (check_mode(t, f->type) == -EINVAL) in tuner_g_frequency() 1240 if (check_mode(t, vt->type) == -EINVAL) in tuner_g_tuner()
|