Searched refs:ops (Results 51 - 75 of 1226) sorted by relevance

1234567891011>>

/drivers/mtd/
H A Dmtdchar.c232 struct mtd_oob_ops ops; local
234 ops.mode = MTD_OPS_RAW;
235 ops.datbuf = kbuf;
236 ops.oobbuf = NULL;
237 ops.len = len;
239 ret = mtd_read_oob(mtd, *ppos, &ops);
240 retlen = ops.retlen;
326 struct mtd_oob_ops ops; local
328 ops.mode = MTD_OPS_RAW;
329 ops
405 struct mtd_oob_ops ops; local
454 struct mtd_oob_ops ops; local
578 struct mtd_oob_ops ops; local
[all...]
/drivers/gpu/drm/gma500/
H A Dbacklight.c33 return dev_priv->ops->backlight_init(dev);
/drivers/net/wireless/rt2x00/
H A Drt2x00soc.h32 int rt2x00soc_probe(struct platform_device *pdev, const struct rt2x00_ops *ops);
H A Drt2x00soc.c60 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL);
64 rt2x00dev->rf = kzalloc(rt2x00dev->ops->rf_size, GFP_KERNEL);
77 int rt2x00soc_probe(struct platform_device *pdev, const struct rt2x00_ops *ops) argument
83 hw = ieee80211_alloc_hw(sizeof(struct rt2x00_dev), ops->hw);
93 rt2x00dev->ops = ops;
/drivers/video/console/
H A Dtileblit.c121 struct fbcon_ops *ops = info->fbcon_par; local
124 err = fb_pan_display(info, &ops->var);
125 ops->var.xoffset = info->var.xoffset;
126 ops->var.yoffset = info->var.yoffset;
127 ops->var.vmode = info->var.vmode;
134 struct fbcon_ops *ops = info->fbcon_par; local
136 ops->bmove = tile_bmove;
137 ops->clear = tile_clear;
138 ops->putcs = tile_putcs;
139 ops
[all...]
H A Dfbcon.c201 struct fbcon_ops *ops = info->fbcon_par; local
204 ops->p->con_rotate < 4)
205 ops->rotate = ops->p->con_rotate;
207 ops->rotate = 0;
212 struct fbcon_ops *ops= info->fbcon_par; local
215 if (!ops || ops->currcon == -1)
218 fb_info = registered_fb[con2fb_map[ops->currcon]];
221 struct display *p = &fb_display[ops
234 struct fbcon_ops *ops = info->fbcon_par; local
257 struct fbcon_ops *ops = info->fbcon_par; local
275 struct fbcon_ops *ops = info->fbcon_par; local
282 struct fbcon_ops *ops = info->fbcon_par; local
371 struct fbcon_ops *ops = info->fbcon_par; local
398 struct fbcon_ops *ops = info->fbcon_par; local
406 struct fbcon_ops *ops = info->fbcon_par; local
425 struct fbcon_ops *ops = info->fbcon_par; local
564 struct fbcon_ops *ops = info->fbcon_par; local
649 struct fbcon_ops *ops = info->fbcon_par; local
674 struct fbcon_ops *ops = info->fbcon_par; local
693 struct fbcon_ops *ops = NULL; local
728 struct fbcon_ops *ops = oldinfo->fbcon_par; local
772 struct fbcon_ops *ops = info->fbcon_par; local
922 struct fbcon_ops *ops; local
1018 struct fbcon_ops *ops; local
1167 struct fbcon_ops *ops; local
1227 struct fbcon_ops *ops = info->fbcon_par; local
1258 struct fbcon_ops *ops = info->fbcon_par; local
1277 struct fbcon_ops *ops = info->fbcon_par; local
1286 struct fbcon_ops *ops = info->fbcon_par; local
1323 struct fbcon_ops *ops = info->fbcon_par; local
1388 struct fbcon_ops *ops = info->fbcon_par; local
1407 struct fbcon_ops *ops = info->fbcon_par; local
1427 struct fbcon_ops *ops = info->fbcon_par; local
1450 struct fbcon_ops *ops = info->fbcon_par; local
1475 struct fbcon_ops *ops = info->fbcon_par; local
1498 struct fbcon_ops *ops = info->fbcon_par; local
1653 struct fbcon_ops *ops = info->fbcon_par; local
2007 struct fbcon_ops *ops = info->fbcon_par; local
2049 struct fbcon_ops *ops = info->fbcon_par; local
2096 struct fbcon_ops *ops = info->fbcon_par; local
2141 struct fbcon_ops *ops; local
2305 struct fbcon_ops *ops = info->fbcon_par; local
2347 struct fbcon_ops *ops = info->fbcon_par; local
2360 struct fbcon_ops *ops = info->fbcon_par; local
2423 struct fbcon_ops *ops = info->fbcon_par; local
2748 struct fbcon_ops *ops = info->fbcon_par; local
2845 struct fbcon_ops *ops = info->fbcon_par; local
2858 struct fbcon_ops *ops = info->fbcon_par; local
2869 struct fbcon_ops *ops = info->fbcon_par; local
2909 struct fbcon_ops *ops = info->fbcon_par; local
3124 struct fbcon_ops *ops = info->fbcon_par; local
3386 struct fbcon_ops *ops; local
3532 struct fbcon_ops *ops = info->fbcon_par; local
[all...]
/drivers/watchdog/
H A Dwatchdog_dev.c63 if (wddev->ops->ping)
64 return wddev->ops->ping(wddev); /* ping the watchdog */
66 return wddev->ops->start(wddev); /* restart watchdog */
85 err = wddev->ops->start(wddev);
115 err = wddev->ops->stop(wddev);
183 if (wdd->ops->ioctl) {
184 err = wdd->ops->ioctl(wdd, cmd, arg);
194 val = wdd->ops->status ? wdd->ops->status(wdd) : 0;
218 if ((wdd->ops
[all...]
/drivers/oprofile/
H A Dnmi_timer_int.c152 int __init op_nmi_timer_init(struct oprofile_operations *ops) argument
161 ops->create_files = NULL;
162 ops->setup = nmi_timer_setup;
163 ops->shutdown = nmi_timer_shutdown;
164 ops->start = nmi_timer_start;
165 ops->stop = nmi_timer_stop;
166 ops->cpu_type = "timer";
/drivers/regulator/
H A Dmc13xxx.h73 .ops = &_ops, \
91 .ops = &_ops, \
106 .ops = &_ops, \
116 #define MC13xxx_DEFINE_SW(_name, _reg, _vsel_reg, _voltages, ops) \
117 MC13xxx_DEFINE(SW, _name, _reg, _vsel_reg, _voltages, ops)
118 #define MC13xxx_DEFINE_REGU(_name, _reg, _vsel_reg, _voltages, ops) \
119 MC13xxx_DEFINE(REGU, _name, _reg, _vsel_reg, _voltages, ops)
H A Ddb8500-prcmu.c216 .ops = &db8500_regulator_ops,
225 .ops = &db8500_regulator_ops,
234 .ops = &db8500_regulator_ops,
243 .ops = &db8500_regulator_ops,
252 .ops = &db8500_regulator_ops,
261 .ops = &db8500_regulator_ops,
271 .ops = &db8500_regulator_ops,
280 .ops = &db8500_regulator_ops,
289 .ops = &db8500_regulator_switch_ops,
299 .ops
[all...]
/drivers/media/dvb/frontends/
H A Dzl10036.c155 if (fe->ops.i2c_gate_ctrl)
156 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */
160 if (fe->ops.i2c_gate_ctrl)
161 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */
320 if ((frequency < fe->ops.info.frequency_min)
321 || (frequency > fe->ops.info.frequency_max))
349 if (fe->ops.i2c_gate_ctrl)
350 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */
378 if (fe->ops.i2c_gate_ctrl)
379 fe->ops
[all...]
H A Dix2505v.c143 if ((frequency < fe->ops.info.frequency_min)
144 || (frequency > fe->ops.info.frequency_max))
217 if (fe->ops.i2c_gate_ctrl)
218 fe->ops.i2c_gate_ctrl(fe, 1);
225 if (fe->ops.i2c_gate_ctrl)
226 fe->ops.i2c_gate_ctrl(fe, 1);
238 if (fe->ops.i2c_gate_ctrl)
239 fe->ops.i2c_gate_ctrl(fe, 1);
292 if (fe->ops.i2c_gate_ctrl)
293 fe->ops
[all...]
/drivers/net/ethernet/intel/igbvf/
H A Dmbx.c41 if (!mbx->ops.check_for_msg)
44 while (countdown && mbx->ops.check_for_msg(hw)) {
67 if (!mbx->ops.check_for_ack)
70 while (countdown && mbx->ops.check_for_ack(hw)) {
96 if (!mbx->ops.read)
103 ret_val = mbx->ops.read(hw, msg, size);
123 if (!mbx->ops.write || !mbx->timeout)
127 ret_val = mbx->ops.write(hw, msg, size);
334 mbx->ops.read = e1000_read_mbx_vf;
335 mbx->ops
[all...]
/drivers/sh/clk/
H A Dcore.c236 if (clkp->ops && clkp->ops->recalc)
237 clkp->rate = clkp->ops->recalc(clkp);
250 if (likely(allow_disable && clk->ops && clk->ops->disable))
251 clk->ops->disable(clk);
281 if (clk->ops && clk->ops->enable) {
282 ret = clk->ops->enable(clk);
327 if (clkp->ops
[all...]
/drivers/media/common/tuners/
H A Dmc44s803.c99 if (fe->ops.i2c_gate_ctrl)
100 fe->ops.i2c_gate_ctrl(fe, 1);
205 if (fe->ops.i2c_gate_ctrl)
206 fe->ops.i2c_gate_ctrl(fe, 0);
210 if (fe->ops.i2c_gate_ctrl)
211 fe->ops.i2c_gate_ctrl(fe, 0);
237 if (fe->ops.i2c_gate_ctrl)
238 fe->ops.i2c_gate_ctrl(fe, 1);
281 if (fe->ops.i2c_gate_ctrl)
282 fe->ops
[all...]
/drivers/video/backlight/
H A Dbacklight.c46 if (bd->ops)
47 if (!bd->ops->check_fb ||
48 bd->ops->check_fb(bd, evdata->info)) {
125 if (bd->ops) {
160 if (bd->ops) {
201 if (bd->ops && bd->ops->get_brightness)
202 rc = sprintf(buf, "%d\n", bd->ops->get_brightness(bd));
215 if (bd->ops && bd->ops
287 backlight_device_register(const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) argument
[all...]
/drivers/media/radio/
H A Dradio-isa.c63 const struct radio_isa_ops *ops = isa->drv->ops; local
76 if (ops->g_rxsubchans)
77 v->rxsubchans = ops->g_rxsubchans(isa);
81 if (ops->g_signal)
82 v->signal = ops->g_signal(isa);
93 const struct radio_isa_ops *ops = isa->drv->ops; local
97 if (ops->s_stereo) {
99 return ops
205 const struct radio_isa_ops *ops = drv->ops; local
329 const struct radio_isa_ops *ops = isa->drv->ops; local
[all...]
/drivers/mtd/onenand/
H A Donenand_bbt.c65 struct mtd_oob_ops ops; local
84 ops.mode = MTD_OPS_PLACE_OOB;
85 ops.ooblen = readlen;
86 ops.oobbuf = buf;
87 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0;
96 from + j * this->writesize + bd->offs, &ops);
/drivers/ptp/
H A Dptp_chardev.c37 struct ptp_clock_info *ops = ptp->info; local
59 if (req.extts.index >= ops->n_ext_ts) {
65 err = ops->enable(ops, &req, enable);
74 if (req.perout.index >= ops->n_per_out) {
80 err = ops->enable(ops, &req, enable);
88 err = ops->enable(ops, &req, enable);
/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_crypt.c29 struct ieee80211_crypto_ops *ops; member in struct:ieee80211_crypto_alg
55 if (entry->ops)
56 entry->ops->deinit(entry->priv);
90 /* must not run ops->deinit() while there may be pending encrypt or
103 int ieee80211_register_crypto_ops(struct ieee80211_crypto_ops *ops) argument
115 alg->ops = ops;
122 ops->name);
127 int ieee80211_unregister_crypto_ops(struct ieee80211_crypto_ops *ops) argument
140 if (alg->ops
[all...]
/drivers/staging/rtl8192e/
H A Drtllib_crypt.c24 struct lib80211_crypto_ops *ops; member in struct:rtllib_crypto_alg
50 if (entry->ops)
51 entry->ops->deinit(entry->priv);
87 /* must not run ops->deinit() while there may be pending encrypt or
101 int rtllib_register_crypto_ops(struct lib80211_crypto_ops *ops) argument
113 alg->ops = ops;
120 ops->name);
126 int rtllib_unregister_crypto_ops(struct lib80211_crypto_ops *ops) argument
139 if (alg->ops
[all...]
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt.c29 struct ieee80211_crypto_ops *ops; member in struct:ieee80211_crypto_alg
55 if (entry->ops)
56 entry->ops->deinit(entry->priv);
90 /* must not run ops->deinit() while there may be pending encrypt or
103 int ieee80211_register_crypto_ops(struct ieee80211_crypto_ops *ops) argument
115 alg->ops = ops;
122 ops->name);
127 int ieee80211_unregister_crypto_ops(struct ieee80211_crypto_ops *ops) argument
140 if (alg->ops
[all...]
H A Ddigest.c94 struct digest_tfm *ops = &tfm->crt_digest; local
96 ops->dit_init = init;
97 ops->dit_update = update;
98 ops->dit_final = final;
99 ops->dit_digest = digest;
100 ops->dit_setkey = setkey;
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_mbx.c52 if (mbx->ops.read)
53 ret_val = mbx->ops.read(hw, msg, size, mbx_id);
75 else if (mbx->ops.write)
76 ret_val = mbx->ops.write(hw, msg, size, mbx_id);
93 if (mbx->ops.check_for_msg)
94 ret_val = mbx->ops.check_for_msg(hw, mbx_id);
111 if (mbx->ops.check_for_ack)
112 ret_val = mbx->ops.check_for_ack(hw, mbx_id);
129 if (mbx->ops.check_for_rst)
130 ret_val = mbx->ops
[all...]
/drivers/net/irda/
H A Dirtty-sir.c96 if (tty->ops->wait_until_sent) {
97 tty->ops->wait_until_sent(tty, msecs_to_jiffies(100));
130 if (tty->ops->set_termios)
131 tty->ops->set_termios(tty, &old_termios);
169 IRDA_ASSERT(priv->tty->ops->tiocmset != NULL, return -1;);
170 priv->tty->ops->tiocmset(priv->tty, set, clear);
192 if (!tty->ops->write)
198 return tty->ops->write(tty, ptr, writelen);
293 if (tty->ops->set_termios)
294 tty->ops
[all...]

Completed in 644 milliseconds

1234567891011>>