/include/asm-generic/ |
D | dma-mapping-common.h | 15 struct dma_map_ops *ops = get_dma_ops(dev); in dma_map_single_attrs() local 20 addr = ops->map_page(dev, virt_to_page(ptr), in dma_map_single_attrs() 34 struct dma_map_ops *ops = get_dma_ops(dev); in dma_unmap_single_attrs() local 37 if (ops->unmap_page) in dma_unmap_single_attrs() 38 ops->unmap_page(dev, addr, size, dir, attrs); in dma_unmap_single_attrs() 46 struct dma_map_ops *ops = get_dma_ops(dev); in dma_map_sg_attrs() local 53 ents = ops->map_sg(dev, sg, nents, dir, attrs); in dma_map_sg_attrs() 63 struct dma_map_ops *ops = get_dma_ops(dev); in dma_unmap_sg_attrs() local 67 if (ops->unmap_sg) in dma_unmap_sg_attrs() 68 ops->unmap_sg(dev, sg, nents, dir, attrs); in dma_unmap_sg_attrs() [all …]
|
/include/linux/usb/ |
D | gadget.h | 170 const struct usb_ep_ops *ops; member 205 return ep->ops->enable(ep, ep->desc); in usb_ep_enable() 222 return ep->ops->disable(ep); in usb_ep_disable() 242 return ep->ops->alloc_request(ep, gfp_flags); in usb_ep_alloc_request() 257 ep->ops->free_request(ep, req); in usb_ep_free_request() 320 return ep->ops->queue(ep, req, gfp_flags); in usb_ep_queue() 339 return ep->ops->dequeue(ep, req); in usb_ep_dequeue() 365 return ep->ops->set_halt(ep, 1); in usb_ep_set_halt() 383 return ep->ops->set_halt(ep, 0); in usb_ep_clear_halt() 399 if (ep->ops->set_wedge) in usb_ep_set_wedge() [all …]
|
/include/linux/ |
D | ftrace.h | 113 int register_ftrace_function(struct ftrace_ops *ops); 114 int unregister_ftrace_function(struct ftrace_ops *ops); 126 static inline void ftrace_function_local_enable(struct ftrace_ops *ops) in ftrace_function_local_enable() argument 128 if (WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL))) in ftrace_function_local_enable() 131 (*this_cpu_ptr(ops->disabled))--; in ftrace_function_local_enable() 143 static inline void ftrace_function_local_disable(struct ftrace_ops *ops) in ftrace_function_local_disable() argument 145 if (WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL))) in ftrace_function_local_disable() 148 (*this_cpu_ptr(ops->disabled))++; in ftrace_function_local_disable() 160 static inline int ftrace_function_local_disabled(struct ftrace_ops *ops) in ftrace_function_local_disabled() argument 162 WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL)); in ftrace_function_local_disabled() [all …]
|
D | moduleparam.h | 52 const struct kernel_param_ops *ops; member 74 const struct kernel_param_ops *ops; member 130 #define module_param_cb(name, ops, arg, perm) \ argument 131 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1) 142 #define __level_param_cb(name, ops, arg, perm, level) \ argument 143 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, level) 145 #define core_param_cb(name, ops, arg, perm) \ argument 146 __level_param_cb(name, ops, arg, perm, 1) 148 #define postcore_param_cb(name, ops, arg, perm) \ argument 149 __level_param_cb(name, ops, arg, perm, 2) [all …]
|
D | lcd.h | 63 struct lcd_ops *ops; member 98 if (ld->ops && ld->ops->set_power) in lcd_set_power() 99 ld->ops->set_power(ld, power); in lcd_set_power() 104 struct device *parent, void *devdata, struct lcd_ops *ops);
|
D | backlight.h | 98 const struct backlight_ops *ops; member 109 if (bd->ops && bd->ops->update_status) in backlight_update_status() 110 bd->ops->update_status(bd); in backlight_update_status() 115 struct device *dev, void *devdata, const struct backlight_ops *ops,
|
D | irqdomain.h | 106 const struct irq_domain_ops *ops; member 119 const struct irq_domain_ops *ops, 123 const struct irq_domain_ops *ops, 127 const struct irq_domain_ops *ops, 130 const struct irq_domain_ops *ops, 138 const struct irq_domain_ops *ops, in irq_domain_add_legacy_isa() argument 141 return irq_domain_add_legacy(of_node, NUM_ISA_INTERRUPTS, 0, 0, ops, in irq_domain_add_legacy_isa()
|
D | syscore_ops.h | 21 extern void register_syscore_ops(struct syscore_ops *ops); 22 extern void unregister_syscore_ops(struct syscore_ops *ops);
|
D | preempt.h | 146 struct preempt_ops *ops; member 153 struct preempt_ops *ops) in preempt_notifier_init() argument 156 notifier->ops = ops; in preempt_notifier_init()
|
D | textsearch.h | 60 struct ts_ops *ops; member 107 unsigned int ret = conf->ops->find(conf, state); in textsearch_next() 136 return conf->ops->get_pattern(conf); in textsearch_get_pattern() 145 return conf->ops->get_pattern_len(conf); in textsearch_get_pattern_len()
|
D | c2port.h | 32 struct c2port_ops *ops; member 65 struct c2port_ops *ops, void *devdata);
|
D | clk-private.h | 30 const struct clk_ops *ops; member 73 .ops = &clk_fixed_rate_ops, \ 104 .ops = &clk_gate_ops, \ 137 .ops = &clk_divider_ops, \ 164 .ops = &clk_mux_ops, \
|
D | parport.h | 315 struct parport_operations *ops; member 348 struct parport_operations *ops); 551 #define parport_write_data(p,x) (p)->ops->write_data(p,x) 552 #define parport_read_data(p) (p)->ops->read_data(p) 553 #define parport_write_control(p,x) (p)->ops->write_control(p,x) 554 #define parport_read_control(p) (p)->ops->read_control(p) 555 #define parport_frob_control(p,m,v) (p)->ops->frob_control(p,m,v) 556 #define parport_read_status(p) (p)->ops->read_status(p) 557 #define parport_enable_irq(p) (p)->ops->enable_irq(p) 558 #define parport_disable_irq(p) (p)->ops->disable_irq(p) [all …]
|
D | superhyway.h | 37 struct superhyway_ops *ops; member 85 return dev->bus->ops->read_vcr(base, vcr); in superhyway_read_vcr() 92 return dev->bus->ops->write_vcr(base, vcr); in superhyway_write_vcr()
|
/include/net/ |
D | rtnetlink.h | 83 extern int __rtnl_link_register(struct rtnl_link_ops *ops); 84 extern void __rtnl_link_unregister(struct rtnl_link_ops *ops); 86 extern int rtnl_link_register(struct rtnl_link_ops *ops); 87 extern void rtnl_link_unregister(struct rtnl_link_ops *ops); 117 extern int __rtnl_af_register(struct rtnl_af_ops *ops); 118 extern void __rtnl_af_unregister(struct rtnl_af_ops *ops); 120 extern int rtnl_af_register(struct rtnl_af_ops *ops); 121 extern void rtnl_af_unregister(struct rtnl_af_ops *ops); 126 char *ifname, const struct rtnl_link_ops *ops, struct nlattr *tb[]);
|
D | lib80211.h | 97 struct lib80211_crypto_ops *ops; member 118 int lib80211_register_crypto_ops(struct lib80211_crypto_ops *ops); 119 int lib80211_unregister_crypto_ops(struct lib80211_crypto_ops *ops);
|
D | dst.h | 37 struct dst_ops *ops; member 141 return dst->ops->cow_metrics(dst, p); in dst_metrics_write_ptr() 195 advmss = dst->ops->default_advmss(dst); in dst_metric_advmss() 216 return dst->ops->mtu(dst); in dst_mtu() 374 extern void *dst_alloc(struct dst_ops * ops, struct net_device *dev, 411 return dst->ops->neigh_lookup(dst, daddr); in dst_neigh_lookup() 417 if (dst && dst->ops && dst->ops->link_failure) in dst_link_failure() 418 dst->ops->link_failure(skb); in dst_link_failure() 447 dst = dst->ops->check(dst, cookie); in dst_check()
|
D | pkt_cls.h | 17 extern int register_tcf_proto_ops(struct tcf_proto_ops *ops); 18 extern int unregister_tcf_proto_ops(struct tcf_proto_ops *ops); 48 cl = tp->q->ops->cl_ops->bind_tcf(tp->q, base, r->classid); in tcf_bind_filter() 51 tp->q->ops->cl_ops->unbind_tcf(tp->q, cl); in tcf_bind_filter() 60 tp->q->ops->cl_ops->unbind_tcf(tp->q, cl); in tcf_unbind_filter() 162 struct tcf_ematch_ops * ops; member 171 return !em->ops; in tcf_em_is_container()
|
/include/media/ |
D | v4l2-device.h | 133 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \ 134 (sd)->ops->o->f((sd) , ##args); \ 154 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \ 155 __err = (sd)->ops->o->f((sd) , ##args); \
|
D | media-entity.h | 71 const struct media_entity_operations *ops; /* Entity operations */ member 148 (((entity)->ops && (entity)->ops->operation) ? \ 149 (entity)->ops->operation((entity) , ##args) : -ENOIOCTLCMD)
|
/include/trace/events/ |
D | sync.h | 22 if (timeline->ops->timeline_value_str) { 23 timeline->ops->timeline_value_str(timeline, 67 if (pt->parent->ops->pt_value_str) { 68 pt->parent->ops->pt_value_str(pt,
|
/include/linux/bcma/ |
D | bcma.h | 189 const struct bcma_host_ops *ops; member 218 return core->bus->ops->read8(core, offset); in bcma_read8() 222 return core->bus->ops->read16(core, offset); in bcma_read16() 226 return core->bus->ops->read32(core, offset); in bcma_read32() 231 core->bus->ops->write8(core, offset, value); in bcma_write8() 236 core->bus->ops->write16(core, offset, value); in bcma_write16() 241 core->bus->ops->write32(core, offset, value); in bcma_write32() 247 core->bus->ops->block_read(core, buffer, count, offset, reg_width); in bcma_block_read() 253 core->bus->ops->block_write(core, buffer, count, offset, reg_width); in bcma_block_write() 258 return core->bus->ops->aread32(core, offset); in bcma_aread32() [all …]
|
/include/sound/ |
D | vx_core.h | 172 struct snd_vx_ops *ops; member 220 struct snd_vx_ops *ops, int extra_size); 238 return chip->ops->test_and_ack(chip); in vx_test_and_ack() 243 chip->ops->validate_irq(chip, enable); in vx_validate_irq() 248 return chip->ops->in8(chip, reg); in snd_vx_inb() 253 return chip->ops->in32(chip, reg); in snd_vx_inl() 258 chip->ops->out8(chip, reg, val); in snd_vx_outb() 263 chip->ops->out32(chip, reg, val); in snd_vx_outl() 273 chip->ops->reset_dsp(chip); in vx_reset_dsp() 300 chip->ops->dma_write(chip, runtime, pipe, count); in vx_pseudo_dma_write() [all …]
|
D | compress_driver.h | 54 struct snd_compr_ops *ops; member 77 struct snd_compr_ops *ops; member 140 struct snd_compr_ops *ops; member
|
/include/linux/mtd/ |
D | mtd.h | 195 struct mtd_oob_ops *ops); 197 struct mtd_oob_ops *ops); 260 struct mtd_oob_ops *ops) in mtd_read_oob() argument 262 ops->retlen = ops->oobretlen = 0; in mtd_read_oob() 265 return mtd->_read_oob(mtd, from, ops); in mtd_read_oob() 269 struct mtd_oob_ops *ops) in mtd_write_oob() argument 271 ops->retlen = ops->oobretlen = 0; in mtd_write_oob() 276 return mtd->_write_oob(mtd, to, ops); in mtd_write_oob()
|