| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | device.c | 2518 struct ib_device_ops *dev_ops = &dev->ops; in ib_set_device_ops() local 2529 WARN_ON(dev_ops->driver_id != RDMA_DRIVER_UNKNOWN && in ib_set_device_ops() 2530 dev_ops->driver_id != ops->driver_id); in ib_set_device_ops() 2531 dev_ops->driver_id = ops->driver_id; in ib_set_device_ops() 2534 WARN_ON(dev_ops->owner && dev_ops->owner != ops->owner); in ib_set_device_ops() 2535 dev_ops->owner = ops->owner; in ib_set_device_ops() 2538 dev_ops->uverbs_abi_ver = ops->uverbs_abi_ver; in ib_set_device_ops() 2540 dev_ops->uverbs_no_driver_id_binding |= in ib_set_device_ops() 2543 SET_DEVICE_OP(dev_ops, add_gid); in ib_set_device_ops() 2544 SET_DEVICE_OP(dev_ops, advise_mr); in ib_set_device_ops() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/dsa/microchip/ |
| H A 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() 239 ret = dev->dev_ops->r_dyn_mac_table(dev, i, alu.mac, &fid, in ksz_port_fdb_dump() 274 if (!dev->dev_ops->r_sta_mac_table(dev, index, &alu)) { in ksz_port_mdb_add() 303 dev->dev_ops->w_sta_mac_table(dev, index, &alu); in ksz_port_mdb_add() [all …]
|
| H A D | ksz_common.h | 55 const struct ksz_dev_ops *dev_ops; member 250 ksz_read8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread8() 256 ksz_read16(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread16() 262 ksz_read32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread32() 268 ksz_write8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite8() 274 ksz_write16(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite16() 280 ksz_write32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite32()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A 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() 196 intel_dvo->dev.dev_ops->dpms(&intel_dvo->dev, false); in intel_disable_dvo() 211 intel_dvo->dev.dev_ops->mode_set(&intel_dvo->dev, in intel_enable_dvo() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/reset/ |
| H 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()
|
| /OK3568_Linux_fs/buildroot/package/libv4l/ |
| H A D | 0006-Support-builtin-v4l-plugins.patch | 145 - const struct libv4l_dev_ops *dev_ops); 149 + const struct libv4l_dev_ops *dev_ops); 161 - const struct libv4l_dev_ops *dev_ops) 163 + const struct libv4l_dev_ops *dev_ops) 223 + const struct libv4l_dev_ops *dev_ops) 225 + dev_ops->close(plugin_priv); 243 + const struct libv4l_dev_ops *dev_ops) 247 + v4l2_builtin_plugin_cleanup(plugin_priv, dev_ops); 252 + v4l2_dyn_plugin_cleanup(plugin_lib, plugin_priv, dev_ops); 278 - const struct libv4l_dev_ops *dev_ops) [all …]
|
| H A D | 0007-libv4l-Disallow-conversion-by-default.patch | 20 if (dev_ops->ioctl(dev_ops_priv, fd, VIDIOC_G_PARM, &parm)) 28 convert = v4lconvert_create_with_dev_ops(fd, dev_ops_priv, dev_ops);
|
| H A D | 0003-libv4l-add-V4L2_MEMORY_DMABUF-memory-support.patch | 19 const struct libv4l_dev_ops *dev_ops; 77 if (index != -1 && devices[index].dev_ops->mmap) { 79 result = devices[index].dev_ops->mmap(
|
| H A D | 0001-libv4l2-Support-mmap-to-libv4l-plugin.patch | 33 + if (index != -1 && devices[index].dev_ops->mmap) { 35 + result = devices[index].dev_ops->mmap(
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/v4l2apps/v4l-utils/ |
| H A D | 0005-Support-builtin-v4l-plugins.patch | 145 - const struct libv4l_dev_ops *dev_ops); 149 + const struct libv4l_dev_ops *dev_ops); 161 - const struct libv4l_dev_ops *dev_ops) 163 + const struct libv4l_dev_ops *dev_ops) 223 + const struct libv4l_dev_ops *dev_ops) 225 + dev_ops->close(plugin_priv); 243 + const struct libv4l_dev_ops *dev_ops) 247 + v4l2_builtin_plugin_cleanup(plugin_priv, dev_ops); 252 + v4l2_dyn_plugin_cleanup(plugin_lib, plugin_priv, dev_ops); 278 - const struct libv4l_dev_ops *dev_ops) [all …]
|
| H A D | 0006-libv4l-Disallow-conversion-by-default.patch | 20 if (dev_ops->ioctl(dev_ops_priv, fd, VIDIOC_G_PARM, &parm)) 28 convert = v4lconvert_create_with_dev_ops(fd, dev_ops_priv, dev_ops);
|
| H A D | 0003-libv4l-Support-V4L2_MEMORY_DMABUF.patch | 20 const struct libv4l_dev_ops *dev_ops; 78 if (index != -1 && devices[index].dev_ops->mmap) { 80 result = devices[index].dev_ops->mmap(
|
| H A D | 0001-libv4l2-Support-mmap-to-libv4l-plugin.patch | 33 + if (index != -1 && devices[index].dev_ops->mmap) { 35 + result = devices[index].dev_ops->mmap(
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/ |
| H A D | mpp_common.c | 412 if (mpp->dev_ops->free_session) in mpp_session_deinit_default() 413 mpp->dev_ops->free_session(session); in mpp_session_deinit_default() 540 if (mpp->dev_ops->free_task) in mpp_free_task() 541 mpp->dev_ops->free_task(session, task); in mpp_free_task() 626 if (mpp->dev_ops->alloc_task) in mpp_process_task_default() 627 task = mpp->dev_ops->alloc_task(session, msgs); in mpp_process_task_default() 846 if (mpp->dev_ops->run) in mpp_task_run() 847 mpp->dev_ops->run(mpp, task); in mpp_task_run() 884 if (mpp->dev_ops->prepare) in mpp_task_worker_default() 885 task = mpp->dev_ops->prepare(mpp, task); in mpp_task_worker_default() [all …]
|
| H A D | mpp_rkvdec2.c | 1280 .dev_ops = &rkvdec_v2_dev_ops, 1288 .dev_ops = &rkvdec_rk3568_dev_ops, 1296 .dev_ops = &rkvdec_v2_dev_ops, 1304 .dev_ops = &rkvdec_v2_dev_ops, 1570 mpp->dev_ops->alloc_task = rkvdec2_ccu_alloc_task; in rkvdec2_core_probe() 1572 mpp->dev_ops->task_worker = rkvdec2_soft_ccu_worker; in rkvdec2_core_probe() 1581 mpp->dev_ops->task_worker = rkvdec2_hard_ccu_worker; in rkvdec2_core_probe() 1585 kthread_init_work(&mpp->work, mpp->dev_ops->task_worker); in rkvdec2_core_probe() 1641 mpp->dev_ops->process_task = rkvdec2_link_process_task; in rkvdec2_probe_default() 1642 mpp->dev_ops->wait_result = rkvdec2_link_wait_result; in rkvdec2_probe_default() [all …]
|
| H A D | mpp_vdpu1.c | 833 .dev_ops = &vdpu_v1_dev_ops, 841 .dev_ops = &vdpu_v1_dev_ops, 849 .dev_ops = &vdpu_v1_dev_ops, 857 .dev_ops = &vdpu_v1_dev_ops, 865 .dev_ops = &vdpu_v1_dev_ops,
|
| /OK3568_Linux_fs/kernel/drivers/soc/ti/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/remoteproc/ |
| H 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()
|
| H A D | ti_k3_r5_remoteproc.c | 213 ret = core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_split_reset() 229 ret = core->ti_sci->ops.dev_ops.get_device(core->ti_sci, in k3_r5_split_release() 241 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_split_release() 267 ret = core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_reset() 280 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_reset() 301 ret = core->ti_sci->ops.dev_ops.get_device(core->ti_sci, in k3_r5_lockstep_release() 331 if (core->ti_sci->ops.dev_ops.put_device(core->ti_sci, in k3_r5_lockstep_release()
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/base/power/ |
| H A D | domain.c | 35 __routine = genpd->dev_ops.callback; \ 1195 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_finish_suspend() 1254 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_resume_noirq() 1288 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_freeze_noirq() 1313 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_thaw_noirq() 1373 if (genpd->dev_ops.stop && genpd->dev_ops.start && in genpd_restore_noirq() 1995 genpd->dev_ops.stop = pm_clk_suspend; in pm_genpd_init() 1996 genpd->dev_ops.start = pm_clk_resume; in pm_genpd_init()
|