/Linux-v5.10/tools/perf/arch/x86/annotate/ |
D | instructions.c | 3 { .name = "adc", .ops = &mov_ops, }, 4 { .name = "adcb", .ops = &mov_ops, }, 5 { .name = "adcl", .ops = &mov_ops, }, 6 { .name = "add", .ops = &mov_ops, }, 7 { .name = "addl", .ops = &mov_ops, }, 8 { .name = "addq", .ops = &mov_ops, }, 9 { .name = "addsd", .ops = &mov_ops, }, 10 { .name = "addw", .ops = &mov_ops, }, 11 { .name = "and", .ops = &mov_ops, }, 12 { .name = "andb", .ops = &mov_ops, }, [all …]
|
/Linux-v5.10/drivers/net/wireless/ti/wlcore/ |
D | hw_ops.h | 17 if (!wl->ops->calc_tx_blocks) in wlcore_hw_calc_tx_blocks() 20 return wl->ops->calc_tx_blocks(wl, len, spare_blks); in wlcore_hw_calc_tx_blocks() 27 if (!wl->ops->set_tx_desc_blocks) in wlcore_hw_set_tx_desc_blocks() 30 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); in wlcore_hw_set_tx_desc_blocks() 38 if (!wl->ops->set_tx_desc_data_len) in wlcore_hw_set_tx_desc_data_len() 41 wl->ops->set_tx_desc_data_len(wl, desc, skb); in wlcore_hw_set_tx_desc_data_len() 48 if (!wl->ops->get_rx_buf_align) in wlcore_hw_get_rx_buf_align() 51 return wl->ops->get_rx_buf_align(wl, rx_desc); in wlcore_hw_get_rx_buf_align() 57 if (wl->ops->prepare_read) in wlcore_hw_prepare_read() 58 return wl->ops->prepare_read(wl, rx_desc, len); in wlcore_hw_prepare_read() [all …]
|
/Linux-v5.10/drivers/mfd/ |
D | abx500-core.c | 19 struct abx500_ops ops; member 23 static void lookup_ops(struct device *dev, struct abx500_ops **ops) in lookup_ops() argument 27 *ops = NULL; in lookup_ops() 30 *ops = &dev_entry->ops; in lookup_ops() 36 int abx500_register_ops(struct device *dev, struct abx500_ops *ops) in abx500_register_ops() argument 45 memcpy(&dev_entry->ops, ops, sizeof(*ops)); in abx500_register_ops() 65 struct abx500_ops *ops; in abx500_set_register_interruptible() local 67 lookup_ops(dev->parent, &ops); in abx500_set_register_interruptible() 68 if (ops && ops->set_register) in abx500_set_register_interruptible() 69 return ops->set_register(dev, bank, reg, value); in abx500_set_register_interruptible() [all …]
|
/Linux-v5.10/drivers/mtd/tests/ |
D | oobtest.c | 59 struct mtd_oob_ops ops; in write_eraseblock() local 65 ops.mode = MTD_OPS_AUTO_OOB; in write_eraseblock() 66 ops.len = 0; in write_eraseblock() 67 ops.retlen = 0; in write_eraseblock() 68 ops.ooblen = use_len; in write_eraseblock() 69 ops.oobretlen = 0; in write_eraseblock() 70 ops.ooboffs = use_offset; in write_eraseblock() 71 ops.datbuf = NULL; in write_eraseblock() 72 ops.oobbuf = writebuf + (use_len_max * i) + use_offset; in write_eraseblock() 73 err = mtd_write_oob(mtd, addr, &ops); in write_eraseblock() [all …]
|
/Linux-v5.10/include/linux/ |
D | ntb.h | 178 static inline int ntb_client_ops_is_valid(const struct ntb_client_ops *ops) in ntb_client_ops_is_valid() argument 182 ops->probe && in ntb_client_ops_is_valid() 183 ops->remove && in ntb_client_ops_is_valid() 199 static inline int ntb_ctx_ops_is_valid(const struct ntb_ctx_ops *ops) in ntb_ctx_ops_is_valid() argument 334 static inline int ntb_dev_ops_is_valid(const struct ntb_dev_ops *ops) in ntb_dev_ops_is_valid() argument 339 !ops->peer_port_count == !ops->port_number && in ntb_dev_ops_is_valid() 340 !ops->peer_port_number == !ops->port_number && in ntb_dev_ops_is_valid() 341 !ops->peer_port_idx == !ops->port_number && in ntb_dev_ops_is_valid() 344 ops->link_is_up && in ntb_dev_ops_is_valid() 345 ops->link_enable && in ntb_dev_ops_is_valid() [all …]
|
/Linux-v5.10/arch/s390/appldata/ |
D | appldata_base.c | 127 struct appldata_ops *ops; in appldata_work_fn() local 131 ops = list_entry(lh, struct appldata_ops, list); in appldata_work_fn() 132 if (ops->active == 1) { in appldata_work_fn() 133 ops->callback(ops->data); in appldata_work_fn() 284 struct appldata_ops *ops = NULL, *tmp_ops; in appldata_generic_handler() local 307 ops = ctl->data; in appldata_generic_handler() 308 if (!try_module_get(ops->owner)) { // protect this function in appldata_generic_handler() 314 active = ops->active; in appldata_generic_handler() 317 module_put(ops->owner); in appldata_generic_handler() 322 if (active && (ops->active == 0)) { in appldata_generic_handler() [all …]
|
/Linux-v5.10/net/netfilter/ |
D | nf_sockopt.c | 27 struct nf_sockopt_ops *ops; in nf_register_sockopt() local 31 list_for_each_entry(ops, &nf_sockopts, list) { in nf_register_sockopt() 32 if (ops->pf == reg->pf in nf_register_sockopt() 33 && (overlap(ops->set_optmin, ops->set_optmax, in nf_register_sockopt() 35 || overlap(ops->get_optmin, ops->get_optmax, in nf_register_sockopt() 38 ops->set_optmin, ops->set_optmax, in nf_register_sockopt() 39 ops->get_optmin, ops->get_optmax, in nf_register_sockopt() 65 struct nf_sockopt_ops *ops; in nf_sockopt_find() local 68 list_for_each_entry(ops, &nf_sockopts, list) { in nf_sockopt_find() 69 if (ops->pf == pf) { in nf_sockopt_find() [all …]
|
/Linux-v5.10/kernel/dma/ |
D | mapping.c | 110 const struct dma_map_ops *ops) in dma_go_direct() argument 112 if (likely(!ops)) in dma_go_direct() 129 const struct dma_map_ops *ops) in dma_alloc_direct() argument 131 return dma_go_direct(dev, dev->coherent_dma_mask, ops); in dma_alloc_direct() 135 const struct dma_map_ops *ops) in dma_map_direct() argument 137 return dma_go_direct(dev, *dev->dma_mask, ops); in dma_map_direct() 144 const struct dma_map_ops *ops = get_dma_ops(dev); in dma_map_page_attrs() local 152 if (dma_map_direct(dev, ops)) in dma_map_page_attrs() 155 addr = ops->map_page(dev, page, offset, size, dir, attrs); in dma_map_page_attrs() 165 const struct dma_map_ops *ops = get_dma_ops(dev); in dma_unmap_page_attrs() local [all …]
|
/Linux-v5.10/drivers/base/ |
D | syscore.c | 21 void register_syscore_ops(struct syscore_ops *ops) in register_syscore_ops() argument 24 list_add_tail(&ops->node, &syscore_ops_list); in register_syscore_ops() 33 void unregister_syscore_ops(struct syscore_ops *ops) in unregister_syscore_ops() argument 36 list_del(&ops->node); in unregister_syscore_ops() 49 struct syscore_ops *ops; in syscore_suspend() local 62 list_for_each_entry_reverse(ops, &syscore_ops_list, node) in syscore_suspend() 63 if (ops->suspend) { in syscore_suspend() 64 pm_pr_dbg("Calling %pS\n", ops->suspend); in syscore_suspend() 65 ret = ops->suspend(); in syscore_suspend() 69 "Interrupts enabled after %pS\n", ops->suspend); in syscore_suspend() [all …]
|
/Linux-v5.10/net/dsa/ |
D | master.c | 14 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_regs_len() local 20 if (ops->get_regs_len) { in dsa_master_get_regs_len() 21 len = ops->get_regs_len(dev); in dsa_master_get_regs_len() 30 if (ds->ops->get_regs_len) { in dsa_master_get_regs_len() 31 len = ds->ops->get_regs_len(ds, port); in dsa_master_get_regs_len() 44 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_regs() local 51 if (ops->get_regs_len && ops->get_regs) { in dsa_master_get_regs() 52 len = ops->get_regs_len(dev); in dsa_master_get_regs() 56 ops->get_regs(dev, regs, data); in dsa_master_get_regs() 66 if (ds->ops->get_regs_len && ds->ops->get_regs) { in dsa_master_get_regs() [all …]
|
/Linux-v5.10/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 517 #define SET_VALID_IOCTL(ops, cmd, op) \ argument 518 if (ops->op) \ 544 const struct v4l2_ioctl_ops *ops = vdev->ioctl_ops; in determine_valid_ioctls() local 561 SET_VALID_IOCTL(ops, VIDIOC_QUERYCAP, vidioc_querycap); in determine_valid_ioctls() 569 if (vdev->ctrl_handler || ops->vidioc_queryctrl) in determine_valid_ioctls() 571 if (vdev->ctrl_handler || ops->vidioc_query_ext_ctrl) in determine_valid_ioctls() 573 if (vdev->ctrl_handler || ops->vidioc_g_ctrl || ops->vidioc_g_ext_ctrls) in determine_valid_ioctls() 575 if (vdev->ctrl_handler || ops->vidioc_s_ctrl || ops->vidioc_s_ext_ctrls) in determine_valid_ioctls() 577 if (vdev->ctrl_handler || ops->vidioc_g_ext_ctrls) in determine_valid_ioctls() 579 if (vdev->ctrl_handler || ops->vidioc_s_ext_ctrls) in determine_valid_ioctls() [all …]
|
/Linux-v5.10/net/core/ |
D | lwtunnel.c | 72 int lwtunnel_encap_add_ops(const struct lwtunnel_encap_ops *ops, in lwtunnel_encap_add_ops() argument 80 NULL, ops) ? 0 : -1; in lwtunnel_encap_add_ops() 84 int lwtunnel_encap_del_ops(const struct lwtunnel_encap_ops *ops, in lwtunnel_encap_del_ops() argument 95 ops, NULL) == ops) ? 0 : -1; in lwtunnel_encap_del_ops() 108 const struct lwtunnel_encap_ops *ops; in lwtunnel_build_state() local 121 ops = rcu_dereference(lwtun_encaps[encap_type]); in lwtunnel_build_state() 122 if (likely(ops && ops->build_state && try_module_get(ops->owner))) in lwtunnel_build_state() 127 ret = ops->build_state(net, encap, family, cfg, lws, extack); in lwtunnel_build_state() 129 module_put(ops->owner); in lwtunnel_build_state() 144 const struct lwtunnel_encap_ops *ops; in lwtunnel_valid_encap_type() local [all …]
|
D | fib_rules.c | 55 int fib_default_rule_add(struct fib_rules_ops *ops, in fib_default_rule_add() argument 60 r = kzalloc(ops->rule_size, GFP_KERNEL); in fib_default_rule_add() 70 r->fr_net = ops->fro_net; in fib_default_rule_add() 78 list_add_tail(&r->list, &ops->rules_list); in fib_default_rule_add() 83 static u32 fib_default_rule_pref(struct fib_rules_ops *ops) in fib_default_rule_pref() argument 88 if (!list_empty(&ops->rules_list)) { in fib_default_rule_pref() 89 pos = ops->rules_list.next; in fib_default_rule_pref() 90 if (pos->next != &ops->rules_list) { in fib_default_rule_pref() 101 struct fib_rules_ops *ops, struct nlmsghdr *nlh, 106 struct fib_rules_ops *ops; in lookup_rules_ops() local [all …]
|
/Linux-v5.10/mm/ |
D | pagewalk.c | 26 const struct mm_walk_ops *ops = walk->ops; in walk_pte_range_inner() local 30 err = ops->pte_entry(pte, addr, addr + PAGE_SIZE, walk); in walk_pte_range_inner() 66 const struct mm_walk_ops *ops = walk->ops; in walk_pmd_range() local 75 if (ops->pte_hole) in walk_pmd_range() 76 err = ops->pte_hole(addr, next, depth, walk); in walk_pmd_range() 88 if (ops->pmd_entry) in walk_pmd_range() 89 err = ops->pmd_entry(pmd, addr, next, walk); in walk_pmd_range() 102 !(ops->pte_entry)) in walk_pmd_range() 124 const struct mm_walk_ops *ops = walk->ops; in walk_pud_range() local 133 if (ops->pte_hole) in walk_pud_range() [all …]
|
/Linux-v5.10/net/netlabel/ |
D | netlabel_calipso.c | 375 netlbl_calipso_ops_register(const struct netlbl_calipso_ops *ops) in netlbl_calipso_ops_register() argument 377 return xchg(&calipso_ops, ops); in netlbl_calipso_ops_register() 403 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_add() local 405 if (ops) in calipso_doi_add() 406 ret_val = ops->doi_add(doi_def, audit_info); in calipso_doi_add() 420 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_free() local 422 if (ops) in calipso_doi_free() 423 ops->doi_free(doi_def); in calipso_doi_free() 440 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_remove() local 442 if (ops) in calipso_doi_remove() [all …]
|
/Linux-v5.10/drivers/video/fbdev/core/ |
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 | 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_rotate.c | 24 struct fbcon_ops *ops = info->fbcon_par; in fbcon_rotate_font() local 30 if (vc->vc_font.data == ops->fontdata && in fbcon_rotate_font() 31 ops->p->con_rotate == ops->cur_rotate) in fbcon_rotate_font() 34 src = ops->fontdata = vc->vc_font.data; in fbcon_rotate_font() 35 ops->cur_rotate = ops->p->con_rotate; in fbcon_rotate_font() 36 len = (!ops->p->userfont) ? 256 : FNTCHARCNT(src); in fbcon_rotate_font() 41 if (ops->rotate == FB_ROTATE_CW || in fbcon_rotate_font() 42 ops->rotate == FB_ROTATE_CCW) in fbcon_rotate_font() 49 if (ops->fd_size < d_cellsize * len) { in fbcon_rotate_font() 57 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 …]
|
/Linux-v5.10/kernel/livepatch/ |
D | patch.c | 27 struct klp_ops *ops; in klp_find_ops() local 30 list_for_each_entry(ops, &klp_ops, node) { in klp_find_ops() 31 func = list_first_entry(&ops->func_stack, struct klp_func, in klp_find_ops() 34 return ops; in klp_find_ops() 45 struct klp_ops *ops; in klp_ftrace_handler() local 49 ops = container_of(fops, struct klp_ops, fops); in klp_ftrace_handler() 57 func = list_first_or_null_rcu(&ops->func_stack, struct klp_func, in klp_ftrace_handler() 104 if (&func->stack_node == &ops->func_stack) in klp_ftrace_handler() 137 struct klp_ops *ops; in klp_unpatch_func() local 144 ops = klp_find_ops(func->old_func); in klp_unpatch_func() [all …]
|
/Linux-v5.10/drivers/media/platform/qcom/venus/ |
D | hfi.c | 61 ret = core->ops->core_init(core); in hfi_core_init() 107 ret = core->ops->core_deinit(core); in hfi_core_deinit() 122 return core->ops->suspend(core); in hfi_core_suspend() 130 return core->ops->resume(core); in hfi_core_resume() 135 return core->ops->core_trigger_ssr(core, type); in hfi_core_trigger_ssr() 144 ret = core->ops->core_ping(core, 0xbeef); in hfi_core_ping() 175 int hfi_session_create(struct venus_inst *inst, const struct hfi_inst_ops *ops) in hfi_session_create() argument 179 if (!ops) in hfi_session_create() 184 inst->ops = ops; in hfi_session_create() 198 const struct hfi_ops *ops = core->ops; in hfi_session_init() local [all …]
|
/Linux-v5.10/drivers/misc/c2port/ |
D | core.c | 63 struct c2port_ops *ops = dev->ops; in c2port_reset() local 69 ops->c2ck_set(dev, 0); in c2port_reset() 71 ops->c2ck_set(dev, 1); in c2port_reset() 79 struct c2port_ops *ops = dev->ops; in c2port_strobe_ck() local 87 ops->c2ck_set(dev, 0); in c2port_strobe_ck() 89 ops->c2ck_set(dev, 1); in c2port_strobe_ck() 101 struct c2port_ops *ops = dev->ops; in c2port_write_ar() local 108 ops->c2d_dir(dev, 0); in c2port_write_ar() 109 ops->c2d_set(dev, 1); in c2port_write_ar() 111 ops->c2d_set(dev, 1); in c2port_write_ar() [all …]
|
/Linux-v5.10/tools/perf/arch/s390/annotate/ |
D | instructions.c | 4 static int s390_call__parse(struct arch *arch, struct ins_operands *ops, in s390_call__parse() argument 13 tok = strchr(ops->raw, ','); in s390_call__parse() 17 ops->target.addr = strtoull(tok + 1, &endptr, 16); in s390_call__parse() 34 ops->target.name = strdup(name); in s390_call__parse() 37 if (ops->target.name == NULL) in s390_call__parse() 39 target.addr = map__objdump_2mem(map, ops->target.addr); in s390_call__parse() 42 map__rip_2objdump(target.ms.map, map->map_ip(target.ms.map, target.addr)) == ops->target.addr) in s390_call__parse() 43 ops->target.sym = target.ms.sym; in s390_call__parse() 49 struct ins_operands *ops, int max_ins_name); 57 struct ins_operands *ops, in s390_mov__parse() argument [all …]
|
/Linux-v5.10/kernel/trace/ |
D | trace_functions.c | 39 struct ftrace_ops *ops; in ftrace_allocate_ftrace_ops() local 45 ops = kzalloc(sizeof(*ops), GFP_KERNEL); in ftrace_allocate_ftrace_ops() 46 if (!ops) in ftrace_allocate_ftrace_ops() 50 ops->func = function_trace_call; in ftrace_allocate_ftrace_ops() 51 ops->flags = FTRACE_OPS_FL_RECURSION_SAFE | FTRACE_OPS_FL_PID; in ftrace_allocate_ftrace_ops() 53 tr->ops = ops; in ftrace_allocate_ftrace_ops() 54 ops->private = tr; in ftrace_allocate_ftrace_ops() 61 kfree(tr->ops); in ftrace_free_ftrace_ops() 62 tr->ops = NULL; in ftrace_free_ftrace_ops() 75 if (!tr->ops) in ftrace_create_function_files() [all …]
|
/Linux-v5.10/net/mac80211/ |
D | driver-ops.h | 35 local->ops->tx(&local->hw, control, skb); in drv_tx() 41 if (local->ops->sync_rx_queues) { in drv_sync_rx_queues() 43 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues() 52 if (local->ops->get_et_strings) { in drv_get_et_strings() 54 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings() 64 if (local->ops->get_et_stats) { in drv_get_et_stats() 66 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); in drv_get_et_stats() 76 if (local->ops->get_et_sset_count) { in drv_get_et_sset_count() 78 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count() 97 ret = local->ops->suspend(&local->hw, wowlan); in drv_suspend() [all …]
|