| /linux-6.15/drivers/media/platform/amphion/ |
| H A D | vpu_rpc.h | 122 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-6.15/drivers/net/wireless/ti/wlcore/ |
| H A D | hw_ops.h | 17 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-6.15/drivers/mfd/ |
| H A D | abx500-core.c | 19 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-6.15/drivers/mtd/tests/ |
| H A D | oobtest.c | 66 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-6.15/include/linux/ |
| H A D | ntb.h | 339 !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-6.15/tools/perf/arch/x86/annotate/ |
| H A D | instructions.c | 11 { .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-6.15/net/netfilter/ |
| H A D | nf_sockopt.c | 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() 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-6.15/tools/testing/cxl/test/ |
| H A D | mock.c | 52 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(cxlds->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-6.15/drivers/base/ |
| H A D | syscore.c | 36 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-6.15/arch/s390/appldata/ |
| H A D | appldata_base.c | 117 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-6.15/net/netlabel/ |
| H A D | netlabel_calipso.c | 130 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-6.15/tools/lib/thermal/ |
| H A D | events.c | 27 struct thermal_events_ops *ops = &thp->th->ops->events; in handle_thermal_event() local 62 return ops->trip_add(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_event() 128 enabled_ops[THERMAL_GENL_EVENT_TZ_CREATE] = !!ops->tz_create; in thermal_events_ops_init() 129 enabled_ops[THERMAL_GENL_EVENT_TZ_DELETE] = !!ops->tz_delete; in thermal_events_ops_init() 130 enabled_ops[THERMAL_GENL_EVENT_TZ_DISABLE] = !!ops->tz_disable; in thermal_events_ops_init() 131 enabled_ops[THERMAL_GENL_EVENT_TZ_ENABLE] = !!ops->tz_enable; in thermal_events_ops_init() 132 enabled_ops[THERMAL_GENL_EVENT_TZ_TRIP_UP] = !!ops->trip_high; in thermal_events_ops_init() 133 enabled_ops[THERMAL_GENL_EVENT_TZ_TRIP_DOWN] = !!ops->trip_low; in thermal_events_ops_init() 135 enabled_ops[THERMAL_GENL_EVENT_TZ_TRIP_ADD] = !!ops->trip_add; in thermal_events_ops_init() 137 enabled_ops[THERMAL_GENL_EVENT_CDEV_ADD] = !!ops->cdev_add; in thermal_events_ops_init() [all …]
|
| /linux-6.15/tools/perf/arch/loongarch/annotate/ |
| H A D | instructions.c | 17 c = strchr(ops->raw, '#'); in loongarch_call__parse() 38 if (ops->target.name == NULL) in loongarch_call__parse() 66 ops->jump.raw_comment = strchr(ops->raw, arch->objdump.comment_char); in loongarch_jump__parse() 67 ops->jump.raw_func_start = strchr(ops->raw, '<'); in loongarch_jump__parse() 69 if (ops->jump.raw_func_start && c > ops->jump.raw_func_start) in loongarch_jump__parse() 75 ops->target.addr = strtoull(ops->raw, NULL, 16); in loongarch_jump__parse() 87 if (!ops->target.outside) { in loongarch_jump__parse() 105 struct ins_ops *ops = NULL; in loongarch__associate_ins_ops() local 108 ops = &loongarch_call_ops; in loongarch__associate_ins_ops() 110 ops = &ret_ops; in loongarch__associate_ins_ops() [all …]
|
| /linux-6.15/drivers/media/v4l2-core/ |
| H A D | v4l2-dev.c | 522 #define SET_VALID_IOCTL(ops, cmd, op) \ argument 605 if (ops->vidioc_enum_freq_bands || ops->vidioc_g_tuner || ops->vidioc_g_modulator) in determine_valid_ioctls() 614 if ((is_rx && (ops->vidioc_g_fmt_vid_cap || in determine_valid_ioctls() 616 ops->vidioc_g_fmt_vid_overlay)) || in determine_valid_ioctls() 623 ops->vidioc_s_fmt_vid_overlay)) || in determine_valid_ioctls() 647 if (ops->vidioc_g_selection && in determine_valid_ioctls() 652 if (ops->vidioc_s_selection && in determine_valid_ioctls() 728 if (ops->vidioc_create_bufs) in determine_valid_ioctls() 734 if (ops->vidioc_s_std) in determine_valid_ioctls() 769 if (ops->vidioc_g_parm || ops->vidioc_g_std) in determine_valid_ioctls() [all …]
|
| /linux-6.15/drivers/video/fbdev/core/ |
| H A D | fbcon_ud.c | 167 if (!ops->fontbuffer) in ud_putcs() 264 if (!ops->fontbuffer) in ud_cursor() 274 ops->cursor_reset) { in ud_cursor() 286 ops->cursor_data = dst; in ud_cursor() 293 ops->cursor_reset) { in ud_cursor() 301 ops->cursor_reset) { in ud_cursor() 318 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y || in ud_cursor() 396 ops->cursor_reset = 0; in ud_cursor() 422 ops->bmove = ud_bmove; in fbcon_rotate_ud() 423 ops->clear = ud_clear; in fbcon_rotate_ud() [all …]
|
| H A D | fbcon_ccw.c | 144 if (!ops->fontbuffer) in ccw_putcs() 233 if (!ops->fontbuffer) in ccw_cursor() 243 ops->cursor_reset) { in ccw_cursor() 255 ops->cursor_data = dst; in ccw_cursor() 262 ops->cursor_reset) { in ccw_cursor() 287 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y || in ccw_cursor() 373 ops->cursor_reset = 0; in ccw_cursor() 384 ops->var.xoffset = ops->var.yoffset; in ccw_update_start() 395 ops->bmove = ccw_bmove; in fbcon_rotate_ccw() 396 ops->clear = ccw_clear; in fbcon_rotate_ccw() [all …]
|
| H A D | fbcon_cw.c | 129 if (!ops->fontbuffer) in cw_putcs() 216 if (!ops->fontbuffer) in cw_cursor() 226 ops->cursor_reset) { in cw_cursor() 238 ops->cursor_data = dst; in cw_cursor() 245 ops->cursor_reset) { in cw_cursor() 270 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y || in cw_cursor() 356 ops->cursor_reset = 0; in cw_cursor() 367 ops->var.yoffset = ops->var.xoffset; in cw_update_start() 378 ops->bmove = cw_bmove; in fbcon_rotate_cw() 379 ops->clear = cw_clear; in fbcon_rotate_cw() [all …]
|
| /linux-6.15/mm/ |
| H A D | pagewalk.c | 33 const struct mm_walk_ops *ops = walk->ops; in walk_pte_range_inner() local 102 const struct mm_walk_ops *ops = walk->ops; in walk_pmd_range() local 173 const struct mm_walk_ops *ops = walk->ops; in walk_pud_range() local 239 const struct mm_walk_ops *ops = walk->ops; in walk_p4d_range() local 240 bool has_handler = ops->pud_entry || ops->pmd_entry || ops->pte_entry; in walk_p4d_range() 278 bool has_handler = ops->p4d_entry || ops->pud_entry || ops->pmd_entry || in walk_pgd_range() 462 .ops = ops, in walk_page_range_mm() 612 .ops = ops, in walk_page_range_novma() 656 .ops = ops, in walk_page_range_vma() 678 .ops = ops, in walk_page_vma() [all …]
|
| /linux-6.15/net/core/ |
| H A D | lwtunnel.c | 90 NULL, ops) ? 0 : -1; in lwtunnel_encap_add_ops() 105 ops, NULL) == ops) ? 0 : -1; in lwtunnel_encap_del_ops() 132 if (likely(ops && ops->build_state && try_module_get(ops->owner))) in lwtunnel_build_state() 166 if (!ops) { in lwtunnel_valid_encap_type() 259 if (likely(ops && ops->fill_encap)) in lwtunnel_fill_encap() 293 if (likely(ops && ops->get_encap_size)) in lwtunnel_get_encap_size() 321 if (likely(ops && ops->cmp_encap)) in lwtunnel_cmp_encap() 361 if (likely(ops && ops->output)) { in lwtunnel_output() 415 if (likely(ops && ops->xmit)) { in lwtunnel_xmit() 417 ret = ops->xmit(skb); in lwtunnel_xmit() [all …]
|
| /linux-6.15/kernel/livepatch/ |
| H A D | patch.c | 27 struct klp_ops *ops; in klp_find_ops() local 34 return ops; in klp_find_ops() 45 struct klp_ops *ops; in klp_ftrace_handler() local 129 struct klp_ops *ops; in klp_unpatch_func() local 137 if (WARN_ON(!ops)) in klp_unpatch_func() 152 kfree(ops); in klp_unpatch_func() 162 struct klp_ops *ops; in klp_patch_func() local 172 if (!ops) { in klp_patch_func() 182 ops = kzalloc(sizeof(*ops), GFP_KERNEL); in klp_patch_func() 183 if (!ops) in klp_patch_func() [all …]
|
| /linux-6.15/sound/soc/ |
| H A D | soc-dai.c | 43 if (dai->driver->ops && in snd_soc_dai_set_sysclk() 69 if (dai->driver->ops && in snd_soc_dai_set_clkdiv() 92 if (dai->driver->ops && in snd_soc_dai_set_pll() 115 if (dai->driver->ops && in snd_soc_dai_set_bclk_ratio() 132 if (dai->driver->ops && in snd_soc_dai_get_fmt_max_priority() 157 const struct snd_soc_dai_ops *ops = dai->driver->ops; in snd_soc_dai_get_fmt() local 174 if (ops) in snd_soc_dai_get_fmt() 197 if (dai->driver->ops && dai->driver->ops->set_fmt) in snd_soc_dai_set_fmt() 262 if (dai->driver->ops && in snd_soc_dai_set_tdm_slot() 273 if (dai->driver->ops && in snd_soc_dai_set_tdm_slot() [all …]
|
| /linux-6.15/drivers/misc/c2port/ |
| H A D | core.c | 63 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 …]
|
| /linux-6.15/net/dsa/ |
| H A D | conduit.c | 29 if (ops->get_regs_len) { in dsa_conduit_get_regs_len() 41 if (ds->ops->get_regs_len) { in dsa_conduit_get_regs_len() 62 if (ops->get_regs_len && ops->get_regs) { in dsa_conduit_get_regs() 81 if (ds->ops->get_regs_len && ds->ops->get_regs) { in dsa_conduit_get_regs() 100 if (ops->get_sset_count && ops->get_ethtool_stats) { in dsa_conduit_get_ethtool_stats() 125 } else if (ops->get_sset_count && ops->get_ethtool_phy_stats) { in dsa_conduit_get_ethtool_phy_stats() 187 } else if (ops->get_sset_count && ops->get_strings) { in dsa_conduit_get_strings() 247 ops = devm_kzalloc(ds->dev, sizeof(*ops), GFP_KERNEL); in dsa_conduit_ethtool_setup() 248 if (!ops) in dsa_conduit_ethtool_setup() 253 memcpy(ops, cpu_dp->orig_ethtool_ops, sizeof(*ops)); in dsa_conduit_ethtool_setup() [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/tests/ |
| H A D | xe_lmtt_test.c | 10 const struct xe_lmtt_ops *ops; member 26 const struct xe_lmtt_ops *ops = p->ops; in test_ops() local 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() 38 for (n = 0; n <= ops->lmtt_root_pd_level(); n++) { in test_ops() 39 KUNIT_EXPECT_NE_MSG(test, ops->lmtt_pte_num(n), 0, in test_ops() 47 for (n = 0; n < ops->lmtt_root_pd_level(); n++) { in test_ops() [all …]
|
| /linux-6.15/drivers/media/platform/qcom/venus/ |
| H A D | hfi.c | 166 inst->ops = ops; in hfi_session_create() 194 const struct hfi_ops *ops = core->ops; in hfi_session_init() local 243 const struct hfi_ops *ops = inst->core->ops; in hfi_session_deinit() local 274 const struct hfi_ops *ops = inst->core->ops; in hfi_session_start() local 301 const struct hfi_ops *ops = inst->core->ops; in hfi_session_stop() local 342 const struct hfi_ops *ops = inst->core->ops; in hfi_session_abort() local 364 const struct hfi_ops *ops = inst->core->ops; in hfi_session_load_res() local 390 const struct hfi_ops *ops = inst->core->ops; in hfi_session_unload_res() local 417 const struct hfi_ops *ops = inst->core->ops; in hfi_session_flush() local 441 const struct hfi_ops *ops = inst->core->ops; in hfi_session_set_buffers() local [all …]
|