Searched refs:ops (Results 201 - 225 of 1226) sorted by relevance

1234567891011>>

/drivers/pcmcia/
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/tty/hvc/
H A Dhvc_vio.c236 const struct hv_ops *ops; local
248 ops = &hvterm_raw_ops;
251 ops = &hvterm_hvsi_ops;
287 hp = hvc_alloc(termno, vdev->irq, ops, MAX_VIO_PUT_CHARS);
392 const struct hv_ops *ops; local
422 ops = &hvterm_raw_ops;
426 ops = &hvterm_hvsi_ops;
444 hvc_instantiate(0, 0, ops);
/drivers/block/
H A Drbd.c795 static int rbd_create_rw_ops(struct ceph_osd_req_op **ops, argument
800 *ops = kzalloc(sizeof(struct ceph_osd_req_op) * (num_ops + 1),
802 if (!*ops)
804 (*ops)[0].op = opcode;
809 (*ops)[0].payload_len = payload_len;
813 static void rbd_destroy_ops(struct ceph_osd_req_op *ops) argument
815 kfree(ops);
874 struct ceph_osd_req_op *ops,
910 req = ceph_osdc_alloc_request(osdc, flags, snapc, ops,
941 req, ops);
865 rbd_do_request(struct request *rq, struct rbd_device *dev, struct ceph_snap_context *snapc, u64 snapid, const char *obj, u64 ofs, u64 len, struct bio *bio, struct page **pages, int num_pages, int flags, struct ceph_osd_req_op *ops, int num_reply, struct rbd_req_coll *coll, int coll_index, void (*rbd_cb)(struct ceph_osd_request *req, struct ceph_msg *msg), struct ceph_osd_request **linger_req, u64 *ver) argument
1041 struct ceph_osd_req_op *ops = orig_ops; local
1102 struct ceph_osd_req_op *ops; local
1205 struct ceph_osd_req_op *ops; local
1257 struct ceph_osd_req_op *ops; local
1301 struct ceph_osd_req_op *ops; local
1344 struct ceph_osd_req_op *ops; local
1400 struct ceph_osd_req_op *ops; local
[all...]
/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/gpu/drm/gma500/
H A Dpower.c38 static struct mutex power_mutex; /* Serialize power ops */
61 if (dev_priv->ops->init_pm)
62 dev_priv->ops->init_pm(dev);
89 dev_priv->ops->save_regs(dev);
90 dev_priv->ops->power_down(dev);
106 dev_priv->ops->power_up(dev);
113 dev_priv->ops->restore_regs(dev);
/drivers/media/dvb/frontends/
H A Dmb86a20s.c248 if (fe->ops.i2c_gate_ctrl)
249 fe->ops.i2c_gate_ctrl(fe, 0);
267 if (fe->ops.i2c_gate_ctrl)
268 fe->ops.i2c_gate_ctrl(fe, 1);
289 if (fe->ops.i2c_gate_ctrl)
290 fe->ops.i2c_gate_ctrl(fe, 0);
315 if (fe->ops.i2c_gate_ctrl)
316 fe->ops.i2c_gate_ctrl(fe, 1);
329 if (fe->ops.i2c_gate_ctrl)
330 fe->ops
[all...]
H A Ds5h1409.c647 if (fe->ops.tuner_ops.set_params) {
648 if (fe->ops.i2c_gate_ctrl)
649 fe->ops.i2c_gate_ctrl(fe, 1);
650 fe->ops.tuner_ops.set_params(fe);
651 if (fe->ops.i2c_gate_ctrl)
652 fe->ops.i2c_gate_ctrl(fe, 0);
791 if (fe->ops.tuner_ops.get_status) {
792 if (fe->ops.i2c_gate_ctrl)
793 fe->ops.i2c_gate_ctrl(fe, 1);
795 fe->ops
[all...]
/drivers/net/ethernet/chelsio/cxgb/
H A Dsubr.c157 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
168 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc);
202 int phy_cause = phy->ops->interrupt_handler(phy);
640 phy->ops->advertise(phy, lc->advertising);
646 mac->ops->set_speed_duplex_fc(mac, lc->speed,
650 phy->ops->set_speed_duplex(phy, lc->speed, lc->duplex);
651 phy->ops->reset(phy, 0);
654 phy->ops->autoneg_enable(phy); /* also resets PHY */
658 mac->ops->set_speed_duplex_fc(mac, -1, -1, fc);
660 phy->ops
[all...]
/drivers/net/wireless/orinoco/
H A Dorinoco.h194 const struct net_device_ops *ops);
224 priv->hw.ops->lock_irqsave(&priv->lock, flags);
228 priv->hw.ops->unlock_irqrestore(&priv->lock, flags);
237 priv->hw.ops->unlock_irqrestore(&priv->lock, flags);
242 priv->hw.ops->lock_irq(&priv->lock);
247 priv->hw.ops->unlock_irq(&priv->lock);
/drivers/macintosh/
H A Dwindfarm_pm91.c195 pid_param.min = fan_cpu_main->ops->get_min(fan_cpu_main);
196 pid_param.max = fan_cpu_main->ops->get_max(fan_cpu_main);
229 rc = sensor_cpu_temp->ops->get_value(sensor_cpu_temp, &temp);
237 rc = sensor_cpu_power->ops->get_value(sensor_cpu_power, &power);
264 rc = fan_cpu_main->ops->set_value(fan_cpu_main,
273 rc = fan_cpu_second->ops->set_value(fan_cpu_second,
282 rc = fan_cpu_main->ops->set_value(fan_cpu_third,
315 param.min = fan_hd->ops->get_min(fan_hd);
316 param.max = fan_hd->ops->get_max(fan_hd);
341 rc = sensor_hd_temp->ops
[all...]
H A Dmediabay.c66 struct mb_ops* ops; member in struct:media_bay_info
340 bay->ops->power(bay, 1);
345 bay->ops->power(bay, 0);
354 int id = bay->ops->content(bay);
487 if (bay->ops->setup_bus(bay, bay->last_value) < 0) {
498 bay->ops->un_reset(bay);
515 bay->ops->un_reset_ide(bay);
589 bay->ops = match->data;
594 if (bay->ops->init)
595 bay->ops
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c80 hw->phy.media_type = hw->mac.ops.get_media_type(hw);
83 hw->phy.ops.identify(hw);
86 hw->mac.ops.clear_vfta(hw);
89 hw->mac.ops.clear_hw_cntrs(hw);
160 status = hw->mac.ops.reset_hw(hw);
164 status = hw->mac.ops.start_hw(hw);
268 hw->phy.ops.identify(hw);
269 hw->phy.ops.read_reg(hw, IXGBE_PCRC8ECL, MDIO_MMD_PCS, &i);
270 hw->phy.ops.read_reg(hw, IXGBE_PCRC8ECH, MDIO_MMD_PCS, &i);
271 hw->phy.ops
[all...]
/drivers/net/wireless/rt2x00/
H A Drt2x00dev.c47 return vif->addr[5] & (rt2x00dev->ops->max_ap_intf - 1);
74 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_ON);
78 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_IRQ_ON);
125 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_OFF);
126 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_IRQ_OFF);
172 if (rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_AWAKE))
292 skb_pull(entry->skb, rt2x00dev->ops->extra_tx_headroom);
426 rt2x00dev->ops->lib->clear_entry(entry);
623 rt2x00dev->ops->lib->fill_rxdone(entry, &rxdesc);
708 rt2x00dev->ops
[all...]
/drivers/regulator/
H A Dab3100.c501 .ops = &regulator_ops_fixed,
508 .ops = &regulator_ops_fixed,
515 .ops = &regulator_ops_fixed,
522 .ops = &regulator_ops_variable_sleepable,
530 .ops = &regulator_ops_variable,
538 .ops = &regulator_ops_variable,
546 .ops = &regulator_ops_variable,
554 .ops = &regulator_ops_variable,
562 .ops = &regulator_ops_external,
569 .ops
[all...]
/drivers/net/wireless/rtlwifi/
H A Dpci.c526 u8 own = (u8) rtlpriv->cfg->ops->get_desc((u8 *) entry, true,
540 rtlpriv->cfg->ops->
635 rtlpriv->cfg->ops->led_control(hw, LED_CTL_RX);
691 own = (u8) rtlpriv->cfg->ops->get_desc((u8 *) pdesc,
698 rtlpriv->cfg->ops->query_rx_desc(hw, &stats,
717 skb_put(skb, rtlpriv->cfg->ops->get_desc((u8 *) pdesc, false,
748 rtlpriv->cfg->ops->set_desc((u8 *) pdesc, false,
751 rtlpriv->cfg->ops->set_desc((u8 *)pdesc, false,
756 rtlpriv->cfg->ops->set_desc((u8 *)pdesc, false,
760 rtlpriv->cfg->ops
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_encoder.c76 struct exynos_drm_manager_ops *manager_ops = manager->ops;
117 struct exynos_drm_manager_ops *manager_ops = manager->ops;
138 struct exynos_drm_manager_ops *manager_ops = manager->ops;
167 struct exynos_drm_manager_ops *manager_ops = manager->ops;
317 struct exynos_drm_manager_ops *manager_ops = manager->ops;
331 struct exynos_drm_manager_ops *manager_ops = manager->ops;
391 struct exynos_drm_manager_ops *manager_ops = manager->ops;
H A Dexynos_drm_hdmi.c42 void exynos_hdmi_ops_register(struct exynos_hdmi_ops *ops) argument
46 if (ops)
47 hdmi_ops = ops;
50 void exynos_mixer_ops_register(struct exynos_mixer_ops *ops) argument
54 if (ops)
55 mixer_ops = ops;
256 .ops = &drm_hdmi_manager_ops,
/drivers/media/dvb/dvb-usb/
H A Ddibusb-mb.c24 return st->ops.tuner_pass_ctrl(fe, enable, st->tuner_addr);
35 &adap->dev->i2c_adap, &st->ops);
39 adap->fe_adap[0].fe->ops.i2c_gate_ctrl = dib3000mb_i2c_gate_ctrl;
82 if (adap->fe_adap[0].fe->ops.i2c_gate_ctrl)
83 adap->fe_adap[0].fe->ops.i2c_gate_ctrl(adap->fe_adap[0].fe, 1);
90 if (adap->fe_adap[0].fe->ops.i2c_gate_ctrl)
91 adap->fe_adap[0].fe->ops.i2c_gate_ctrl(adap->fe_adap[0].fe, 0);
/drivers/power/
H A Dds2782_battery.c56 struct ds278x_battery_ops *ops; member in struct:ds278x_info
215 err = info->ops->get_battery_current(info, &current_uA);
219 err = info->ops->get_battery_capacity(info, &capacity);
248 ret = info->ops->get_battery_capacity(info, &val->intval);
252 ret = info->ops->get_battery_voltage(info, &val->intval);
256 ret = info->ops->get_battery_current(info, &val->intval);
368 info->ops = &ds278x_ops[id->driver_data];
/drivers/ptp/
H A Dptp_clock.c124 struct ptp_clock_info *ops; local
127 ops = ptp->info;
145 err = ops->adjtime(ops, delta);
149 err = ops->adjfreq(ops, scaled_ppm_to_ppb(tx->freq));
206 ptp->clock.ops = ptp_clock_ops;
/drivers/sh/clk/
H A Dcpg.c43 clkp->ops = &sh_clk_mstp32_clk_ops;
203 struct sh_clk_ops *ops)
222 clkp->ops = ops;
344 struct clk_div4_table *table, struct sh_clk_ops *ops)
363 clkp->ops = ops;
202 sh_clk_div6_register_ops(struct clk *clks, int nr, struct sh_clk_ops *ops) argument
343 sh_clk_div4_register_ops(struct clk *clks, int nr, struct clk_div4_table *table, struct sh_clk_ops *ops) argument
/drivers/media/common/tuners/
H A Dmxl5007t.c599 if (fe->ops.i2c_gate_ctrl)
600 fe->ops.i2c_gate_ctrl(fe, 1);
611 if (fe->ops.i2c_gate_ctrl)
612 fe->ops.i2c_gate_ctrl(fe, 0);
660 if (fe->ops.i2c_gate_ctrl)
661 fe->ops.i2c_gate_ctrl(fe, 1);
678 if (fe->ops.i2c_gate_ctrl)
679 fe->ops.i2c_gate_ctrl(fe, 0);
691 if (fe->ops.i2c_gate_ctrl)
692 fe->ops
[all...]
/drivers/media/video/em28xx/
H A Dem28xx-dvb.c628 dvb->fe[0]->ops.ts_bus_ctrl = em28xx_dvb_bus_ctrl;
630 dvb->fe[1]->ops.ts_bus_ctrl = em28xx_dvb_bus_ctrl;
923 dvb->gate_ctrl = dvb->fe[0]->ops.i2c_gate_ctrl;
924 dvb->fe[0]->ops.i2c_gate_ctrl = drxk_gate_ctrl;
931 if (dvb->fe[0]->ops.i2c_gate_ctrl)
932 dvb->fe[0]->ops.i2c_gate_ctrl(dvb->fe[0], 1);
938 if (dvb->fe[0]->ops.i2c_gate_ctrl)
939 dvb->fe[0]->ops.i2c_gate_ctrl(dvb->fe[0], 0);
955 dvb->gate_ctrl = dvb->fe[0]->ops.i2c_gate_ctrl;
956 dvb->fe[0]->ops
1057 prevent_sleep(struct dvb_frontend_ops *ops) argument
[all...]
/drivers/media/video/tm6000/
H A Dtm6000-core.c865 struct tm6000_ops *ops = NULL; local
870 list_for_each_entry(ops, &tm6000_extension_devlist, next) {
871 if (ops->fillbuf && ops->type == type)
872 ops->fillbuf(dev, buf, size);
879 int tm6000_register_extension(struct tm6000_ops *ops) argument
884 list_add_tail(&ops->next, &tm6000_extension_devlist);
886 ops->init(dev);
888 dev->name, ops->name);
895 void tm6000_unregister_extension(struct tm6000_ops *ops) argument
911 struct tm6000_ops *ops = NULL; local
925 struct tm6000_ops *ops = NULL; local
[all...]
/drivers/net/hamradio/
H A Dhdlcdrv.c445 if (!s->ops || !s->ops->open)
465 i = s->ops->open(dev);
484 if (s->ops && s->ops->close)
485 i = s->ops->close(dev);
501 if (s->ops && s->ops->ioctl)
502 return s->ops->ioctl(dev, ifr, &bi, cmd);
510 if (s->ops
686 hdlcdrv_register(const struct hdlcdrv_ops *ops, unsigned int privsize, const char *ifname, unsigned int baseaddr, unsigned int irq, unsigned int dma) argument
[all...]

Completed in 1374 milliseconds

1234567891011>>