/linux/drivers/infiniband/core/ |
A D | device.c | 2583 WARN_ON(dev_ops->owner && dev_ops->owner != ops->owner); in ib_set_device_ops() 2584 dev_ops->owner = ops->owner; in ib_set_device_ops() 2592 SET_DEVICE_OP(dev_ops, add_gid); in ib_set_device_ops() 2673 SET_DEVICE_OP(dev_ops, mmap); in ib_set_device_ops() 2710 SET_OBJ_SIZE(dev_ops, ib_ah); in ib_set_device_ops() 2712 SET_OBJ_SIZE(dev_ops, ib_cq); in ib_set_device_ops() 2713 SET_OBJ_SIZE(dev_ops, ib_mw); in ib_set_device_ops() 2714 SET_OBJ_SIZE(dev_ops, ib_pd); in ib_set_device_ops() 2715 SET_OBJ_SIZE(dev_ops, ib_qp); in ib_set_device_ops() 2717 SET_OBJ_SIZE(dev_ops, ib_srq); in ib_set_device_ops() [all …]
|
/linux/drivers/net/dsa/microchip/ |
A D | ksz_common.c | 69 dev->dev_ops->r_mib_cnt(dev, port, mib->cnt_ptr, in port_r_cnt() 126 dev->dev_ops->port_init_cnt(dev, i); in ksz_init_mib_timer() 135 dev->dev_ops->r_phy(dev, addr, reg, &val); in ksz_phy_read16() 145 dev->dev_ops->w_phy(dev, addr, reg, val); in ksz_phy_write16() 218 dev->dev_ops->flush_dyn_mac_table(dev, port); in ksz_port_fast_age() 338 dev->dev_ops->port_setup(dev, port, false); in ksz_enable_port() 402 dev->dev_ops = ops; in ksz_switch_register() 404 if (dev->dev_ops->detect(dev)) in ksz_switch_register() 407 ret = dev->dev_ops->init(dev); in ksz_switch_register() 441 dev->dev_ops->exit(dev); in ksz_switch_register() [all …]
|
A D | ksz_common.h | 53 const struct ksz_dev_ops *dev_ops; member 241 ksz_read8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread8() 247 ksz_read16(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread16() 253 ksz_read32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread32() 259 ksz_write8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite8() 265 ksz_write16(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite16() 271 ksz_write32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite32()
|
A D | ksz9477_i2c.c | 74 if (dev->dev_ops->shutdown) in ksz9477_i2c_shutdown() 75 dev->dev_ops->shutdown(dev); in ksz9477_i2c_shutdown()
|
A D | ksz8795_spi.c | 109 if (dev->dev_ops->shutdown) in ksz8795_spi_shutdown() 110 dev->dev_ops->shutdown(dev); in ksz8795_spi_shutdown()
|
A 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()
|
/linux/drivers/gpu/drm/i915/display/ |
A 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, 212 intel_dvo->dev.dev_ops->mode_set(&intel_dvo->dev, in intel_enable_dvo() 219 intel_dvo->dev.dev_ops->dpms(&intel_dvo->dev, true); in intel_enable_dvo() 383 if (intel_dvo->dev.dev_ops->destroy) in intel_dvo_enc_destroy() [all …]
|
A D | intel_dvo_dev.h | 42 const struct intel_dvo_dev_ops *dev_ops; member
|
/linux/drivers/reset/ |
A 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()
|
/linux/drivers/soc/ti/ |
A 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()
|
/linux/drivers/remoteproc/ |
A 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()
|
A 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()
|
/linux/drivers/net/ |
A 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()
|
/linux/kernel/bpf/ |
A D | offload.c | 441 ret = offmap->dev_ops->map_lookup_elem(offmap, key, value); in bpf_map_offload_lookup_elem() 458 ret = offmap->dev_ops->map_update_elem(offmap, key, value, in bpf_map_offload_update_elem() 472 ret = offmap->dev_ops->map_delete_elem(offmap, key); in bpf_map_offload_delete_elem() 485 ret = offmap->dev_ops->map_get_next_key(offmap, key, next_key); in bpf_map_offload_get_next_key()
|
/linux/drivers/base/power/ |
A 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() 1997 genpd->dev_ops.stop = pm_clk_suspend; in pm_genpd_init() 1998 genpd->dev_ops.start = pm_clk_resume; in pm_genpd_init()
|
/linux/include/linux/ |
A D | pm_domain.h | 136 struct gpd_dev_ops dev_ops; member
|
A D | bpf.h | 269 const struct bpf_map_dev_ops *dev_ops; member
|
/linux/include/linux/soc/ti/ |
A D | ti_sci_protocol.h | 540 struct ti_sci_dev_ops dev_ops; member
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A D | offload.c | 401 offmap->dev_ops = &nfp_bpf_map_ops; in nfp_bpf_map_alloc()
|
/linux/drivers/net/netdevsim/ |
A D | bpf.c | 521 offmap->dev_ops = &nsim_bpf_map_ops; in nsim_bpf_map_alloc()
|
/linux/sound/pci/ac97/ |
A D | ac97_codec.c | 1964 static const struct snd_device_ops dev_ops = { in snd_ac97_bus() local 1980 err = snd_device_new(card, SNDRV_DEV_BUS, bus, &dev_ops); in snd_ac97_bus()
|
/linux/sound/usb/ |
A D | mixer.c | 3549 static const struct snd_device_ops dev_ops = { in snd_usb_create_mixer() local 3602 err = snd_device_new(chip->card, SNDRV_DEV_CODEC, mixer, &dev_ops); in snd_usb_create_mixer()
|
/linux/sound/pci/hda/ |
A D | hda_codec.c | 931 static const struct snd_device_ops dev_ops = { in snd_hda_codec_device_new() local 1000 err = snd_device_new(card, SNDRV_DEV_CODEC, codec, &dev_ops); in snd_hda_codec_device_new()
|
/linux/drivers/firmware/ |
A D | ti_sci.c | 2790 struct ti_sci_dev_ops *dops = &ops->dev_ops; in ti_sci_setup_ops()
|