/linux-6.6.21/drivers/infiniband/core/ |
D | device.c | 2571 struct ib_device_ops *dev_ops = &dev->ops; in ib_set_device_ops() local 2582 WARN_ON(dev_ops->driver_id != RDMA_DRIVER_UNKNOWN && in ib_set_device_ops() 2583 dev_ops->driver_id != ops->driver_id); in ib_set_device_ops() 2584 dev_ops->driver_id = ops->driver_id; in ib_set_device_ops() 2587 WARN_ON(dev_ops->owner && dev_ops->owner != ops->owner); in ib_set_device_ops() 2588 dev_ops->owner = ops->owner; in ib_set_device_ops() 2591 dev_ops->uverbs_abi_ver = ops->uverbs_abi_ver; in ib_set_device_ops() 2593 dev_ops->uverbs_no_driver_id_binding |= in ib_set_device_ops() 2596 SET_DEVICE_OP(dev_ops, add_gid); in ib_set_device_ops() 2597 SET_DEVICE_OP(dev_ops, advise_mr); in ib_set_device_ops() [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dvo.c | 62 .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, 140 return intel_dvo->dev.dev_ops->get_hw_state(&intel_dvo->dev); in intel_dvo_connector_get_hw_state() 190 intel_dvo->dev.dev_ops->dpms(&intel_dvo->dev, false); in intel_disable_dvo() 205 intel_dvo->dev.dev_ops->mode_set(&intel_dvo->dev, in intel_enable_dvo() [all …]
|
D | intel_dvo_dev.h | 43 const struct intel_dvo_dev_ops *dev_ops; member
|
/linux-6.6.21/drivers/reset/ |
D | reset-ti-sci.c | 67 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()
|
/linux-6.6.21/drivers/net/dsa/microchip/ |
D | ksz_common.c | 1642 if (dev->dev_ops->get_caps) in ksz_phylink_get_caps() 1643 dev->dev_ops->get_caps(dev, port, config); in ksz_phylink_get_caps() 1837 dev->dev_ops->cfg_port_member(dev, i, val | cpu_port); in ksz_update_port_member() 1840 dev->dev_ops->cfg_port_member(dev, port, port_member | cpu_port); in ksz_update_port_member() 1849 ret = dev->dev_ops->r_phy(dev, addr, regnum, &val); in ksz_sw_mdio_read() 1861 return dev->dev_ops->w_phy(dev, addr, regnum, val); in ksz_sw_mdio_write() 2095 pirq->reg_mask = dev->dev_ops->get_port_addr(p, REG_PORT_INT_MASK); in ksz_pirq_setup() 2096 pirq->reg_status = dev->dev_ops->get_port_addr(p, REG_PORT_INT_STATUS); in ksz_pirq_setup() 2121 ret = dev->dev_ops->reset(dev); in ksz_setup() 2133 dev->dev_ops->config_cpu_port(ds); in ksz_setup() [all …]
|
D | ksz_common.h | 142 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()
|
D | ksz9477_i2c.c | 69 if (dev->dev_ops->reset) in ksz9477_i2c_shutdown() 70 dev->dev_ops->reset(dev); in ksz9477_i2c_shutdown()
|
D | ksz_spi.c | 117 if (dev->dev_ops->reset) in ksz_spi_shutdown() 118 dev->dev_ops->reset(dev); in ksz_spi_shutdown()
|
D | lan937x_main.c | 205 dev->dev_ops->cfg_port_member(dev, port, member); in lan937x_port_setup()
|
D | ksz_ptp.c | 1104 const struct ksz_dev_ops *ops = port->ksz_dev->dev_ops; in ksz_ptp_msg_irq_setup() 1126 const struct ksz_dev_ops *ops = dev->dev_ops; in ksz_ptp_irq_setup()
|
D | ksz8795.c | 323 dev->dev_ops->r_mib_cnt(dev, port, mib->cnt_ptr, in ksz8_port_init_cnt() 333 dev->dev_ops->r_mib_pkt(dev, port, mib->cnt_ptr, in ksz8_port_init_cnt()
|
/linux-6.6.21/drivers/pmdomain/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()
|
/linux-6.6.21/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() 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()
|
D | ti_k3_r5_remoteproc.c | 246 ret = core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_split_reset() 262 ret = core->ti_sci->ops.dev_ops.get_device(core->ti_sci, in k3_r5_split_release() 274 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_split_release() 300 ret = core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_reset() 313 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_reset() 334 ret = core->ti_sci->ops.dev_ops.get_device(core->ti_sci, in k3_r5_lockstep_release() 364 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_release() 1124 ret = core->ti_sci->ops.dev_ops.is_on(core->ti_sci, core->ti_sci_id, in k3_r5_rproc_configure_mode()
|
/linux-6.6.21/drivers/net/ |
D | loopback.c | 167 const struct net_device_ops *dev_ops, in gen_lo_setup() argument 191 dev->netdev_ops = dev_ops; in gen_lo_setup()
|
/linux-6.6.21/kernel/bpf/ |
D | offload.c | 582 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()
|
/linux-6.6.21/drivers/base/power/ |
D | domain.c | 35 __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()
|
/linux-6.6.21/include/linux/ |
D | pm_domain.h | 148 struct gpd_dev_ops dev_ops; member
|
D | bpf.h | 541 const struct bpf_map_dev_ops *dev_ops; member
|
/linux-6.6.21/include/linux/soc/ti/ |
D | ti_sci_protocol.h | 540 struct ti_sci_dev_ops dev_ops; member
|
/linux-6.6.21/drivers/net/netdevsim/ |
D | bpf.c | 519 offmap->dev_ops = &nsim_bpf_map_ops; in nsim_bpf_map_alloc()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/ |
D | offload.c | 401 offmap->dev_ops = &nfp_bpf_map_ops; in nfp_bpf_map_alloc()
|
/linux-6.6.21/sound/pci/ac97/ |
D | ac97_codec.c | 1963 static const struct snd_device_ops dev_ops = { in snd_ac97_bus() local 1979 err = snd_device_new(card, SNDRV_DEV_BUS, bus, &dev_ops); in snd_ac97_bus()
|
/linux-6.6.21/sound/usb/ |
D | mixer.c | 3559 static const struct snd_device_ops dev_ops = { in snd_usb_create_mixer() local 3612 err = snd_device_new(chip->card, SNDRV_DEV_CODEC, mixer, &dev_ops); in snd_usb_create_mixer()
|
/linux-6.6.21/sound/pci/hda/ |
D | hda_codec.c | 988 static const struct snd_device_ops dev_ops = { in snd_hda_codec_device_new() local 1038 err = snd_device_new(card, SNDRV_DEV_CODEC, codec, &dev_ops); in snd_hda_codec_device_new()
|