/drivers/infiniband/core/ |
D | device.c | 2549 struct ib_device_ops *dev_ops = &dev->ops; in ib_set_device_ops() local 2560 WARN_ON(dev_ops->driver_id != RDMA_DRIVER_UNKNOWN && in ib_set_device_ops() 2561 dev_ops->driver_id != ops->driver_id); in ib_set_device_ops() 2562 dev_ops->driver_id = ops->driver_id; in ib_set_device_ops() 2565 WARN_ON(dev_ops->owner && dev_ops->owner != ops->owner); in ib_set_device_ops() 2566 dev_ops->owner = ops->owner; in ib_set_device_ops() 2569 dev_ops->uverbs_abi_ver = ops->uverbs_abi_ver; in ib_set_device_ops() 2571 dev_ops->uverbs_no_driver_id_binding |= in ib_set_device_ops() 2574 SET_DEVICE_OP(dev_ops, add_gid); in ib_set_device_ops() 2575 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() 117 dev->dev_ops->port_init_cnt(dev, i); in ksz_init_mib_timer() 130 dev->dev_ops->r_phy(dev, addr, reg, &val); in ksz_phy_read16() 140 dev->dev_ops->w_phy(dev, addr, reg, val); in ksz_phy_write16() 233 dev->dev_ops->flush_dyn_mac_table(dev, port); in ksz_port_fast_age() 260 ret = dev->dev_ops->r_dyn_mac_table(dev, i, alu.mac, &fid, in ksz_port_fdb_dump() 295 if (!dev->dev_ops->r_sta_mac_table(dev, index, &alu)) { in ksz_port_mdb_add() 324 dev->dev_ops->w_sta_mac_table(dev, index, &alu); in ksz_port_mdb_add() [all …]
|
D | ksz_common.h | 53 const struct ksz_dev_ops *dev_ops; member 260 ksz_read8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread8() 266 ksz_read16(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread16() 272 ksz_read32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread32() 278 ksz_write8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite8() 284 ksz_write16(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite16() 290 ksz_write32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite32()
|
D | ksz9477_spi.c | 76 if (dev && dev->dev_ops->shutdown) in ksz9477_spi_shutdown() 77 dev->dev_ops->shutdown(dev); in ksz9477_spi_shutdown()
|
D | ksz8795_spi.c | 77 if (dev && dev->dev_ops->shutdown) in ksz8795_spi_shutdown() 78 dev->dev_ops->shutdown(dev); in ksz8795_spi_shutdown()
|
D | ksz9477_i2c.c | 68 if (dev && dev->dev_ops->shutdown) in ksz9477_i2c_shutdown() 69 dev->dev_ops->shutdown(dev); in ksz9477_i2c_shutdown()
|
D | ksz8795.c | 223 dev->dev_ops->r_mib_cnt(dev, port, mib->cnt_ptr, in ksz8795_port_init_cnt() 230 dev->dev_ops->r_mib_pkt(dev, port, mib->cnt_ptr, in ksz8795_port_init_cnt()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dvo.c | 60 .dev_ops = &sil164_ops, 68 .dev_ops = &ch7xxx_ops, 76 .dev_ops = &ch7xxx_ops, 84 .dev_ops = &ivch_ops, 92 .dev_ops = &tfp410_ops, 101 .dev_ops = &ch7017_ops, 109 .dev_ops = &ns2501_ops, 145 return intel_dvo->dev.dev_ops->get_hw_state(&intel_dvo->dev); in intel_dvo_connector_get_hw_state() 195 intel_dvo->dev.dev_ops->dpms(&intel_dvo->dev, false); in intel_disable_dvo() 209 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 | 95 return ti_sci->ops.dev_ops.get_device_exclusive(ti_sci, idx); in ti_sci_dev_start() 97 return ti_sci->ops.dev_ops.get_device(ti_sci, idx); in ti_sci_dev_start() 109 return ti_sci->ops.dev_ops.put_device(ti_sci, idx); in ti_sci_dev_stop() 137 ret = ti_sci->ops.dev_ops.is_valid(ti_sci, idx); in ti_sci_pd_attach_dev() 195 ti_sci_pd->pd.dev_ops.start = ti_sci_dev_start; in ti_sci_pm_domain_probe() 196 ti_sci_pd->pd.dev_ops.stop = ti_sci_dev_stop; in ti_sci_pm_domain_probe()
|
/drivers/net/ |
D | loopback.c | 164 const struct net_device_ops *dev_ops, in gen_lo_setup() argument 188 dev->netdev_ops = dev_ops; in gen_lo_setup()
|
/drivers/base/power/ |
D | domain.c | 34 __routine = genpd->dev_ops.callback; \ 1129 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_finish_suspend() 1188 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_resume_noirq() 1222 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_freeze_noirq() 1247 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_thaw_noirq() 1306 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_restore_noirq() 1810 genpd->dev_ops.stop = pm_clk_suspend; in pm_genpd_init() 1811 genpd->dev_ops.start = pm_clk_resume; in pm_genpd_init()
|
/drivers/net/ethernet/netronome/nfp/bpf/ |
D | offload.c | 397 offmap->dev_ops = &nfp_bpf_map_ops; in nfp_bpf_map_alloc()
|
/drivers/net/netdevsim/ |
D | bpf.c | 516 offmap->dev_ops = &nsim_bpf_map_ops; in nsim_bpf_map_alloc()
|
/drivers/firmware/ |
D | ti_sci.c | 2924 struct ti_sci_dev_ops *dops = &ops->dev_ops; in ti_sci_setup_ops()
|