Home
last modified time | relevance | path

Searched refs:dev_ops (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/linux/drivers/infiniband/core/
H A Ddevice.c2586 WARN_ON(dev_ops->owner && dev_ops->owner != ops->owner); in ib_set_device_ops()
2587 dev_ops->owner = ops->owner; in ib_set_device_ops()
2595 SET_DEVICE_OP(dev_ops, add_gid); in ib_set_device_ops()
2675 SET_DEVICE_OP(dev_ops, mmap); in ib_set_device_ops()
2711 SET_OBJ_SIZE(dev_ops, ib_ah); in ib_set_device_ops()
2713 SET_OBJ_SIZE(dev_ops, ib_cq); in ib_set_device_ops()
2714 SET_OBJ_SIZE(dev_ops, ib_mw); in ib_set_device_ops()
2715 SET_OBJ_SIZE(dev_ops, ib_pd); in ib_set_device_ops()
2716 SET_OBJ_SIZE(dev_ops, ib_qp); in ib_set_device_ops()
2718 SET_OBJ_SIZE(dev_ops, ib_srq); in ib_set_device_ops()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dvo.c62 .dev_ops = &sil164_ops,
69 .dev_ops = &ch7xxx_ops,
76 .dev_ops = &ch7xxx_ops,
83 .dev_ops = &ivch_ops,
90 .dev_ops = &tfp410_ops,
98 .dev_ops = &ch7017_ops,
105 .dev_ops = &ns2501_ops,
205 intel_dvo->dev.dev_ops->mode_set(&intel_dvo->dev, in intel_enable_dvo()
373 if (intel_dvo->dev.dev_ops->destroy) in intel_dvo_enc_destroy()
374 intel_dvo->dev.dev_ops->destroy(&intel_dvo->dev); in intel_dvo_enc_destroy()
[all …]
H A Dintel_dvo_dev.h43 const struct intel_dvo_dev_ops *dev_ops; member
/openbmc/linux/drivers/reset/
H A Dreset-ti-sci.c67 const struct ti_sci_dev_ops *dev_ops = &sci->ops.dev_ops; in ti_sci_reset_set() local
78 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_set()
87 ret = dev_ops->set_device_resets(sci, control->dev_id, reset_state); in ti_sci_reset_set()
148 const struct ti_sci_dev_ops *dev_ops = &sci->ops.dev_ops; in ti_sci_reset_status() local
157 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_status()
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_common.c1642 if (dev->dev_ops->get_caps) in ksz_phylink_get_caps()
2146 if (dev->dev_ops->setup) { in ksz_setup()
2228 if (dev->dev_ops->teardown) in ksz_teardown()
2229 dev->dev_ops->teardown(ds); in ksz_teardown()
2448 if (!dev->dev_ops->fdb_add) in ksz_port_fdb_add()
2460 if (!dev->dev_ops->fdb_del) in ksz_port_fdb_del()
2471 if (!dev->dev_ops->fdb_dump) in ksz_port_fdb_dump()
2483 if (!dev->dev_ops->mdb_add) in ksz_port_mdb_add()
2495 if (!dev->dev_ops->mdb_del) in ksz_port_mdb_del()
3658 dev->dev_ops->exit(dev); in ksz_switch_register()
[all …]
H A Dksz_common.h142 const struct ksz_dev_ops *dev_ops; member
543 return ksz_read8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread8()
549 return ksz_read16(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread16()
555 return ksz_read32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread32()
561 return ksz_write8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite8()
567 return ksz_write16(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_pwrite16()
574 return ksz_write32(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_pwrite32()
581 return ksz_rmw8(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_prmw8()
588 return ksz_rmw32(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_prmw32()
H A Dksz9477_i2c.c69 if (dev->dev_ops->reset) in ksz9477_i2c_shutdown()
70 dev->dev_ops->reset(dev); in ksz9477_i2c_shutdown()
H A Dksz_spi.c117 if (dev->dev_ops->reset) in ksz_spi_shutdown()
118 dev->dev_ops->reset(dev); in ksz_spi_shutdown()
H A Dlan937x_main.c205 dev->dev_ops->cfg_port_member(dev, port, member); in lan937x_port_setup()
H A Dksz_ptp.c1101 const struct ksz_dev_ops *ops = port->ksz_dev->dev_ops; in ksz_ptp_msg_irq_setup()
1123 const struct ksz_dev_ops *ops = dev->dev_ops; in ksz_ptp_irq_setup()
/openbmc/qemu/block/
H A Dblock-backend.c1016 blk->dev_ops = NULL; in blk_detach_dev()
1077 blk->dev_ops = ops; in blk_set_dev_ops()
1099 if (blk->dev_ops && blk->dev_ops->change_media_cb) { in blk_dev_change_media_cb()
1132 return !blk->dev || (blk->dev_ops && blk->dev_ops->change_media_cb); in blk_dev_has_removable_media()
1141 return blk->dev_ops && blk->dev_ops->is_tray_open; in blk_dev_has_tray()
1151 if (blk->dev_ops && blk->dev_ops->eject_request_cb) { in blk_dev_eject_request()
1175 if (blk->dev_ops && blk->dev_ops->is_medium_locked) { in blk_dev_is_medium_locked()
1188 if (blk->dev_ops && blk->dev_ops->resize_cb) { in blk_root_resize()
2790 if (blk->dev_ops && blk->dev_ops->drained_begin) { in blk_root_drained_begin()
2809 if (blk->dev_ops && blk->dev_ops->drained_poll) { in blk_root_drained_poll()
[all …]
/openbmc/linux/drivers/pmdomain/ti/
H A Dti_sci_pm_domains.c63 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()
/openbmc/u-boot/drivers/power/domain/
H A Dti-sci-power-domain.c58 const struct ti_sci_dev_ops *dops = &sci->ops.dev_ops; in ti_sci_power_domain_on()
75 const struct ti_sci_dev_ops *dops = &sci->ops.dev_ops; in ti_sci_power_domain_off()
/openbmc/u-boot/drivers/reset/
H A Dreset-ti-sci.c93 const struct ti_sci_dev_ops *dops = &sci->ops.dev_ops; in ti_sci_reset_set()
169 const struct ti_sci_dev_ops *dops = &sci->ops.dev_ops; in ti_sci_reset_status()
/openbmc/linux/drivers/remoteproc/
H A Dti_k3_dsp_remoteproc.c180 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()
272 ret = kproc->ti_sci->ops.dev_ops.get_device(kproc->ti_sci, in k3_dsp_rproc_prepare()
296 ret = kproc->ti_sci->ops.dev_ops.put_device(kproc->ti_sci, in k3_dsp_rproc_unprepare()
760 ret = kproc->ti_sci->ops.dev_ops.is_on(kproc->ti_sci, kproc->ti_sci_id, in k3_dsp_rproc_probe()
H A Dti_k3_r5_remoteproc.c258 ret = core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_split_reset()
274 ret = core->ti_sci->ops.dev_ops.get_device(core->ti_sci, in k3_r5_split_release()
286 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_split_release()
312 ret = core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_reset()
325 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_reset()
346 ret = core->ti_sci->ops.dev_ops.get_device(core->ti_sci, in k3_r5_lockstep_release()
376 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_release()
1128 ret = core->ti_sci->ops.dev_ops.is_on(core->ti_sci, core->ti_sci_id, in k3_r5_rproc_configure_mode()
/openbmc/linux/drivers/net/
H A Dloopback.c168 const struct net_device_ops *dev_ops, in gen_lo_setup() argument
192 dev->netdev_ops = dev_ops; in gen_lo_setup()
/openbmc/linux/kernel/bpf/
H A Doffload.c582 ret = offmap->dev_ops->map_lookup_elem(offmap, key, value); in bpf_map_offload_lookup_elem()
599 ret = offmap->dev_ops->map_update_elem(offmap, key, value, in bpf_map_offload_update_elem()
613 ret = offmap->dev_ops->map_delete_elem(offmap, key); in bpf_map_offload_delete_elem()
626 ret = offmap->dev_ops->map_get_next_key(offmap, key, next_key); in bpf_map_offload_get_next_key()
/openbmc/qemu/hw/cxl/
H A Dcxl-device-utils.c273 static const MemoryRegionOps dev_ops = { variable
312 memory_region_init_io(&cxl_dstate->device, obj, &dev_ops, cxl_dstate, in cxl_device_register_block_init()
/openbmc/u-boot/include/linux/soc/ti/
H A Dti_sci_protocol.h270 struct ti_sci_dev_ops dev_ops; member
/openbmc/linux/drivers/base/power/
H A Ddomain.c35 __routine = genpd->dev_ops.callback; \
1263 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_finish_suspend()
1323 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_finish_resume()
2084 genpd->dev_ops.stop = pm_clk_suspend; in pm_genpd_init()
2085 genpd->dev_ops.start = pm_clk_resume; in pm_genpd_init()
/openbmc/linux/include/linux/
H A Dpm_domain.h148 struct gpd_dev_ops dev_ops; member
/openbmc/linux/include/linux/soc/ti/
H A Dti_sci_protocol.h540 struct ti_sci_dev_ops dev_ops; member
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Doffload.c401 offmap->dev_ops = &nfp_bpf_map_ops; in nfp_bpf_map_alloc()
/openbmc/linux/drivers/net/netdevsim/
H A Dbpf.c519 offmap->dev_ops = &nsim_bpf_map_ops; in nsim_bpf_map_alloc()

12