Home
last modified time | relevance | path

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

12345678910>>...142

/linux/drivers/media/platform/amphion/
H A Dvpu_rpc.h120 struct vpu_iface_ops *ops = vpu_core_get_iface(core); in vpu_iface_check_codec() local
122 if (ops && ops->check_codec) in vpu_iface_check_codec()
123 return ops->check_codec(core->type); in vpu_iface_check_codec()
130 struct vpu_iface_ops *ops = vpu_inst_get_iface(inst); in vpu_iface_check_format() local
132 if (ops && ops->check_fmt) in vpu_iface_check_format()
133 return ops->check_fmt(inst->type, pixelfmt); in vpu_iface_check_format()
140 struct vpu_iface_ops *ops = vpu_core_get_iface(core); in vpu_iface_boot_core() local
142 if (ops && ops->boot_core) in vpu_iface_boot_core()
143 return ops->boot_core(core); in vpu_iface_boot_core()
149 struct vpu_iface_ops *ops = vpu_core_get_iface(core); in vpu_iface_get_power_state() local
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dhw_ops.h17 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/drivers/mfd/
H A Dabx500-core.c19 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/include/linux/
H A Dntb.h178 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
336 static inline int ntb_dev_ops_is_valid(const struct ntb_dev_ops *ops) in ntb_dev_ops_is_valid() argument
341 !ops->peer_port_count == !ops->port_number && in ntb_dev_ops_is_valid()
342 !ops->peer_port_number == !ops->port_number && in ntb_dev_ops_is_valid()
343 !ops->peer_port_idx == !ops->port_number && in ntb_dev_ops_is_valid()
346 ops->link_is_up && in ntb_dev_ops_is_valid()
347 ops->link_enable && in ntb_dev_ops_is_valid()
[all …]
/linux/net/netfilter/
H A Dnf_sockopt.c27 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/tools/testing/cxl/test/
H A Dmock.c16 void register_cxl_mock_ops(struct cxl_mock_ops *ops)
18 list_add_rcu(&ops->list, &mock);
24 void unregister_cxl_mock_ops(struct cxl_mock_ops *ops) in register_cxl_mock_ops()
26 list_del_rcu(&ops->list); in register_cxl_mock_ops()
49 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index);
52 if (ops) in put_cxl_mock_ops()
53 retval = ops->is_mock_adev(adev); in put_cxl_mock_ops()
68 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); in __wrap_is_acpi_device_node()
70 if (ops) in __wrap_is_acpi_device_node()
71 rc = ops in __wrap_is_acpi_device_node()
22 register_cxl_mock_ops(struct cxl_mock_ops * ops) register_cxl_mock_ops() argument
33 unregister_cxl_mock_ops(struct cxl_mock_ops * ops) unregister_cxl_mock_ops() argument
61 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_is_acpi_device_node() local
80 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_acpi_table_parse_cedt() local
99 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_acpi_evaluate_integer() local
119 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_hmat_get_extended_linear_cache_size() local
138 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_acpi_pci_find_root() local
156 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_nvdimm_bus_register() local
169 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); redirect_devm_cxl_switch_port_decoders_setup() local
183 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_devm_cxl_endpoint_decoders_setup() local
198 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_cxl_await_media_ready() local
217 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_devm_cxl_add_rch_dport() local
237 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_cxl_endpoint_parse_cdat() local
251 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); __wrap_cxl_dport_init_ras_reporting() local
264 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); redirect_devm_cxl_add_dport_by_dev() local
[all...]
/linux/net/netlabel/
H A Dnetlabel_calipso.c68 netlbl_calipso_ops_register(const struct netlbl_calipso_ops *ops) in netlbl_calipso_ops_register() argument
70 return xchg(&calipso_ops, ops); in netlbl_calipso_ops_register()
124 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in netlbl_calipso_add() local
130 if (!ops) in netlbl_calipso_add()
408 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_add() local
410 if (ops) in calipso_doi_add()
411 ret_val = ops->doi_add(doi_def, audit_info); in calipso_doi_add()
425 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_free() local
427 if (ops) in calipso_doi_free()
428 ops->doi_free(doi_def); in calipso_doi_free()
[all …]
/linux/tools/perf/util/
H A Ddisasm.c90 int arch__associate_ins_ops(struct arch *arch, const char *name, const struct ins_ops *ops) in arch__associate_ins_ops() argument
103 ins->ops = ops; in arch__associate_ins_ops()
206 static void ins_ops__delete(struct ins_operands *ops) in ins_ops__delete() argument
208 if (ops == NULL) in ins_ops__delete()
210 zfree(&ops->source.raw); in ins_ops__delete()
211 zfree(&ops->source.name); in ins_ops__delete()
212 zfree(&ops->target.raw); in ins_ops__delete()
213 zfree(&ops->target.name); in ins_ops__delete()
217 struct ins_operands *ops, in in ins__raw_scnprintf() argument
223 ins__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) ins__scnprintf() argument
239 call__parse(const struct arch * arch,struct ins_operands * ops,struct map_symbol * ms,struct disasm_line * dl __maybe_unused) call__parse() argument
295 call__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) call__scnprintf() argument
327 validate_comma(const char * c,struct ins_operands * ops) validate_comma() argument
338 jump__parse(const struct arch * arch,struct ins_operands * ops,struct map_symbol * ms,struct disasm_line * dl __maybe_unused) jump__parse() argument
423 jump__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) jump__scnprintf() argument
502 lock__parse(const struct arch * arch,struct ins_operands * ops,struct map_symbol * ms,struct disasm_line * dl __maybe_unused) lock__parse() argument
529 lock__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) lock__scnprintf() argument
541 lock__delete(struct ins_operands * ops) lock__delete() argument
590 mov__parse(const struct arch * arch,struct ins_operands * ops,struct map_symbol * ms __maybe_unused,struct disasm_line * dl __maybe_unused) mov__parse() argument
658 mov__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) mov__scnprintf() argument
670 dec__parse(const struct arch * arch __maybe_unused,struct ins_operands * ops,struct map_symbol * ms __maybe_unused,struct disasm_line * dl __maybe_unused) dec__parse() argument
700 dec__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) dec__scnprintf() argument
773 const struct ins_ops *ops; __ins__find() local
811 const struct ins_ops *ops = __ins__find(arch, name, dl); ins__find() local
[all...]
/linux/net/core/
H A Dfib_rules.c55 int fib_default_rule_add(struct fib_rules_ops *ops, in fib_default_rule_add() argument
60 r = kzalloc(ops->rule_size, GFP_KERNEL_ACCOUNT); in fib_default_rule_add()
69 r->fr_net = ops->fro_net; in fib_default_rule_add()
77 list_add_tail(&r->list, &ops->rules_list); in fib_default_rule_add()
81 static u32 fib_default_rule_pref(struct fib_rules_ops *ops) in fib_default_rule_pref() argument
86 if (!list_empty(&ops->rules_list)) { in fib_default_rule_pref()
87 pos = ops->rules_list.next; in fib_default_rule_pref()
88 if (pos->next != &ops->rules_list) { in fib_default_rule_pref()
99 struct fib_rules_ops *ops, struct nlmsghdr *nlh,
105 struct fib_rules_ops *ops; in lookup_rules_ops() local
[all …]
H A Dlwtunnel.c82 int lwtunnel_encap_add_ops(const struct lwtunnel_encap_ops *ops, in lwtunnel_encap_add_ops() argument
90 NULL, ops) ? 0 : -1; in lwtunnel_encap_add_ops()
94 int lwtunnel_encap_del_ops(const struct lwtunnel_encap_ops *ops, in lwtunnel_encap_del_ops() argument
105 ops, NULL) == ops) ? 0 : -1; in lwtunnel_encap_del_ops()
118 const struct lwtunnel_encap_ops *ops; in lwtunnel_build_state() local
131 ops = rcu_dereference(lwtun_encaps[encap_type]); in lwtunnel_build_state()
132 if (likely(ops && ops->build_state && try_module_get(ops->owner))) in lwtunnel_build_state()
137 ret = ops->build_state(net, encap, family, cfg, lws, extack); in lwtunnel_build_state()
139 module_put(ops->owner); in lwtunnel_build_state()
154 const struct lwtunnel_encap_ops *ops; in lwtunnel_valid_encap_type() local
[all …]
/linux/rust/kernel/
H A Dnum.rs5 use core::ops;
32 + ops::Add<Output = Self>
33 + ops::AddAssign
34 + ops::Sub<Output = Self>
35 + ops::SubAssign
36 + ops::Mul<Output = Self>
37 + ops::MulAssign
38 + ops::Div<Output = Self>
39 + ops::DivAssign
40 + ops::Rem<Output = Self>
[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()
109 if (&func->stack_node == &ops->func_stack) in klp_ftrace_handler()
129 struct klp_ops *ops; in klp_unpatch_func() local
136 ops = klp_find_ops(func->old_func); in klp_unpatch_func()
[all …]
/linux/tools/perf/util/annotate-arch/
H A Dannotate-loongarch.c17 static int loongarch_call__parse(const struct arch *arch, struct ins_operands *ops, in loongarch_call__parse() argument
25 c = strchr(ops->raw, '#'); in loongarch_call__parse()
29 ops->target.addr = strtoull(c, &endptr, 16); in loongarch_call__parse()
43 ops->target.name = strdup(name); in loongarch_call__parse()
46 if (ops->target.name == NULL) in loongarch_call__parse()
51 .addr = map__objdump_2mem(map, ops->target.addr), in loongarch_call__parse()
55 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr) in loongarch_call__parse()
56 ops->target.sym = target.ms.sym; in loongarch_call__parse()
68 static int loongarch_jump__parse(const struct arch *arch, struct ins_operands *ops, in loongarch_jump__parse() argument
78 const char *c = strchr(ops->raw, '#'); in loongarch_jump__parse()
[all …]
H A Dannotate-x86.c24 { .name = "adc", .ops = &mov_ops, },
25 { .name = "add", .ops = &mov_ops, },
26 { .name = "addsd", .ops = &mov_ops, },
27 { .name = "and", .ops = &mov_ops, },
28 { .name = "andpd", .ops = &mov_ops, },
29 { .name = "andps", .ops = &mov_ops, },
30 { .name = "bsr", .ops = &mov_ops, },
31 { .name = "bt", .ops = &mov_ops, },
32 { .name = "btr", .ops = &mov_ops, },
33 { .name = "bts", .ops
[all...]
H A Dannotate-s390.c13 static int s390_call__parse(const struct arch *arch, struct ins_operands *ops, in s390_call__parse() argument
21 tok = strchr(ops->raw, ','); in s390_call__parse()
25 ops->target.addr = strtoull(tok + 1, &endptr, 16); in s390_call__parse()
42 ops->target.name = strdup(name); in s390_call__parse()
45 if (ops->target.name == NULL) in s390_call__parse()
50 .addr = map__objdump_2mem(map, ops->target.addr), in s390_call__parse()
54 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr) in s390_call__parse()
55 ops->target.sym = target.ms.sym; in s390_call__parse()
68 struct ins_operands *ops, in s390_mov__parse() argument
72 char *s = strchr(ops->raw, ','), *target, *endptr; in s390_mov__parse()
[all …]
/linux/drivers/misc/c2port/
H A Dcore.c63 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/tools/testing/selftests/mm/
H A Dkhugepaged.c68 struct mem_ops *ops, bool expect);
267 static void *alloc_hpage(struct mem_ops *ops) in alloc_hpage() argument
269 void *p = ops->setup_area(1); in alloc_hpage()
271 ops->fault(p, 0, hpage_pmd_size); in alloc_hpage()
283 if (!ops->check_huge(p, hpage_pmd_size, 1, hpage_pmd_size)) in alloc_hpage()
503 static bool is_tmpfs(struct mem_ops *ops) in is_tmpfs() argument
505 return (ops == &__read_only_file_ops || in is_tmpfs()
506 ops == &__read_write_file_read_ops || in is_tmpfs()
507 ops == &__read_write_file_write_ops) && in is_tmpfs()
511 static bool is_anon(struct mem_ops *ops) in is_anon() argument
[all …]
/linux/drivers/net/ethernet/intel/igb/
H A De1000_phy.c62 phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, 0); in igb_get_phy_id()
64 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igb_get_phy_id()
70 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igb_get_phy_id()
91 if (!(hw->phy.ops.write_reg)) in igb_phy_reset_dsp()
94 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0xC1); in igb_phy_reset_dsp()
98 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0); in igb_phy_reset_dsp()
384 if (!(hw->phy.ops.acquire)) in igb_read_phy_reg_igp()
387 ret_val = hw->phy.ops.acquire(hw); in igb_read_phy_reg_igp()
396 hw->phy.ops.release(hw); in igb_read_phy_reg_igp()
404 hw->phy.ops.release(hw); in igb_read_phy_reg_igp()
[all …]
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_lmtt_test.c10 const struct xe_lmtt_ops *ops; member
26 const struct xe_lmtt_ops *ops = p->ops; in test_ops() local
29 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_root_pd_level); in test_ops()
30 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_pte_num); in test_ops()
31 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_pte_size); in test_ops()
32 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_pte_shift); in test_ops()
33 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_pte_index); in test_ops()
34 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_pte_encode); in test_ops()
36 KUNIT_EXPECT_NE(test, ops->lmtt_root_pd_level(), 0); in test_ops()
38 for (n = 0; n <= ops->lmtt_root_pd_level(); n++) { in test_ops()
[all …]
/linux/sound/soc/sof/
H A Dipc.c19 #include "ops.h"
80 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message()
89 return ipc->ops->set_get_data(ipc->sdev, msg_data, msg_bytes, set); in sof_ipc_set_get_data()
105 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message_no_pm()
123 sdev->msg->reply_error = sdev->ipc->ops->get_reply(sdev); in snd_sof_ipc_get_reply()
149 const struct sof_ipc_ops *ops; in snd_sof_ipc_init()
167 ops = &ipc3_ops; in snd_sof_ipc_init()
172 ops = &ipc4_ops; in snd_sof_ipc_init()
181 /* check for mandatory ops */ in snd_sof_ipc_init()
182 if (!ops in snd_sof_ipc_init()
151 const struct sof_ipc_ops *ops; snd_sof_ipc_init() local
[all...]
/linux/lib/
H A Dtextsearch.c143 int textsearch_register(struct ts_ops *ops) in textsearch_register() argument
148 if (ops->name == NULL || ops->find == NULL || ops->init == NULL || in textsearch_register()
149 ops->get_pattern == NULL || ops->get_pattern_len == NULL) in textsearch_register()
154 if (!strcmp(ops->name, o->name)) in textsearch_register()
158 list_add_tail_rcu(&ops->list, &ts_ops); in textsearch_register()
178 int textsearch_unregister(struct ts_ops *ops) in textsearch_unregister() argument
185 if (o == ops) { in textsearch_unregister()
268 struct ts_ops *ops; in textsearch_prepare() local
273 ops = lookup_ts_algo(algo); in textsearch_prepare()
280 if (ops == NULL && flags & TS_AUTOLOAD) { in textsearch_prepare()
[all …]
/linux/samples/ftrace/
H A Dftrace-ops.c96 struct ftrace_ops ops; member
113 self = container_of(op, struct sample_ops, ops); in ops_func_count()
123 struct sample_ops *ops; in ops_alloc_init() local
125 ops = kcalloc(nr, sizeof(*ops), GFP_KERNEL); in ops_alloc_init()
126 if (WARN_ON_ONCE(!ops)) in ops_alloc_init()
130 ops[i].ops.func = func; in ops_alloc_init()
131 ops[i].ops.flags = flags; in ops_alloc_init()
132 WARN_ON_ONCE(ftrace_set_filter_ip(&ops[i].ops, (unsigned long)tracee, 0, 0)); in ops_alloc_init()
133 WARN_ON_ONCE(register_ftrace_function(&ops[i].ops)); in ops_alloc_init()
136 return ops; in ops_alloc_init()
[all …]
/linux/drivers/iommu/
H A Dio-pgtable-arm-selftests.c61 struct io_pgtable_ops *ops; in arm_lpae_run_tests() local
65 ops = alloc_io_pgtable_ops(fmts[i], cfg, cfg); in arm_lpae_run_tests()
66 if (!ops) { in arm_lpae_run_tests()
75 if (ops->iova_to_phys(ops, 42)) in arm_lpae_run_tests()
78 if (ops->iova_to_phys(ops, SZ_1G + 42)) in arm_lpae_run_tests()
81 if (ops->iova_to_phys(ops, SZ_2G + 42)) in arm_lpae_run_tests()
91 if (ops->map_pages(ops, iova, iova, size, 1, in arm_lpae_run_tests()
98 if (!ops->map_pages(ops, iova, iova + size, size, 1, in arm_lpae_run_tests()
103 if (ops->iova_to_phys(ops, iova + 42) != (iova + 42)) in arm_lpae_run_tests()
114 if (ops->unmap_pages(ops, iova, size, 1, NULL) != size) in arm_lpae_run_tests()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h240 if (WARN_ON_ONCE(!ar->wmi.ops->rx)) in ath10k_wmi_rx()
243 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx()
251 if (!ar->wmi.ops->map_svc) in ath10k_wmi_map_svc()
254 ar->wmi.ops->map_svc(in, out, len); in ath10k_wmi_map_svc()
262 if (!ar->wmi.ops->map_svc_ext) in ath10k_wmi_map_svc_ext()
265 ar->wmi.ops->map_svc_ext(in, out, len); in ath10k_wmi_map_svc_ext()
273 if (!ar->wmi.ops->pull_scan) in ath10k_wmi_pull_scan()
276 return ar->wmi.ops->pull_scan(ar, skb, arg); in ath10k_wmi_pull_scan()
283 if (!ar->wmi.ops->pull_mgmt_tx_compl) in ath10k_wmi_pull_mgmt_tx_compl()
286 return ar->wmi.ops->pull_mgmt_tx_compl(ar, skb, arg); in ath10k_wmi_pull_mgmt_tx_compl()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_shared.h64 static inline bool xfs_btree_is_bno(const struct xfs_btree_ops *ops) in xfs_btree_is_bno() argument
66 return ops == &xfs_bnobt_ops; in xfs_btree_is_bno()
69 static inline bool xfs_btree_is_cnt(const struct xfs_btree_ops *ops) in xfs_btree_is_cnt() argument
71 return ops == &xfs_cntbt_ops; in xfs_btree_is_cnt()
74 static inline bool xfs_btree_is_bmap(const struct xfs_btree_ops *ops) in xfs_btree_is_bmap() argument
76 return ops == &xfs_bmbt_ops; in xfs_btree_is_bmap()
79 static inline bool xfs_btree_is_ino(const struct xfs_btree_ops *ops) in xfs_btree_is_ino() argument
81 return ops == &xfs_inobt_ops; in xfs_btree_is_ino()
84 static inline bool xfs_btree_is_fino(const struct xfs_btree_ops *ops) in xfs_btree_is_fino() argument
86 return ops == &xfs_finobt_ops; in xfs_btree_is_fino()
[all …]

12345678910>>...142