Searched refs:iot (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/arch/arm/mach-s3c24xx/
H A Diotiming-s3c2412.c40 * @iot: The IO timing information
42 static void s3c2412_print_timing(const char *pfx, struct s3c_iotimings *iot) s3c2412_print_timing() argument
48 bt = iot->bank[bank].io_2412; s3c2412_print_timing()
137 * @iot: The bank timing information.
143 struct s3c_iotimings *iot) s3c2412_iotiming_calc()
150 bt = iot->bank[bank].io_2412; s3c2412_iotiming_calc()
170 * @iot: The bank timing information.
176 struct s3c_iotimings *iot) s3c2412_iotiming_set()
185 bt = iot->bank[bank].io_2412; s3c2412_iotiming_set()
142 s3c2412_iotiming_calc(struct s3c_cpufreq_config *cfg, struct s3c_iotimings *iot) s3c2412_iotiming_calc() argument
175 s3c2412_iotiming_set(struct s3c_cpufreq_config *cfg, struct s3c_iotimings *iot) s3c2412_iotiming_set() argument
H A Diotiming-s3c2410.c355 * @iot: The IO timing information to fill out.
357 * Calculate the new values for the banks in @iot based on the new
362 struct s3c_iotimings *iot) s3c2410_iotiming_calc()
371 bt = iot->bank[bank].io_2410; s3c2410_iotiming_calc()
397 * @iot: The IO timing information to use.
404 struct s3c_iotimings *iot) s3c2410_iotiming_set()
412 bt = iot->bank[bank].io_2410; s3c2410_iotiming_set()
427 * through all the IO banks, reading the state and then updating @iot
361 s3c2410_iotiming_calc(struct s3c_cpufreq_config *cfg, struct s3c_iotimings *iot) s3c2410_iotiming_calc() argument
403 s3c2410_iotiming_set(struct s3c_cpufreq_config *cfg, struct s3c_iotimings *iot) s3c2410_iotiming_set() argument
/linux-4.4.14/drivers/cpufreq/
H A Ds3c24xx-cpufreq-debugfs.c123 struct s3c_iotimings *iot; io_show() local
139 iot = s3c_cpufreq_getiotimings(); io_show()
140 if (!iot) { io_show()
148 iob = &iot->bank[bank]; io_show()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
H A Dcl_io.c150 enum cl_io_type iot, struct cl_object *obj) cl_io_init0()
156 LINVRNT(cl_io_type_is_valid(iot)); cl_io_init0()
159 io->ci_type = iot; cl_io_init0()
184 enum cl_io_type iot, struct cl_object *obj) cl_io_sub_init()
191 return cl_io_init0(env, io, iot, obj); cl_io_sub_init()
202 * \pre cl_io_type_is_valid(iot)
203 * \post cl_io_type_is_valid(io->ci_type) && io->ci_type == iot
206 enum cl_io_type iot, struct cl_object *obj) cl_io_init()
214 return cl_io_init0(env, io, iot, obj); cl_io_init()
221 * \pre iot == CIT_READ || iot == CIT_WRITE
224 enum cl_io_type iot, loff_t pos, size_t count) cl_io_rw_init()
226 LINVRNT(iot == CIT_READ || iot == CIT_WRITE); cl_io_rw_init()
231 iot, (__u64)pos, (__u64)pos + count, cl_io_rw_init()
235 return cl_io_init(env, io, iot, io->ci_obj); cl_io_rw_init()
899 enum cl_req_type iot, struct cl_2queue *queue, cl_io_submit_sync()
912 rc = cl_io_submit_rw(env, io, iot, queue); cl_io_submit_sync()
149 cl_io_init0(const struct lu_env *env, struct cl_io *io, enum cl_io_type iot, struct cl_object *obj) cl_io_init0() argument
183 cl_io_sub_init(const struct lu_env *env, struct cl_io *io, enum cl_io_type iot, struct cl_object *obj) cl_io_sub_init() argument
205 cl_io_init(const struct lu_env *env, struct cl_io *io, enum cl_io_type iot, struct cl_object *obj) cl_io_init() argument
223 cl_io_rw_init(const struct lu_env *env, struct cl_io *io, enum cl_io_type iot, loff_t pos, size_t count) cl_io_rw_init() argument
898 cl_io_submit_sync(const struct lu_env *env, struct cl_io *io, enum cl_req_type iot, struct cl_2queue *queue, long timeout) cl_io_submit_sync() argument
/linux-4.4.14/arch/arm/plat-samsung/include/plat/
H A Dcpu-freq-core.h224 struct s3c_iotimings *iot);
230 struct s3c_iotimings *iot);
249 struct s3c_iotimings *iot);
252 struct s3c_iotimings *iot);
/linux-4.4.14/drivers/md/
H A Ddm-cache-target.c46 static void iot_init(struct io_tracker *iot) iot_init() argument
48 spin_lock_init(&iot->lock); iot_init()
49 iot->in_flight = 0ul; iot_init()
50 iot->idle_time = 0ul; iot_init()
51 iot->last_update_time = jiffies; iot_init()
54 static bool __iot_idle_for(struct io_tracker *iot, unsigned long jifs) __iot_idle_for() argument
56 if (iot->in_flight) __iot_idle_for()
59 return time_after(jiffies, iot->idle_time + jifs); __iot_idle_for()
62 static bool iot_idle_for(struct io_tracker *iot, unsigned long jifs) iot_idle_for() argument
67 spin_lock_irqsave(&iot->lock, flags); iot_idle_for()
68 r = __iot_idle_for(iot, jifs); iot_idle_for()
69 spin_unlock_irqrestore(&iot->lock, flags); iot_idle_for()
74 static void iot_io_begin(struct io_tracker *iot, sector_t len) iot_io_begin() argument
78 spin_lock_irqsave(&iot->lock, flags); iot_io_begin()
79 iot->in_flight += len; iot_io_begin()
80 spin_unlock_irqrestore(&iot->lock, flags); iot_io_begin()
83 static void __iot_io_end(struct io_tracker *iot, sector_t len) __iot_io_end() argument
85 iot->in_flight -= len; __iot_io_end()
86 if (!iot->in_flight) __iot_io_end()
87 iot->idle_time = jiffies; __iot_io_end()
90 static void iot_io_end(struct io_tracker *iot, sector_t len) iot_io_end() argument
94 spin_lock_irqsave(&iot->lock, flags); iot_io_end()
95 __iot_io_end(iot, len); iot_io_end()
96 spin_unlock_irqrestore(&iot->lock, flags); iot_io_end()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dfile.c1096 struct file *file, enum cl_io_type iot, ll_file_io_generic()
1106 ll_io_init(io, file, iot == CIT_WRITE); ll_file_io_generic()
1108 if (cl_io_rw_init(env, io, iot, *ppos, count) == 0) { ll_file_io_generic()
1120 if ((iot == CIT_WRITE) && ll_file_io_generic()
1128 } else if (iot == CIT_READ) { ll_file_io_generic()
1143 else if (args->via_io_subtype == IO_NORMAL && iot == CIT_READ) ll_file_io_generic()
1161 iot == CIT_READ ? "read" : "write", ll_file_io_generic()
1167 if (iot == CIT_READ) { ll_file_io_generic()
1171 } else if (iot == CIT_WRITE) { ll_file_io_generic()
1095 ll_file_io_generic(const struct lu_env *env, struct vvp_io_args *args, struct file *file, enum cl_io_type iot, loff_t *ppos, size_t count) ll_file_io_generic() argument
/linux-4.4.14/drivers/staging/lustre/lustre/include/
H A Dcl_object.h3025 enum cl_io_type iot, struct cl_object *obj);
3027 enum cl_io_type iot, struct cl_object *obj);
3029 enum cl_io_type iot, loff_t pos, size_t count);
3050 enum cl_req_type iot, struct cl_2queue *queue);
3052 enum cl_req_type iot, struct cl_2queue *queue,
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_dm.c1704 "%s():iot peer is %s, bssid: %pM\n", _rtl92e_dm_check_edca_turbo()

Completed in 234 milliseconds