[go: nahoru, domu]

Searched refs:osc (Results 1 - 24 of 24) sorted by relevance

/drivers/clk/versatile/
H A Dclk-vexpress-osc.c29 #define to_vexpress_osc(osc) container_of(osc, struct vexpress_osc, hw)
34 struct vexpress_osc *osc = to_vexpress_osc(hw); local
37 regmap_read(osc->reg, 0, &rate);
45 struct vexpress_osc *osc = to_vexpress_osc(hw); local
47 if (WARN_ON(osc->rate_min && rate < osc->rate_min))
48 rate = osc->rate_min;
50 if (WARN_ON(osc->rate_max && rate > osc
59 struct vexpress_osc *osc = to_vexpress_osc(hw); local
75 struct vexpress_osc *osc; local
[all...]
H A DMakefile7 obj-$(CONFIG_CLK_VEXPRESS_OSC) += clk-vexpress-osc.o
/drivers/staging/lustre/lustre/osc/
H A DMakefile1 obj-$(CONFIG_LUSTRE_FS) += osc.o
2 osc-y := osc_request.o osc_dev.o osc_object.o \
4 osc-$(CONFIG_PROC_FS) += lproc_osc.o
H A Dosc_object.c45 /** \addtogroup osc
55 static struct lu_object *osc2lu(struct osc_object *osc) argument
57 return &osc->oo_cl.co_lu;
75 struct osc_object *osc = lu2osc(obj); local
79 osc->oo_oinfo = cconf->u.coc_oinfo;
80 spin_lock_init(&osc->oo_seatbelt);
82 INIT_LIST_HEAD(&osc->oo_inflight[i]);
84 INIT_LIST_HEAD(&osc->oo_ready_item);
85 INIT_LIST_HEAD(&osc->oo_hp_ready_item);
86 INIT_LIST_HEAD(&osc
105 struct osc_object *osc = lu2osc(obj); local
139 struct osc_object *osc = lu2osc(obj); local
258 struct osc_object *osc; local
[all...]
H A Dosc_cache.c37 * osc cache management.
59 struct client_obd *cli, struct osc_object *osc);
68 /** \addtogroup osc
72 /* ------------------ osc extent ------------------ */
1173 /* ------------------ osc extent end ------------------ */
1175 static inline int osc_is_ready(struct osc_object *osc) argument
1177 return !list_empty(&osc->oo_ready_item) ||
1178 !list_empty(&osc->oo_hp_ready_item);
1479 * to add osc cache, in that case, it will be freed in osc_exit_cache().
1486 struct osc_object *osc local
1583 osc_max_rpc_in_flight(struct client_obd *cli, struct osc_object *osc) argument
1592 osc_makes_rpc(struct client_obd *cli, struct osc_object *osc, int cmd) argument
1674 __osc_list_maint(struct client_obd *cli, struct osc_object *osc) argument
1696 osc_list_maint(struct client_obd *cli, struct osc_object *osc) argument
1735 struct osc_object *osc = oap->oap_obj; local
1881 osc_send_write_rpc(const struct lu_env *env, struct client_obd *cli, struct osc_object *osc, pdl_policy_t pol) argument
1953 osc_send_read_rpc(const struct lu_env *env, struct client_obd *cli, struct osc_object *osc, pdl_policy_t pol) argument
2030 struct osc_object *osc; local
2096 osc_io_unplug0(const struct lu_env *env, struct client_obd *cli, struct osc_object *osc, pdl_policy_t pol, int async) argument
2120 osc_io_unplug_async(const struct lu_env *env, struct client_obd *cli, struct osc_object *osc) argument
2127 osc_io_unplug(const struct lu_env *env, struct client_obd *cli, struct osc_object *osc, pdl_policy_t pol) argument
2133 osc_prep_async_page(struct osc_object *osc, struct osc_page *ops, struct page *page, loff_t offset) argument
2169 struct osc_object *osc = oap->oap_obj; local
[all...]
H A Dosc_dev.c48 /** \addtogroup osc
109 static struct lu_device *osc2lu_dev(struct osc_device *osc) argument
111 return &osc->od_cl.cd_lu_dev;
171 LU_TYPE_INIT_FINI(osc, &osc_key, &osc_session_key);
262 /** @} osc */
H A Dlproc_osc.c509 LPROC_SEQ_FOPS_RO_TYPE(osc, uuid);
510 LPROC_SEQ_FOPS_RO_TYPE(osc, connect_flags);
511 LPROC_SEQ_FOPS_RO_TYPE(osc, blksize);
512 LPROC_SEQ_FOPS_RO_TYPE(osc, kbytestotal);
513 LPROC_SEQ_FOPS_RO_TYPE(osc, kbytesfree);
514 LPROC_SEQ_FOPS_RO_TYPE(osc, kbytesavail);
515 LPROC_SEQ_FOPS_RO_TYPE(osc, filestotal);
516 LPROC_SEQ_FOPS_RO_TYPE(osc, filesfree);
517 LPROC_SEQ_FOPS_RO_TYPE(osc, server_uuid);
518 LPROC_SEQ_FOPS_RO_TYPE(osc, conn_uui
[all...]
H A Dosc_io.c46 /** \addtogroup osc
93 * An implementation of cl_io_operations::cio_io_submit() method for osc
96 * or, if page is already submitted, changes osc flags through
106 struct osc_object *osc = NULL; /* to keep gcc happy */ local
123 osc = cl2osc(ios->cis_obj);
124 cli = osc_cli(osc);
143 LASSERT(osc == oap->oap_obj);
175 result = osc_queue_sync_pages(env, osc, &list, cmd,
183 result = osc_queue_sync_pages(env, osc, &list, cmd, brw_flags);
243 * Implements cl_io_operations::cio_prepare_write() method for osc laye
581 struct osc_object *osc = cl2osc(obj); local
[all...]
H A Dosc_cl_internal.h57 /** \defgroup osc osc
64 * State maintained by osc layer for each IO context.
88 * State of transfer for osc.
95 * State maintained by osc layer for the duration of a system call.
132 * used by the osc to keep track of what objects to build into rpcs.
191 * Lock "micro-states" for osc layer.
204 * osc-private state of cl_lock.
334 * Page state private for osc layer.
339 * Page queues used by osc t
[all...]
H A Dosc_page.c50 /** \addtogroup osc
509 struct osc_object *osc = cl2osc(obj); local
516 result = osc_prep_async_page(osc, opg, vmpage,
535 result = osc_lru_reserve(env, osc, opg);
800 * this osc occupies too many LRU pages and kernel is
921 /** @} osc */
/drivers/staging/lustre/lustre/
H A DMakefile1 obj-$(CONFIG_LUSTRE_FS) += libcfs/ obdclass/ ptlrpc/ fld/ osc/ mgc/ \
/drivers/clk/at91/
H A Dclk-slow.c76 struct clk_slow_osc *osc = to_clk_slow_osc(hw); local
77 void __iomem *sckcr = osc->sckcr;
85 usleep_range(osc->startup_usec, osc->startup_usec + 1);
92 struct clk_slow_osc *osc = to_clk_slow_osc(hw); local
93 void __iomem *sckcr = osc->sckcr;
104 struct clk_slow_osc *osc = to_clk_slow_osc(hw); local
105 void __iomem *sckcr = osc->sckcr;
127 struct clk_slow_osc *osc; local
134 osc
184 struct clk_slow_rc_osc *osc = to_clk_slow_rc_osc(hw); local
192 struct clk_slow_rc_osc *osc = to_clk_slow_rc_osc(hw); local
199 struct clk_slow_rc_osc *osc = to_clk_slow_rc_osc(hw); local
211 struct clk_slow_rc_osc *osc = to_clk_slow_rc_osc(hw); local
219 struct clk_slow_rc_osc *osc = to_clk_slow_rc_osc(hw); local
239 struct clk_slow_rc_osc *osc; local
[all...]
H A Dclk-main.c74 struct clk_main_osc *osc = dev_id; local
76 wake_up(&osc->wait);
77 disable_irq_nosync(osc->irq);
84 struct clk_main_osc *osc = to_clk_main_osc(hw); local
85 struct at91_pmc *pmc = osc->pmc;
98 enable_irq(osc->irq);
99 wait_event(osc->wait,
108 struct clk_main_osc *osc = to_clk_main_osc(hw); local
109 struct at91_pmc *pmc = osc->pmc;
124 struct clk_main_osc *osc local
149 struct clk_main_osc *osc; local
218 struct clk_main_rc_osc *osc = dev_id; local
228 struct clk_main_rc_osc *osc = to_clk_main_rc_osc(hw); local
250 struct clk_main_rc_osc *osc = to_clk_main_rc_osc(hw); local
263 struct clk_main_rc_osc *osc = to_clk_main_rc_osc(hw); local
273 struct clk_main_rc_osc *osc = to_clk_main_rc_osc(hw); local
281 struct clk_main_rc_osc *osc = to_clk_main_rc_osc(hw); local
301 struct clk_main_rc_osc *osc; local
[all...]
/drivers/rtc/
H A Drtc-rs5c372.c252 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) argument
257 if (osc)
258 *osc = (tmp & RS5C372_TRIM_XSL) ? 32000 : 32768;
419 int err, osc, trim; local
421 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim);
424 osc / 1000, osc % 1000);
462 int err, osc; local
464 err = rs5c372_get_trim(to_i2c_client(dev), &osc, NULL);
468 return sprintf(buf, "%d.%03d KHz\n", osc / 100
[all...]
/drivers/clk/sirf/
H A Dclk-atlas6.c63 rtc, osc, pll1, pll2, pll3, mem, sys, security, dsp, gps, enumerator in enum:atlas6_clk_index
136 atlas6_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL,
146 clk_register_clkdev(atlas6_clks[mem], NULL, "osc");
H A Dclk-prima2.c62 rtc, osc, pll1, pll2, pll3, mem, sys, security, dsp, gps, enumerator in enum:prima2_clk_index
135 prima2_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL,
145 clk_register_clkdev(prima2_clks[mem], NULL, "osc");
/drivers/char/hw_random/
H A Dmxc-rnga.c110 u32 ctrl, osc; local
118 osc = __raw_readl(mxc_rng->mem + RNGA_STATUS);
119 if (osc & RNGA_STATUS_OSC_DEAD) {
/drivers/mfd/
H A Dtwl-core.c1011 struct clk *osc; local
1015 osc = clk_get(dev, "fck");
1016 if (IS_ERR(osc)) {
1018 "using bootloader value (unknown osc rate)\n");
1022 rate = clk_get_rate(osc);
1023 clk_put(osc);
/drivers/media/tuners/
H A Dmax2165.c135 static int max2165_set_osc(struct max2165_priv *priv, u8 osc /*MHz*/)
139 v = (osc / 2);
/drivers/staging/lustre/lustre/llite/
H A Dlproc_llite.c942 struct super_block *sb, char *osc, char *mdc)
959 LASSERT(osc != NULL);
1070 obd = class_name2obd(osc);
941 lprocfs_register_mountpoint(struct proc_dir_entry *parent, struct super_block *sb, char *osc, char *mdc) argument
H A Dllite_internal.h675 struct super_block *sb, char *osc, char *mdc);
684 struct super_block *sb, char *osc, char *mdc){return 0;}
683 lprocfs_register_mountpoint(struct proc_dir_entry *parent, struct super_block *sb, char *osc, char *mdc) argument
/drivers/staging/lustre/lustre/obdclass/
H A Dobd_config.c852 * This defines the mdc and osc names to use for a client.
855 int class_add_profile(int proflen, char *prof, int osclen, char *osc, argument
876 LASSERT(osclen == (strlen(osc) + 1));
882 memcpy(lprof->lp_dt, osc, osclen);
1129 CDEBUG(D_IOCTL, "mountopt: profile %s osc %s mdc %s\n",
1315 or lctl conf_param lustre-OST0000.osc.max_dirty_mb=36 */
/drivers/tty/
H A Dsynclink_gt.c3963 unsigned int osc = info->base_clock; local
3965 /* div = osc/rate - 1
3967 * Round div up if osc/rate is not integer to
3972 div = osc/rate;
3973 if (!(osc % rate) && div)
/drivers/pinctrl/
H A Dpinctrl-tegra20.c1929 FUNCTION(osc),

Completed in 445 milliseconds