/drivers/infiniband/core/ |
D | device.c | 2568 struct ib_device_ops *dev_ops = &dev->ops; in ib_set_device_ops() local 2579 WARN_ON(dev_ops->driver_id != RDMA_DRIVER_UNKNOWN && in ib_set_device_ops() 2580 dev_ops->driver_id != ops->driver_id); in ib_set_device_ops() 2581 dev_ops->driver_id = ops->driver_id; in ib_set_device_ops() 2584 WARN_ON(dev_ops->owner && dev_ops->owner != ops->owner); in ib_set_device_ops() 2585 dev_ops->owner = ops->owner; in ib_set_device_ops() 2588 dev_ops->uverbs_abi_ver = ops->uverbs_abi_ver; in ib_set_device_ops() 2590 dev_ops->uverbs_no_driver_id_binding |= in ib_set_device_ops() 2593 SET_DEVICE_OP(dev_ops, add_gid); in ib_set_device_ops() 2594 SET_DEVICE_OP(dev_ops, advise_mr); in ib_set_device_ops() [all …]
|
/drivers/net/dsa/microchip/ |
D | ksz_common.c | 38 dev->dev_ops->cfg_port_member(dev, i, dev->member); in ksz_update_port_member() 50 dev->dev_ops->r_mib_cnt(dev, port, mib->cnt_ptr, in port_r_cnt() 60 dev->dev_ops->r_mib_pkt(dev, port, mib->cnt_ptr, in port_r_cnt() 107 dev->dev_ops->port_init_cnt(dev, i); in ksz_init_mib_timer() 116 dev->dev_ops->r_phy(dev, addr, reg, &val); in ksz_phy_read16() 126 dev->dev_ops->w_phy(dev, addr, reg, val); in ksz_phy_write16() 212 dev->dev_ops->flush_dyn_mac_table(dev, port); in ksz_port_fast_age() 230 ret = dev->dev_ops->r_dyn_mac_table(dev, i, alu.mac, &fid, in ksz_port_fdb_dump() 257 if (!dev->dev_ops->r_sta_mac_table(dev, index, &alu)) { in ksz_port_mdb_add() 286 dev->dev_ops->w_sta_mac_table(dev, index, &alu); in ksz_port_mdb_add() [all …]
|
D | ksz_common.h | 55 const struct ksz_dev_ops *dev_ops; member 245 ksz_read8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread8() 251 ksz_read16(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread16() 257 ksz_read32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread32() 263 ksz_write8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite8() 269 ksz_write16(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite16() 275 ksz_write32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite32()
|
D | ksz9477_i2c.c | 74 if (dev->dev_ops->shutdown) in ksz9477_i2c_shutdown() 75 dev->dev_ops->shutdown(dev); in ksz9477_i2c_shutdown()
|
D | ksz8795_spi.c | 109 if (dev->dev_ops->shutdown) in ksz8795_spi_shutdown() 110 dev->dev_ops->shutdown(dev); in ksz8795_spi_shutdown()
|
D | ksz8795.c | 436 dev->dev_ops->r_mib_cnt(dev, port, mib->cnt_ptr, in ksz8_port_init_cnt() 446 dev->dev_ops->r_mib_pkt(dev, port, mib->cnt_ptr, in ksz8_port_init_cnt()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dvo.c | 61 .dev_ops = &sil164_ops, 69 .dev_ops = &ch7xxx_ops, 77 .dev_ops = &ch7xxx_ops, 85 .dev_ops = &ivch_ops, 93 .dev_ops = &tfp410_ops, 102 .dev_ops = &ch7017_ops, 110 .dev_ops = &ns2501_ops, 146 return intel_dvo->dev.dev_ops->get_hw_state(&intel_dvo->dev); in intel_dvo_connector_get_hw_state() 197 intel_dvo->dev.dev_ops->dpms(&intel_dvo->dev, false); in intel_disable_dvo() 212 intel_dvo->dev.dev_ops->mode_set(&intel_dvo->dev, in intel_enable_dvo() [all …]
|
D | intel_dvo_dev.h | 42 const struct intel_dvo_dev_ops *dev_ops; member
|
/drivers/reset/ |
D | reset-ti-sci.c | 75 const struct ti_sci_dev_ops *dev_ops = &sci->ops.dev_ops; in ti_sci_reset_set() local 86 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_set() 95 ret = dev_ops->set_device_resets(sci, control->dev_id, reset_state); in ti_sci_reset_set() 156 const struct ti_sci_dev_ops *dev_ops = &sci->ops.dev_ops; in ti_sci_reset_status() local 165 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_status()
|
/drivers/soc/ti/ |
D | ti_sci_pm_domains.c | 63 return ti_sci->ops.dev_ops.put_device(ti_sci, pd->idx); in ti_sci_pd_power_off() 76 return ti_sci->ops.dev_ops.get_device_exclusive(ti_sci, in ti_sci_pd_power_on() 79 return ti_sci->ops.dev_ops.get_device(ti_sci, pd->idx); in ti_sci_pd_power_on()
|
/drivers/remoteproc/ |
D | ti_k3_dsp_remoteproc.c | 180 ret = kproc->ti_sci->ops.dev_ops.put_device(kproc->ti_sci, in k3_dsp_rproc_reset() 200 ret = kproc->ti_sci->ops.dev_ops.get_device(kproc->ti_sci, in k3_dsp_rproc_release() 211 if (kproc->ti_sci->ops.dev_ops.put_device(kproc->ti_sci, in k3_dsp_rproc_release() 234 ret = kproc->ti_sci->ops.dev_ops.get_device(kproc->ti_sci, in k3_dsp_rproc_prepare() 258 ret = kproc->ti_sci->ops.dev_ops.put_device(kproc->ti_sci, in k3_dsp_rproc_unprepare()
|
D | ti_k3_r5_remoteproc.c | 241 ret = core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_split_reset() 257 ret = core->ti_sci->ops.dev_ops.get_device(core->ti_sci, in k3_r5_split_release() 269 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_split_release() 295 ret = core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_reset() 308 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_reset() 329 ret = core->ti_sci->ops.dev_ops.get_device(core->ti_sci, in k3_r5_lockstep_release() 359 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_release()
|
/drivers/net/ |
D | loopback.c | 166 const struct net_device_ops *dev_ops, in gen_lo_setup() argument 190 dev->netdev_ops = dev_ops; in gen_lo_setup()
|
/drivers/base/power/ |
D | domain.c | 35 __routine = genpd->dev_ops.callback; \ 1198 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_finish_suspend() 1257 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_resume_noirq() 1291 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_freeze_noirq() 1316 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_thaw_noirq() 1376 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_restore_noirq() 1998 genpd->dev_ops.stop = pm_clk_suspend; in pm_genpd_init() 1999 genpd->dev_ops.start = pm_clk_resume; in pm_genpd_init()
|
/drivers/net/ethernet/netronome/nfp/bpf/ |
D | offload.c | 401 offmap->dev_ops = &nfp_bpf_map_ops; in nfp_bpf_map_alloc()
|
/drivers/net/netdevsim/ |
D | bpf.c | 523 offmap->dev_ops = &nsim_bpf_map_ops; in nsim_bpf_map_alloc()
|
/drivers/firmware/ |
D | ti_sci.c | 2777 struct ti_sci_dev_ops *dops = &ops->dev_ops; in ti_sci_setup_ops()
|