Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 3391) sorted by relevance

12345678910>>...136

/linux/tools/perf/arch/x86/annotate/
H A Dinstructions.c11 { .name = "adc", .ops = &mov_ops, },
12 { .name = "add", .ops = &mov_ops, },
13 { .name = "addsd", .ops = &mov_ops, },
14 { .name = "and", .ops = &mov_ops, },
17 { .name = "bsr", .ops = &mov_ops, },
18 { .name = "bt", .ops = &mov_ops, },
19 { .name = "btr", .ops = &mov_ops, },
20 { .name = "bts", .ops = &mov_ops, },
25 { .name = "cmp", .ops = &mov_ops, },
28 { .name = "cs", .ops = &mov_ops, },
[all …]
/linux/drivers/media/platform/amphion/
H A Dvpu_rpc.h122 if (ops && ops->check_codec) in vpu_iface_check_codec()
132 if (ops && ops->check_fmt) in vpu_iface_check_format()
142 if (ops && ops->boot_core) in vpu_iface_boot_core()
151 if (ops && ops->get_power_state) in vpu_iface_get_power_state()
160 if (ops && ops->shutdown_core) in vpu_iface_shutdown_core()
169 if (ops && ops->restore_core) in vpu_iface_restore_core()
201 if (!ops || !ops->init_rpc) in vpu_iface_init()
263 if (!ops || !ops->send_cmd_buf) in vpu_iface_send_cmd()
285 if (!ops || !ops->pack_cmd) in vpu_iface_pack_cmd()
317 if (!ops || !ops->input_frame) in vpu_iface_input_frame()
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dhw_ops.h17 if (!wl->ops->calc_tx_blocks) in wlcore_hw_calc_tx_blocks()
57 if (wl->ops->prepare_read) in wlcore_hw_prepare_read()
89 if (wl->ops->init_vif) in wlcore_hw_init_vif()
115 if (wl->ops->identify_fw) in wlcore_identify_fw()
137 if (wl->ops->set_rx_csum) in wlcore_hw_set_rx_csum()
154 if (wl->ops->debugfs_init) in wlcore_debugfs_init()
184 if (!wl->ops->set_key) in wlcore_hw_set_key()
193 if (wl->ops->pre_pkt_send) in wlcore_hw_pre_pkt_send()
217 if (wl->ops->rx_ba_filter) in wlcore_hw_rx_ba_filter()
225 if (wl->ops->ap_sleep) in wlcore_hw_ap_sleep()
[all …]
/linux/drivers/mfd/
H A Dabx500-core.c19 struct abx500_ops ops; member
27 *ops = NULL; in lookup_ops()
30 *ops = &dev_entry->ops; in lookup_ops()
45 memcpy(&dev_entry->ops, ops, sizeof(*ops)); in abx500_register_ops()
68 if (ops && ops->set_register) in abx500_set_register_interruptible()
81 if (ops && ops->get_register) in abx500_get_register_interruptible()
94 if (ops && ops->get_register_page) in abx500_get_register_page_interruptible()
108 if (ops && ops->mask_and_set_register) in abx500_mask_and_set_register_interruptible()
121 if (ops && ops->get_chip_id) in abx500_get_chip_id()
133 if (ops && ops->event_registers_startup_state_get) in abx500_event_registers_startup_state_get()
[all …]
/linux/drivers/mtd/tests/
H A Doobtest.c66 ops.len = 0; in write_eraseblock()
67 ops.retlen = 0; in write_eraseblock()
69 ops.oobretlen = 0; in write_eraseblock()
176 ops.len = 0; in verify_eraseblock()
177 ops.retlen = 0; in verify_eraseblock()
179 ops.oobretlen = 0; in verify_eraseblock()
273 ops.len = 0; in verify_eraseblock_in_one_go()
274 ops.retlen = 0; in verify_eraseblock_in_one_go()
276 ops.oobretlen = 0; in verify_eraseblock_in_one_go()
277 ops.ooboffs = 0; in verify_eraseblock_in_one_go()
[all …]
/linux/include/linux/
H A Dntb.h339 !ops->peer_port_count == !ops->port_number && in ntb_dev_ops_is_valid()
341 !ops->peer_port_idx == !ops->port_number && in ntb_dev_ops_is_valid()
379 !ops->spad_read == !ops->spad_count && in ntb_dev_ops_is_valid()
380 !ops->spad_write == !ops->spad_count && in ntb_dev_ops_is_valid()
383 !ops->peer_spad_write == !ops->spad_count && in ntb_dev_ops_is_valid()
386 !ops->msg_inbits == !ops->msg_count && in ntb_dev_ops_is_valid()
387 !ops->msg_outbits == !ops->msg_count && in ntb_dev_ops_is_valid()
388 !ops->msg_read_sts == !ops->msg_count && in ntb_dev_ops_is_valid()
389 !ops->msg_clear_sts == !ops->msg_count && in ntb_dev_ops_is_valid()
392 !ops->msg_read == !ops->msg_count && in ntb_dev_ops_is_valid()
[all …]
/linux/net/netfilter/
H A Dnf_sockopt.c32 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()
69 if (ops->pf == pf) { in nf_sockopt_find()
89 return ops; in nf_sockopt_find()
99 if (IS_ERR(ops)) in nf_setsockopt()
100 return PTR_ERR(ops); in nf_setsockopt()
114 if (IS_ERR(ops)) in nf_getsockopt()
[all …]
/linux/tools/testing/cxl/test/
H A Dmock.c52 if (ops) in __wrap_is_acpi_device_node()
70 if (ops) in __wrap_acpi_table_parse_cedt()
90 if (ops) in __wrap_acpi_evaluate_integer()
108 if (ops) in __wrap_acpi_pci_find_root()
142 if (ops && ops->is_mock_port(port->uport_dev)) in __wrap_devm_cxl_setup_hdm()
157 if (ops && ops->is_mock_port(port->uport_dev)) in __wrap_devm_cxl_add_passthrough_decoder()
204 if (ops && ops->is_mock_dev(cxlds->dev)) in __wrap_cxl_await_media_ready()
221 if (ops && ops->is_mock_dev(cxlds->dev)) in __wrap_cxl_hdm_decode_init()
237 if (ops && ops->is_mock_dev(dev)) in __wrap_cxl_dvsec_rr_decode()
256 if (ops && ops->is_mock_port(dport_dev)) { in __wrap_devm_cxl_add_rch_dport()
[all …]
/linux/drivers/base/
H A Dsyscore.c36 list_del(&ops->node); in unregister_syscore_ops()
49 struct syscore_ops *ops; in syscore_suspend() local
63 if (ops->suspend) { in syscore_suspend()
65 ret = ops->suspend(); in syscore_suspend()
79 if (ops->resume) in syscore_suspend()
80 ops->resume(); in syscore_suspend()
93 struct syscore_ops *ops; in syscore_resume() local
100 if (ops->resume) { in syscore_resume()
102 ops->resume(); in syscore_resume()
121 if (ops->shutdown) { in syscore_shutdown()
[all …]
/linux/kernel/dma/
H A Dmapping.c326 if (!dma_map_direct(dev, ops) && ops->unmap_resource) in dma_unmap_resource()
657 if (ops && ops->alloc_noncontiguous) in dma_alloc_noncontiguous()
685 if (ops && ops->free_noncontiguous) in dma_free_noncontiguous()
698 if (ops && ops->alloc_noncontiguous) in dma_vmap_noncontiguous()
708 if (ops && ops->alloc_noncontiguous) in dma_vunmap_noncontiguous()
718 if (ops && ops->alloc_noncontiguous) { in dma_mmap_noncontiguous()
738 if (!ops) in dma_supported()
750 if (!ops) in dma_pci_p2pdma_supported()
825 else if (ops && ops->max_mapping_size) in dma_max_mapping_size()
837 if (ops && ops->opt_mapping_size) in dma_opt_mapping_size()
[all …]
/linux/arch/s390/appldata/
H A Dappldata_base.c117 ops->callback(ops->data); in appldata_work_fn()
291 ops = ctl->data; in appldata_generic_handler()
313 ops->callback(ops->data); // init record in appldata_generic_handler()
316 (unsigned long) ops->data, ops->size, in appldata_generic_handler()
317 ops->mod_lvl); in appldata_generic_handler()
323 ops->active = 1; in appldata_generic_handler()
325 ops->active = 0; in appldata_generic_handler()
327 (unsigned long) ops->data, ops->size, in appldata_generic_handler()
328 ops->mod_lvl); in appldata_generic_handler()
361 ops->ctl_table[0].procname = ops->name; in appldata_register_ops()
[all …]
/linux/mm/
H A Dpagewalk.c26 const struct mm_walk_ops *ops = walk->ops; in walk_pte_range_inner() local
81 const struct mm_walk_ops *ops = walk->ops; in walk_hugepd_range() local
120 const struct mm_walk_ops *ops = walk->ops; in walk_pmd_range() local
210 !(ops->pmd_entry || ops->pte_entry)) in walk_pud_range()
255 else if (ops->pud_entry || ops->pmd_entry || ops->pte_entry) in walk_p4d_range()
292 else if (ops->p4d_entry || ops->pud_entry || ops->pmd_entry || ops->pte_entry) in walk_pgd_range()
478 .ops = ops, in walk_page_range()
554 .ops = ops, in walk_page_range_novma()
596 .ops = ops, in walk_page_range_vma()
616 .ops = ops, in walk_page_vma()
[all …]
/linux/net/core/
H A Dlwtunnel.c88 NULL, ops) ? 0 : -1; in lwtunnel_encap_add_ops()
103 ops, NULL) == ops) ? 0 : -1; in lwtunnel_encap_del_ops()
130 if (likely(ops && ops->build_state && try_module_get(ops->owner))) in lwtunnel_build_state()
165 if (!ops) { in lwtunnel_valid_encap_type()
256 if (likely(ops && ops->fill_encap)) in lwtunnel_fill_encap()
290 if (likely(ops && ops->get_encap_size)) in lwtunnel_get_encap_size()
318 if (likely(ops && ops->cmp_encap)) in lwtunnel_cmp_encap()
344 if (likely(ops && ops->output)) in lwtunnel_output()
379 if (likely(ops && ops->xmit)) in lwtunnel_xmit()
380 ret = ops->xmit(skb); in lwtunnel_xmit()
[all …]
H A Dfib_rules.c113 return ops; in lookup_rules_ops()
123 if (ops) in rules_ops_put()
130 ops->flush_cache(ops); in flush_route_cache()
144 if (ops->match == NULL || ops->configure == NULL || in __fib_rules_register()
145 ops->compare == NULL || ops->fill == NULL || in __fib_rules_register()
168 ops = kmemdup(tmpl, sizeof(*ops), GFP_KERNEL); in fib_rules_register()
177 kfree(ops); in fib_rules_register()
181 return ops; in fib_rules_register()
385 if (!ops) in fib_rules_dump()
407 if (!ops) in fib_rules_seq_read()
[all …]
/linux/net/netlabel/
H A Dnetlabel_calipso.c130 if (!ops) in netlbl_calipso_add()
410 if (ops) in calipso_doi_add()
427 if (ops) in calipso_doi_free()
447 if (ops) in calipso_doi_remove()
467 if (ops) in calipso_doi_getdef()
484 if (ops) in calipso_doi_putdef()
508 if (ops) in calipso_doi_walk()
530 if (ops) in calipso_sock_getattr()
556 if (ops) in calipso_sock_setattr()
573 if (ops) in calipso_sock_delattr()
[all …]
/linux/tools/perf/arch/loongarch/annotate/
H A Dinstructions.c16 c = strchr(ops->raw, '#'); in loongarch_call__parse()
37 if (ops->target.name == NULL) in loongarch_call__parse()
64 ops->jump.raw_comment = strchr(ops->raw, arch->objdump.comment_char); in loongarch_jump__parse()
65 ops->jump.raw_func_start = strchr(ops->raw, '<'); in loongarch_jump__parse()
67 if (ops->jump.raw_func_start && c > ops->jump.raw_func_start) in loongarch_jump__parse()
73 ops->target.addr = strtoull(ops->raw, NULL, 16); in loongarch_jump__parse()
85 if (!ops->target.outside) { in loongarch_jump__parse()
103 struct ins_ops *ops = NULL; in loongarch__associate_ins_ops() local
106 ops = &loongarch_call_ops; in loongarch__associate_ins_ops()
108 ops = &ret_ops; in loongarch__associate_ins_ops()
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-dev.c521 #define SET_VALID_IOCTL(ops, cmd, op) \ argument
577 if (vdev->ctrl_handler || ops->vidioc_g_ctrl || ops->vidioc_g_ext_ctrls) in determine_valid_ioctls()
579 if (vdev->ctrl_handler || ops->vidioc_s_ctrl || ops->vidioc_s_ext_ctrls) in determine_valid_ioctls()
603 if (ops->vidioc_enum_freq_bands || ops->vidioc_g_tuner || ops->vidioc_g_modulator) in determine_valid_ioctls()
614 ops->vidioc_g_fmt_vid_overlay)) || in determine_valid_ioctls()
621 ops->vidioc_s_fmt_vid_overlay)) || in determine_valid_ioctls()
645 if (ops->vidioc_g_selection && in determine_valid_ioctls()
650 if (ops->vidioc_s_selection && in determine_valid_ioctls()
729 if (ops->vidioc_s_std) in determine_valid_ioctls()
764 if (ops->vidioc_g_parm || ops->vidioc_g_std) in determine_valid_ioctls()
[all …]
/linux/drivers/video/fbdev/core/
H A Dfbcon_ud.c168 if (!ops->fontbuffer) in ud_putcs()
265 if (!ops->fontbuffer) in ud_cursor()
275 ops->cursor_reset) { in ud_cursor()
287 ops->cursor_data = dst; in ud_cursor()
294 ops->cursor_reset) { in ud_cursor()
302 ops->cursor_reset) { in ud_cursor()
319 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y || in ud_cursor()
397 ops->cursor_reset = 0; in ud_cursor()
423 ops->bmove = ud_bmove; in fbcon_rotate_ud()
424 ops->clear = ud_clear; in fbcon_rotate_ud()
[all …]
H A Dfbcon_ccw.c145 if (!ops->fontbuffer) in ccw_putcs()
234 if (!ops->fontbuffer) in ccw_cursor()
244 ops->cursor_reset) { in ccw_cursor()
256 ops->cursor_data = dst; in ccw_cursor()
263 ops->cursor_reset) { in ccw_cursor()
288 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y || in ccw_cursor()
374 ops->cursor_reset = 0; in ccw_cursor()
385 ops->var.xoffset = ops->var.yoffset; in ccw_update_start()
396 ops->bmove = ccw_bmove; in fbcon_rotate_ccw()
397 ops->clear = ccw_clear; in fbcon_rotate_ccw()
[all …]
H A Dfbcon_cw.c130 if (!ops->fontbuffer) in cw_putcs()
217 if (!ops->fontbuffer) in cw_cursor()
227 ops->cursor_reset) { in cw_cursor()
239 ops->cursor_data = dst; in cw_cursor()
246 ops->cursor_reset) { in cw_cursor()
271 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y || in cw_cursor()
357 ops->cursor_reset = 0; in cw_cursor()
368 ops->var.yoffset = ops->var.xoffset; in cw_update_start()
379 ops->bmove = cw_bmove; in fbcon_rotate_cw()
380 ops->clear = cw_clear; in fbcon_rotate_cw()
[all …]
/linux/sound/soc/
H A Dsoc-dai.c57 if (dai->driver->ops && in snd_soc_dai_set_sysclk()
58 dai->driver->ops->set_sysclk) in snd_soc_dai_set_sysclk()
59 ret = dai->driver->ops->set_sysclk(dai, clk_id, freq, dir); in snd_soc_dai_set_sysclk()
83 if (dai->driver->ops && in snd_soc_dai_set_clkdiv()
84 dai->driver->ops->set_clkdiv) in snd_soc_dai_set_clkdiv()
85 ret = dai->driver->ops->set_clkdiv(dai, div_id, div); in snd_soc_dai_set_clkdiv()
106 if (dai->driver->ops && in snd_soc_dai_set_pll()
107 dai->driver->ops->set_pll) in snd_soc_dai_set_pll()
108 ret = dai->driver->ops->set_pll(dai, pll_id, source, in snd_soc_dai_set_pll()
129 if (dai->driver->ops in snd_soc_dai_set_bclk_ratio()
171 const struct snd_soc_dai_ops *ops = dai->driver->ops; snd_soc_dai_get_fmt() local
[all...]
/linux/net/dsa/
H A Dconduit.c28 if (ops->get_regs_len) { in dsa_conduit_get_regs_len()
38 if (ds->ops->get_regs_len) { in dsa_conduit_get_regs_len()
59 if (ops->get_regs_len && ops->get_regs) { in dsa_conduit_get_regs()
74 if (ds->ops->get_regs_len && ds->ops->get_regs) { in dsa_conduit_get_regs()
93 if (ops->get_sset_count && ops->get_ethtool_stats) { in dsa_conduit_get_ethtool_stats()
116 } else if (ops->get_sset_count && ops->get_ethtool_phy_stats) { in dsa_conduit_get_ethtool_phy_stats()
173 } else if (ops->get_sset_count && ops->get_strings) { in dsa_conduit_get_strings()
232 ops = devm_kzalloc(ds->dev, sizeof(*ops), GFP_KERNEL); in dsa_conduit_ethtool_setup()
233 if (!ops) in dsa_conduit_ethtool_setup()
238 memcpy(ops, cpu_dp->orig_ethtool_ops, sizeof(*ops)); in dsa_conduit_ethtool_setup()
[all …]
/linux/kernel/livepatch/
H A Dpatch.c27 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
50 ops = container_of(fops, struct klp_ops, fops); in klp_ftrace_handler()
62 func = list_first_or_null_rcu(&ops->func_stack, struct klp_func, in klp_ftrace_handler()
74 * In the enable path, enforce the order of the ops->func_stack and in klp_ftrace_handler()
109 if (&func->stack_node == &ops->func_stack) in klp_ftrace_handler()
129 struct klp_ops *ops; in klp_unpatch_func() local
162 struct klp_ops *ops; klp_patch_func() local
[all...]
/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c652 ops, true); in collapse_full()
673 1, ops, true); in collapse_single_pte_entry()
689 if (is_tmpfs(ops)) { in collapse_max_ptes_none()
779 1, ops, true); in collapse_max_ptes_swap()
790 p = alloc_hpage(ops); in collapse_single_pte_entry_compound()
792 if (is_tmpfs(ops)) { in collapse_single_pte_entry_compound()
818 p = alloc_hpage(ops); in collapse_full_of_compound()
880 ops, true); in collapse_compound_extreme()
937 p = alloc_hpage(ops); in collapse_fork_compound()
987 p = alloc_hpage(ops); in collapse_max_ptes_shared()
[all …]
/linux/drivers/misc/c2port/
H A Dcore.c63 struct c2port_ops *ops = dev->ops; in c2port_reset() local
79 struct c2port_ops *ops = dev->ops; in c2port_strobe_ck() local
101 struct c2port_ops *ops = dev->ops; in c2port_write_ar() local
129 struct c2port_ops *ops = dev->ops; in c2port_read_ar() local
161 struct c2port_ops *ops = dev->ops; in c2port_write_dr() local
209 struct c2port_ops *ops = dev->ops; in c2port_read_dr() local
316 struct c2port_ops *ops = c2dev->ops; in c2port_show_flash_blocks_num() local
326 struct c2port_ops *ops = c2dev->ops; in c2port_show_flash_block_size() local
336 struct c2port_ops *ops = c2dev->ops; in c2port_show_flash_size() local
629 struct c2port_ops *ops = dev->ops; in __c2port_read_flash_data() local
[all …]

12345678910>>...136