/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | hw_ops.h | 31 if (!wl->ops->calc_tx_blocks) in wlcore_hw_calc_tx_blocks() 34 return wl->ops->calc_tx_blocks(wl, len, spare_blks); in wlcore_hw_calc_tx_blocks() 41 if (!wl->ops->set_tx_desc_blocks) in wlcore_hw_set_tx_desc_blocks() 44 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); in wlcore_hw_set_tx_desc_blocks() 52 if (!wl->ops->set_tx_desc_data_len) in wlcore_hw_set_tx_desc_data_len() 55 wl->ops->set_tx_desc_data_len(wl, desc, skb); in wlcore_hw_set_tx_desc_data_len() 62 if (!wl->ops->get_rx_buf_align) in wlcore_hw_get_rx_buf_align() 65 return wl->ops->get_rx_buf_align(wl, rx_desc); in wlcore_hw_get_rx_buf_align() 71 if (wl->ops->prepare_read) in wlcore_hw_prepare_read() 72 return wl->ops->prepare_read(wl, rx_desc, len); in wlcore_hw_prepare_read() [all …]
|
/linux-4.4.14/drivers/mtd/tests/ |
D | oobtest.c | 71 struct mtd_oob_ops ops; in write_eraseblock() local 77 ops.mode = MTD_OPS_AUTO_OOB; in write_eraseblock() 78 ops.len = 0; in write_eraseblock() 79 ops.retlen = 0; in write_eraseblock() 80 ops.ooblen = use_len; in write_eraseblock() 81 ops.oobretlen = 0; in write_eraseblock() 82 ops.ooboffs = use_offset; in write_eraseblock() 83 ops.datbuf = NULL; in write_eraseblock() 84 ops.oobbuf = writebuf + (use_len_max * i) + use_offset; in write_eraseblock() 85 err = mtd_write_oob(mtd, addr, &ops); in write_eraseblock() [all …]
|
D | readtest.c | 62 struct mtd_oob_ops ops; in read_eraseblock_by_page() local 64 ops.mode = MTD_OPS_PLACE_OOB; in read_eraseblock_by_page() 65 ops.len = 0; in read_eraseblock_by_page() 66 ops.retlen = 0; in read_eraseblock_by_page() 67 ops.ooblen = mtd->oobsize; in read_eraseblock_by_page() 68 ops.oobretlen = 0; in read_eraseblock_by_page() 69 ops.ooboffs = 0; in read_eraseblock_by_page() 70 ops.datbuf = NULL; in read_eraseblock_by_page() 71 ops.oobbuf = oobbuf; in read_eraseblock_by_page() 72 ret = mtd_read_oob(mtd, addr, &ops); in read_eraseblock_by_page() [all …]
|
/linux-4.4.14/drivers/mfd/ |
D | abx500-core.c | 18 struct abx500_ops ops; member 22 static void lookup_ops(struct device *dev, struct abx500_ops **ops) in lookup_ops() argument 26 *ops = NULL; in lookup_ops() 29 *ops = &dev_entry->ops; in lookup_ops() 35 int abx500_register_ops(struct device *dev, struct abx500_ops *ops) in abx500_register_ops() argument 47 memcpy(&dev_entry->ops, ops, sizeof(struct abx500_ops)); in abx500_register_ops() 67 struct abx500_ops *ops; in abx500_set_register_interruptible() local 69 lookup_ops(dev->parent, &ops); in abx500_set_register_interruptible() 70 if ((ops != NULL) && (ops->set_register != NULL)) in abx500_set_register_interruptible() 71 return ops->set_register(dev, bank, reg, value); in abx500_set_register_interruptible() [all …]
|
/linux-4.4.14/arch/s390/appldata/ |
D | appldata_base.c | 126 struct appldata_ops *ops; in appldata_work_fn() local 130 ops = list_entry(lh, struct appldata_ops, list); in appldata_work_fn() 131 if (ops->active == 1) { in appldata_work_fn() 132 ops->callback(ops->data); in appldata_work_fn() 293 struct appldata_ops *ops = NULL, *tmp_ops; in appldata_generic_handler() local 311 ops = ctl->data; in appldata_generic_handler() 312 if (!try_module_get(ops->owner)) { // protect this function in appldata_generic_handler() 320 module_put(ops->owner); in appldata_generic_handler() 324 strncpy(buf, ops->active ? "1\n" : "0\n", ARRAY_SIZE(buf)); in appldata_generic_handler() 329 module_put(ops->owner); in appldata_generic_handler() [all …]
|
D | appldata_os.c | 84 static struct appldata_ops ops = { variable 139 if (ops.size != new_size) { in appldata_get_os_data() 140 if (ops.active) { in appldata_get_os_data() 143 (unsigned long) ops.data, new_size, in appldata_get_os_data() 144 ops.mod_lvl); in appldata_get_os_data() 151 (unsigned long) ops.data, ops.size, in appldata_get_os_data() 152 ops.mod_lvl); in appldata_get_os_data() 157 ops.size = new_size; in appldata_get_os_data() 192 ops.data = appldata_os_data; in appldata_os_init() 193 ops.callback = &appldata_get_os_data; in appldata_os_init() [all …]
|
/linux-4.4.14/net/netfilter/ |
D | nf_sockopt.c | 26 struct nf_sockopt_ops *ops; in nf_register_sockopt() local 30 list_for_each_entry(ops, &nf_sockopts, list) { in nf_register_sockopt() 31 if (ops->pf == reg->pf in nf_register_sockopt() 32 && (overlap(ops->set_optmin, ops->set_optmax, in nf_register_sockopt() 34 || overlap(ops->get_optmin, ops->get_optmax, in nf_register_sockopt() 37 ops->set_optmin, ops->set_optmax, in nf_register_sockopt() 38 ops->get_optmin, ops->get_optmax, in nf_register_sockopt() 64 struct nf_sockopt_ops *ops; in nf_sockopt_find() local 67 list_for_each_entry(ops, &nf_sockopts, list) { in nf_sockopt_find() 68 if (ops->pf == pf) { in nf_sockopt_find() [all …]
|
D | nft_compat.c | 62 struct xt_target *target = expr->ops->data; in nft_target_eval_xt() 88 struct xt_target *target = expr->ops->data; in nft_target_eval_bridge() 157 const struct nf_hook_ops *ops = &basechain->ops[0]; in nft_target_set_tgchk_param() local 159 par->hook_mask = 1 << ops->hooknum; in nft_target_set_tgchk_param() 211 struct xt_target *target = expr->ops->data; in nft_target_init() 252 struct xt_target *target = expr->ops->data; in nft_target_destroy() 268 const struct xt_target *target = expr->ops->data; in nft_target_dump() 286 struct xt_target *target = expr->ops->data; in nft_target_validate() 293 const struct nf_hook_ops *ops = &basechain->ops[0]; in nft_target_validate() local 295 hook_mask = 1 << ops->hooknum; in nft_target_validate() [all …]
|
/linux-4.4.14/include/linux/ |
D | ntb.h | 152 static inline int ntb_client_ops_is_valid(const struct ntb_client_ops *ops) in ntb_client_ops_is_valid() argument 156 ops->probe && in ntb_client_ops_is_valid() 157 ops->remove && in ntb_client_ops_is_valid() 171 static inline int ntb_ctx_ops_is_valid(const struct ntb_ctx_ops *ops) in ntb_ctx_ops_is_valid() argument 264 static inline int ntb_dev_ops_is_valid(const struct ntb_dev_ops *ops) in ntb_dev_ops_is_valid() argument 268 ops->mw_count && in ntb_dev_ops_is_valid() 269 ops->mw_get_range && in ntb_dev_ops_is_valid() 270 ops->mw_set_trans && in ntb_dev_ops_is_valid() 272 ops->link_is_up && in ntb_dev_ops_is_valid() 273 ops->link_enable && in ntb_dev_ops_is_valid() [all …]
|
D | seqno-fence.h | 34 const struct fence_ops *ops; member 52 if (fence->ops != &seqno_fence_ops) in to_seqno_fence() 99 const struct fence_ops *ops) in seqno_fence_init() argument 101 BUG_ON(!fence || !sync_buf || !ops); in seqno_fence_init() 102 BUG_ON(!ops->wait || !ops->enable_signaling || in seqno_fence_init() 103 !ops->get_driver_name || !ops->get_timeline_name); in seqno_fence_init() 109 fence->ops = ops; in seqno_fence_init()
|
D | ftrace.h | 65 ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops); 194 int register_ftrace_function(struct ftrace_ops *ops); 195 int unregister_ftrace_function(struct ftrace_ops *ops); 207 static inline void ftrace_function_local_enable(struct ftrace_ops *ops) in ftrace_function_local_enable() argument 209 if (WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL))) in ftrace_function_local_enable() 212 (*this_cpu_ptr(ops->disabled))--; in ftrace_function_local_enable() 224 static inline void ftrace_function_local_disable(struct ftrace_ops *ops) in ftrace_function_local_disable() argument 226 if (WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL))) in ftrace_function_local_disable() 229 (*this_cpu_ptr(ops->disabled))++; in ftrace_function_local_disable() 241 static inline int ftrace_function_local_disabled(struct ftrace_ops *ops) in ftrace_function_local_disabled() argument [all …]
|
D | moduleparam.h | 71 const struct kernel_param_ops *ops; member 96 const struct kernel_param_ops *ops; member 166 #define module_param_cb(name, ops, arg, perm) \ argument 167 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0) 169 #define module_param_cb_unsafe(name, ops, arg, perm) \ argument 170 __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) 185 #define core_param_cb(name, ops, arg, perm) \ argument 186 __level_param_cb(name, ops, arg, perm, 1) [all …]
|
D | irqdomain.h | 146 const struct irq_domain_ops *ops; member 192 const struct irq_domain_ops *ops, 197 const struct irq_domain_ops *ops, 203 const struct irq_domain_ops *ops, 234 const struct irq_domain_ops *ops, in irq_domain_add_linear() argument 237 return __irq_domain_add(of_node_to_fwnode(of_node), size, size, 0, ops, host_data); in irq_domain_add_linear() 241 const struct irq_domain_ops *ops, in irq_domain_add_nomap() argument 244 return __irq_domain_add(of_node_to_fwnode(of_node), 0, max_irq, max_irq, ops, host_data); in irq_domain_add_nomap() 248 const struct irq_domain_ops *ops, in irq_domain_add_legacy_isa() argument 251 return irq_domain_add_legacy(of_node, NUM_ISA_INTERRUPTS, 0, 0, ops, in irq_domain_add_legacy_isa() [all …]
|
D | host1x.h | 44 const struct host1x_client_ops *ops; member 72 const struct host1x_bo_ops *ops; member 76 const struct host1x_bo_ops *ops) in host1x_bo_init() argument 78 bo->ops = ops; in host1x_bo_init() 83 return bo->ops->get(bo); in host1x_bo_get() 88 bo->ops->put(bo); in host1x_bo_put() 94 return bo->ops->pin(bo, sgt); in host1x_bo_pin() 99 bo->ops->unpin(bo, sgt); in host1x_bo_unpin() 104 return bo->ops->mmap(bo); in host1x_bo_mmap() 109 bo->ops->munmap(bo, addr); in host1x_bo_munmap() [all …]
|
D | assoc_array.h | 69 const struct assoc_array_ops *ops, 72 const struct assoc_array_ops *ops); 74 const struct assoc_array_ops *ops, 80 const struct assoc_array_ops *ops, 83 const struct assoc_array_ops *ops); 87 const struct assoc_array_ops *ops,
|
/linux-4.4.14/net/core/ |
D | fib_rules.c | 21 int fib_default_rule_add(struct fib_rules_ops *ops, in fib_default_rule_add() argument 26 r = kzalloc(ops->rule_size, GFP_KERNEL); in fib_default_rule_add() 35 r->fr_net = ops->fro_net; in fib_default_rule_add() 42 list_add_tail(&r->list, &ops->rules_list); in fib_default_rule_add() 47 static u32 fib_default_rule_pref(struct fib_rules_ops *ops) in fib_default_rule_pref() argument 52 if (!list_empty(&ops->rules_list)) { in fib_default_rule_pref() 53 pos = ops->rules_list.next; in fib_default_rule_pref() 54 if (pos->next != &ops->rules_list) { in fib_default_rule_pref() 65 struct fib_rules_ops *ops, struct nlmsghdr *nlh, 70 struct fib_rules_ops *ops; in lookup_rules_ops() local [all …]
|
D | lwtunnel.c | 43 int lwtunnel_encap_add_ops(const struct lwtunnel_encap_ops *ops, in lwtunnel_encap_add_ops() argument 51 NULL, ops) ? 0 : -1; in lwtunnel_encap_add_ops() 55 int lwtunnel_encap_del_ops(const struct lwtunnel_encap_ops *ops, in lwtunnel_encap_del_ops() argument 66 ops, NULL) == ops) ? 0 : -1; in lwtunnel_encap_del_ops() 78 const struct lwtunnel_encap_ops *ops; in lwtunnel_build_state() local 87 ops = rcu_dereference(lwtun_encaps[encap_type]); in lwtunnel_build_state() 88 if (likely(ops && ops->build_state)) in lwtunnel_build_state() 89 ret = ops->build_state(dev, encap, family, cfg, lws); in lwtunnel_build_state() 98 const struct lwtunnel_encap_ops *ops; in lwtunnel_fill_encap() local 112 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); in lwtunnel_fill_encap() [all …]
|
D | net_namespace.c | 93 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init() argument 98 if (ops->id && ops->size) { in ops_init() 99 data = kzalloc(ops->size, GFP_KERNEL); in ops_init() 103 err = net_assign_generic(net, *ops->id, data); in ops_init() 108 if (ops->init) in ops_init() 109 err = ops->init(net); in ops_init() 120 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free() argument 122 if (ops->id && ops->size) { in ops_free() 123 int id = *ops->id; in ops_free() 128 static void ops_exit_list(const struct pernet_operations *ops, in ops_exit_list() argument [all …]
|
D | ethtool.c | 196 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_sset_count() local 207 if (ops->get_sset_count && ops->get_strings) in __ethtool_get_sset_count() 208 return ops->get_sset_count(dev, sset); in __ethtool_get_sset_count() 216 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_strings() local 228 ops->get_strings(dev, stringset, data); in __ethtool_get_strings() 399 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_drvinfo() local 403 if (ops->get_drvinfo) { in ethtool_get_drvinfo() 404 ops->get_drvinfo(dev, &info); in ethtool_get_drvinfo() 418 if (ops->get_sset_count) { in ethtool_get_drvinfo() 421 rc = ops->get_sset_count(dev, ETH_SS_TEST); in ethtool_get_drvinfo() [all …]
|
D | rtnetlink.c | 281 const struct rtnl_link_ops *ops; in rtnl_link_ops_get() local 283 list_for_each_entry(ops, &link_ops, list) { in rtnl_link_ops_get() 284 if (!strcmp(ops->kind, kind)) in rtnl_link_ops_get() 285 return ops; in rtnl_link_ops_get() 300 int __rtnl_link_register(struct rtnl_link_ops *ops) in __rtnl_link_register() argument 302 if (rtnl_link_ops_get(ops->kind)) in __rtnl_link_register() 310 if (ops->setup && !ops->dellink) in __rtnl_link_register() 311 ops->dellink = unregister_netdevice_queue; in __rtnl_link_register() 313 list_add_tail(&ops->list, &link_ops); in __rtnl_link_register() 324 int rtnl_link_register(struct rtnl_link_ops *ops) in rtnl_link_register() argument [all …]
|
D | dst.c | 163 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init() argument 171 dst->ops = ops; in dst_init() 196 dst_entries_add(ops, 1); in dst_init() 200 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, in dst_alloc() argument 205 if (ops->gc && dst_entries_get_fast(ops) > ops->gc_thresh) { in dst_alloc() 206 if (ops->gc(ops)) in dst_alloc() 210 dst = kmem_cache_alloc(ops->kmem_cachep, GFP_ATOMIC); in dst_alloc() 214 dst_init(dst, ops, dev, initial_ref, initial_obsolete, flags); in dst_alloc() 258 dst_entries_add(dst->ops, -1); in dst_destroy() 260 if (dst->ops->destroy) in dst_destroy() [all …]
|
/linux-4.4.14/drivers/base/ |
D | syscore.c | 22 void register_syscore_ops(struct syscore_ops *ops) in register_syscore_ops() argument 25 list_add_tail(&ops->node, &syscore_ops_list); in register_syscore_ops() 34 void unregister_syscore_ops(struct syscore_ops *ops) in unregister_syscore_ops() argument 37 list_del(&ops->node); in unregister_syscore_ops() 50 struct syscore_ops *ops; in syscore_suspend() local 63 list_for_each_entry_reverse(ops, &syscore_ops_list, node) in syscore_suspend() 64 if (ops->suspend) { in syscore_suspend() 66 pr_info("PM: Calling %pF\n", ops->suspend); in syscore_suspend() 67 ret = ops->suspend(); in syscore_suspend() 71 "Interrupts enabled after %pF\n", ops->suspend); in syscore_suspend() [all …]
|
D | component.c | 35 const struct component_master_ops *ops; member 46 const struct component_ops *ops; member 55 const struct component_master_ops *ops) in __master_find() argument 60 if (m->dev == dev && (!ops || m->ops == ops)) in __master_find() 120 return master->ops->add_components(master->dev, master); in find_components() 186 ret = master->ops->bind(master->dev); in try_to_bring_up_master() 219 master->ops->unbind(master->dev); in take_down_master() 287 const struct component_master_ops *ops, in component_master_add_with_match() argument 293 if (ops->add_components && match) in component_master_add_with_match() 308 master->ops = ops; in component_master_add_with_match() [all …]
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-m48t86.c | 49 struct m48t86_ops *ops = dev_get_platdata(&pdev->dev); in m48t86_rtc_read_time() local 51 reg = ops->readbyte(M48T86_REG_B); in m48t86_rtc_read_time() 55 tm->tm_sec = ops->readbyte(M48T86_REG_SEC); in m48t86_rtc_read_time() 56 tm->tm_min = ops->readbyte(M48T86_REG_MIN); in m48t86_rtc_read_time() 57 tm->tm_hour = ops->readbyte(M48T86_REG_HOUR) & 0x3F; in m48t86_rtc_read_time() 58 tm->tm_mday = ops->readbyte(M48T86_REG_DOM); in m48t86_rtc_read_time() 60 tm->tm_mon = ops->readbyte(M48T86_REG_MONTH) - 1; in m48t86_rtc_read_time() 61 tm->tm_year = ops->readbyte(M48T86_REG_YEAR) + 100; in m48t86_rtc_read_time() 62 tm->tm_wday = ops->readbyte(M48T86_REG_DOW); in m48t86_rtc_read_time() 65 tm->tm_sec = bcd2bin(ops->readbyte(M48T86_REG_SEC)); in m48t86_rtc_read_time() [all …]
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 502 #define SET_VALID_IOCTL(ops, cmd, op) \ argument 503 if (ops->op) \ 522 const struct v4l2_ioctl_ops *ops = vdev->ioctl_ops; in determine_valid_ioctls() local 534 SET_VALID_IOCTL(ops, VIDIOC_QUERYCAP, vidioc_querycap); in determine_valid_ioctls() 542 if (vdev->ctrl_handler || ops->vidioc_queryctrl) in determine_valid_ioctls() 544 if (vdev->ctrl_handler || ops->vidioc_query_ext_ctrl) in determine_valid_ioctls() 546 if (vdev->ctrl_handler || ops->vidioc_g_ctrl || ops->vidioc_g_ext_ctrls) in determine_valid_ioctls() 548 if (vdev->ctrl_handler || ops->vidioc_s_ctrl || ops->vidioc_s_ext_ctrls) in determine_valid_ioctls() 550 if (vdev->ctrl_handler || ops->vidioc_g_ext_ctrls) in determine_valid_ioctls() 552 if (vdev->ctrl_handler || ops->vidioc_s_ext_ctrls) in determine_valid_ioctls() [all …]
|
D | v4l2-ioctl.c | 922 const struct v4l2_ioctl_ops *ops = vfd->ioctl_ops; in check_fmt() local 929 if (ops == NULL) in check_fmt() 935 (ops->vidioc_g_fmt_vid_cap || ops->vidioc_g_fmt_vid_cap_mplane)) in check_fmt() 939 if (is_vid && is_rx && ops->vidioc_g_fmt_vid_cap_mplane) in check_fmt() 943 if (is_vid && is_rx && ops->vidioc_g_fmt_vid_overlay) in check_fmt() 948 (ops->vidioc_g_fmt_vid_out || ops->vidioc_g_fmt_vid_out_mplane)) in check_fmt() 952 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_mplane) in check_fmt() 956 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_overlay) in check_fmt() 960 if (is_vbi && is_rx && ops->vidioc_g_fmt_vbi_cap) in check_fmt() 964 if (is_vbi && is_tx && ops->vidioc_g_fmt_vbi_out) in check_fmt() [all …]
|
D | videobuf2-internal.h | 68 (q)->ops->op ? "" : " (nop)") 75 err = (q)->ops->op ? (q)->ops->op(args) : 0; \ 84 if ((q)->ops->op) \ 85 (q)->ops->op(args); \ 92 (vb)->vb2_queue->ops->op ? "" : " (nop)") 99 err = (vb)->vb2_queue->ops->op ? \ 100 (vb)->vb2_queue->ops->op(args) : 0; \ 109 if ((vb)->vb2_queue->ops->op) \ 110 (vb)->vb2_queue->ops->op(args); \ 131 ((q)->ops->op ? (q)->ops->op(args) : 0) [all …]
|
D | v4l2-clk.c | 100 ret = !try_module_get(clk->ops->owner); in v4l2_clk_lock_driver() 113 module_put(clk->ops->owner); in v4l2_clk_unlock_driver() 129 if (++clk->enable == 1 && clk->ops->enable) { in v4l2_clk_enable() 130 ret = clk->ops->enable(clk); in v4l2_clk_enable() 158 else if (!enable && clk->ops->disable) in v4l2_clk_disable() 159 clk->ops->disable(clk); in v4l2_clk_disable() 179 if (!clk->ops->get_rate) in v4l2_clk_get_rate() 182 ret = clk->ops->get_rate(clk); in v4l2_clk_get_rate() 208 if (!clk->ops->set_rate) in v4l2_clk_set_rate() 211 ret = clk->ops->set_rate(clk, rate); in v4l2_clk_set_rate() [all …]
|
/linux-4.4.14/tools/perf/util/ |
D | annotate.c | 31 static void ins__delete(struct ins_operands *ops) in ins__delete() argument 33 if (ops == NULL) in ins__delete() 35 zfree(&ops->source.raw); in ins__delete() 36 zfree(&ops->source.name); in ins__delete() 37 zfree(&ops->target.raw); in ins__delete() 38 zfree(&ops->target.name); in ins__delete() 42 struct ins_operands *ops) in ins__raw_scnprintf() argument 44 return scnprintf(bf, size, "%-6.6s %s", ins->name, ops->raw); in ins__raw_scnprintf() 48 struct ins_operands *ops) in ins__scnprintf() argument 50 if (ins->ops->scnprintf) in ins__scnprintf() [all …]
|
/linux-4.4.14/drivers/video/console/ |
D | fbcon_rotate.c | 23 struct fbcon_ops *ops = info->fbcon_par; in fbcon_rotate_font() local 29 if (vc->vc_font.data == ops->fontdata && in fbcon_rotate_font() 30 ops->p->con_rotate == ops->cur_rotate) in fbcon_rotate_font() 33 src = ops->fontdata = vc->vc_font.data; in fbcon_rotate_font() 34 ops->cur_rotate = ops->p->con_rotate; in fbcon_rotate_font() 35 len = (!ops->p->userfont) ? 256 : FNTCHARCNT(src); in fbcon_rotate_font() 40 if (ops->rotate == FB_ROTATE_CW || in fbcon_rotate_font() 41 ops->rotate == FB_ROTATE_CCW) in fbcon_rotate_font() 48 if (ops->fd_size < d_cellsize * len) { in fbcon_rotate_font() 56 ops->fd_size = d_cellsize * len; in fbcon_rotate_font() [all …]
|
D | fbcon_ccw.c | 66 struct fbcon_ops *ops = info->fbcon_par; in ccw_bmove() local 68 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_bmove() 83 struct fbcon_ops *ops = info->fbcon_par; in ccw_clear() local 86 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_clear() 103 struct fbcon_ops *ops = info->fbcon_par; in ccw_putcs_aligned() local 109 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; in ccw_putcs_aligned() 134 struct fbcon_ops *ops = info->fbcon_par; in ccw_putcs() local 143 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_putcs() 145 if (!ops->fontbuffer) in ccw_putcs() 225 struct fbcon_ops *ops = info->fbcon_par; in ccw_cursor() local [all …]
|
D | fbcon_cw.c | 51 struct fbcon_ops *ops = info->fbcon_par; in cw_bmove() local 53 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_bmove() 68 struct fbcon_ops *ops = info->fbcon_par; in cw_clear() local 71 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_clear() 88 struct fbcon_ops *ops = info->fbcon_par; in cw_putcs_aligned() local 94 src = ops->fontbuffer + (scr_readw(s++) & charmask)*cellsize; in cw_putcs_aligned() 119 struct fbcon_ops *ops = info->fbcon_par; in cw_putcs() local 128 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_putcs() 130 if (!ops->fontbuffer) in cw_putcs() 208 struct fbcon_ops *ops = info->fbcon_par; in cw_cursor() local [all …]
|
D | fbcon_ud.c | 51 struct fbcon_ops *ops = info->fbcon_par; in ud_bmove() local 53 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ud_bmove() 54 u32 vxres = GETVXRES(ops->p->scrollmode, info); in ud_bmove() 69 struct fbcon_ops *ops = info->fbcon_par; in ud_clear() local 72 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ud_clear() 73 u32 vxres = GETVXRES(ops->p->scrollmode, info); in ud_clear() 90 struct fbcon_ops *ops = info->fbcon_par; in ud_putcs_aligned() local 96 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; in ud_putcs_aligned() 123 struct fbcon_ops *ops = info->fbcon_par; in ud_putcs_unaligned() local 131 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; in ud_putcs_unaligned() [all …]
|
D | bitblit.c | 240 struct fbcon_ops *ops = info->fbcon_par; in bit_cursor() local 243 int y = real_y(ops->p, vc->vc_y); in bit_cursor() 253 ops->cursor_flash = 0; in bit_cursor() 263 if (ops->cursor_state.image.data != src || in bit_cursor() 264 ops->cursor_reset) { in bit_cursor() 265 ops->cursor_state.image.data = src; in bit_cursor() 275 kfree(ops->cursor_data); in bit_cursor() 276 ops->cursor_data = dst; in bit_cursor() 281 if (ops->cursor_state.image.fg_color != fg || in bit_cursor() 282 ops->cursor_state.image.bg_color != bg || in bit_cursor() [all …]
|
D | fbcon.c | 198 struct fbcon_ops *ops = info->fbcon_par; in fbcon_set_rotation() local 201 ops->p->con_rotate < 4) in fbcon_set_rotation() 202 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation() 204 ops->rotate = 0; in fbcon_set_rotation() 209 struct fbcon_ops *ops= info->fbcon_par; in fbcon_rotate() local 212 if (!ops || ops->currcon == -1) in fbcon_rotate() 215 fb_info = registered_fb[con2fb_map[ops->currcon]]; in fbcon_rotate() 218 struct display *p = &fb_display[ops->currcon]; in fbcon_rotate() 231 struct fbcon_ops *ops = info->fbcon_par; in fbcon_rotate_all() local 236 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all() [all …]
|
D | tileblit.c | 121 struct fbcon_ops *ops = info->fbcon_par; in tile_update_start() local 124 err = fb_pan_display(info, &ops->var); in tile_update_start() 125 ops->var.xoffset = info->var.xoffset; in tile_update_start() 126 ops->var.yoffset = info->var.yoffset; in tile_update_start() 127 ops->var.vmode = info->var.vmode; in tile_update_start() 134 struct fbcon_ops *ops = info->fbcon_par; in fbcon_set_tileops() local 136 ops->bmove = tile_bmove; in fbcon_set_tileops() 137 ops->clear = tile_clear; in fbcon_set_tileops() 138 ops->putcs = tile_putcs; in fbcon_set_tileops() 139 ops->clear_margins = tile_clear_margins; in fbcon_set_tileops() [all …]
|
D | softcursor.c | 24 struct fbcon_ops *ops = info->fbcon_par; in soft_cursor() local 37 if (dsize + sizeof(struct fb_image) != ops->cursor_size) { in soft_cursor() 38 kfree(ops->cursor_src); in soft_cursor() 39 ops->cursor_size = dsize + sizeof(struct fb_image); in soft_cursor() 41 ops->cursor_src = kmalloc(ops->cursor_size, GFP_ATOMIC); in soft_cursor() 42 if (!ops->cursor_src) { in soft_cursor() 43 ops->cursor_size = 0; in soft_cursor() 48 src = ops->cursor_src + sizeof(struct fb_image); in soft_cursor() 49 image = (struct fb_image *)ops->cursor_src; in soft_cursor()
|
/linux-4.4.14/drivers/misc/c2port/ |
D | core.c | 67 struct c2port_ops *ops = dev->ops; in c2port_reset() local 73 ops->c2ck_set(dev, 0); in c2port_reset() 75 ops->c2ck_set(dev, 1); in c2port_reset() 83 struct c2port_ops *ops = dev->ops; in c2port_strobe_ck() local 91 ops->c2ck_set(dev, 0); in c2port_strobe_ck() 93 ops->c2ck_set(dev, 1); in c2port_strobe_ck() 105 struct c2port_ops *ops = dev->ops; in c2port_write_ar() local 112 ops->c2d_dir(dev, 0); in c2port_write_ar() 113 ops->c2d_set(dev, 1); in c2port_write_ar() 115 ops->c2d_set(dev, 1); in c2port_write_ar() [all …]
|
/linux-4.4.14/net/mac80211/ |
D | driver-ops.h | 29 local->ops->tx(&local->hw, control, skb); in drv_tx() 36 if (local->ops->get_et_strings) { in drv_get_et_strings() 38 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings() 48 if (local->ops->get_et_stats) { in drv_get_et_stats() 50 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); in drv_get_et_stats() 60 if (local->ops->get_et_sset_count) { in drv_get_et_sset_count() 62 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count() 81 ret = local->ops->suspend(&local->hw, wowlan); in drv_suspend() 93 ret = local->ops->resume(&local->hw); in drv_resume() 103 if (!local->ops->set_wakeup) in drv_set_wakeup() [all …]
|
D | rate.h | 24 const struct rate_control_ops *ops; member 46 if (ref->ops->tx_status) in rate_control_tx_status() 47 ref->ops->tx_status(ref->priv, sband, ista, priv_sta, skb); in rate_control_tx_status() 49 ref->ops->tx_status_noskb(ref->priv, sband, ista, priv_sta, info); in rate_control_tx_status() 66 if (WARN_ON_ONCE(!ref->ops->tx_status_noskb)) in rate_control_tx_status_noskb() 70 ref->ops->tx_status_noskb(ref->priv, sband, ista, priv_sta, info); in rate_control_tx_status_noskb() 83 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta() 92 ref->ops->free_sta(ref->priv, ista, priv_sta); in rate_control_free_sta() 99 if (ref && sta->debugfs.dir && ref->ops->add_sta_debugfs) in rate_control_add_sta_debugfs() 100 ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv, in rate_control_add_sta_debugfs() [all …]
|
D | driver-ops.c | 26 ret = local->ops->start(&local->hw); in drv_start() 43 local->ops->stop(&local->hw); in drv_stop() 69 ret = local->ops->add_interface(&local->hw, &sdata->vif); in drv_add_interface() 90 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); in drv_change_interface() 104 local->ops->remove_interface(&local->hw, &sdata->vif); in drv_remove_interface() 125 if (local->ops->sta_state) { in drv_sta_state() 126 ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta, in drv_sta_state() 154 if (local->ops->sta_rc_update) in drv_sta_rc_update() 155 local->ops->sta_rc_update(&local->hw, &sdata->vif, in drv_sta_rc_update() 179 if (local->ops->conf_tx) in drv_conf_tx() [all …]
|
D | rate.c | 21 const struct rate_control_ops *ops; member 57 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init() 73 if (ref && ref->ops->rate_update) { in rate_control_rate_update() 83 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update() 91 int ieee80211_rate_control_register(const struct rate_control_ops *ops) in ieee80211_rate_control_register() argument 95 if (!ops->name) in ieee80211_rate_control_register() 100 if (!strcmp(alg->ops->name, ops->name)) { in ieee80211_rate_control_register() 113 alg->ops = ops; in ieee80211_rate_control_register() 122 void ieee80211_rate_control_unregister(const struct rate_control_ops *ops) in ieee80211_rate_control_unregister() argument 128 if (alg->ops == ops) { in ieee80211_rate_control_unregister() [all …]
|
/linux-4.4.14/lib/ |
D | textsearch.c | 141 int textsearch_register(struct ts_ops *ops) in textsearch_register() argument 146 if (ops->name == NULL || ops->find == NULL || ops->init == NULL || in textsearch_register() 147 ops->get_pattern == NULL || ops->get_pattern_len == NULL) in textsearch_register() 152 if (!strcmp(ops->name, o->name)) in textsearch_register() 156 list_add_tail_rcu(&ops->list, &ts_ops); in textsearch_register() 176 int textsearch_unregister(struct ts_ops *ops) in textsearch_unregister() argument 183 if (o == ops) { in textsearch_unregister() 266 struct ts_ops *ops; in textsearch_prepare() local 271 ops = lookup_ts_algo(algo); in textsearch_prepare() 278 if (ops == NULL && flags & TS_AUTOLOAD) { in textsearch_prepare() [all …]
|
/linux-4.4.14/include/asm-generic/ |
D | dma-mapping-common.h | 16 struct dma_map_ops *ops = get_dma_ops(dev); in dma_map_single_attrs() local 21 addr = ops->map_page(dev, virt_to_page(ptr), in dma_map_single_attrs() 35 struct dma_map_ops *ops = get_dma_ops(dev); in dma_unmap_single_attrs() local 38 if (ops->unmap_page) in dma_unmap_single_attrs() 39 ops->unmap_page(dev, addr, size, dir, attrs); in dma_unmap_single_attrs() 51 struct dma_map_ops *ops = get_dma_ops(dev); in dma_map_sg_attrs() local 58 ents = ops->map_sg(dev, sg, nents, dir, attrs); in dma_map_sg_attrs() 69 struct dma_map_ops *ops = get_dma_ops(dev); in dma_unmap_sg_attrs() local 73 if (ops->unmap_sg) in dma_unmap_sg_attrs() 74 ops->unmap_sg(dev, sg, nents, dir, attrs); in dma_unmap_sg_attrs() [all …]
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.h | 40 struct qlcnic_dcb_ops *ops; member 53 if (dcb && dcb->ops->get_hw_capability) in qlcnic_dcb_get_hw_capability() 54 return dcb->ops->get_hw_capability(dcb); in qlcnic_dcb_get_hw_capability() 61 if (dcb && dcb->ops->free) in qlcnic_dcb_free() 62 dcb->ops->free(dcb); in qlcnic_dcb_free() 67 if (dcb && dcb->ops->attach) in qlcnic_dcb_attach() 68 return dcb->ops->attach(dcb); in qlcnic_dcb_attach() 76 if (dcb && dcb->ops->query_hw_capability) in qlcnic_dcb_query_hw_capability() 77 return dcb->ops->query_hw_capability(dcb, buf); in qlcnic_dcb_query_hw_capability() 84 if (dcb && dcb->ops->get_info) in qlcnic_dcb_get_info() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 80 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igb_get_phy_id() 86 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igb_get_phy_id() 107 if (!(hw->phy.ops.write_reg)) in igb_phy_reset_dsp() 110 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0xC1); in igb_phy_reset_dsp() 114 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0); in igb_phy_reset_dsp() 400 if (!(hw->phy.ops.acquire)) in igb_read_phy_reg_igp() 403 ret_val = hw->phy.ops.acquire(hw); in igb_read_phy_reg_igp() 412 hw->phy.ops.release(hw); in igb_read_phy_reg_igp() 420 hw->phy.ops.release(hw); in igb_read_phy_reg_igp() 439 if (!(hw->phy.ops.acquire)) in igb_write_phy_reg_igp() [all …]
|
D | e1000_mbx.c | 44 if (mbx->ops.read) in igb_read_mbx() 45 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in igb_read_mbx() 67 else if (mbx->ops.write) in igb_write_mbx() 68 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in igb_write_mbx() 85 if (mbx->ops.check_for_msg) in igb_check_for_msg() 86 ret_val = mbx->ops.check_for_msg(hw, mbx_id); in igb_check_for_msg() 103 if (mbx->ops.check_for_ack) in igb_check_for_ack() 104 ret_val = mbx->ops.check_for_ack(hw, mbx_id); in igb_check_for_ack() 121 if (mbx->ops.check_for_rst) in igb_check_for_rst() 122 ret_val = mbx->ops.check_for_rst(hw, mbx_id); in igb_check_for_rst() [all …]
|
D | e1000_82575.c | 122 ret_val = phy->ops.write_reg(hw, E1000_M88E1112_PAGE_ADDR, 0); in igb_check_for_link_media_swap() 126 ret_val = phy->ops.read_reg(hw, E1000_M88E1112_STATUS, &data); in igb_check_for_link_media_swap() 134 ret_val = phy->ops.write_reg(hw, E1000_M88E1112_PAGE_ADDR, 1); in igb_check_for_link_media_swap() 138 ret_val = phy->ops.read_reg(hw, E1000_M88E1112_STATUS, &data); in igb_check_for_link_media_swap() 154 ret_val = phy->ops.write_reg(hw, E1000_M88E1112_PAGE_ADDR, 0); in igb_check_for_link_media_swap() 161 ret_val = phy->ops.write_reg(hw, E1000_M88E1112_PAGE_ADDR, 0); in igb_check_for_link_media_swap() 190 phy->ops.reset = igb_phy_hw_reset_sgmii_82575; in igb_init_phy_params_82575() 193 phy->ops.reset = igb_phy_hw_reset; in igb_init_phy_params_82575() 201 phy->ops.read_reg = igb_read_phy_reg_sgmii_82575; in igb_init_phy_params_82575() 202 phy->ops.write_reg = igb_write_phy_reg_sgmii_82575; in igb_init_phy_params_82575() [all …]
|
D | e1000_i210.c | 220 if (!(hw->nvm.ops.acquire(hw))) { in igb_read_nvm_srrd_i210() 223 hw->nvm.ops.release(hw); in igb_read_nvm_srrd_i210() 320 if (!(hw->nvm.ops.acquire(hw))) { in igb_write_nvm_srwr_i210() 323 hw->nvm.ops.release(hw); in igb_write_nvm_srwr_i210() 562 if (!(hw->nvm.ops.acquire(hw))) { in igb_validate_nvm_checksum_i210() 568 read_op_ptr = hw->nvm.ops.read; in igb_validate_nvm_checksum_i210() 569 hw->nvm.ops.read = igb_read_nvm_eerd; in igb_validate_nvm_checksum_i210() 574 hw->nvm.ops.read = read_op_ptr; in igb_validate_nvm_checksum_i210() 576 hw->nvm.ops.release(hw); in igb_validate_nvm_checksum_i210() 608 if (!(hw->nvm.ops.acquire(hw))) { in igb_update_nvm_checksum_i210() [all …]
|
/linux-4.4.14/kernel/trace/ |
D | trace_functions.c | 38 struct ftrace_ops *ops; in allocate_ftrace_ops() local 40 ops = kzalloc(sizeof(*ops), GFP_KERNEL); in allocate_ftrace_ops() 41 if (!ops) in allocate_ftrace_ops() 45 ops->func = function_trace_call; in allocate_ftrace_ops() 46 ops->flags = FTRACE_OPS_FL_RECURSION_SAFE; in allocate_ftrace_ops() 48 tr->ops = ops; in allocate_ftrace_ops() 49 ops->private = tr; in allocate_ftrace_ops() 70 ftrace_create_filter_files(tr->ops, parent); in ftrace_create_function_files() 77 ftrace_destroy_filter_files(tr->ops); in ftrace_destroy_function_files() 78 kfree(tr->ops); in ftrace_destroy_function_files() [all …]
|
D | ftrace.c | 106 static void ftrace_update_trampoline(struct ftrace_ops *ops); 154 static inline void ftrace_ops_init(struct ftrace_ops *ops) in ftrace_ops_init() argument 157 if (!(ops->flags & FTRACE_OPS_FL_INITIALIZED)) { in ftrace_ops_init() 158 mutex_init(&ops->local_hash.regex_lock); in ftrace_ops_init() 159 ops->func_hash = &ops->local_hash; in ftrace_ops_init() 160 ops->flags |= FTRACE_OPS_FL_INITIALIZED; in ftrace_ops_init() 172 struct ftrace_ops *ops; in ftrace_nr_registered_ops() local 177 for (ops = ftrace_ops_list; in ftrace_nr_registered_ops() 178 ops != &ftrace_list_end; ops = ops->next) in ftrace_nr_registered_ops() 206 static void control_ops_disable_all(struct ftrace_ops *ops) in control_ops_disable_all() argument [all …]
|
D | trace_events_trigger.c | 77 data->ops->func(data); in event_triggers_call() 87 data->ops->func(data); in event_triggers_call() 113 data->ops->func(data); in event_triggers_post_call() 168 data->ops->print(m, data->ops, data); in trigger_show() 404 event_trigger_init(struct event_trigger_ops *ops, in event_trigger_init() argument 422 event_trigger_free(struct event_trigger_ops *ops, in event_trigger_free() argument 475 if (data->ops->free) in clear_event_triggers() 476 data->ops->free(data->ops, data); in clear_event_triggers() 523 static int register_trigger(char *glob, struct event_trigger_ops *ops, in register_trigger() argument 537 if (data->ops->init) { in register_trigger() [all …]
|
/linux-4.4.14/kernel/irq/ |
D | msi.c | 105 struct msi_domain_ops *ops = info->ops; in msi_domain_alloc() local 106 irq_hw_number_t hwirq = ops->get_hwirq(info, arg); in msi_domain_alloc() 117 ret = ops->msi_init(domain, info, virq + i, hwirq + i, arg); in msi_domain_alloc() 119 if (ops->msi_free) { in msi_domain_alloc() 121 ops->msi_free(domain, info, virq + i); in msi_domain_alloc() 137 if (info->ops->msi_free) { in msi_domain_free() 139 info->ops->msi_free(domain, info, virq + i); in msi_domain_free() 208 struct msi_domain_ops *ops = info->ops; in msi_domain_update_dom_ops() local 210 if (ops == NULL) { in msi_domain_update_dom_ops() 211 info->ops = &msi_domain_ops_default; in msi_domain_update_dom_ops() [all …]
|
/linux-4.4.14/include/linux/usb/ |
D | otg-fsm.h | 116 struct otg_fsm_ops *ops; member 141 if (!fsm->ops->chrg_vbus) in otg_chrg_vbus() 143 fsm->ops->chrg_vbus(fsm, on); in otg_chrg_vbus() 149 if (!fsm->ops->drv_vbus) in otg_drv_vbus() 153 fsm->ops->drv_vbus(fsm, on); in otg_drv_vbus() 160 if (!fsm->ops->loc_conn) in otg_loc_conn() 164 fsm->ops->loc_conn(fsm, on); in otg_loc_conn() 171 if (!fsm->ops->loc_sof) in otg_loc_sof() 175 fsm->ops->loc_sof(fsm, on); in otg_loc_sof() 182 if (!fsm->ops->start_pulse) in otg_start_pulse() [all …]
|
D | gadget.h | 214 const struct usb_ep_ops *ops; member 273 ret = ep->ops->enable(ep, ep->desc); in usb_ep_enable() 301 ret = ep->ops->disable(ep); in usb_ep_disable() 327 return ep->ops->alloc_request(ep, gfp_flags); in usb_ep_alloc_request() 342 ep->ops->free_request(ep, req); in usb_ep_free_request() 405 return ep->ops->queue(ep, req, gfp_flags); in usb_ep_queue() 425 return ep->ops->dequeue(ep, req); in usb_ep_dequeue() 451 return ep->ops->set_halt(ep, 1); in usb_ep_set_halt() 469 return ep->ops->set_halt(ep, 0); in usb_ep_clear_halt() 485 if (ep->ops->set_wedge) in usb_ep_set_wedge() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | wmi-ops.h | 196 if (WARN_ON_ONCE(!ar->wmi.ops->rx)) in ath10k_wmi_rx() 199 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx() 207 if (!ar->wmi.ops->map_svc) in ath10k_wmi_map_svc() 210 ar->wmi.ops->map_svc(in, out, len); in ath10k_wmi_map_svc() 218 if (!ar->wmi.ops->pull_scan) in ath10k_wmi_pull_scan() 221 return ar->wmi.ops->pull_scan(ar, skb, arg); in ath10k_wmi_pull_scan() 228 if (!ar->wmi.ops->pull_mgmt_rx) in ath10k_wmi_pull_mgmt_rx() 231 return ar->wmi.ops->pull_mgmt_rx(ar, skb, arg); in ath10k_wmi_pull_mgmt_rx() 238 if (!ar->wmi.ops->pull_ch_info) in ath10k_wmi_pull_ch_info() 241 return ar->wmi.ops->pull_ch_info(ar, skb, arg); in ath10k_wmi_pull_ch_info() [all …]
|
D | hif.h | 96 return ar->hif.ops->tx_sg(ar, pipe_id, items, n_items); in ath10k_hif_tx_sg() 102 return ar->hif.ops->diag_read(ar, address, buf, buf_len); in ath10k_hif_diag_read() 108 if (!ar->hif.ops->diag_write) in ath10k_hif_diag_write() 111 return ar->hif.ops->diag_write(ar, address, data, nbytes); in ath10k_hif_diag_write() 118 return ar->hif.ops->exchange_bmi_msg(ar, request, request_len, in ath10k_hif_exchange_bmi_msg() 124 return ar->hif.ops->start(ar); in ath10k_hif_start() 129 return ar->hif.ops->stop(ar); in ath10k_hif_stop() 136 return ar->hif.ops->map_service_to_pipe(ar, service_id, in ath10k_hif_map_service_to_pipe() 143 ar->hif.ops->get_default_pipe(ar, ul_pipe, dl_pipe); in ath10k_hif_get_default_pipe() 149 ar->hif.ops->send_complete_check(ar, pipe_id, force); in ath10k_hif_send_complete_check() [all …]
|
/linux-4.4.14/drivers/video/fbdev/exynos/ |
D | s6e8ax0.c | 288 struct mipi_dsim_master_ops *ops = lcd_to_master_ops(lcd); in s6e8ax0_panel_cond() local 304 ops->cmd_write(lcd_to_master(lcd), MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_panel_cond() 308 ops->cmd_write(lcd_to_master(lcd), MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_panel_cond() 314 struct mipi_dsim_master_ops *ops = lcd_to_master_ops(lcd); in s6e8ax0_display_cond() local 319 ops->cmd_write(lcd_to_master(lcd), MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_display_cond() 326 struct mipi_dsim_master_ops *ops = lcd_to_master_ops(lcd); in s6e8ax0_gamma_cond() local 329 ops->cmd_write(lcd_to_master(lcd), MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_gamma_cond() 336 struct mipi_dsim_master_ops *ops = lcd_to_master_ops(lcd); in s6e8ax0_gamma_update() local 341 ops->cmd_write(lcd_to_master(lcd), in s6e8ax0_gamma_update() 348 struct mipi_dsim_master_ops *ops = lcd_to_master_ops(lcd); in s6e8ax0_etc_cond1() local [all …]
|
/linux-4.4.14/sound/core/seq/ |
D | seq_midi_emul.c | 47 static void note_off(struct snd_midi_op *ops, void *drv, 50 static void do_control(struct snd_midi_op *ops, void *private, 54 static void rpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, 56 static void nrpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, 58 static void sysex(struct snd_midi_op *ops, void *private, unsigned char *sysex, 60 static void all_sounds_off(struct snd_midi_op *ops, void *private, 62 static void all_notes_off(struct snd_midi_op *ops, void *private, 83 snd_midi_process_event(struct snd_midi_op *ops, in snd_midi_process_event() argument 130 if (ops->note_off) in snd_midi_process_event() 131 ops->note_off(drv, ev->data.note.note, 0, chan); in snd_midi_process_event() [all …]
|
/linux-4.4.14/net/mac802154/ |
D | driver-ops.h | 15 return local->ops->xmit_async(&local->hw, skb); in drv_xmit_async() 26 return local->ops->xmit_sync(&local->hw, skb); in drv_xmit_sync() 38 ret = local->ops->start(&local->hw); in drv_start() 48 local->ops->stop(&local->hw); in drv_stop() 68 ret = local->ops->set_channel(&local->hw, page, channel); in drv_set_channel() 79 if (!local->ops->set_txpower) { in drv_set_tx_power() 85 ret = local->ops->set_txpower(&local->hw, mbm); in drv_set_tx_power() 97 if (!local->ops->set_cca_mode) { in drv_set_cca_mode() 103 ret = local->ops->set_cca_mode(&local->hw, cca); in drv_set_cca_mode() 114 if (!local->ops->set_lbt) { in drv_set_lbt_mode() [all …]
|
/linux-4.4.14/drivers/clk/qcom/ |
D | gcc-msm8974.c | 79 .ops = &clk_pll_ops, 90 .ops = &clk_pll_vote_ops, 102 .ops = &clk_rcg2_ops, 114 .ops = &clk_rcg2_ops, 126 .ops = &clk_rcg2_ops, 142 .ops = &clk_pll_ops, 153 .ops = &clk_pll_vote_ops, 169 .ops = &clk_pll_ops, 180 .ops = &clk_pll_vote_ops, 199 .ops = &clk_rcg2_ops, [all …]
|
D | gcc-apq8084.c | 123 .ops = &clk_pll_ops, 134 .ops = &clk_pll_vote_ops, 146 .ops = &clk_rcg2_ops, 158 .ops = &clk_rcg2_ops, 170 .ops = &clk_rcg2_ops, 186 .ops = &clk_pll_ops, 197 .ops = &clk_pll_vote_ops, 213 .ops = &clk_pll_ops, 224 .ops = &clk_pll_vote_ops, 245 .ops = &clk_rcg2_ops, [all …]
|
D | mmcc-msm8974.c | 201 .ops = &clk_pll_ops, 212 .ops = &clk_pll_vote_ops, 228 .ops = &clk_pll_ops, 239 .ops = &clk_pll_vote_ops, 254 .ops = &clk_pll_ops, 270 .ops = &clk_pll_ops, 282 .ops = &clk_rcg2_ops, 307 .ops = &clk_rcg2_ops, 331 .ops = &clk_rcg2_ops, 350 .ops = &clk_rcg2_ops, [all …]
|
D | mmcc-apq8084.c | 236 .ops = &clk_pll_ops, 247 .ops = &clk_pll_vote_ops, 263 .ops = &clk_pll_ops, 274 .ops = &clk_pll_vote_ops, 289 .ops = &clk_pll_ops, 305 .ops = &clk_pll_ops, 320 .ops = &clk_pll_ops, 332 .ops = &clk_rcg2_ops, 357 .ops = &clk_rcg2_ops, 381 .ops = &clk_rcg2_ops, [all …]
|
D | gcc-msm8916.c | 281 .ops = &clk_pll_ops, 292 .ops = &clk_pll_vote_ops, 308 .ops = &clk_pll_ops, 319 .ops = &clk_pll_vote_ops, 335 .ops = &clk_pll_ops, 346 .ops = &clk_pll_vote_ops, 362 .ops = &clk_pll_ops, 373 .ops = &clk_pll_vote_ops, 385 .ops = &clk_rcg2_ops, 397 .ops = &clk_rcg2_ops, [all …]
|
D | gcc-msm8660.c | 47 .ops = &clk_pll_ops, 58 .ops = &clk_pll_vote_ops, 135 .ops = &clk_rcg_ops, 153 .ops = &clk_branch_ops, 186 .ops = &clk_rcg_ops, 204 .ops = &clk_branch_ops, 237 .ops = &clk_rcg_ops, 255 .ops = &clk_branch_ops, 288 .ops = &clk_rcg_ops, 306 .ops = &clk_branch_ops, [all …]
|
D | gcc-ipq806x.c | 47 .ops = &clk_pll_ops, 58 .ops = &clk_pll_vote_ops, 74 .ops = &clk_pll_ops, 85 .ops = &clk_pll_vote_ops, 101 .ops = &clk_pll_ops, 112 .ops = &clk_pll_vote_ops, 128 .ops = &clk_pll_ops, 139 .ops = &clk_pll_vote_ops, 172 .ops = &clk_pll_ops, 296 .ops = &clk_rcg_ops, [all …]
|
D | gcc-msm8960.c | 47 .ops = &clk_pll_ops, 58 .ops = &clk_pll_vote_ops, 74 .ops = &clk_pll_ops, 85 .ops = &clk_pll_vote_ops, 101 .ops = &clk_pll_ops, 112 .ops = &clk_pll_vote_ops, 202 .ops = &clk_rcg_ops, 220 .ops = &clk_branch_ops, 253 .ops = &clk_rcg_ops, 271 .ops = &clk_branch_ops, [all …]
|
D | mmcc-msm8960.c | 128 .ops = &clk_pll_ops, 144 .ops = &clk_pll_ops, 205 .ops = &clk_rcg_ops, 220 .ops = &clk_branch_ops, 254 .ops = &clk_rcg_ops, 269 .ops = &clk_branch_ops, 303 .ops = &clk_rcg_ops, 318 .ops = &clk_branch_ops, 358 .ops = &clk_rcg_ops, 373 .ops = &clk_branch_ops, [all …]
|
/linux-4.4.14/drivers/video/backlight/ |
D | lcd.c | 45 if (!ld->ops) in fb_notifier_callback() 49 if (!ld->ops->check_fb || ld->ops->check_fb(ld, evdata->info)) { in fb_notifier_callback() 51 if (ld->ops->set_power) in fb_notifier_callback() 52 ld->ops->set_power(ld, *(int *)evdata->data); in fb_notifier_callback() 54 if (ld->ops->early_set_power) in fb_notifier_callback() 55 ld->ops->early_set_power(ld, in fb_notifier_callback() 58 if (ld->ops->r_early_set_power) in fb_notifier_callback() 59 ld->ops->r_early_set_power(ld, in fb_notifier_callback() 62 if (ld->ops->set_mode) in fb_notifier_callback() 63 ld->ops->set_mode(ld, evdata->data); in fb_notifier_callback() [all …]
|
D | backlight.c | 54 if (bd->ops) in fb_notifier_callback() 55 if (!bd->ops->check_fb || in fb_notifier_callback() 56 bd->ops->check_fb(bd, evdata->info)) { in fb_notifier_callback() 145 if (bd->ops) { in bl_power_store() 181 if (bd->ops) { in brightness_store() 224 if (bd->ops && bd->ops->get_brightness) in actual_brightness_show() 225 rc = sprintf(buf, "%d\n", bd->ops->get_brightness(bd)); in actual_brightness_show() 242 if (bd->ops && bd->ops->options & BL_CORE_SUSPENDRESUME) { in backlight_suspend() 256 if (bd->ops && bd->ops->options & BL_CORE_SUSPENDRESUME) { in backlight_resume() 297 if (bd->ops && bd->ops->get_brightness) in backlight_force_update() [all …]
|
/linux-4.4.14/mm/ |
D | frontswap.c | 31 #define for_each_frontswap_ops(ops) \ argument 32 for ((ops) = frontswap_ops; (ops); (ops) = (ops)->next) 112 void frontswap_register_ops(struct frontswap_ops *ops) in frontswap_register_ops() argument 131 ops->init(i); in frontswap_register_ops() 139 ops->next = frontswap_ops; in frontswap_register_ops() 140 } while (cmpxchg(&frontswap_ops, ops->next, ops) != ops->next); in frontswap_register_ops() 158 ops->init(i); in frontswap_register_ops() 160 ops->invalidate_area(i); in frontswap_register_ops() 190 struct frontswap_ops *ops; in __frontswap_init() local 207 for_each_frontswap_ops(ops) in __frontswap_init() [all …]
|
D | mmu_notifier.c | 73 if (mn->ops->release) in __mmu_notifier_release() 74 mn->ops->release(mn, mm); in __mmu_notifier_release() 118 if (mn->ops->clear_flush_young) in __mmu_notifier_clear_flush_young() 119 young |= mn->ops->clear_flush_young(mn, mm, start, end); in __mmu_notifier_clear_flush_young() 135 if (mn->ops->clear_young) in __mmu_notifier_clear_young() 136 young |= mn->ops->clear_young(mn, mm, start, end); in __mmu_notifier_clear_young() 151 if (mn->ops->test_young) { in __mmu_notifier_test_young() 152 young = mn->ops->test_young(mn, mm, address); in __mmu_notifier_test_young() 170 if (mn->ops->change_pte) in __mmu_notifier_change_pte() 171 mn->ops->change_pte(mn, mm, address, pte); in __mmu_notifier_change_pte() [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
D | iwl-op-mode.h | 170 int iwl_opmode_register(const char *name, const struct iwl_op_mode_ops *ops); 180 const struct iwl_op_mode_ops *ops; member 188 op_mode->ops->stop(op_mode); in iwl_op_mode_stop() 195 return op_mode->ops->rx(op_mode, napi, rxb); in iwl_op_mode_rx() 203 op_mode->ops->rx_rss(op_mode, napi, rxb, queue); in iwl_op_mode_rx_rss() 209 op_mode->ops->queue_full(op_mode, queue); in iwl_op_mode_queue_full() 215 op_mode->ops->queue_not_full(op_mode, queue); in iwl_op_mode_queue_not_full() 222 return op_mode->ops->hw_rf_kill(op_mode, state); in iwl_op_mode_hw_rf_kill() 228 op_mode->ops->free_skb(op_mode, skb); in iwl_op_mode_free_skb() 233 op_mode->ops->nic_error(op_mode); in iwl_op_mode_nic_error() [all …]
|
D | iwl-trans.h | 684 const struct iwl_trans_ops *ops; member 743 trans->ops->configure(trans, trans_cfg); in iwl_trans_configure() 750 return trans->ops->start_hw(trans, low_power); in _iwl_trans_start_hw() 755 return trans->ops->start_hw(trans, true); in iwl_trans_start_hw() 762 if (trans->ops->op_mode_leave) in iwl_trans_op_mode_leave() 763 trans->ops->op_mode_leave(trans); in iwl_trans_op_mode_leave() 776 trans->ops->fw_alive(trans, scd_addr); in iwl_trans_fw_alive() 788 return trans->ops->start_fw(trans, fw, run_in_rfkill); in iwl_trans_start_fw() 796 if (trans->ops->update_sf) in iwl_trans_update_sf() 797 return trans->ops->update_sf(trans, st_fwrd_space); in iwl_trans_update_sf() [all …]
|
/linux-4.4.14/drivers/target/ |
D | target_core_hba.c | 51 int transport_backend_register(const struct target_backend_ops *ops) in transport_backend_register() argument 58 tb->ops = ops; in transport_backend_register() 62 if (!strcmp(old->ops->name, ops->name)) { in transport_backend_register() 63 pr_err("backend %s already registered.\n", ops->name); in transport_backend_register() 74 ops->name, ops->owner); in transport_backend_register() 79 void target_backend_unregister(const struct target_backend_ops *ops) in target_backend_unregister() argument 85 if (tb->ops == ops) { in target_backend_unregister() 109 if (!strcmp(tb->ops->name, name)) in core_get_backend() 115 if (tb->ops->owner && !try_module_get(tb->ops->owner)) in core_get_backend() 145 ret = hba->backend->ops->attach_hba(hba, plugin_dep_id); in core_alloc_hba() [all …]
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | pci_hotplug_core.c | 69 struct hotplug_slot_ops *ops = slot->ops; \ 71 if (!try_module_get(ops->owner)) \ 73 if (ops->get_##name) \ 74 retval = ops->get_##name(slot, value); \ 77 module_put(ops->owner); \ 110 if (!try_module_get(slot->ops->owner)) { in power_write_file() 116 if (slot->ops->disable_slot) in power_write_file() 117 retval = slot->ops->disable_slot(slot); in power_write_file() 121 if (slot->ops->enable_slot) in power_write_file() 122 retval = slot->ops->enable_slot(slot); in power_write_file() [all …]
|
D | pciehp_core.c | 80 kfree(hotplug_slot->ops); in release_slot() 90 struct hotplug_slot_ops *ops = NULL; in init_slot() local 103 ops = kzalloc(sizeof(*ops), GFP_KERNEL); in init_slot() 104 if (!ops) in init_slot() 107 ops->enable_slot = enable_slot; in init_slot() 108 ops->disable_slot = disable_slot; in init_slot() 109 ops->get_power_status = get_power_status; in init_slot() 110 ops->get_adapter_status = get_adapter_status; in init_slot() 111 ops->reset_slot = reset_slot; in init_slot() 113 ops->get_latch_status = get_latch_status; in init_slot() [all …]
|
/linux-4.4.14/net/ieee802154/ |
D | rdev-ops.h | 15 return rdev->ops->add_virtual_intf_deprecated(&rdev->wpan_phy, name, in rdev_add_virtual_intf_deprecated() 23 rdev->ops->del_virtual_intf_deprecated(&rdev->wpan_phy, dev); in rdev_del_virtual_intf_deprecated() 31 ret = rdev->ops->suspend(&rdev->wpan_phy); in rdev_suspend() 41 ret = rdev->ops->resume(&rdev->wpan_phy); in rdev_resume() 55 ret = rdev->ops->add_virtual_intf(&rdev->wpan_phy, name, in rdev_add_virtual_intf() 69 ret = rdev->ops->del_virtual_intf(&rdev->wpan_phy, wpan_dev); in rdev_del_virtual_intf() 80 ret = rdev->ops->set_channel(&rdev->wpan_phy, page, channel); in rdev_set_channel() 92 ret = rdev->ops->set_cca_mode(&rdev->wpan_phy, cca); in rdev_set_cca_mode() 103 ret = rdev->ops->set_cca_ed_level(&rdev->wpan_phy, ed_level); in rdev_set_cca_ed_level() 115 ret = rdev->ops->set_tx_power(&rdev->wpan_phy, power); in rdev_set_tx_power() [all …]
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_crtc.c | 28 if (exynos_crtc->ops->enable) in exynos_drm_crtc_enable() 29 exynos_crtc->ops->enable(exynos_crtc); in exynos_drm_crtc_enable() 40 if (exynos_crtc->ops->disable) in exynos_drm_crtc_disable() 41 exynos_crtc->ops->disable(exynos_crtc); in exynos_drm_crtc_disable() 49 if (exynos_crtc->ops->commit) in exynos_drm_crtc_mode_set_nofb() 50 exynos_crtc->ops->commit(exynos_crtc); in exynos_drm_crtc_mode_set_nofb() 61 if (exynos_crtc->ops->atomic_check) in exynos_crtc_atomic_check() 62 return exynos_crtc->ops->atomic_check(exynos_crtc, state); in exynos_crtc_atomic_check() 78 if (exynos_crtc->ops->atomic_begin) in exynos_crtc_atomic_begin() 79 exynos_crtc->ops->atomic_begin(exynos_crtc, in exynos_crtc_atomic_begin() [all …]
|
/linux-4.4.14/arch/mips/pci/ |
D | Makefile | 10 obj-$(CONFIG_MIPS_BONITO64) += ops-bonito64.o 11 obj-$(CONFIG_PCI_GT64XXX_PCI0) += ops-gt64xxx_pci0.o 12 obj-$(CONFIG_MIPS_MSC) += ops-msc.o 13 obj-$(CONFIG_MIPS_NILE4) += ops-nile4.o 14 obj-$(CONFIG_SOC_TX3927) += ops-tx3927.o 15 obj-$(CONFIG_PCI_VR41XX) += ops-vr41xx.o pci-vr41xx.o 16 obj-$(CONFIG_NEC_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o 17 obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o 20 ops-bcm63xx.o 31 obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-loongson2.o [all …]
|
/linux-4.4.14/sound/hda/ |
D | hdac_i915.c | 43 if (!acomp || !acomp->ops) in snd_hdac_set_codec_wakeup() 46 if (!acomp->ops->codec_wake_override) { in snd_hdac_set_codec_wakeup() 55 acomp->ops->codec_wake_override(acomp->dev, enable); in snd_hdac_set_codec_wakeup() 78 if (!acomp || !acomp->ops) in snd_hdac_display_power() 86 acomp->ops->get_power(acomp->dev); in snd_hdac_display_power() 93 acomp->ops->put_power(acomp->dev); in snd_hdac_display_power() 114 if (!acomp || !acomp->ops) in snd_hdac_get_display_clk() 117 return acomp->ops->get_cdclk_freq(acomp->dev); in snd_hdac_get_display_clk() 130 if (WARN_ON(!(acomp->dev && acomp->ops && acomp->ops->get_power && in hdac_component_master_bind() 131 acomp->ops->put_power && acomp->ops->get_cdclk_freq))) { in hdac_component_master_bind() [all …]
|
/linux-4.4.14/kernel/time/ |
D | posix-clock.c | 61 if (clk->ops.read) in posix_clock_read() 62 err = clk->ops.read(clk, fp->f_flags, buf, count); in posix_clock_read() 77 if (clk->ops.poll) in posix_clock_poll() 78 result = clk->ops.poll(clk, fp, wait); in posix_clock_poll() 93 if (clk->ops.fasync) in posix_clock_fasync() 94 err = clk->ops.fasync(clk, fd, fp, on); in posix_clock_fasync() 109 if (clk->ops.mmap) in posix_clock_mmap() 110 err = clk->ops.mmap(clk, vma); in posix_clock_mmap() 126 if (clk->ops.ioctl) in posix_clock_ioctl() 127 err = clk->ops.ioctl(clk, cmd, arg); in posix_clock_ioctl() [all …]
|
/linux-4.4.14/net/ceph/ |
D | auth.c | 67 if (ac->ops) in ceph_auth_destroy() 68 ac->ops->destroy(ac); in ceph_auth_destroy() 79 if (ac->ops && !ac->negotiating) in ceph_auth_reset() 80 ac->ops->reset(ac); in ceph_auth_reset() 158 ret = ac->ops->build_request(ac, p + sizeof(u32), end); in ceph_build_auth_request() 161 ac->ops->name); in ceph_build_auth_request() 223 ac->ops->destroy(ac); in ceph_handle_auth_reply() 225 ac->ops = NULL; in ceph_handle_auth_reply() 239 ret = ac->ops->handle_reply(ac, result, payload, payload_end); in ceph_handle_auth_reply() 243 pr_err("auth method '%s' error %d\n", ac->ops->name, ret); in ceph_handle_auth_reply() [all …]
|
/linux-4.4.14/drivers/net/phy/ |
D | mdio-bitbang.c | 49 const struct mdiobb_ops *ops = ctrl->ops; in mdiobb_send_bit() local 51 ops->set_mdio_data(ctrl, val); in mdiobb_send_bit() 53 ops->set_mdc(ctrl, 1); in mdiobb_send_bit() 55 ops->set_mdc(ctrl, 0); in mdiobb_send_bit() 61 const struct mdiobb_ops *ops = ctrl->ops; in mdiobb_get_bit() local 64 ops->set_mdc(ctrl, 1); in mdiobb_get_bit() 66 ops->set_mdc(ctrl, 0); in mdiobb_get_bit() 68 return ops->get_mdio_data(ctrl); in mdiobb_get_bit() 99 const struct mdiobb_ops *ops = ctrl->ops; in mdiobb_cmd() local 102 ops->set_mdio_dir(ctrl, 1); in mdiobb_cmd() [all …]
|
/linux-4.4.14/drivers/powercap/ |
D | powercap_sys.c | 39 if (power_zone->ops->get_##_attr) { \ 40 if (!power_zone->ops->get_##_attr(power_zone, &value)) \ 62 if (power_zone->ops->reset_##_attr) { \ 63 if (!power_zone->ops->reset_##_attr(power_zone)) \ 87 if (pconst && pconst->ops && pconst->ops->get_##_attr) { \ 88 if (!pconst->ops->get_##_attr(power_zone, id, &value)) \ 115 if (pconst && pconst->ops && pconst->ops->set_##_attr) { \ 116 if (!pconst->ops->set_##_attr(power_zone, id, value)) \ 182 if (pconst && pconst->ops && pconst->ops->get_name) { in show_constraint_name() 183 name = pconst->ops->get_name(power_zone, id); in show_constraint_name() [all …]
|
/linux-4.4.14/drivers/media/firewire/ |
D | firedtv-fe.c | 154 struct dvb_frontend_ops *ops = &fdtv->fe.ops; in fdtv_frontend_init() local 155 struct dvb_frontend_info *fi = &ops->info; in fdtv_frontend_init() 157 ops->init = fdtv_dvb_init; in fdtv_frontend_init() 158 ops->sleep = fdtv_sleep; in fdtv_frontend_init() 160 ops->set_frontend = fdtv_set_frontend; in fdtv_frontend_init() 162 ops->read_status = fdtv_read_status; in fdtv_frontend_init() 163 ops->read_ber = fdtv_read_ber; in fdtv_frontend_init() 164 ops->read_signal_strength = fdtv_read_signal_strength; in fdtv_frontend_init() 165 ops->read_snr = fdtv_read_snr; in fdtv_frontend_init() 166 ops->read_ucblocks = fdtv_read_uncorrected_blocks; in fdtv_frontend_init() [all …]
|
/linux-4.4.14/net/wireless/ |
D | rdev-ops.h | 14 ret = rdev->ops->suspend(&rdev->wiphy, wowlan); in rdev_suspend() 23 ret = rdev->ops->resume(&rdev->wiphy); in rdev_resume() 32 rdev->ops->set_wakeup(&rdev->wiphy, enabled); in rdev_set_wakeup() 44 ret = rdev->ops->add_virtual_intf(&rdev->wiphy, name, name_assign_type, in rdev_add_virtual_intf() 56 ret = rdev->ops->del_virtual_intf(&rdev->wiphy, wdev); in rdev_del_virtual_intf() 68 ret = rdev->ops->change_virtual_intf(&rdev->wiphy, dev, type, flags, in rdev_change_virtual_intf() 81 ret = rdev->ops->add_key(&rdev->wiphy, netdev, key_index, pairwise, in rdev_add_key() 94 ret = rdev->ops->get_key(&rdev->wiphy, netdev, key_index, pairwise, in rdev_get_key() 106 ret = rdev->ops->del_key(&rdev->wiphy, netdev, key_index, pairwise, in rdev_del_key() 120 ret = rdev->ops->set_default_key(&rdev->wiphy, netdev, key_index, in rdev_set_default_key() [all …]
|
D | lib80211.c | 38 struct lib80211_crypto_ops *ops; member 76 if (crypt->ops) { in lib80211_crypt_info_free() 77 crypt->ops->deinit(crypt->priv); in lib80211_crypt_info_free() 78 module_put(crypt->ops->owner); in lib80211_crypt_info_free() 100 if (entry->ops) { in lib80211_crypt_deinit_entries() 101 entry->ops->deinit(entry->priv); in lib80211_crypt_deinit_entries() 102 module_put(entry->ops->owner); in lib80211_crypt_deinit_entries() 164 int lib80211_register_crypto_ops(struct lib80211_crypto_ops *ops) in lib80211_register_crypto_ops() argument 173 alg->ops = ops; in lib80211_register_crypto_ops() 180 ops->name); in lib80211_register_crypto_ops() [all …]
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | tua6100.c | 59 if (fe->ops.i2c_gate_ctrl) in tua6100_sleep() 60 fe->ops.i2c_gate_ctrl(fe, 1); in tua6100_sleep() 64 if (fe->ops.i2c_gate_ctrl) in tua6100_sleep() 65 fe->ops.i2c_gate_ctrl(fe, 0); in tua6100_sleep() 132 if (fe->ops.i2c_gate_ctrl) in tua6100_set_params() 133 fe->ops.i2c_gate_ctrl(fe, 1); in tua6100_set_params() 137 if (fe->ops.i2c_gate_ctrl) in tua6100_set_params() 138 fe->ops.i2c_gate_ctrl(fe, 1); in tua6100_set_params() 142 if (fe->ops.i2c_gate_ctrl) in tua6100_set_params() 143 fe->ops.i2c_gate_ctrl(fe, 1); in tua6100_set_params() [all …]
|
D | stb6000.c | 65 if (fe->ops.i2c_gate_ctrl) in stb6000_sleep() 66 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_sleep() 72 if (fe->ops.i2c_gate_ctrl) in stb6000_sleep() 73 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_sleep() 146 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params() 147 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_set_params() 154 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params() 155 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_set_params() 164 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params() 165 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_set_params() [all …]
|
D | zl10039.c | 150 if (fe->ops.i2c_gate_ctrl) in zl10039_init() 151 fe->ops.i2c_gate_ctrl(fe, 1); in zl10039_init() 164 if (fe->ops.i2c_gate_ctrl) in zl10039_init() 165 fe->ops.i2c_gate_ctrl(fe, 0); in zl10039_init() 176 if (fe->ops.i2c_gate_ctrl) in zl10039_sleep() 177 fe->ops.i2c_gate_ctrl(fe, 1); in zl10039_sleep() 183 if (fe->ops.i2c_gate_ctrl) in zl10039_sleep() 184 fe->ops.i2c_gate_ctrl(fe, 0); in zl10039_sleep() 224 if (fe->ops.i2c_gate_ctrl) in zl10039_set_params() 225 fe->ops.i2c_gate_ctrl(fe, 1); in zl10039_set_params() [all …]
|
D | tda826x.c | 63 if (fe->ops.i2c_gate_ctrl) in tda826x_sleep() 64 fe->ops.i2c_gate_ctrl(fe, 1); in tda826x_sleep() 68 if (fe->ops.i2c_gate_ctrl) in tda826x_sleep() 69 fe->ops.i2c_gate_ctrl(fe, 0); in tda826x_sleep() 112 if (fe->ops.i2c_gate_ctrl) in tda826x_set_params() 113 fe->ops.i2c_gate_ctrl(fe, 1); in tda826x_set_params() 117 if (fe->ops.i2c_gate_ctrl) in tda826x_set_params() 118 fe->ops.i2c_gate_ctrl(fe, 0); in tda826x_set_params() 156 if (fe->ops.i2c_gate_ctrl) in tda826x_attach() 157 fe->ops.i2c_gate_ctrl(fe, 1); in tda826x_attach() [all …]
|
D | zl10036.c | 155 if (fe->ops.i2c_gate_ctrl) in zl10036_sleep() 156 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in zl10036_sleep() 160 if (fe->ops.i2c_gate_ctrl) in zl10036_sleep() 161 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ in zl10036_sleep() 320 if ((frequency < fe->ops.info.frequency_min) in zl10036_set_params() 321 || (frequency > fe->ops.info.frequency_max)) in zl10036_set_params() 349 if (fe->ops.i2c_gate_ctrl) in zl10036_set_params() 350 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in zl10036_set_params() 378 if (fe->ops.i2c_gate_ctrl) in zl10036_set_params() 379 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ in zl10036_set_params() [all …]
|
D | ix2505v.c | 143 if ((frequency < fe->ops.info.frequency_min) in ix2505v_set_params() 144 || (frequency > fe->ops.info.frequency_max)) in ix2505v_set_params() 217 if (fe->ops.i2c_gate_ctrl) in ix2505v_set_params() 218 fe->ops.i2c_gate_ctrl(fe, 1); in ix2505v_set_params() 225 if (fe->ops.i2c_gate_ctrl) in ix2505v_set_params() 226 fe->ops.i2c_gate_ctrl(fe, 1); in ix2505v_set_params() 238 if (fe->ops.i2c_gate_ctrl) in ix2505v_set_params() 239 fe->ops.i2c_gate_ctrl(fe, 1); in ix2505v_set_params() 292 if (fe->ops.i2c_gate_ctrl) in ix2505v_attach() 293 fe->ops.i2c_gate_ctrl(fe, 1); in ix2505v_attach() [all …]
|
/linux-4.4.14/sound/ |
D | ac97_bus.c | 33 ac97->id = ac97->bus->ops->read(ac97, AC97_VENDOR_ID1) << 16; in snd_ac97_check_id() 34 ac97->id |= ac97->bus->ops->read(ac97, AC97_VENDOR_ID2); in snd_ac97_check_id() 62 struct snd_ac97_bus_ops *ops = ac97->bus->ops; in snd_ac97_reset() local 64 if (try_warm && ops->warm_reset) { in snd_ac97_reset() 65 ops->warm_reset(ac97); in snd_ac97_reset() 70 if (ops->reset) in snd_ac97_reset() 71 ops->reset(ac97); in snd_ac97_reset() 72 if (ops->warm_reset) in snd_ac97_reset() 73 ops->warm_reset(ac97); in snd_ac97_reset()
|
/linux-4.4.14/include/kvm/ |
D | iodev.h | 45 const struct kvm_io_device_ops *ops; member 49 const struct kvm_io_device_ops *ops) in kvm_iodevice_init() argument 51 dev->ops = ops; in kvm_iodevice_init() 58 return dev->ops->read ? dev->ops->read(vcpu, dev, addr, l, v) in kvm_iodevice_read() 66 return dev->ops->write ? dev->ops->write(vcpu, dev, addr, l, v) in kvm_iodevice_write() 72 if (dev->ops->destructor) in kvm_iodevice_destructor() 73 dev->ops->destructor(dev); in kvm_iodevice_destructor()
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 60 if (h->dev && h->dev->ops && h->dev->ops->get_status) in hns_nic_get_link() 61 link_stat = link_stat && h->dev->ops->get_status(h); in hns_nic_get_link() 137 if (!h->dev || !h->dev->ops || !h->dev->ops->get_info) in hns_nic_get_settings() 140 ret = h->dev->ops->get_info(h, NULL, &speed, &duplex); in hns_nic_get_settings() 203 !priv->ae_handle->dev->ops) in hns_nic_set_settings() 231 if (h->dev->ops->adjust_link) { in hns_nic_set_settings() 232 h->dev->ops->adjust_link(h, (int)speed, cmd->duplex); in hns_nic_set_settings() 322 if ((h->dev->ops->set_loopback) && in __lb_setup() 324 ret = h->dev->ops->set_loopback(h, loop, 0x1); in __lb_setup() 327 if (h->dev->ops->set_loopback) in __lb_setup() [all …]
|
/linux-4.4.14/drivers/mtd/ |
D | mtdchar.c | 187 struct mtd_oob_ops ops; in mtdchar_read() local 189 ops.mode = MTD_OPS_RAW; in mtdchar_read() 190 ops.datbuf = kbuf; in mtdchar_read() 191 ops.oobbuf = NULL; in mtdchar_read() 192 ops.len = len; in mtdchar_read() 194 ret = mtd_read_oob(mtd, *ppos, &ops); in mtdchar_read() 195 retlen = ops.retlen; in mtdchar_read() 281 struct mtd_oob_ops ops; in mtdchar_write() local 283 ops.mode = MTD_OPS_RAW; in mtdchar_write() 284 ops.datbuf = kbuf; in mtdchar_write() [all …]
|
/linux-4.4.14/drivers/mmc/core/ |
D | pwrseq.c | 92 if (pwrseq && pwrseq->ops && pwrseq->ops->pre_power_on) in mmc_pwrseq_pre_power_on() 93 pwrseq->ops->pre_power_on(host); in mmc_pwrseq_pre_power_on() 100 if (pwrseq && pwrseq->ops && pwrseq->ops->post_power_on) in mmc_pwrseq_post_power_on() 101 pwrseq->ops->post_power_on(host); in mmc_pwrseq_post_power_on() 108 if (pwrseq && pwrseq->ops && pwrseq->ops->power_off) in mmc_pwrseq_power_off() 109 pwrseq->ops->power_off(host); in mmc_pwrseq_power_off() 116 if (pwrseq && pwrseq->ops && pwrseq->ops->free) in mmc_pwrseq_free() 117 pwrseq->ops->free(host); in mmc_pwrseq_free()
|
/linux-4.4.14/net/openvswitch/ |
D | vport.c | 74 int __ovs_vport_ops_register(struct vport_ops *ops) in __ovs_vport_ops_register() argument 81 if (ops->type == o->type) in __ovs_vport_ops_register() 84 list_add_tail(&ops->list, &vport_ops_list); in __ovs_vport_ops_register() 92 void ovs_vport_ops_unregister(struct vport_ops *ops) in ovs_vport_ops_unregister() argument 95 list_del(&ops->list); in ovs_vport_ops_unregister() 131 struct vport *ovs_vport_alloc(int priv_size, const struct vport_ops *ops, in ovs_vport_alloc() argument 149 vport->ops = ops; in ovs_vport_alloc() 183 struct vport_ops *ops; in ovs_vport_lookup() local 185 list_for_each_entry(ops, &vport_ops_list, list) in ovs_vport_lookup() 186 if (ops->type == parms->type) in ovs_vport_lookup() [all …]
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | clock_data.c | 80 .ops = &clkops_null, 86 .ops = &clkops_null, 97 .ops = &clkops_generic, 110 .ops = &clkops_generic, 121 .ops = &clkops_null, 132 .ops = &clkops_generic, 151 .ops = &clkops_generic, 162 .ops = &clkops_generic, 175 .ops = &clkops_generic, 188 .ops = &clkops_generic, [all …]
|
/linux-4.4.14/arch/blackfin/mach-bf609/ |
D | clock.c | 92 if (clk->ops && clk->ops->enable) in clk_enable() 93 ret = clk->ops->enable(clk); in clk_enable() 100 if (clk->ops && clk->ops->disable) in clk_disable() 101 clk->ops->disable(clk); in clk_disable() 109 if (clk->ops && clk->ops->get_rate) in clk_get_rate() 110 ret = clk->ops->get_rate(clk); in clk_get_rate() 118 if (clk->ops && clk->ops->round_rate) in clk_round_rate() 119 ret = clk->ops->round_rate(clk, rate); in clk_round_rate() 127 if (clk->ops && clk->ops->set_rate) in clk_set_rate() 128 ret = clk->ops->set_rate(clk, rate); in clk_set_rate() [all …]
|
/linux-4.4.14/drivers/staging/goldfish/ |
D | goldfish_nand.c | 133 struct mtd_oob_ops *ops) in goldfish_nand_read_oob() argument 137 if (ofs + ops->len > mtd->size) in goldfish_nand_read_oob() 139 if (ops->datbuf && ops->len && ops->len != mtd->writesize) in goldfish_nand_read_oob() 141 if (ops->ooblen + ops->ooboffs > mtd->oobsize) in goldfish_nand_read_oob() 149 if (ops->datbuf) in goldfish_nand_read_oob() 150 ops->retlen = goldfish_nand_cmd(mtd, NAND_CMD_READ, ofs, in goldfish_nand_read_oob() 151 ops->len, ops->datbuf); in goldfish_nand_read_oob() 152 ofs += mtd->writesize + ops->ooboffs; in goldfish_nand_read_oob() 153 if (ops->oobbuf) in goldfish_nand_read_oob() 154 ops->oobretlen = goldfish_nand_cmd(mtd, NAND_CMD_READ, ofs, in goldfish_nand_read_oob() [all …]
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | phy_common.c | 46 phy->ops = NULL; in b43_phy_allocate() 51 phy->ops = &b43_phyops_g; in b43_phy_allocate() 56 phy->ops = &b43_phyops_n; in b43_phy_allocate() 61 phy->ops = &b43_phyops_lp; in b43_phy_allocate() 66 phy->ops = &b43_phyops_ht; in b43_phy_allocate() 71 phy->ops = &b43_phyops_lcn; in b43_phy_allocate() 76 phy->ops = &b43_phyops_ac; in b43_phy_allocate() 80 if (B43_WARN_ON(!phy->ops)) in b43_phy_allocate() 83 err = phy->ops->allocate(dev); in b43_phy_allocate() 85 phy->ops = NULL; in b43_phy_allocate() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
D | vf.c | 56 mac->ops.reset_hw = e1000_reset_hw_vf; in e1000_init_mac_params_vf() 58 mac->ops.init_hw = e1000_init_hw_vf; in e1000_init_mac_params_vf() 60 mac->ops.check_for_link = e1000_check_for_link_vf; in e1000_init_mac_params_vf() 62 mac->ops.get_link_up_info = e1000_get_link_up_info_vf; in e1000_init_mac_params_vf() 64 mac->ops.update_mc_addr_list = e1000_update_mc_addr_list_vf; in e1000_init_mac_params_vf() 66 mac->ops.rar_set = e1000_rar_set_vf; in e1000_init_mac_params_vf() 68 mac->ops.read_mac_addr = e1000_read_mac_addr_vf; in e1000_init_mac_params_vf() 70 mac->ops.set_vfta = e1000_set_vfta_vf; in e1000_init_mac_params_vf() 81 hw->mac.ops.init_params = e1000_init_mac_params_vf; in e1000_init_function_pointers_vf() 82 hw->mbx.ops.init_params = e1000_init_mbx_params_vf; in e1000_init_function_pointers_vf() [all …]
|
D | mbx.c | 40 if (!mbx->ops.check_for_msg) in e1000_poll_for_msg() 43 while (countdown && mbx->ops.check_for_msg(hw)) { in e1000_poll_for_msg() 66 if (!mbx->ops.check_for_ack) in e1000_poll_for_ack() 69 while (countdown && mbx->ops.check_for_ack(hw)) { in e1000_poll_for_ack() 95 if (!mbx->ops.read) in e1000_read_posted_mbx() 102 ret_val = mbx->ops.read(hw, msg, size); in e1000_read_posted_mbx() 122 if (!mbx->ops.write || !mbx->timeout) in e1000_write_posted_mbx() 126 ret_val = mbx->ops.write(hw, msg, size); in e1000_write_posted_mbx() 334 mbx->ops.read = e1000_read_mbx_vf; in e1000_init_mbx_params_vf() 335 mbx->ops.write = e1000_write_mbx_vf; in e1000_init_mbx_params_vf() [all …]
|
/linux-4.4.14/net/sched/ |
D | ematch.c | 126 int tcf_em_register(struct tcf_ematch_ops *ops) in tcf_em_register() argument 131 if (ops->match == NULL) in tcf_em_register() 136 if (ops->kind == e->kind) in tcf_em_register() 139 list_add_tail(&ops->link, &ematch_ops); in tcf_em_register() 158 void tcf_em_unregister(struct tcf_ematch_ops *ops) in tcf_em_unregister() argument 161 list_del(&ops->link); in tcf_em_unregister() 216 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate() 218 if (em->ops == NULL) { in tcf_em_validate() 224 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate() 225 if (em->ops) { in tcf_em_validate() [all …]
|
/linux-4.4.14/drivers/iommu/ |
D | of_iommu.c | 101 struct iommu_ops *ops; member 106 void of_iommu_set_ops(struct device_node *np, struct iommu_ops *ops) in of_iommu_set_ops() argument 115 iommu->ops = ops; in of_iommu_set_ops() 124 struct iommu_ops *ops = NULL; in of_iommu_get_ops() local 129 ops = node->ops; in of_iommu_get_ops() 133 return ops; in of_iommu_get_ops() 141 struct iommu_ops *ops = NULL; in of_iommu_configure() local 160 ops = of_iommu_get_ops(np); in of_iommu_configure() 162 if (!ops || !ops->of_xlate || ops->of_xlate(dev, &iommu_spec)) in of_iommu_configure() 169 return ops; in of_iommu_configure()
|
D | io-pgtable-arm.c | 42 container_of((x), struct io_pgtable, ops) 379 static int arm_lpae_map(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_map() argument 382 struct arm_lpae_io_pgtable *data = io_pgtable_ops_to_data(ops); in arm_lpae_map() 527 static int arm_lpae_unmap(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap() argument 531 struct arm_lpae_io_pgtable *data = io_pgtable_ops_to_data(ops); in arm_lpae_unmap() 543 static phys_addr_t arm_lpae_iova_to_phys(struct io_pgtable_ops *ops, in arm_lpae_iova_to_phys() argument 546 struct arm_lpae_io_pgtable *data = io_pgtable_ops_to_data(ops); in arm_lpae_iova_to_phys() 649 data->iop.ops = (struct io_pgtable_ops) { in arm_lpae_alloc_pgtable() 911 static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops) in arm_lpae_dump_ops() argument 913 struct arm_lpae_io_pgtable *data = io_pgtable_ops_to_data(ops); in arm_lpae_dump_ops() [all …]
|
D | iommu.c | 41 const struct iommu_ops *ops; member 340 BUG_ON(!domain->ops->pgsize_bitmap); in iommu_group_create_direct_mappings() 342 pg_size = 1UL << __ffs(domain->ops->pgsize_bitmap); in iommu_group_create_direct_mappings() 828 const struct iommu_ops *ops = dev->bus->iommu_ops; in iommu_group_get_for_dev() local 838 if (ops && ops->device_group) in iommu_group_get_for_dev() 839 group = ops->device_group(dev); in iommu_group_get_for_dev() 872 const struct iommu_ops *ops = cb->ops; in add_iommu_group() local 875 if (!ops->add_device) in add_iommu_group() 880 ret = ops->add_device(dev); in add_iommu_group() 896 const struct iommu_ops *ops = cb->ops; in remove_iommu_group() local [all …]
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | bus.h | 140 struct brcmf_bus_ops *ops; member 149 if (!bus->ops->preinit) in brcmf_bus_preinit() 151 return bus->ops->preinit(bus->dev); in brcmf_bus_preinit() 156 bus->ops->stop(bus->dev); in brcmf_bus_stop() 161 return bus->ops->txdata(bus->dev, skb); in brcmf_bus_txdata() 167 return bus->ops->txctl(bus->dev, msg, len); in brcmf_bus_txctl() 173 return bus->ops->rxctl(bus->dev, msg, len); in brcmf_bus_rxctl() 179 if (!bus->ops->gettxq) in brcmf_bus_gettxq() 182 return bus->ops->gettxq(bus->dev); in brcmf_bus_gettxq() 188 if (bus->ops->wowl_config) in brcmf_bus_wowl_config() [all …]
|
D | chip.c | 235 const struct brcmf_buscore_ops *ops; member 253 regdata = ci->ops->read32(ci->ctx, CORE_SB(core->base, sbidhigh)); in brcmf_chip_sb_corerev() 265 regdata = ci->ops->read32(ci->ctx, address); in brcmf_chip_sb_iscoreup() 278 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_iscoreup() 281 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_RESET_CTL); in brcmf_chip_ai_iscoreup() 295 val = ci->ops->read32(ci->ctx, CORE_SB(base, sbtmstatelow)); in brcmf_chip_sb_coredisable() 299 val = ci->ops->read32(ci->ctx, CORE_SB(base, sbtmstatelow)); in brcmf_chip_sb_coredisable() 305 val = ci->ops->read32(ci->ctx, CORE_SB(base, sbtmstatelow)); in brcmf_chip_sb_coredisable() 306 ci->ops->write32(ci->ctx, CORE_SB(base, sbtmstatelow), in brcmf_chip_sb_coredisable() 309 val = ci->ops->read32(ci->ctx, CORE_SB(base, sbtmstatelow)); in brcmf_chip_sb_coredisable() [all …]
|
/linux-4.4.14/drivers/sh/clk/ |
D | core.c | 230 if (clkp->ops && clkp->ops->recalc) in propagate_rate() 231 clkp->rate = clkp->ops->recalc(clkp); in propagate_rate() 244 if (likely(allow_disable && clk->ops && clk->ops->disable)) in __clk_disable() 245 clk->ops->disable(clk); in __clk_disable() 275 if (clk->ops && clk->ops->enable) { in __clk_enable() 276 ret = clk->ops->enable(clk); in __clk_enable() 321 if (clkp->ops && clkp->ops->recalc) in recalculate_root_clocks() 322 clkp->rate = clkp->ops->recalc(clkp); in recalculate_root_clocks() 440 if (clk->ops && clk->ops->init) in clk_register() 441 clk->ops->init(clk); in clk_register() [all …]
|
/linux-4.4.14/net/ipv6/ |
D | ip6_offload.c | 24 const struct net_offload *ops = NULL; in ipv6_gso_pull_exthdrs() local 31 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_pull_exthdrs() 33 if (unlikely(!ops)) in ipv6_gso_pull_exthdrs() 36 if (!(ops->flags & INET6_PROTO_GSO_EXTHDR)) in ipv6_gso_pull_exthdrs() 62 const struct net_offload *ops; in ipv6_gso_segment() local 109 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_segment() 110 if (likely(ops && ops->callbacks.gso_segment)) { in ipv6_gso_segment() 112 segs = ops->callbacks.gso_segment(skb, features); in ipv6_gso_segment() 169 const struct net_offload *ops; in ipv6_gro_receive() local 196 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive() [all …]
|
/linux-4.4.14/drivers/media/dvb-core/ |
D | dvb_frontend.c | 149 return fe->ops.get_frontend != NULL; in has_get_frontend() 286 __func__, fe->dvb->num, fe->id, fe->ops.info.name); in dvb_frontend_init() 288 if (fe->ops.init) in dvb_frontend_init() 289 fe->ops.init(fe); in dvb_frontend_init() 290 if (fe->ops.tuner_ops.init) { in dvb_frontend_init() 291 if (fe->ops.i2c_gate_ctrl) in dvb_frontend_init() 292 fe->ops.i2c_gate_ctrl(fe, 1); in dvb_frontend_init() 293 fe->ops.tuner_ops.init(fe); in dvb_frontend_init() 294 if (fe->ops.i2c_gate_ctrl) in dvb_frontend_init() 295 fe->ops.i2c_gate_ctrl(fe, 0); in dvb_frontend_init() [all …]
|
/linux-4.4.14/drivers/clk/ti/ |
D | autoidle.c | 51 if (c->ops && c->ops->deny_idle) in omap2_clk_deny_idle() 52 c->ops->deny_idle(c); in omap2_clk_deny_idle() 67 if (c->ops && c->ops->allow_idle) in omap2_clk_allow_idle() 68 c->ops->allow_idle(c); in omap2_clk_allow_idle() 204 if (c->ops && c->ops->allow_idle) in omap2_clk_enable_autoidle_all() 205 c->ops->allow_idle(c); in omap2_clk_enable_autoidle_all() 226 if (c->ops && c->ops->deny_idle) in omap2_clk_disable_autoidle_all() 227 c->ops->deny_idle(c); in omap2_clk_disable_autoidle_all()
|
D | interface.c | 38 const struct clk_hw_omap_ops *ops) in _register_interface() argument 49 clk_hw->ops = ops; in _register_interface() 55 init.ops = &ti_interface_clk_ops; in _register_interface() 74 const struct clk_hw_omap_ops *ops = &clkhwops_iclk_wait; in ti_clk_register_interface() local 85 ops = &clkhwops_iclk; in ti_clk_register_interface() 88 ops = &clkhwops_omap3430es2_iclk_hsotgusb_wait; in ti_clk_register_interface() 91 ops = &clkhwops_omap3430es2_iclk_dss_usbhost_wait; in ti_clk_register_interface() 94 ops = &clkhwops_omap3430es2_iclk_ssi_wait; in ti_clk_register_interface() 97 ops = &clkhwops_am35xx_ipss_wait; in ti_clk_register_interface() 100 (void __iomem *)reg, gate->bit_shift, ops); in ti_clk_register_interface() [all …]
|
D | gate.c | 98 u8 clk_gate_flags, const struct clk_ops *ops, in _register_gate() argument 112 init.ops = ops; in _register_gate() 116 clk_hw->ops = hw_ops; in _register_gate() 136 const struct clk_ops *ops = &omap_gate_clk_ops; in ti_clk_register_gate() local 158 ops = &omap_gate_clk_hsdiv_restore_ops; in ti_clk_register_gate() 169 ops = &omap_gate_clkdm_clk_ops; in ti_clk_register_gate() 179 clk_gate_flags, ops, hw_ops); in ti_clk_register_gate() 186 const struct clk_hw_omap_ops *ops = &clkhwops_wait; in ti_clk_build_component_gate() local 202 ops = NULL; in ti_clk_build_component_gate() 205 ops = &clkhwops_iclk_wait; in ti_clk_build_component_gate() [all …]
|
/linux-4.4.14/drivers/macintosh/ |
D | windfarm.h | 39 const struct wf_control_ops *ops; member 64 s32 vmax = ct->ops->get_max(ct); in wf_control_set_max() 65 return ct->ops->set_value(ct, vmax); in wf_control_set_max() 70 s32 vmin = ct->ops->get_min(ct); in wf_control_set_min() 71 return ct->ops->set_value(ct, vmin); in wf_control_set_min() 76 return ct->ops->set_value(ct, val); in wf_control_set() 81 return ct->ops->get_value(ct, val); in wf_control_get() 86 return ct->ops->get_min(ct); in wf_control_get_min() 91 return ct->ops->get_max(ct); in wf_control_get_max() 108 const struct wf_sensor_ops *ops; member [all …]
|
/linux-4.4.14/fs/kernfs/ |
D | file.c | 68 return kn->attr.ops; in kernfs_ops() 96 const struct kernfs_ops *ops = kernfs_ops(of->kn); in kernfs_seq_stop_active() local 98 if (ops->seq_stop) in kernfs_seq_stop_active() 99 ops->seq_stop(sf, v); in kernfs_seq_stop_active() 106 const struct kernfs_ops *ops; in kernfs_seq_start() local 116 ops = kernfs_ops(of->kn); in kernfs_seq_start() 117 if (ops->seq_start) { in kernfs_seq_start() 118 void *next = ops->seq_start(sf, ppos); in kernfs_seq_start() 135 const struct kernfs_ops *ops = kernfs_ops(of->kn); in kernfs_seq_next() local 137 if (ops->seq_next) { in kernfs_seq_next() [all …]
|
/linux-4.4.14/drivers/dma/sh/ |
D | shdma-base.c | 58 const struct shdma_ops *ops = sdev->ops; in shdma_chan_xfer_ld_queue() local 62 if (ops->channel_busy(schan)) in shdma_chan_xfer_ld_queue() 68 ops->start_xfer(schan, sdesc); in shdma_chan_xfer_ld_queue() 132 const struct shdma_ops *ops = sdev->ops; in shdma_tx_submit() local 140 ops->setup_xfer(schan, schan->slave_id); in shdma_tx_submit() 177 const struct shdma_ops *ops = sdev->ops; in shdma_setup_slave() local 182 ret = ops->set_slave(schan, match, slave_addr, true); in shdma_setup_slave() 195 ret = ops->set_slave(schan, match, slave_addr, false); in shdma_setup_slave() 210 const struct shdma_ops *ops = sdev->ops; in shdma_alloc_chan_resources() local 239 desc = ops->embedded_desc(schan->desc, i); in shdma_alloc_chan_resources() [all …]
|
/linux-4.4.14/drivers/media/radio/ |
D | radio-isa.c | 63 const struct radio_isa_ops *ops = isa->drv->ops; in radio_isa_g_tuner() local 76 if (ops->g_rxsubchans) in radio_isa_g_tuner() 77 v->rxsubchans = ops->g_rxsubchans(isa); in radio_isa_g_tuner() 81 if (ops->g_signal) in radio_isa_g_tuner() 82 v->signal = ops->g_signal(isa); in radio_isa_g_tuner() 93 const struct radio_isa_ops *ops = isa->drv->ops; in radio_isa_s_tuner() local 97 if (ops->s_stereo) { in radio_isa_s_tuner() 99 return ops->s_stereo(isa, isa->stereo); in radio_isa_s_tuner() 114 res = isa->drv->ops->s_frequency(isa, freq); in radio_isa_s_frequency() 139 return isa->drv->ops->s_mute_volume(isa, ctrl->val, in radio_isa_s_ctrl() [all …]
|
/linux-4.4.14/include/trace/events/ |
D | fence.h | 19 __string(driver, fence->ops->get_driver_name(fence)) 20 __string(timeline, fence->ops->get_driver_name(fence)) 24 __string(waiting_driver, f1->ops->get_driver_name(f1)) 25 __string(waiting_timeline, f1->ops->get_timeline_name(f1)) 31 __assign_str(driver, fence->ops->get_driver_name(fence)) 32 __assign_str(timeline, fence->ops->get_timeline_name(fence)) 36 __assign_str(waiting_driver, f1->ops->get_driver_name(f1)) 37 __assign_str(waiting_timeline, f1->ops->get_timeline_name(f1)) 58 __string(driver, fence->ops->get_driver_name(fence)) 59 __string(timeline, fence->ops->get_timeline_name(fence)) [all …]
|
/linux-4.4.14/net/nfc/nci/ |
D | uart.c | 92 if (nu->ops.tx_start) in nci_uart_write_work() 93 nu->ops.tx_start(nu); in nci_uart_write_work() 99 len = tty->ops->write(tty, skb->data, skb->len); in nci_uart_write_work() 111 if (nu->ops.tx_done && nci_uart_queue_empty(nu)) in nci_uart_write_work() 112 nu->ops.tx_done(nu); in nci_uart_write_work() 139 ret = nu->ops.open(nu); in nci_uart_set_driver() 144 nu->ops.close(nu); in nci_uart_set_driver() 168 if (!tty->ops->write) in nci_uart_tty_open() 180 if (tty->ldisc->ops->flush_buffer) in nci_uart_tty_open() 181 tty->ldisc->ops->flush_buffer(tty); in nci_uart_tty_open() [all …]
|
/linux-4.4.14/arch/arm64/kernel/ |
D | armv8_deprecated.c | 58 struct insn_emulation_ops *ops; member 68 static void register_emulation_hooks(struct insn_emulation_ops *ops) in register_emulation_hooks() argument 72 BUG_ON(!ops->hooks); in register_emulation_hooks() 74 for (hook = ops->hooks; hook->instr_mask; hook++) in register_emulation_hooks() 77 pr_notice("Registered %s emulation handler\n", ops->name); in register_emulation_hooks() 80 static void remove_emulation_hooks(struct insn_emulation_ops *ops) in remove_emulation_hooks() argument 84 BUG_ON(!ops->hooks); in remove_emulation_hooks() 86 for (hook = ops->hooks; hook->instr_mask; hook++) in remove_emulation_hooks() 89 pr_notice("Removed %s emulation handler\n", ops->name); in remove_emulation_hooks() 95 if (insn->ops->set_hw_mode) in enable_insn_hw_mode() [all …]
|
/linux-4.4.14/fs/adfs/ |
D | dir.c | 24 struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir; in adfs_readdir() local 32 ret = ops->read(sb, inode->i_ino, inode->i_size, &dir); in adfs_readdir() 49 ret = ops->setpos(&dir, ctx->pos - 2); in adfs_readdir() 52 while (ops->getnext(&dir, &obj) == 0) { in adfs_readdir() 63 ops->free(&dir); in adfs_readdir() 72 struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir; in adfs_dir_update() local 78 if (!ops->update) { in adfs_dir_update() 83 ret = ops->read(sb, obj->parent_id, 0, &dir); in adfs_dir_update() 88 ret = ops->update(&dir, obj); in adfs_dir_update() 92 int err = ops->sync(&dir); in adfs_dir_update() [all …]
|
/linux-4.4.14/sound/soc/intel/common/ |
D | sst-dsp.c | 97 sst->ops->write(sst->addr.shim, offset, value); in sst_dsp_shim_write() 108 val = sst->ops->read(sst->addr.shim, offset); in sst_dsp_shim_read() 120 sst->ops->write64(sst->addr.shim, offset, value); in sst_dsp_shim_write64() 131 val = sst->ops->read64(sst->addr.shim, offset); in sst_dsp_shim_read64() 140 sst->ops->write(sst->addr.shim, offset, value); in sst_dsp_shim_write_unlocked() 146 return sst->ops->read(sst->addr.shim, offset); in sst_dsp_shim_read_unlocked() 152 sst->ops->write64(sst->addr.shim, offset, value); in sst_dsp_shim_write64_unlocked() 158 return sst->ops->read64(sst->addr.shim, offset); in sst_dsp_shim_read64_unlocked() 298 if (sst->ops->dump) in sst_dsp_dump() 299 sst->ops->dump(sst); in sst_dsp_dump() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x550.c | 37 if (mac->ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_get_invariants_X550_x() 38 phy->ops.set_phy_power = NULL; in ixgbe_get_invariants_X550_x() 69 return hw->phy.ops.read_i2c_combined_unlocked(hw, IXGBE_CS4227, reg, in ixgbe_read_cs4227() 83 return hw->phy.ops.write_i2c_combined_unlocked(hw, IXGBE_CS4227, reg, in ixgbe_write_cs4227() 281 status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227() 297 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227() 302 status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227() 321 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227() 323 status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227() 341 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227() [all …]
|
D | ixgbe_phy.c | 128 if (lock && hw->mac.ops.acquire_swfw_sync(hw, swfw_mask)) in ixgbe_read_i2c_combined_generic_int() 162 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_read_i2c_combined_generic_int() 169 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_read_i2c_combined_generic_int() 235 if (lock && hw->mac.ops.acquire_swfw_sync(hw, swfw_mask)) in ixgbe_write_i2c_combined_generic_int() 258 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_write_i2c_combined_generic_int() 264 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_write_i2c_combined_generic_int() 332 hw->phy.ops.read_reg(hw, in ixgbe_identify_phy_generic() 393 status = hw->phy.ops.read_reg(hw, MDIO_DEVID1, MDIO_MMD_PMAPMD, in ixgbe_get_phy_id() 398 status = hw->phy.ops.read_reg(hw, MDIO_DEVID2, MDIO_MMD_PMAPMD, in ixgbe_get_phy_id() 458 (IXGBE_ERR_OVERTEMP == hw->phy.ops.check_overtemp(hw))) in ixgbe_reset_phy_generic() [all …]
|
D | ixgbe_mbx.c | 51 if (!mbx->ops.read) in ixgbe_read_mbx() 54 return mbx->ops.read(hw, msg, size, mbx_id); in ixgbe_read_mbx() 73 if (!mbx->ops.write) in ixgbe_write_mbx() 76 return mbx->ops.write(hw, msg, size, mbx_id); in ixgbe_write_mbx() 90 if (!mbx->ops.check_for_msg) in ixgbe_check_for_msg() 93 return mbx->ops.check_for_msg(hw, mbx_id); in ixgbe_check_for_msg() 107 if (!mbx->ops.check_for_ack) in ixgbe_check_for_ack() 110 return mbx->ops.check_for_ack(hw, mbx_id); in ixgbe_check_for_ack() 124 if (!mbx->ops.check_for_rst) in ixgbe_check_for_rst() 127 return mbx->ops.check_for_rst(hw, mbx_id); in ixgbe_check_for_rst() [all …]
|
D | ixgbe_82598.c | 129 phy->ops.identify(hw); in ixgbe_init_phy_ops_82598() 132 if (mac->ops.get_media_type(hw) == ixgbe_media_type_copper) { in ixgbe_init_phy_ops_82598() 133 mac->ops.setup_link = &ixgbe_setup_copper_link_82598; in ixgbe_init_phy_ops_82598() 134 mac->ops.get_link_capabilities = in ixgbe_init_phy_ops_82598() 140 phy->ops.setup_link = &ixgbe_setup_phy_link_tnx; in ixgbe_init_phy_ops_82598() 141 phy->ops.check_link = &ixgbe_check_phy_link_tnx; in ixgbe_init_phy_ops_82598() 142 phy->ops.get_firmware_version = in ixgbe_init_phy_ops_82598() 146 phy->ops.reset = &ixgbe_reset_phy_nl; in ixgbe_init_phy_ops_82598() 149 ret_val = phy->ops.identify_sfp(hw); in ixgbe_init_phy_ops_82598() 354 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_fc_enable_82598() [all …]
|
D | ixgbe_82599.c | 95 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599() 97 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599() 99 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599() 101 mac->ops.flap_tx_laser = &ixgbe_flap_tx_laser_multispeed_fiber; in ixgbe_init_mac_link_ops_82599() 103 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 104 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 105 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 110 mac->ops.setup_link = &ixgbe_setup_mac_link_multispeed_fiber; in ixgbe_init_mac_link_ops_82599() 111 mac->ops.setup_mac_link = ixgbe_setup_mac_link_82599; in ixgbe_init_mac_link_ops_82599() 112 mac->ops.set_rate_select_speed = in ixgbe_init_mac_link_ops_82599() [all …]
|
/linux-4.4.14/drivers/media/tuners/ |
D | tda8290.c | 237 if (fe->ops.analog_ops.i2c_gate_ctrl) in tda8290_set_params() 238 fe->ops.analog_ops.i2c_gate_ctrl(fe, 1); in tda8290_set_params() 240 if (fe->ops.tuner_ops.set_analog_params) in tda8290_set_params() 241 fe->ops.tuner_ops.set_analog_params(fe, params); in tda8290_set_params() 307 if (fe->ops.analog_ops.i2c_gate_ctrl) in tda8290_set_params() 308 fe->ops.analog_ops.i2c_gate_ctrl(fe, 0); in tda8290_set_params() 431 if (fe->ops.analog_ops.i2c_gate_ctrl) in tda8295_set_params() 432 fe->ops.analog_ops.i2c_gate_ctrl(fe, 1); in tda8295_set_params() 434 if (fe->ops.tuner_ops.set_analog_params) in tda8295_set_params() 435 fe->ops.tuner_ops.set_analog_params(fe, params); in tda8295_set_params() [all …]
|
D | mc44s803.c | 99 if (fe->ops.i2c_gate_ctrl) in mc44s803_init() 100 fe->ops.i2c_gate_ctrl(fe, 1); in mc44s803_init() 205 if (fe->ops.i2c_gate_ctrl) in mc44s803_init() 206 fe->ops.i2c_gate_ctrl(fe, 0); in mc44s803_init() 210 if (fe->ops.i2c_gate_ctrl) in mc44s803_init() 211 fe->ops.i2c_gate_ctrl(fe, 0); in mc44s803_init() 237 if (fe->ops.i2c_gate_ctrl) in mc44s803_set_params() 238 fe->ops.i2c_gate_ctrl(fe, 1); in mc44s803_set_params() 281 if (fe->ops.i2c_gate_ctrl) in mc44s803_set_params() 282 fe->ops.i2c_gate_ctrl(fe, 0); in mc44s803_set_params() [all …]
|
D | fc0012.c | 113 if (fe->ops.i2c_gate_ctrl) in fc0012_init() 114 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in fc0012_init() 122 if (fe->ops.i2c_gate_ctrl) in fc0012_init() 123 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in fc0012_init() 271 if (fe->ops.i2c_gate_ctrl) in fc0012_set_params() 272 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in fc0012_set_params() 323 if (fe->ops.i2c_gate_ctrl) in fc0012_set_params() 324 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in fc0012_set_params() 371 if (fe->ops.i2c_gate_ctrl) in fc0012_get_rf_strength() 372 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in fc0012_get_rf_strength() [all …]
|
D | mxl5007t.c | 594 if (fe->ops.i2c_gate_ctrl) in mxl5007t_get_status() 595 fe->ops.i2c_gate_ctrl(fe, 1); in mxl5007t_get_status() 606 if (fe->ops.i2c_gate_ctrl) in mxl5007t_get_status() 607 fe->ops.i2c_gate_ctrl(fe, 0); in mxl5007t_get_status() 655 if (fe->ops.i2c_gate_ctrl) in mxl5007t_set_params() 656 fe->ops.i2c_gate_ctrl(fe, 1); in mxl5007t_set_params() 673 if (fe->ops.i2c_gate_ctrl) in mxl5007t_set_params() 674 fe->ops.i2c_gate_ctrl(fe, 0); in mxl5007t_set_params() 686 if (fe->ops.i2c_gate_ctrl) in mxl5007t_init() 687 fe->ops.i2c_gate_ctrl(fe, 1); in mxl5007t_init() [all …]
|
D | fc0013.c | 106 if (fe->ops.i2c_gate_ctrl) in fc0013_init() 107 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in fc0013_init() 115 if (fe->ops.i2c_gate_ctrl) in fc0013_init() 116 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in fc0013_init() 137 if (fe->ops.i2c_gate_ctrl) in fc0013_rc_cal_add() 138 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in fc0013_rc_cal_add() 168 if (fe->ops.i2c_gate_ctrl) in fc0013_rc_cal_add() 169 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in fc0013_rc_cal_add() 180 if (fe->ops.i2c_gate_ctrl) in fc0013_rc_cal_reset() 181 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in fc0013_rc_cal_reset() [all …]
|
D | tda18218.c | 150 if (fe->ops.i2c_gate_ctrl) in tda18218_set_params() 151 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in tda18218_set_params() 210 if (fe->ops.i2c_gate_ctrl) in tda18218_set_params() 211 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in tda18218_set_params() 232 if (fe->ops.i2c_gate_ctrl) in tda18218_sleep() 233 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in tda18218_sleep() 238 if (fe->ops.i2c_gate_ctrl) in tda18218_sleep() 239 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in tda18218_sleep() 254 if (fe->ops.i2c_gate_ctrl) in tda18218_init() 255 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in tda18218_init() [all …]
|
D | mt2060.c | 174 if (fe->ops.i2c_gate_ctrl) in mt2060_set_params() 175 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in mt2060_set_params() 239 if (fe->ops.i2c_gate_ctrl) in mt2060_set_params() 240 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ in mt2060_set_params() 306 if (fe->ops.i2c_gate_ctrl) in mt2060_init() 307 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in mt2060_init() 312 if (fe->ops.i2c_gate_ctrl) in mt2060_init() 313 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ in mt2060_init() 323 if (fe->ops.i2c_gate_ctrl) in mt2060_sleep() 324 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in mt2060_sleep() [all …]
|
/linux-4.4.14/drivers/dma-buf/ |
D | seqno-fence.c | 28 return seqno_fence->ops->get_driver_name(fence); in seqno_fence_get_driver_name() 35 return seqno_fence->ops->get_timeline_name(fence); in seqno_fence_get_timeline_name() 42 return seqno_fence->ops->enable_signaling(fence); in seqno_enable_signaling() 49 return seqno_fence->ops->signaled && seqno_fence->ops->signaled(fence); in seqno_signaled() 57 if (f->ops->release) in seqno_release() 58 f->ops->release(fence); in seqno_release() 68 return f->ops->wait(fence, intr, timeout); in seqno_wait()
|
D | dma-buf.c | 67 dmabuf->ops->release(dmabuf); in dma_buf_release() 95 return dmabuf->ops->mmap(dmabuf, vma); in dma_buf_mmap_internal() 298 || !exp_info->ops in dma_buf_export() 299 || !exp_info->ops->map_dma_buf in dma_buf_export() 300 || !exp_info->ops->unmap_dma_buf in dma_buf_export() 301 || !exp_info->ops->release in dma_buf_export() 302 || !exp_info->ops->kmap_atomic in dma_buf_export() 303 || !exp_info->ops->kmap in dma_buf_export() 304 || !exp_info->ops->mmap)) { in dma_buf_export() 318 dmabuf->ops = exp_info->ops; in dma_buf_export() [all …]
|
/linux-4.4.14/net/nfc/hci/ |
D | core.c | 252 if (hdev->ops->cmd_received) in nfc_hci_cmd_received() 253 hdev->ops->cmd_received(hdev, pipe, cmd, skb); in nfc_hci_cmd_received() 333 if (hdev->ops->complete_target_discovered) { in nfc_hci_target_discovered() 334 r = hdev->ops->complete_target_discovered(hdev, gate, in nfc_hci_target_discovered() 344 if (hdev->ops->target_from_gate) in nfc_hci_target_discovered() 345 r = hdev->ops->target_from_gate(hdev, gate, targets); in nfc_hci_target_discovered() 351 if (hdev->ops->complete_target_discovered) { in nfc_hci_target_discovered() 352 r = hdev->ops->complete_target_discovered(hdev, gate, in nfc_hci_target_discovered() 387 if (hdev->ops->event_received) { in nfc_hci_event_received() 388 r = hdev->ops->event_received(hdev, pipe, event, skb); in nfc_hci_event_received() [all …]
|
D | llc.c | 55 int nfc_llc_register(const char *name, struct nfc_llc_ops *ops) in nfc_llc_register() argument 68 llc_engine->ops = ops; in nfc_llc_register() 117 llc->data = llc_engine->ops->init(hdev, xmit_to_drv, rcv_to_hci, in nfc_llc_allocate() 125 llc->ops = llc_engine->ops; in nfc_llc_allocate() 132 llc->ops->deinit(llc); in nfc_llc_free() 145 return llc->ops->start(llc); in nfc_llc_start() 151 return llc->ops->stop(llc); in nfc_llc_stop() 157 llc->ops->rcv_from_drv(llc, skb); in nfc_llc_rcv_from_drv() 162 return llc->ops->xmit_from_hci(llc, skb); in nfc_llc_xmit_from_hci()
|
/linux-4.4.14/sound/soc/ |
D | soc-topology.c | 78 struct snd_soc_tplg_ops *ops; member 232 switch (control_hdr->ops.info) { in get_dobj_mixer_type() 276 hdr->ops.get, hdr->ops.put, hdr->ops.info, index, in soc_bind_err() 285 name, hdr->ops.get, hdr->ops.put, hdr->ops.info, in soc_control_err() 295 if (tplg->comp && tplg->ops && tplg->ops->vendor_load) in soc_tplg_vendor_load_() 296 ret = tplg->ops->vendor_load(tplg->comp, hdr); in soc_tplg_vendor_load_() 327 if (tplg->comp && tplg->ops && tplg->ops->widget_load) in soc_tplg_widget_load() 328 return tplg->ops->widget_load(tplg->comp, w, tplg_w); in soc_tplg_widget_load() 337 if (tplg->comp && tplg->ops && tplg->ops->pcm_dai_load) in soc_tplg_pcm_dai_load() 338 return tplg->ops->pcm_dai_load(tplg->comp, pcm_dai, num_pcm_dai); in soc_tplg_pcm_dai_load() [all …]
|
D | soc-pcm.c | 469 if (cpu_dai->driver->ops && cpu_dai->driver->ops->startup) { in soc_pcm_open() 470 ret = cpu_dai->driver->ops->startup(substream, cpu_dai); in soc_pcm_open() 478 if (platform->driver->ops && platform->driver->ops->open) { in soc_pcm_open() 479 ret = platform->driver->ops->open(substream); in soc_pcm_open() 489 if (codec_dai->driver->ops && codec_dai->driver->ops->startup) { in soc_pcm_open() 490 ret = codec_dai->driver->ops->startup(substream, in soc_pcm_open() 506 if (rtd->dai_link->ops && rtd->dai_link->ops->startup) { in soc_pcm_open() 507 ret = rtd->dai_link->ops->startup(substream); in soc_pcm_open() 580 if (rtd->dai_link->ops && rtd->dai_link->ops->shutdown) in soc_pcm_open() 581 rtd->dai_link->ops->shutdown(substream); in soc_pcm_open() [all …]
|
/linux-4.4.14/drivers/firmware/efi/ |
D | vars.c | 313 const struct efivar_operations *fops = __efivars->ops; in check_var_size() 447 const struct efivar_operations *ops = __efivars->ops; in efivar_init() local 470 status = ops->get_next_variable(&variable_name_size, in efivar_init() 588 const struct efivar_operations *ops = __efivars->ops; in __efivar_entry_delete() local 593 status = ops->set_variable(entry->var.VariableName, in __efivar_entry_delete() 614 const struct efivar_operations *ops = __efivars->ops; in efivar_entry_delete() local 618 status = ops->set_variable(entry->var.VariableName, in efivar_entry_delete() 655 const struct efivar_operations *ops = __efivars->ops; in efivar_entry_set() local 669 status = ops->set_variable(name, &vendor, in efivar_entry_set() 692 const struct efivar_operations *ops = __efivars->ops; in efivar_entry_set_nonblocking() local [all …]
|
/linux-4.4.14/drivers/usb/musb/ |
D | musb_core.h | 306 const struct musb_platform_ops *ops; member 540 if (musb->ops->set_vbus) in musb_platform_set_vbus() 541 musb->ops->set_vbus(musb, is_on); in musb_platform_set_vbus() 546 if (musb->ops->enable) in musb_platform_enable() 547 musb->ops->enable(musb); in musb_platform_enable() 552 if (musb->ops->disable) in musb_platform_disable() 553 musb->ops->disable(musb); in musb_platform_disable() 558 if (!musb->ops->set_mode) in musb_platform_set_mode() 561 return musb->ops->set_mode(musb, mode); in musb_platform_set_mode() 567 if (musb->ops->try_idle) in musb_platform_try_idle() [all …]
|
/linux-4.4.14/drivers/clk/ |
D | clk-axm5516.c | 152 .ops = &axxia_pllclk_ops, 164 .ops = &axxia_pllclk_ops, 176 .ops = &axxia_pllclk_ops, 188 .ops = &axxia_pllclk_ops, 200 .ops = &axxia_pllclk_ops, 216 .ops = &axxia_divclk_ops, 230 .ops = &axxia_divclk_ops, 244 .ops = &axxia_divclk_ops, 258 .ops = &axxia_divclk_ops, 272 .ops = &axxia_divclk_ops, [all …]
|
/linux-4.4.14/drivers/clk/sirf/ |
D | clk-common.c | 199 .ops = &std_pll_ops, 206 .ops = &std_pll_ops, 213 .ops = &std_pll_ops, 276 .ops = &usb_pll_ops, 450 .ops = &msi_ops, 464 .ops = &msi_ops, 479 .ops = &msi_ops, 501 .ops = &cpu_ops, 529 .ops = &dmn_ops, 544 .ops = &dmn_ops, [all …]
|
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/ |
D | panel-dsi-cm.c | 118 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1() 131 return in->ops.dsi->dcs_write(in, ddata->channel, &dcs_cmd, 1); in dsicm_dcs_write_0() 139 return in->ops.dsi->dcs_write(in, ddata->channel, buf, 2); in dsicm_dcs_write_1() 152 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, &cmd, 1); in dsicm_sleep_in() 214 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, buf, sizeof(buf)); in dsicm_set_update_window() 224 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, buf, sizeof(buf)); in dsicm_set_update_window() 228 in->ops.dsi->bta_sync(in, ddata->channel); in dsicm_set_update_window() 262 in->ops.dsi->disable(in, false, true); in dsicm_enter_ulps() 287 r = in->ops.dsi->enable(in); in dsicm_exit_ulps() 293 in->ops.dsi->enable_hs(in, ddata->channel, true); in dsicm_exit_ulps() [all …]
|
/linux-4.4.14/drivers/watchdog/ |
D | watchdog_dev.c | 76 if (wdd->ops->ping) in watchdog_ping() 77 err = wdd->ops->ping(wdd); /* ping the watchdog */ in watchdog_ping() 79 err = wdd->ops->start(wdd); /* restart watchdog */ in watchdog_ping() 109 err = wdd->ops->start(wdd); in watchdog_start() 148 err = wdd->ops->stop(wdd); in watchdog_stop() 171 if (!wdd->ops->status) in watchdog_get_status() 181 *status = wdd->ops->status(wdd); in watchdog_get_status() 199 if (!wdd->ops->set_timeout || !(wdd->info->options & WDIOF_SETTIMEOUT)) in watchdog_set_timeout() 212 err = wdd->ops->set_timeout(wdd, timeout); in watchdog_set_timeout() 233 if (!wdd->ops->get_timeleft) in watchdog_get_timeleft() [all …]
|
/linux-4.4.14/arch/x86/kernel/ |
D | ftrace.c | 720 create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size) in create_trampoline() argument 736 if (ops->flags & FTRACE_OPS_FL_SAVE_REGS) { in create_trampoline() 781 *ptr = (unsigned long)ops; in create_trampoline() 802 ops->flags |= FTRACE_OPS_FL_ALLOC_TRAMP; in create_trampoline() 823 void arch_ftrace_update_trampoline(struct ftrace_ops *ops) in arch_ftrace_update_trampoline() argument 832 if (ops->trampoline) { in arch_ftrace_update_trampoline() 837 if (!(ops->flags & FTRACE_OPS_FL_ALLOC_TRAMP)) in arch_ftrace_update_trampoline() 840 ops->trampoline = create_trampoline(ops, &size); in arch_ftrace_update_trampoline() 841 if (!ops->trampoline) in arch_ftrace_update_trampoline() 843 ops->trampoline_size = size; in arch_ftrace_update_trampoline() [all …]
|
D | dumpstack_64.c | 153 const struct stacktrace_ops *ops, void *data) in dump_trace() argument 202 if (ops->stack(data, id) < 0) in dump_trace() 205 bp = ops->walk_stack(tinfo, stack, bp, ops, in dump_trace() 207 ops->stack(data, "<EOE>"); in dump_trace() 219 if (ops->stack(data, "IRQ") < 0) in dump_trace() 221 bp = ops->walk_stack(tinfo, stack, bp, in dump_trace() 222 ops, data, stack_end, &graph); in dump_trace() 230 ops->stack(data, "EOI"); in dump_trace() 235 ops->stack(data, "UNK"); in dump_trace() 243 bp = ops->walk_stack(tinfo, stack, bp, ops, data, NULL, &graph); in dump_trace()
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
D | run.c | 57 *stat = ctx->ops->status_read(ctx); in spu_stopped() 129 ctx->ops->signal1_write(ctx, (unsigned long)isolated_loader >> 32); in spu_setup_isolated() 130 ctx->ops->signal2_write(ctx, in spu_setup_isolated() 133 ctx->ops->runcntl_write(ctx, in spu_setup_isolated() 138 while (((status = ctx->ops->status_read(ctx)) & status_loading) == in spu_setup_isolated() 153 ctx->ops->runcntl_write(ctx, SPU_RUNCNTL_RUNNABLE); in spu_setup_isolated() 161 ctx->ops->runcntl_write(ctx, SPU_RUNCNTL_STOP); in spu_setup_isolated() 198 if (!(ctx->ops->status_read(ctx) & SPU_STATUS_ISOLATED_STATE)) { in spu_run_init() 208 runcntl = ctx->ops->runcntl_read(ctx) & in spu_run_init() 220 ctx->ops->privcntl_write(ctx, privcntl); in spu_run_init() [all …]
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt.c | 28 struct ieee80211_crypto_ops *ops; member 54 if (entry->ops) in ieee80211_crypt_deinit_entries() 55 entry->ops->deinit(entry->priv); in ieee80211_crypt_deinit_entries() 102 int ieee80211_register_crypto_ops(struct ieee80211_crypto_ops *ops) in ieee80211_register_crypto_ops() argument 114 alg->ops = ops; in ieee80211_register_crypto_ops() 121 ops->name); in ieee80211_register_crypto_ops() 126 int ieee80211_unregister_crypto_ops(struct ieee80211_crypto_ops *ops) in ieee80211_unregister_crypto_ops() argument 139 if (alg->ops == ops) { in ieee80211_unregister_crypto_ops() 149 ops->name); in ieee80211_unregister_crypto_ops() 170 if (strcmp(alg->ops->name, name) == 0) { in ieee80211_get_crypto_ops() [all …]
|
/linux-4.4.14/drivers/char/hw_random/ |
D | octeon-rng.c | 23 struct hwrng ops; member 31 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); in octeon_rng_init() 43 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); in octeon_rng_cleanup() 52 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); in octeon_rng_data_read() 64 struct hwrng ops = { in octeon_rng_probe() local 96 rng->ops = ops; in octeon_rng_probe() 98 platform_set_drvdata(pdev, &rng->ops); in octeon_rng_probe() 99 ret = devm_hwrng_register(&pdev->dev, &rng->ops); in octeon_rng_probe()
|
/linux-4.4.14/arch/powerpc/oprofile/ |
D | common.c | 192 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 204 ops->sync_start = model->sync_start; in oprofile_arch_init() 205 ops->sync_stop = model->sync_stop; in oprofile_arch_init() 231 ops->cpu_type = cur_cpu_spec->oprofile_cpu_type; in oprofile_arch_init() 232 ops->create_files = op_powerpc_create_files; in oprofile_arch_init() 233 ops->setup = op_powerpc_setup; in oprofile_arch_init() 234 ops->shutdown = op_powerpc_shutdown; in oprofile_arch_init() 235 ops->start = op_powerpc_start; in oprofile_arch_init() 236 ops->stop = op_powerpc_stop; in oprofile_arch_init() 237 ops->backtrace = op_powerpc_backtrace; in oprofile_arch_init() [all …]
|
/linux-4.4.14/fs/sysfs/ |
D | file.c | 46 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_seq_show() local 62 if (ops->show) { in sysfs_kf_seq_show() 63 count = ops->show(kobj, of->kn->priv, buf); in sysfs_kf_seq_show() 74 (unsigned long)ops->show); in sysfs_kf_seq_show() 109 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_read() local 119 len = ops->show(kobj, of->kn->priv, buf); in sysfs_kf_read() 127 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_write() local 133 return ops->store(kobj, of->kn->priv, buf, count); in sysfs_kf_write() 245 const struct kernfs_ops *ops; in sysfs_add_file_mode_ns() local 261 ops = &sysfs_prealloc_kfops_rw; in sysfs_add_file_mode_ns() [all …]
|
/linux-4.4.14/net/sunrpc/ |
D | auth.c | 95 rpcauth_register(const struct rpc_authops *ops) in rpcauth_register() argument 100 if ((flavor = ops->au_flavor) >= RPC_AUTH_MAXFLAVOR) in rpcauth_register() 104 auth_flavors[flavor] = ops; in rpcauth_register() 113 rpcauth_unregister(const struct rpc_authops *ops) in rpcauth_unregister() argument 118 if ((flavor = ops->au_flavor) >= RPC_AUTH_MAXFLAVOR) in rpcauth_unregister() 121 if (auth_flavors[flavor] == ops) { in rpcauth_unregister() 142 const struct rpc_authops *ops; in rpcauth_get_pseudoflavor() local 145 ops = auth_flavors[flavor]; in rpcauth_get_pseudoflavor() 146 if (ops == NULL) in rpcauth_get_pseudoflavor() 149 ops = auth_flavors[flavor]; in rpcauth_get_pseudoflavor() [all …]
|
/linux-4.4.14/arch/um/drivers/ |
D | chan_kern.c | 91 if (chan->ops->open == NULL) in open_one_chan() 93 else fd = (*chan->ops->open)(chan->input, chan->output, chan->primary, in open_one_chan() 100 (*chan->ops->close)(fd, chan->data); in open_one_chan() 127 if (chan && chan->primary && chan->ops->winch) in chan_enable_winch() 224 if (chan->ops->close != NULL) in close_one_chan() 225 (*chan->ops->close)(chan->fd, chan->data); in close_one_chan() 262 if (len == 0 || !chan || !chan->ops->write) in write_chan() 265 n = chan->ops->write(chan->fd, buf, len, chan->data); in write_chan() 278 if (!chan || !chan->ops->console_write) in console_write_chan() 281 n = chan->ops->console_write(chan->fd, buf, len); in console_write_chan() [all …]
|
/linux-4.4.14/drivers/hid/ |
D | hid-wiimote-core.c | 620 const struct wiimod_ops *ops; in wiimote_modules_load() local 647 ops = wiimod_table[*iter]; in wiimote_modules_load() 648 if (!ops->probe) in wiimote_modules_load() 651 ret = ops->probe(ops, wdata); in wiimote_modules_load() 669 ops = wiimod_table[*iter]; in wiimote_modules_load() 670 if (ops->remove) in wiimote_modules_load() 671 ops->remove(ops, wdata); in wiimote_modules_load() 683 const struct wiimod_ops *ops; in wiimote_modules_unload() local 702 ops = wiimod_table[*iter]; in wiimote_modules_unload() 703 if (ops->remove) in wiimote_modules_unload() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
D | vf.c | 56 s32 status = hw->mac.ops.start_hw(hw); in ixgbevf_init_hw_vf() 58 hw->mac.ops.get_mac_addr(hw, hw->mac.addr); in ixgbevf_init_hw_vf() 79 hw->mac.ops.stop_adapter(hw); in ixgbevf_reset_hw_vf() 88 while (!mbx->ops.check_for_rst(hw) && timeout) { in ixgbevf_reset_hw_vf() 100 mbx->ops.write_posted(hw, msgbuf, 1); in ixgbevf_reset_hw_vf() 108 ret_val = mbx->ops.read_posted(hw, msgbuf, IXGBE_VF_PERMADDR_MSG_LEN); in ixgbevf_reset_hw_vf() 244 ret_val = mbx->ops.write_posted(hw, msgbuf, 3); in ixgbevf_set_uc_addr_vf() 247 ret_val = mbx->ops.read_posted(hw, msgbuf, 3); in ixgbevf_set_uc_addr_vf() 294 err = hw->mbx.ops.write_posted(hw, msgbuf, 1); in ixgbevf_get_reta_locked() 299 err = hw->mbx.ops.read_posted(hw, msgbuf, dwords + 1); in ixgbevf_get_reta_locked() [all …]
|
/linux-4.4.14/drivers/devfreq/ |
D | devfreq-event.c | 48 if (edev->desc->ops && edev->desc->ops->enable in devfreq_event_enable_edev() 50 ret = edev->desc->ops->enable(edev); in devfreq_event_enable_edev() 86 if (edev->desc->ops && edev->desc->ops->disable in devfreq_event_disable_edev() 88 ret = edev->desc->ops->disable(edev); in devfreq_event_disable_edev() 141 if (!edev->desc->ops || !edev->desc->ops->set_event) in devfreq_event_set_event() 148 ret = edev->desc->ops->set_event(edev); in devfreq_event_set_event() 171 if (!edev->desc->ops || !edev->desc->ops->get_event) in devfreq_event_get_event() 180 ret = edev->desc->ops->get_event(edev, edata); in devfreq_event_get_event() 207 if (edev->desc->ops && edev->desc->ops->reset) in devfreq_event_reset_event() 208 ret = edev->desc->ops->reset(edev); in devfreq_event_reset_event() [all …]
|
/linux-4.4.14/drivers/thermal/ |
D | of-thermal.c | 88 const struct thermal_zone_of_device_ops *ops; member 98 if (!data->ops->get_temp) in of_thermal_get_temp() 101 return data->ops->get_temp(data->sensor_data, temp); in of_thermal_get_temp() 184 if (!data->ops || !data->ops->set_emul_temp) in of_thermal_set_emul_temp() 187 return data->ops->set_emul_temp(data->sensor_data, temp); in of_thermal_set_emul_temp() 197 if (!data->ops->get_trend) in of_thermal_get_trend() 200 r = data->ops->get_trend(data->sensor_data, &dev_trend); in of_thermal_get_trend() 402 const struct thermal_zone_of_device_ops *ops) in thermal_zone_of_add_sensor() argument 413 if (!ops) in thermal_zone_of_add_sensor() 417 tz->ops = ops; in thermal_zone_of_add_sensor() [all …]
|
/linux-4.4.14/sound/pci/ctxfi/ |
D | ctatc.c | 270 src->ops->set_pitch(src, pitch); in atc_pcm_playback_prepare() 271 src->ops->set_rom(src, select_rom(pitch)); in atc_pcm_playback_prepare() 272 src->ops->set_sf(src, convert_format(apcm->substream->runtime->format, in atc_pcm_playback_prepare() 274 src->ops->set_pm(src, (src->ops->next_interleave(src) != NULL)); in atc_pcm_playback_prepare() 303 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare() 306 src = src->ops->next_interleave(src); in atc_pcm_playback_prepare() 333 srcimp->ops->unmap(srcimp); in atc_pcm_release_resources() 390 src->ops->set_sa(src, apcm->vm_block->addr); in atc_pcm_playback_start() 391 src->ops->set_la(src, apcm->vm_block->addr + apcm->vm_block->size); in atc_pcm_playback_start() 392 src->ops->set_ca(src, apcm->vm_block->addr + max_cisz); in atc_pcm_playback_start() [all …]
|
D | ctsrc.c | 185 src->rsc.ops->master(&src->rsc); in src_commit_write() 190 hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), in src_commit_write() 198 src->rsc.ops->next_conj(&src->rsc); in src_commit_write() 200 hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), in src_commit_write() 203 src->rsc.ops->master(&src->rsc); in src_commit_write() 213 return hw->src_get_ca(hw, src->rsc.ops->index(&src->rsc), in src_get_ca() 254 src->rsc.ops->master(&src->rsc); in src_default_config_memrd() 255 hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), in src_default_config_memrd() 259 src->rsc.ops->next_conj(&src->rsc); in src_default_config_memrd() 261 hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), in src_default_config_memrd() [all …]
|
/linux-4.4.14/sound/core/ |
D | compress_offload.c | 121 data->stream.ops = compr->ops; in snd_compr_open() 136 ret = compr->ops->open(&data->stream); in snd_compr_open() 155 data->stream.ops->trigger(&data->stream, SNDRV_PCM_TRIGGER_STOP); in snd_compr_free() 161 data->stream.ops->free(&data->stream); in snd_compr_free() 171 if (!stream->ops->pointer) in snd_compr_update_tstamp() 173 stream->ops->pointer(stream, tstamp); in snd_compr_update_tstamp() 267 if (stream->ops->ack) in snd_compr_write_data() 268 stream->ops->ack(stream, count); in snd_compr_write_data() 298 if (stream->ops->copy) { in snd_compr_write() 300 retval = stream->ops->copy(stream, cbuf, avail); in snd_compr_write() [all …]
|
D | hwdep.c | 59 if (hw->ops.llseek) in snd_hwdep_llseek() 60 return hw->ops.llseek(hw, file, offset, orig); in snd_hwdep_llseek() 68 if (hw->ops.read) in snd_hwdep_read() 69 return hw->ops.read(hw, buf, count, offset); in snd_hwdep_read() 77 if (hw->ops.write) in snd_hwdep_write() 78 return hw->ops.write(hw, buf, count, offset); in snd_hwdep_write() 115 if (!hw->ops.open) { in snd_hwdep_open() 119 err = hw->ops.open(hw, file); in snd_hwdep_open() 149 if (hw->ops.release) in snd_hwdep_open() 150 hw->ops.release(hw, file); in snd_hwdep_open() [all …]
|
D | device.c | 45 void *device_data, struct snd_device_ops *ops) in snd_device_new() argument 50 if (snd_BUG_ON(!card || !device_data || !ops)) in snd_device_new() 60 dev->ops = ops; in snd_device_new() 77 if (dev->ops->dev_disconnect && in __snd_device_disconnect() 78 dev->ops->dev_disconnect(dev)) in __snd_device_disconnect() 90 if (dev->ops->dev_free) { in __snd_device_free() 91 if (dev->ops->dev_free(dev)) in __snd_device_free() 163 if (dev->ops->dev_register) { in __snd_device_register() 164 int err = dev->ops->dev_register(dev); in __snd_device_register()
|
/linux-4.4.14/arch/sh/drivers/pci/ |
D | Makefile | 6 obj-$(CONFIG_CPU_SUBTYPE_SH7751) += pci-sh7751.o ops-sh4.o 7 obj-$(CONFIG_CPU_SUBTYPE_SH7751R) += pci-sh7751.o ops-sh4.o 8 obj-$(CONFIG_CPU_SUBTYPE_SH7763) += pci-sh7780.o ops-sh4.o 9 obj-$(CONFIG_CPU_SUBTYPE_SH7780) += pci-sh7780.o ops-sh4.o 10 obj-$(CONFIG_CPU_SUBTYPE_SH7785) += pci-sh7780.o ops-sh4.o 11 obj-$(CONFIG_CPU_SUBTYPE_SH7786) += pcie-sh7786.o ops-sh7786.o 12 obj-$(CONFIG_CPU_SH5) += pci-sh5.o ops-sh5.o 14 obj-$(CONFIG_SH_DREAMCAST) += ops-dreamcast.o fixups-dreamcast.o \
|
/linux-4.4.14/drivers/regulator/ |
D | core.c | 437 status = rdev->desc->ops->get_status(rdev); in regulator_status_show() 667 ret = rdev->desc->ops->get_bypass(rdev, &bypass); in regulator_bypass_show() 699 if (!rdev->desc->ops->get_optimum_mode && in drms_uA_update() 700 !rdev->desc->ops->set_load) in drms_uA_update() 703 if (!rdev->desc->ops->set_mode && in drms_uA_update() 704 !rdev->desc->ops->set_load) in drms_uA_update() 731 if (rdev->desc->ops->set_load) { in drms_uA_update() 733 err = rdev->desc->ops->set_load(rdev, current_uA); in drms_uA_update() 738 mode = rdev->desc->ops->get_optimum_mode(rdev, input_uV, in drms_uA_update() 749 err = rdev->desc->ops->set_mode(rdev, mode); in drms_uA_update() [all …]
|
D | db8500-prcmu.c | 218 .ops = &db8500_regulator_ops, 227 .ops = &db8500_regulator_ops, 236 .ops = &db8500_regulator_ops, 245 .ops = &db8500_regulator_ops, 254 .ops = &db8500_regulator_ops, 263 .ops = &db8500_regulator_ops, 275 .ops = &db8500_regulator_ops, 284 .ops = &db8500_regulator_ops, 293 .ops = &db8500_regulator_switch_ops, 303 .ops = &db8500_regulator_switch_ops, [all …]
|
/linux-4.4.14/arch/arm/plat-versatile/ |
D | clock.c | 41 if (clk->ops && clk->ops->round) in clk_round_rate() 42 ret = clk->ops->round(clk, rate); in clk_round_rate() 50 if (clk->ops && clk->ops->set) in clk_set_rate() 51 ret = clk->ops->set(clk, rate); in clk_set_rate() 70 clk->ops->setvco(clk, vco); in icst_clk_set()
|
/linux-4.4.14/arch/mips/loongson64/lemote-2f/ |
D | clock.c | 63 if (likely(clkp->ops && clkp->ops->recalc)) in propagate_rate() 64 clkp->ops->recalc(clkp); in propagate_rate() 99 if (likely(clk->ops && clk->ops->set_rate)) { in clk_set_rate() 103 ret = clk->ops->set_rate(clk, rate, 0); in clk_set_rate() 128 if (likely(clk->ops && clk->ops->round_rate)) { in clk_round_rate() 132 rounded = clk->ops->round_rate(clk, rate); in clk_round_rate()
|
/linux-4.4.14/drivers/vfio/ |
D | vfio.c | 55 const struct vfio_iommu_driver_ops *ops; member 92 const struct vfio_device_ops *ops; member 101 int vfio_register_iommu_driver(const struct vfio_iommu_driver_ops *ops) in vfio_register_iommu_driver() argument 109 driver->ops = ops; in vfio_register_iommu_driver() 115 if (tmp->ops == ops) { in vfio_register_iommu_driver() 130 void vfio_unregister_iommu_driver(const struct vfio_iommu_driver_ops *ops) in vfio_unregister_iommu_driver() argument 136 if (driver->ops == ops) { in vfio_unregister_iommu_driver() 366 const struct vfio_device_ops *ops, in vfio_group_create_device() argument 378 device->ops = ops; in vfio_group_create_device() 631 const struct vfio_device_ops *ops, void *device_data) in vfio_add_group_dev() argument [all …]
|
/linux-4.4.14/kernel/livepatch/ |
D | core.c | 66 struct klp_ops *ops; in klp_find_ops() local 69 list_for_each_entry(ops, &klp_ops, node) { in klp_find_ops() 70 func = list_first_entry(&ops->func_stack, struct klp_func, in klp_find_ops() 73 return ops; in klp_find_ops() 337 struct klp_ops *ops; in klp_ftrace_handler() local 340 ops = container_of(fops, struct klp_ops, fops); in klp_ftrace_handler() 343 func = list_first_or_null_rcu(&ops->func_stack, struct klp_func, in klp_ftrace_handler() 355 struct klp_ops *ops; in klp_disable_func() local 362 ops = klp_find_ops(func->old_addr); in klp_disable_func() 363 if (WARN_ON(!ops)) in klp_disable_func() [all …]
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinmux.c | 35 const struct pinmux_ops *ops = pctldev->desc->pmxops; in pinmux_check_ops() local 40 if (!ops || in pinmux_check_ops() 41 !ops->get_functions_count || in pinmux_check_ops() 42 !ops->get_function_name || in pinmux_check_ops() 43 !ops->get_function_groups || in pinmux_check_ops() 44 !ops->set_mux) { in pinmux_check_ops() 49 nfuncs = ops->get_functions_count(pctldev); in pinmux_check_ops() 51 const char *fname = ops->get_function_name(pctldev, in pinmux_check_ops() 88 const struct pinmux_ops *ops = pctldev->desc->pmxops; in pin_request() local 110 if (ops->strict && desc->mux_usecount && in pin_request() [all …]
|
D | pinconf.c | 29 const struct pinconf_ops *ops = pctldev->desc->confops; in pinconf_check_ops() local 32 if (!ops->pin_config_set && !ops->pin_config_group_set) { in pinconf_check_ops() 61 const struct pinconf_ops *ops = pctldev->desc->confops; in pin_config_get_for_pin() local 63 if (!ops || !ops->pin_config_get) { in pin_config_get_for_pin() 69 return ops->pin_config_get(pctldev, pin, config); in pin_config_get_for_pin() 76 const struct pinconf_ops *ops; in pin_config_group_get() local 87 ops = pctldev->desc->confops; in pin_config_group_get() 89 if (!ops || !ops->pin_config_group_get) { in pin_config_group_get() 103 ret = ops->pin_config_group_get(pctldev, selector, config); in pin_config_group_get() 154 const struct pinconf_ops *ops = pctldev->desc->confops; in pinconf_apply_setting() local [all …]
|
/linux-4.4.14/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-ctrls.c | 453 const struct v4l2_ctrl_ops *ops = &s5c73m3_ctrl_ops; in s5c73m3_init_controls() local 462 ctrls->auto_wb = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 467 ctrls->auto_exposure = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 470 ctrls->exposure_bias = v4l2_ctrl_new_int_menu(hdl, ops, in s5c73m3_init_controls() 476 ctrls->exposure_metering = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 481 ctrls->focus_auto = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 484 ctrls->af_start = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 487 ctrls->af_stop = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 490 ctrls->af_status = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 497 ctrls->af_distance = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() [all …]
|
/linux-4.4.14/arch/sparc/oprofile/ |
D | init.c | 59 static int op_nmi_timer_init(struct oprofile_operations *ops) in op_nmi_timer_init() argument 64 ops->start = timer_start; in op_nmi_timer_init() 65 ops->stop = timer_stop; in op_nmi_timer_init() 66 ops->cpu_type = "timer"; in op_nmi_timer_init() 72 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 77 ret = op_nmi_timer_init(ops); in oprofile_arch_init()
|
/linux-4.4.14/drivers/ptp/ |
D | ptp_chardev.c | 28 static int ptp_disable_pinfunc(struct ptp_clock_info *ops, in ptp_disable_pinfunc() argument 42 err = ops->enable(ops, &rq, 0); in ptp_disable_pinfunc() 47 err = ops->enable(ops, &rq, 0); in ptp_disable_pinfunc() 125 struct ptp_clock_info *ops = ptp->info; in ptp_ioctl() local 151 if (req.extts.index >= ops->n_ext_ts) { in ptp_ioctl() 157 err = ops->enable(ops, &req, enable); in ptp_ioctl() 166 if (req.perout.index >= ops->n_per_out) { in ptp_ioctl() 172 err = ops->enable(ops, &req, enable); in ptp_ioctl() 180 err = ops->enable(ops, &req, enable); in ptp_ioctl() 222 if (pin_index >= ops->n_pins) { in ptp_ioctl() [all …]
|
/linux-4.4.14/net/nfc/ |
D | core.c | 63 if (!dev->ops->fw_download) { in nfc_fw_download() 69 rc = dev->ops->fw_download(dev, firmware_name); in nfc_fw_download() 129 if (dev->ops->dev_up) in nfc_dev_up() 130 rc = dev->ops->dev_up(dev); in nfc_dev_up() 136 if (dev->ops->discover_se && dev->ops->discover_se(dev)) in nfc_dev_up() 172 if (dev->ops->dev_down) in nfc_dev_down() 173 dev->ops->dev_down(dev); in nfc_dev_down() 236 rc = dev->ops->start_poll(dev, im_protocols, tm_protocols); in nfc_start_poll() 270 dev->ops->stop_poll(dev); in nfc_stop_poll() 300 if (!dev->ops->dep_link_up) in nfc_dep_link_up() [all …]
|
/linux-4.4.14/drivers/media/pci/ttpci/ |
D | budget.c | 238 if (fe->ops.i2c_gate_ctrl) in alps_bsrv2_tuner_set_params() 239 fe->ops.i2c_gate_ctrl(fe, 1); in alps_bsrv2_tuner_set_params() 266 if (fe->ops.i2c_gate_ctrl) in alps_tdbe2_tuner_set_params() 267 fe->ops.i2c_gate_ctrl(fe, 1); in alps_tdbe2_tuner_set_params() 321 if (fe->ops.i2c_gate_ctrl) in grundig_29504_401_tuner_set_params() 322 fe->ops.i2c_gate_ctrl(fe, 1); in grundig_29504_401_tuner_set_params() 351 if (fe->ops.i2c_gate_ctrl) in grundig_29504_451_tuner_set_params() 352 fe->ops.i2c_gate_ctrl(fe, 1); in grundig_29504_451_tuner_set_params() 383 if (fe->ops.i2c_gate_ctrl) in s5h1420_tuner_set_params() 384 fe->ops.i2c_gate_ctrl(fe, 1); in s5h1420_tuner_set_params() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_iov.c | 84 hw->iov.ops.reset_resources(hw, vf_info); in fm10k_iov_event() 85 vf_info->mbx.ops.connect(hw, &vf_info->mbx); in fm10k_iov_event() 131 hw->iov.ops.reset_lport(hw, vf_info); in fm10k_iov_mbx() 135 hw->iov.ops.reset_resources(hw, vf_info); in fm10k_iov_mbx() 136 mbx->ops.connect(hw, mbx); in fm10k_iov_mbx() 140 if (!hw->mbx.ops.tx_ready(&hw->mbx, FM10K_VFMBX_MSG_MTU)) { in fm10k_iov_mbx() 147 mbx->ops.process(hw, mbx); in fm10k_iov_mbx() 188 hw->iov.ops.reset_resources(hw, vf_info); in fm10k_iov_suspend() 189 hw->iov.ops.reset_lport(hw, vf_info); in fm10k_iov_suspend() 209 hw->iov.ops.assign_resources(hw, num_vfs, num_vfs); in fm10k_iov_resume() [all …]
|
/linux-4.4.14/drivers/oprofile/ |
D | timer_int.c | 110 int oprofile_timer_init(struct oprofile_operations *ops) in oprofile_timer_init() argument 112 ops->create_files = NULL; in oprofile_timer_init() 113 ops->setup = oprofile_hrtimer_setup; in oprofile_timer_init() 114 ops->shutdown = oprofile_hrtimer_shutdown; in oprofile_timer_init() 115 ops->start = oprofile_hrtimer_start; in oprofile_timer_init() 116 ops->stop = oprofile_hrtimer_stop; in oprofile_timer_init() 117 ops->cpu_type = "timer"; in oprofile_timer_init()
|
/linux-4.4.14/drivers/net/irda/ |
D | irtty-sir.c | 96 if (tty->ops->wait_until_sent) { in irtty_wait_until_sent() 97 tty->ops->wait_until_sent(tty, msecs_to_jiffies(100)); in irtty_wait_until_sent() 130 if (tty->ops->set_termios) in irtty_change_speed() 131 tty->ops->set_termios(tty, &old_termios); in irtty_change_speed() 169 IRDA_ASSERT(priv->tty->ops->tiocmset != NULL, return -1;); in irtty_set_dtr_rts() 170 priv->tty->ops->tiocmset(priv->tty, set, clear); in irtty_set_dtr_rts() 192 if (!tty->ops->write) in irtty_do_write() 198 return tty->ops->write(tty, ptr, writelen); in irtty_do_write() 293 if (tty->ops->set_termios) in irtty_stop_receiver() 294 tty->ops->set_termios(tty, &old_termios); in irtty_stop_receiver() [all …]
|
/linux-4.4.14/arch/x86/oprofile/ |
D | init.c | 20 extern int op_nmi_init(struct oprofile_operations *ops); 23 static int op_nmi_init(struct oprofile_operations *ops) { return -ENODEV; } in op_nmi_init() argument 29 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 31 ops->backtrace = x86_backtrace; in oprofile_arch_init() 32 return op_nmi_init(ops); in oprofile_arch_init()
|
/linux-4.4.14/drivers/pcmcia/ |
D | sa11xx_base.c | 88 bs_io = skt->ops->get_timing(skt, cpu_clock, timing.io); in sa1100_pcmcia_set_mecr() 89 bs_mem = skt->ops->get_timing(skt, cpu_clock, timing.mem); in sa1100_pcmcia_set_mecr() 90 bs_attr = skt->ops->get_timing(skt, cpu_clock, timing.attr); in sa1100_pcmcia_set_mecr() 199 void sa11xx_drv_pcmcia_ops(struct pcmcia_low_level *ops) in sa11xx_drv_pcmcia_ops() argument 205 if (!ops->get_timing) in sa11xx_drv_pcmcia_ops() 206 ops->get_timing = sa1100_pcmcia_default_mecr_timing; in sa11xx_drv_pcmcia_ops() 209 ops->set_timing = sa1100_pcmcia_set_timing; in sa11xx_drv_pcmcia_ops() 210 ops->show_timing = sa1100_pcmcia_show_timing; in sa11xx_drv_pcmcia_ops() 212 ops->frequency_change = sa1100_pcmcia_frequency_change; in sa11xx_drv_pcmcia_ops() 217 int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops, in sa11xx_drv_pcmcia_probe() argument [all …]
|
D | pxa2xx_base.c | 219 struct pcmcia_low_level *ops = dev->platform_data; in pxa2xx_configure_sockets() local 227 if ((ops->first + ops->nr) > 1 || in pxa2xx_configure_sockets() 269 void pxa2xx_drv_pcmcia_ops(struct pcmcia_low_level *ops) in pxa2xx_drv_pcmcia_ops() argument 272 ops->set_timing = pxa2xx_pcmcia_set_timing; in pxa2xx_drv_pcmcia_ops() 274 ops->frequency_change = pxa2xx_pcmcia_frequency_change; in pxa2xx_drv_pcmcia_ops() 282 struct pcmcia_low_level *ops; in pxa2xx_drv_pcmcia_probe() local 287 ops = (struct pcmcia_low_level *)dev->dev.platform_data; in pxa2xx_drv_pcmcia_probe() 288 if (!ops) { in pxa2xx_drv_pcmcia_probe() 293 if (cpu_is_pxa320() && ops->nr > 1) { in pxa2xx_drv_pcmcia_probe() 303 pxa2xx_drv_pcmcia_ops(ops); in pxa2xx_drv_pcmcia_probe() [all …]
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-ctrls.c | 136 .ops = &vivid_user_gen_ctrl_ops, 143 .ops = &vivid_user_gen_ctrl_ops, 154 .ops = &vivid_user_gen_ctrl_ops, 164 .ops = &vivid_user_gen_ctrl_ops, 174 .ops = &vivid_user_gen_ctrl_ops, 186 .ops = &vivid_user_gen_ctrl_ops, 198 .ops = &vivid_user_gen_ctrl_ops, 220 .ops = &vivid_user_gen_ctrl_ops, 232 .ops = &vivid_user_gen_ctrl_ops, 242 .ops = &vivid_user_gen_ctrl_ops, [all …]
|
/linux-4.4.14/drivers/misc/mei/ |
D | mei_dev.h | 566 const struct mei_hw_ops *ops; member 685 dev->ops->hw_config(dev); in mei_hw_config() 690 return dev->ops->pg_state(dev); in mei_pg_state() 695 return dev->ops->pg_in_transition(dev); in mei_pg_in_transition() 700 return dev->ops->pg_is_enabled(dev); in mei_pg_is_enabled() 705 return dev->ops->hw_reset(dev, enable); in mei_hw_reset() 710 return dev->ops->hw_start(dev); in mei_hw_start() 715 dev->ops->intr_clear(dev); in mei_clear_interrupts() 720 dev->ops->intr_enable(dev); in mei_enable_interrupts() 725 dev->ops->intr_disable(dev); in mei_disable_interrupts() [all …]
|
/linux-4.4.14/arch/sh/kernel/cpu/sh5/ |
D | unwind.c | 216 static void sh64_unwind_inner(const struct stacktrace_ops *ops, 219 static inline void unwind_nested(const struct stacktrace_ops *ops, void *data, in unwind_nested() argument 224 sh64_unwind_inner(ops, data, (struct pt_regs *)fp); in unwind_nested() 227 static void sh64_unwind_inner(const struct stacktrace_ops *ops, in sh64_unwind_inner() argument 244 unwind_nested(ops, data, pc, fp); in sh64_unwind_inner() 250 unwind_nested(ops, data, pc, fp); in sh64_unwind_inner() 258 unwind_nested(ops, data, pc, fp); in sh64_unwind_inner() 264 unwind_nested(ops, data, pc, fp); in sh64_unwind_inner() 273 ops->address(data, pc, 1); in sh64_unwind_inner() 301 const struct stacktrace_ops *ops, in sh64_unwinder_dump() argument [all …]
|
/linux-4.4.14/arch/metag/oprofile/ |
D | common.c | 38 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 40 ops->backtrace = metag_backtrace; in oprofile_arch_init() 50 return oprofile_perf_init(ops); in oprofile_arch_init() 59 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 61 ops->backtrace = metag_backtrace; in oprofile_arch_init()
|
/linux-4.4.14/drivers/ata/ |
D | libata-sff.c | 105 if (ap->ops->sff_check_altstatus) in ata_sff_altstatus() 106 return ap->ops->sff_check_altstatus(ap); in ata_sff_altstatus() 127 if (ap->ops->sff_check_altstatus || ap->ioaddr.altstatus_addr) { in ata_sff_irq_status() 134 status = ap->ops->sff_check_status(ap); in ata_sff_irq_status() 152 if (ap->ops->sff_check_altstatus) in ata_sff_sync() 153 ap->ops->sff_check_altstatus(ap); in ata_sff_sync() 187 if (ap->ops->sff_check_altstatus || ap->ioaddr.altstatus_addr) { in ata_sff_dma_pause() 239 status = ap->ops->sff_check_status(ap); in ata_sff_busy_sleep() 258 u8 status = link->ap->ops->sff_check_status(link->ap); in ata_sff_check_ready() 298 if (ap->ops->sff_set_devctl) in ata_sff_set_devctl() [all …]
|
/linux-4.4.14/fs/xfs/ |
D | xfs_ioctl32.c | 399 compat_xfs_attr_multiop_t *ops; in xfs_compat_attrmulti_by_handle() local 424 ops = memdup_user(compat_ptr(am_hreq.ops), size); in xfs_compat_attrmulti_by_handle() 425 if (IS_ERR(ops)) { in xfs_compat_attrmulti_by_handle() 426 error = PTR_ERR(ops); in xfs_compat_attrmulti_by_handle() 437 ops[i].am_error = strncpy_from_user((char *)attr_name, in xfs_compat_attrmulti_by_handle() 438 compat_ptr(ops[i].am_attrname), in xfs_compat_attrmulti_by_handle() 440 if (ops[i].am_error == 0 || ops[i].am_error == MAXNAMELEN) in xfs_compat_attrmulti_by_handle() 442 if (ops[i].am_error < 0) in xfs_compat_attrmulti_by_handle() 445 switch (ops[i].am_opcode) { in xfs_compat_attrmulti_by_handle() 447 ops[i].am_error = xfs_attrmulti_attr_get( in xfs_compat_attrmulti_by_handle() [all …]
|
/linux-4.4.14/drivers/ps3/ |
D | sys-manager-core.c | 42 void ps3_sys_manager_register_ops(const struct ps3_sys_manager_ops *ops) in ps3_sys_manager_register_ops() argument 44 BUG_ON(!ops); in ps3_sys_manager_register_ops() 45 BUG_ON(!ops->dev); in ps3_sys_manager_register_ops() 46 ps3_sys_manager_ops = ops ? *ops : ps3_sys_manager_ops; in ps3_sys_manager_register_ops()
|
/linux-4.4.14/arch/sh/oprofile/ |
D | common.c | 37 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 39 ops->backtrace = sh_backtrace; in oprofile_arch_init() 49 return oprofile_perf_init(ops); in oprofile_arch_init() 58 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 60 ops->backtrace = sh_backtrace; in oprofile_arch_init()
|
/linux-4.4.14/arch/arm/include/asm/mach/ |
D | arch.h | 20 #define smp_ops(ops) (&(ops)) argument 21 #define smp_init_ops(ops) (&(ops)) argument 23 #define smp_ops(ops) (struct smp_operations *)NULL argument 24 #define smp_init_ops(ops) (bool (*)(void))NULL argument
|
/linux-4.4.14/drivers/mtd/nand/ |
D | sm_common.c | 43 struct mtd_oob_ops ops; in sm_block_markbad() local 52 ops.mode = MTD_OPS_PLACE_OOB; in sm_block_markbad() 53 ops.ooboffs = 0; in sm_block_markbad() 54 ops.ooblen = mtd->oobsize; in sm_block_markbad() 55 ops.oobbuf = (void *)&oob; in sm_block_markbad() 56 ops.datbuf = NULL; in sm_block_markbad() 59 ret = mtd_write_oob(mtd, ofs, &ops); in sm_block_markbad() 60 if (ret < 0 || ops.oobretlen != SM_OOB_SIZE) { in sm_block_markbad()
|