Searched refs:ops (Results 276 - 300 of 1900) sorted by relevance

<<11121314151617181920>>

/drivers/phy/
H A Dphy-core.c182 if (phy->init_count == 0 && phy->ops->init) {
183 ret = phy->ops->init(phy);
212 if (phy->init_count == 1 && phy->ops->exit) {
213 ret = phy->ops->exit(phy);
246 if (phy->power_count == 0 && phy->ops->power_on) {
247 ret = phy->ops->power_on(phy);
277 if (phy->power_count == 1 && phy->ops->power_off) {
278 ret = phy->ops->power_off(phy);
357 if (!try_module_get(phy->ops->owner))
377 module_put(phy->ops
595 phy_create(struct device *dev, struct device_node *node, const struct phy_ops *ops, struct phy_init_data *init_data) argument
677 devm_phy_create(struct device *dev, struct device_node *node, const struct phy_ops *ops, struct phy_init_data *init_data) argument
[all...]
/drivers/rapidio/switches/
H A Didtcps.c139 if (rdev->rswitch->ops) {
144 rdev->rswitch->ops = &idtcps_switch_ops;
163 if (rdev->rswitch->ops != &idtcps_switch_ops) {
167 rdev->rswitch->ops = NULL;
H A Dtsi568.c150 if (rdev->rswitch->ops) {
155 rdev->rswitch->ops = &tsi568_switch_ops;
164 if (rdev->rswitch->ops != &tsi568_switch_ops) {
168 rdev->rswitch->ops = NULL;
/drivers/regulator/
H A Disl9305.c86 .ops = &isl9305_ops,
100 .ops = &isl9305_ops,
114 .ops = &isl9305_ops,
128 .ops = &isl9305_ops,
H A Dqcom_rpm-regulator.c419 .desc.ops = &mV_ops,
429 .desc.ops = &mV_ops,
439 .desc.ops = &mV_ops,
449 .desc.ops = &mV_ops,
454 .desc.ops = &switch_ops,
465 .desc.ops = &mV_ops,
475 .desc.ops = &mV_ops,
485 .desc.ops = &mV_ops,
492 .desc.ops = &switch_ops,
503 .desc.ops
[all...]
/drivers/rtc/
H A Drtc-proc.c46 const struct rtc_class_ops *ops = rtc->ops; local
104 if (ops->proc)
105 ops->proc(rtc->dev.parent, seq);
H A Drtc-v3020.c65 struct v3020_chip_ops *ops; member in struct:v3020
195 chip->ops->write_bit(chip, (tmp & 1));
203 chip->ops->write_bit(chip, (data & 1));
216 chip->ops->write_bit(chip, (address & 1));
223 if (chip->ops->read_bit(chip))
317 chip->ops = &v3020_gpio_ops;
319 chip->ops = &v3020_mmio_ops;
321 retval = chip->ops->map_io(chip, pdev, pdata);
328 temp = chip->ops->read_bit(chip);
366 chip->ops
[all...]
/drivers/staging/lustre/lustre/include/
H A Dlustre_handles.h87 struct portals_handle_ops *ops);
/drivers/thermal/st/
H A Dst_thermal_syscfg.c110 .ops = &st_syscfg_sensor_ops,
120 .ops = &st_syscfg_sensor_ops,
130 .ops = &st_syscfg_sensor_ops,
140 .ops = &st_syscfg_sensor_ops,
/drivers/mtd/
H A Dinftlcore.c152 struct mtd_oob_ops ops; local
155 ops.mode = MTD_OPS_PLACE_OOB;
156 ops.ooboffs = offs & (mtd->writesize - 1);
157 ops.ooblen = len;
158 ops.oobbuf = buf;
159 ops.datbuf = NULL;
161 res = mtd_read_oob(mtd, offs & ~(mtd->writesize - 1), &ops);
162 *retlen = ops.oobretlen;
172 struct mtd_oob_ops ops; local
175 ops
192 struct mtd_oob_ops ops; local
[all...]
H A Dssfdc.c169 struct mtd_oob_ops ops; local
172 ops.mode = MTD_OPS_RAW;
173 ops.ooboffs = 0;
174 ops.ooblen = OOB_SIZE;
175 ops.oobbuf = buf;
176 ops.datbuf = NULL;
178 ret = mtd_read_oob(mtd, offs, &ops);
179 if (ret < 0 || ops.oobretlen != OOB_SIZE)
/drivers/net/hamradio/
H A Dbaycom_par.c212 pp->ops->write_data(pp, val);
213 pp->ops->write_data(pp, val | PAR96_BURST);
230 if (pp->ops->read_status(pp) & PAR96_RXBIT)
235 pp->ops->write_data(pp, PAR97_POWER | PAR96_PTT);
241 pp->ops->write_data(pp, PAR97_POWER | PAR96_PTT | PAR96_BURST);
266 hdlcdrv_setdcd(&bc->hdrv, !!(pp->ops->read_status(pp) & PAR96_DCD));
349 pp->ops->data_forward(pp);
351 pp->ops->write_data(pp, PAR96_PTT | PAR97_POWER); /* switch off PTT */
352 pp->ops->enable_irq(pp);
369 pp->ops
[all...]
/drivers/ptp/
H A Dptp_sysfs.c75 struct ptp_clock_info *ops = ptp->info; local
83 if (req.extts.index >= ops->n_ext_ts)
86 err = ops->enable(ops, &req, enable ? 1 : 0);
133 struct ptp_clock_info *ops = ptp->info; local
142 if (req.perout.index >= ops->n_per_out)
146 err = ops->enable(ops, &req, enable);
160 struct ptp_clock_info *ops = ptp->info; local
172 err = ops
[all...]
/drivers/dca/
H A Ddca-core.c176 if ((!dev) || (dca->ops->dev_managed(dca, dev)))
214 slot = dca->ops->add_requester(dca, dev);
228 dca->ops->remove_requester(dca, dev);
256 slot = dca->ops->remove_requester(dca, dev);
286 tag = dca->ops->get_tag(dca, dev, cpu);
321 * @ops - pointer to struct of dca operation function pointers
324 struct dca_provider *alloc_dca_provider(struct dca_ops *ops, int priv_size) argument
333 dca->ops = ops;
341 * @ops
[all...]
/drivers/media/dvb-frontends/
H A Dtda1004x.h144 if (fe->ops.write)
145 r = fe->ops.write(fe, buf, 2);
/drivers/net/wireless/ath/
H A Dhw.c23 #define REG_READ (common->ops->read)
24 #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg)
/drivers/net/wireless/iwlwifi/mvm/
H A DMakefile2 iwlmvm-y += fw.o mac80211.o nvm.o ops.o phy-ctxt.o mac-ctxt.o
/drivers/parport/
H A Dparport_sunbpp.c270 struct parport_operations *ops; local
287 ops = kmemdup(&parport_sunbpp_ops, sizeof(struct parport_operations),
289 if (!ops)
293 if (!(p = parport_register_port((unsigned long)base, irq, dma, ops)))
324 kfree(ops);
335 struct parport_operations *ops = p->ops; local
346 kfree(ops);
/drivers/pcmcia/
H A Dsa11xx_base.h122 void sa11xx_drv_pcmcia_ops(struct pcmcia_low_level *ops);
123 extern int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops, int first, int nr);
H A Dsoc_common.h38 const struct pcmcia_low_level *ops; member in struct:soc_pcmcia_socket
137 struct pcmcia_low_level *ops, struct device *dev);
/drivers/thermal/
H A Dkirkwood_thermal.c63 static struct thermal_zone_device_ops ops = { variable in typeref:struct:thermal_zone_device_ops
88 priv, &ops, NULL, 0, 0);
/drivers/tty/hvc/
H A Dhvc_vio.c300 const struct hv_ops *ops; local
312 ops = &hvterm_raw_ops;
315 ops = &hvterm_hvsi_ops;
351 hp = hvc_alloc(termno, vdev->irq, ops, MAX_VIO_PUT_CHARS);
409 const struct hv_ops *ops; local
433 ops = &hvterm_raw_ops;
437 ops = &hvterm_hvsi_ops;
457 hvc_instantiate(0, 0, ops);
/drivers/video/fbdev/omap2/displays-new/
H A Dpanel-dpi.c48 r = in->ops.dpi->connect(in, dssdev);
63 in->ops.dpi->disconnect(in, dssdev);
79 in->ops.dpi->set_data_lines(in, ddata->data_lines);
80 in->ops.dpi->set_timings(in, &ddata->videomode);
82 r = in->ops.dpi->enable(in);
111 in->ops.dpi->disable(in);
125 in->ops.dpi->set_timings(in, timings);
142 return in->ops.dpi->check_timings(in, timings);
/drivers/char/agp/
H A Dalpha-agp.c24 pa = agp->ops->translate(agp, dma_addr);
64 agp->ops->cleanup(agp);
81 agp->ops->configure(agp);
101 status = agp->ops->bind(agp, pg_start, mem);
114 status = agp->ops->unbind(agp, pg_start, mem);
163 if (agp->ops->setup(agp))
/drivers/clk/ti/
H A Dgate.c94 const struct clk_ops *ops,
111 init.ops = ops;
113 if (ops != &omap_gate_clkdm_clk_ops) {
122 clk_hw->ops = hw_ops;
170 gate->ops = hw_ops;
93 _of_ti_gate_clk_setup(struct device_node *node, const struct clk_ops *ops, const struct clk_hw_omap_ops *hw_ops) argument

Completed in 435 milliseconds

<<11121314151617181920>>