/include/linux/ |
D | ntb.h | 178 static inline int ntb_client_ops_is_valid(const struct ntb_client_ops *ops) in ntb_client_ops_is_valid() argument 182 ops->probe && in ntb_client_ops_is_valid() 183 ops->remove && in ntb_client_ops_is_valid() 199 static inline int ntb_ctx_ops_is_valid(const struct ntb_ctx_ops *ops) in ntb_ctx_ops_is_valid() argument 334 static inline int ntb_dev_ops_is_valid(const struct ntb_dev_ops *ops) in ntb_dev_ops_is_valid() argument 339 !ops->peer_port_count == !ops->port_number && in ntb_dev_ops_is_valid() 340 !ops->peer_port_number == !ops->port_number && in ntb_dev_ops_is_valid() 341 !ops->peer_port_idx == !ops->port_number && in ntb_dev_ops_is_valid() 344 ops->link_is_up && in ntb_dev_ops_is_valid() 345 ops->link_enable && in ntb_dev_ops_is_valid() [all …]
|
D | seqno-fence.h | 26 const struct dma_fence_ops *ops; member 44 if (fence->ops != &seqno_fence_ops) in to_seqno_fence() 91 const struct dma_fence_ops *ops) in seqno_fence_init() argument 93 BUG_ON(!fence || !sync_buf || !ops); in seqno_fence_init() 94 BUG_ON(!ops->wait || !ops->enable_signaling || in seqno_fence_init() 95 !ops->get_driver_name || !ops->get_timeline_name); in seqno_fence_init() 101 fence->ops = ops; in seqno_fence_init()
|
D | assoc_array.h | 65 const struct assoc_array_ops *ops, 68 const struct assoc_array_ops *ops); 70 const struct assoc_array_ops *ops, 76 const struct assoc_array_ops *ops, 79 const struct assoc_array_ops *ops); 83 const struct assoc_array_ops *ops,
|
D | iomap.h | 194 int iomap_iter(struct iomap_iter *iter, const struct iomap_ops *ops); 228 const struct iomap_ops *ops); 229 int iomap_readpage(struct page *page, const struct iomap_ops *ops); 230 void iomap_readahead(struct readahead_control *, const struct iomap_ops *ops); 243 const struct iomap_ops *ops); 245 bool *did_zero, const struct iomap_ops *ops); 247 const struct iomap_ops *ops); 249 const struct iomap_ops *ops); 251 u64 start, u64 len, const struct iomap_ops *ops); 253 const struct iomap_ops *ops); [all …]
|
D | lcd.h | 64 struct lcd_ops *ops; member 99 if (ld->ops && ld->ops->set_power) in lcd_set_power() 100 ld->ops->set_power(ld, power); in lcd_set_power() 105 struct device *parent, void *devdata, struct lcd_ops *ops); 108 void *devdata, struct lcd_ops *ops);
|
D | fwnode.h | 38 const struct fwnode_operations *ops; member 156 (!IS_ERR_OR_NULL(fwnode) && (fwnode)->ops && (fwnode)->ops->op) 160 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : (IS_ERR_OR_NULL(fwnode) ? -EINVAL : -ENXIO)) 164 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : false) 168 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : NULL) 172 (fwnode)->ops->op(fwnode, ## __VA_ARGS__); \ 177 const struct fwnode_operations *ops) in fwnode_init() argument 179 fwnode->ops = ops; in fwnode_init()
|
D | pipe_fs_i.h | 29 const struct pipe_buf_operations *ops; member 205 return buf->ops->get(pipe, buf); in pipe_buf_get() 216 const struct pipe_buf_operations *ops = buf->ops; in pipe_buf_release() local 218 buf->ops = NULL; in pipe_buf_release() 219 ops->release(pipe, buf); in pipe_buf_release() 230 if (!buf->ops->confirm) in pipe_buf_confirm() 232 return buf->ops->confirm(pipe, buf); in pipe_buf_confirm() 243 if (!buf->ops->try_steal) in pipe_buf_try_steal() 245 return buf->ops->try_steal(pipe, buf); in pipe_buf_try_steal()
|
D | moduleparam.h | 72 const struct kernel_param_ops *ops; member 97 const struct kernel_param_ops *ops; member 175 #define module_param_cb(name, ops, arg, perm) \ argument 176 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0) 178 #define module_param_cb_unsafe(name, ops, arg, perm) \ argument 179 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, \ 182 #define __level_param_cb(name, ops, arg, perm, level) \ argument 183 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, level, 0) 194 #define core_param_cb(name, ops, arg, perm) \ argument 195 __level_param_cb(name, ops, arg, perm, 1) [all …]
|
D | ftrace.h | 120 ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops); 282 int register_ftrace_function(struct ftrace_ops *ops); 283 int unregister_ftrace_function(struct ftrace_ops *ops); 293 #define register_ftrace_function(ops) ({ 0; }) argument 294 #define unregister_ftrace_function(ops) ({ 0; }) argument 488 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip, 490 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf, 492 int ftrace_set_notrace(struct ftrace_ops *ops, unsigned char *buf, 496 void ftrace_free_filter(struct ftrace_ops *ops); 497 void ftrace_ops_set_global_filter(struct ftrace_ops *ops); [all …]
|
D | pagewalk.h | 86 const struct mm_walk_ops *ops; member 96 unsigned long end, const struct mm_walk_ops *ops, 99 unsigned long end, const struct mm_walk_ops *ops, 102 int walk_page_vma(struct vm_area_struct *vma, const struct mm_walk_ops *ops, 105 pgoff_t nr, const struct mm_walk_ops *ops,
|
D | proc_fs.h | 93 struct proc_dir_entry *parent, const struct seq_operations *ops, 95 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument 96 proc_create_seq_private(name, mode, parent, ops, 0, data) 97 #define proc_create_seq(name, mode, parent, ops) \ argument 98 proc_create_seq_private(name, mode, parent, ops, 0, NULL) 120 struct proc_dir_entry *parent, const struct seq_operations *ops, 122 #define proc_create_net(name, mode, parent, ops, state_size) \ argument 123 proc_create_net_data(name, mode, parent, ops, state_size, NULL) 129 const struct seq_operations *ops, 176 #define proc_create_seq_private(name, mode, parent, ops, size, data) ({NULL;}) argument [all …]
|
D | nfs_ssc.h | 39 extern void nfs42_ssc_register(const struct nfs4_ssc_client_ops *ops); 40 extern void nfs42_ssc_unregister(const struct nfs4_ssc_client_ops *ops); 74 extern void nfs_ssc_register(const struct nfs_ssc_client_ops *ops); 75 extern void nfs_ssc_unregister(const struct nfs_ssc_client_ops *ops);
|
D | irqdomain.h | 162 const struct irq_domain_ops *ops; member 262 const struct irq_domain_ops *ops, 267 const struct irq_domain_ops *ops, 273 const struct irq_domain_ops *ops, 279 const struct irq_domain_ops *ops, 299 return fwnode && fwnode->ops == &irqchip_fwnode_ops; in is_fwnode_irqchip() 336 const struct irq_domain_ops *ops, in irq_domain_add_simple() argument 339 return irq_domain_create_simple(of_node_to_fwnode(of_node), size, first_irq, ops, host_data); in irq_domain_add_simple() 351 const struct irq_domain_ops *ops, in irq_domain_add_linear() argument 354 return __irq_domain_add(of_node_to_fwnode(of_node), size, size, 0, ops, host_data); in irq_domain_add_linear() [all …]
|
D | io-pgtable.h | 164 int (*map)(struct io_pgtable_ops *ops, unsigned long iova, 166 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova, 169 int (*map_sg)(struct io_pgtable_ops *ops, unsigned long iova, 172 size_t (*unmap)(struct io_pgtable_ops *ops, unsigned long iova, 174 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova, 177 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops, 202 void free_io_pgtable_ops(struct io_pgtable_ops *ops); 222 struct io_pgtable_ops ops; member 225 #define io_pgtable_ops_to_pgtable(x) container_of((x), struct io_pgtable, ops)
|
D | syscore_ops.h | 20 extern void register_syscore_ops(struct syscore_ops *ops); 21 extern void unregister_syscore_ops(struct syscore_ops *ops);
|
D | thermal.h | 105 const struct thermal_cooling_device_ops *ops; member 175 struct thermal_zone_device_ops *ops; member 345 const struct thermal_zone_of_device_ops *ops); 350 const struct thermal_zone_of_device_ops *ops); 363 const struct thermal_zone_of_device_ops *ops) in thermal_zone_of_sensor_register() argument 376 const struct thermal_zone_of_device_ops *ops) in devm_thermal_zone_of_sensor_register() argument 413 const struct thermal_cooling_device_ops *ops); 426 struct thermal_zone_device_ops *ops, in thermal_zone_device_register() argument 435 const struct thermal_cooling_device_ops *ops) in thermal_cooling_device_register() argument 440 const struct thermal_cooling_device_ops *ops) in thermal_of_cooling_device_register() argument [all …]
|
/include/linux/usb/ |
D | otg-fsm.h | 191 struct otg_fsm_ops *ops; member 220 if (!fsm->ops->chrg_vbus) in otg_chrg_vbus() 222 fsm->ops->chrg_vbus(fsm, on); in otg_chrg_vbus() 228 if (!fsm->ops->drv_vbus) in otg_drv_vbus() 232 fsm->ops->drv_vbus(fsm, on); in otg_drv_vbus() 239 if (!fsm->ops->loc_conn) in otg_loc_conn() 243 fsm->ops->loc_conn(fsm, on); in otg_loc_conn() 250 if (!fsm->ops->loc_sof) in otg_loc_sof() 254 fsm->ops->loc_sof(fsm, on); in otg_loc_sof() 261 if (!fsm->ops->start_pulse) in otg_start_pulse() [all …]
|
D | ulpi.h | 56 struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops, 60 struct usb_phy_io_ops *ops, 63 static inline struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops, in otg_ulpi_create() argument 70 struct usb_phy_io_ops *ops, in devm_otg_ulpi_create() argument
|
/include/kvm/ |
D | iodev.h | 33 const struct kvm_io_device_ops *ops; member 37 const struct kvm_io_device_ops *ops) in kvm_iodevice_init() argument 39 dev->ops = ops; in kvm_iodevice_init() 46 return dev->ops->read ? dev->ops->read(vcpu, dev, addr, l, v) in kvm_iodevice_read() 54 return dev->ops->write ? dev->ops->write(vcpu, dev, addr, l, v) in kvm_iodevice_write() 60 if (dev->ops->destructor) in kvm_iodevice_destructor() 61 dev->ops->destructor(dev); in kvm_iodevice_destructor()
|
/include/net/tc_act/ |
D | tc_mirred.h | 20 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_egress_redirect() 29 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_egress_mirror() 38 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_ingress_redirect() 47 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_ingress_mirror()
|
/include/net/ |
D | ip6_tunnel.h | 81 int ip6_tnl_encap_add_ops(const struct ip6_tnl_encap_ops *ops, 83 int ip6_tnl_encap_del_ops(const struct ip6_tnl_encap_ops *ops, 90 const struct ip6_tnl_encap_ops *ops; in ip6_encap_hlen() local 100 ops = rcu_dereference(ip6tun_encaps[e->type]); in ip6_encap_hlen() 101 if (likely(ops && ops->encap_hlen)) in ip6_encap_hlen() 102 hlen = ops->encap_hlen(e); in ip6_encap_hlen() 111 const struct ip6_tnl_encap_ops *ops; in ip6_tnl_encap() local 121 ops = rcu_dereference(ip6tun_encaps[t->encap.type]); in ip6_tnl_encap() 122 if (likely(ops && ops->build_header)) in ip6_tnl_encap() 123 ret = ops->build_header(skb, &t->encap, protocol, fl6); in ip6_tnl_encap()
|
D | act_api.h | 24 const struct tc_action_ops *ops; member 128 const struct tc_action_ops *ops; member 133 const struct tc_action_ops *ops) in tc_action_net_init() argument 140 tn->ops = ops; in tc_action_net_init() 147 void tcf_idrinfo_destroy(const struct tc_action_ops *ops, 159 tcf_idrinfo_destroy(tn->ops, tn->idrinfo); in tc_action_net_exit() 167 const struct tc_action_ops *ops, 171 struct tc_action **a, const struct tc_action_ops *ops, 175 const struct tc_action_ops *ops, int bind, 183 int tcf_register_action(struct tc_action_ops *a, struct pernet_operations *ops); [all …]
|
/include/net/netfilter/ |
D | nf_nat.h | 71 int nf_nat_register_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops, 73 void nf_nat_unregister_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops, 94 int nf_nat_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops); 95 void nf_nat_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops); 97 int nf_nat_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops); 98 void nf_nat_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops); 100 int nf_nat_inet_register_fn(struct net *net, const struct nf_hook_ops *ops); 101 void nf_nat_inet_unregister_fn(struct net *net, const struct nf_hook_ops *ops);
|
/include/video/ |
D | mmp_disp.h | 159 struct mmp_overlay_ops *ops; member 230 struct mmp_path_ops ops; member 242 path->ops.set_mode(path, mode); in mmp_path_set_mode() 247 path->ops.set_onoff(path, status); in mmp_path_set_onoff() 253 return path->ops.get_modelist(path, modelist); in mmp_path_get_modelist() 260 return path->ops.get_overlay(path, overlay_id); in mmp_path_get_overlay() 267 overlay->ops->set_fetch(overlay, fetch_id); in mmp_overlay_set_fetch() 273 overlay->ops->set_onoff(overlay, status); in mmp_overlay_set_onoff() 279 overlay->ops->set_win(overlay, win); in mmp_overlay_set_win() 285 return overlay->ops->set_addr(overlay, addr); in mmp_overlay_set_addr()
|
/include/sound/ac97/ |
D | controller.h | 32 const struct ac97_controller_ops *ops; member 64 const struct ac97_controller_ops *ops, struct device *dev, 69 snd_ac97_controller_register(const struct ac97_controller_ops *ops, in snd_ac97_controller_register() argument
|