Home
last modified time | relevance | path

Searched refs:ops (Results 76 – 100 of 5807) sorted by relevance

12345678910>>...233

/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_dcb.h39 const struct qlcnic_dcb_ops *ops; member
54 if (dcb && dcb->ops->free) in qlcnic_dcb_free()
55 dcb->ops->free(dcb); in qlcnic_dcb_free()
60 if (dcb && dcb->ops->attach) in qlcnic_dcb_attach()
61 return dcb->ops->attach(dcb); in qlcnic_dcb_attach()
77 if (dcb && dcb->ops->get_info) in qlcnic_dcb_get_info()
78 dcb->ops->get_info(dcb); in qlcnic_dcb_get_info()
92 if (dcb && dcb->ops->get_cee_cfg) in qlcnic_dcb_get_cee_cfg()
100 if (dcb && dcb->ops->aen_handler) in qlcnic_dcb_aen_handler()
101 dcb->ops->aen_handler(dcb, msg); in qlcnic_dcb_aen_handler()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A De1000_phy.c91 if (!(hw->phy.ops.write_reg)) in igb_phy_reset_dsp()
384 if (!(hw->phy.ops.acquire)) 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()
423 if (!(hw->phy.ops.acquire)) in igb_write_phy_reg_igp()
435 hw->phy.ops.release(hw); in igb_write_phy_reg_igp()
443 hw->phy.ops.release(hw); in igb_write_phy_reg_igp()
733 ret_val = phy->ops.reset(hw); in igb_copper_link_setup_igp()
1401 if (!(hw->phy.ops.read_reg)) in igb_set_d3_lplu_state()
2052 if (!(hw->phy.ops.read_reg)) in igb_phy_sw_reset()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dhif.h118 if (!ar->hif.ops->diag_write) in ath10k_hif_diag_write()
134 return ar->hif.ops->start(ar); in ath10k_hif_start()
139 return ar->hif.ops->stop(ar); in ath10k_hif_stop()
144 if (ar->hif.ops->start_post) in ath10k_hif_start_post()
191 ar->hif.ops->power_down(ar); in ath10k_hif_power_down()
196 if (!ar->hif.ops->suspend) in ath10k_hif_suspend()
199 return ar->hif.ops->suspend(ar); in ath10k_hif_suspend()
204 if (!ar->hif.ops->resume) in ath10k_hif_resume()
207 return ar->hif.ops->resume(ar); in ath10k_hif_resume()
212 if (!ar->hif.ops->read32) { in ath10k_hif_read32()
[all …]
H A Dwmi-ops.h240 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx()
248 if (!ar->wmi.ops->map_svc) in ath10k_wmi_map_svc()
259 if (!ar->wmi.ops->map_svc_ext) in ath10k_wmi_map_svc_ext()
270 if (!ar->wmi.ops->pull_scan) in ath10k_wmi_pull_scan()
340 if (!ar->wmi.ops->pull_swba) in ath10k_wmi_pull_swba()
360 if (!ar->wmi.ops->pull_phyerr) in ath10k_wmi_pull_phyerr()
380 if (!ar->wmi.ops->pull_rdy) in ath10k_wmi_pull_rdy()
492 if (!ar->wmi.ops->gen_mgmt_tx) in ath10k_wmi_mgmt_tx()
598 if (!ar->wmi.ops->gen_init) in ath10k_wmi_cmd_init()
726 if (!ar->wmi.ops->gen_vdev_up) in ath10k_wmi_vdev_up()
[all …]
/openbmc/u-boot/drivers/pch/
H A Dpch-uclass.c13 struct pch_ops *ops = pch_get_ops(dev); in pch_get_spi_base() local
16 if (!ops->get_spi_base) in pch_get_spi_base()
19 return ops->get_spi_base(dev, sbasep); in pch_get_spi_base()
24 struct pch_ops *ops = pch_get_ops(dev); in pch_set_spi_protect() local
26 if (!ops->set_spi_protect) in pch_set_spi_protect()
34 struct pch_ops *ops = pch_get_ops(dev); in pch_get_gpio_base() local
37 if (!ops->get_gpio_base) in pch_get_gpio_base()
40 return ops->get_gpio_base(dev, gbasep); in pch_get_gpio_base()
48 if (!ops->get_io_base) in pch_get_io_base()
51 return ops->get_io_base(dev, iobasep); in pch_get_io_base()
[all …]
/openbmc/u-boot/drivers/rtc/
H A Drtc-uclass.c16 assert(ops); in dm_rtc_get()
17 if (!ops->get) in dm_rtc_get()
26 assert(ops); in dm_rtc_set()
27 if (!ops->set) in dm_rtc_set()
36 assert(ops); in dm_rtc_reset()
37 if (!ops->reset) in dm_rtc_reset()
39 return ops->reset(dev); in dm_rtc_reset()
46 assert(ops); in rtc_read8()
47 if (!ops->read8) in rtc_read8()
56 assert(ops); in rtc_write8()
[all …]
/openbmc/linux/tools/perf/arch/arm64/annotate/
H A Dinstructions.c22 ops->source.raw = strdup(ops->raw); in arm64_mov__parse()
25 if (ops->source.raw == NULL) in arm64_mov__parse()
30 if (ops->target.raw == NULL) in arm64_mov__parse()
55 zfree(&ops->target.raw); in arm64_mov__parse()
57 zfree(&ops->source.raw); in arm64_mov__parse()
72 struct ins_ops *ops; in arm64__associate_instruction_ops() local
76 ops = &jump_ops; in arm64__associate_instruction_ops()
78 ops = &call_ops; in arm64__associate_instruction_ops()
80 ops = &ret_ops; in arm64__associate_instruction_ops()
82 ops = &arm64_mov_ops; in arm64__associate_instruction_ops()
[all …]
/openbmc/qemu/hw/net/rocker/
H A Drocker_world.c26 WorldOps *ops; member
32 if (world->ops->ig) { in world_ingress()
42 if (world->ops->cmd) { in world_do_cmd()
56 w->ops = ops; in world_alloc()
57 if (w->ops->init) { in world_alloc()
58 w->ops->init(w); in world_alloc()
66 if (world->ops->uninit) { in world_free()
74 if (world->ops->uninit) { in world_reset()
77 if (world->ops->init) { in world_reset()
78 world->ops->init(world); in world_reset()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dhif.h37 if (ab->hif.ops->ce_irq_enable) in ath11k_hif_ce_irq_enable()
38 ab->hif.ops->ce_irq_enable(ab); in ath11k_hif_ce_irq_enable()
43 if (ab->hif.ops->ce_irq_disable) in ath11k_hif_ce_irq_disable()
49 return sc->hif.ops->start(sc); in ath11k_hif_start()
54 sc->hif.ops->stop(sc); in ath11k_hif_stop()
59 sc->hif.ops->irq_enable(sc); in ath11k_hif_irq_enable()
64 sc->hif.ops->irq_disable(sc); in ath11k_hif_irq_disable()
74 sc->hif.ops->power_down(sc); in ath11k_hif_power_down()
79 if (ab->hif.ops->suspend) in ath11k_hif_suspend()
87 if (ab->hif.ops->resume) in ath11k_hif_resume()
[all …]
/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl-uclass.c62 const struct pinctrl_ops *ops; in pinctrl_config_one() local
75 ops = pinctrl_get_ops(pctldev); in pinctrl_config_one()
200 struct pinctrl_ops *ops; in pinctrl_select_state_simple() local
243 if (!ops->request) in pinctrl_request()
258 if (!ops->get_periph_id) in pinctrl_get_periph_id()
268 if (!ops->get_gpio_mux) in pinctrl_get_gpio_mux()
278 if (!ops->get_pins_count) in pinctrl_get_pins_count()
289 if (!ops->get_pin_name) in pinctrl_get_pin_name()
302 if (!ops->get_pin_muxing) in pinctrl_get_pin_muxing()
319 if (!ops) { in pinctrl_post_bind()
[all …]
H A Dpinctrl-generic.c25 if (!ops->get_pins_count || !ops->get_pin_name) { in pinctrl_pin_name_to_selector()
30 npins = ops->get_pins_count(dev); in pinctrl_pin_name_to_selector()
56 if (!ops->get_groups_count || !ops->get_group_name) { in pinctrl_group_name_to_selector()
88 if (!ops->get_functions_count || !ops->get_function_name) { in pinmux_func_name_to_selector()
122 if (!ops->pinmux_group_set) { in pinmux_enable_setting()
129 if (!ops->pinmux_set) { in pinmux_enable_setting()
165 if (!ops->pinconf_num_params || !ops->pinconf_params) { in pinconf_prop_name_to_param()
170 p = ops->pinconf_params; in pinconf_prop_name_to_param()
171 end = p + ops->pinconf_num_params; in pinconf_prop_name_to_param()
201 if (!ops->pinconf_group_set) { in pinconf_enable_setting()
[all …]
/openbmc/linux/drivers/video/fbdev/core/
H A Dbitblit.c258 ops->cursor_reset) { in bit_cursor()
270 ops->cursor_data = dst; in bit_cursor()
277 ops->cursor_reset) { in bit_cursor()
285 ops->cursor_reset) { in bit_cursor()
299 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y || in bit_cursor()
382 ops->cursor_reset = 0; in bit_cursor()
399 ops->bmove = bit_bmove; in fbcon_set_bitops()
400 ops->clear = bit_clear; in fbcon_set_bitops()
401 ops->putcs = bit_putcs; in fbcon_set_bitops()
407 if (ops->rotate) in fbcon_set_bitops()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c943 ops, true); in collapse_full()
964 1, ops, true); in collapse_single_pte_entry()
979 if (is_tmpfs(ops)) { in collapse_max_ptes_none()
1069 1, ops, true); in collapse_max_ptes_swap()
1080 p = alloc_hpage(ops); in collapse_single_pte_entry_compound()
1082 if (is_tmpfs(ops)) { in collapse_single_pte_entry_compound()
1108 p = alloc_hpage(ops); in collapse_full_of_compound()
1170 ops, true); in collapse_compound_extreme()
1227 p = alloc_hpage(ops); in collapse_fork_compound()
1277 p = alloc_hpage(ops); in collapse_max_ptes_shared()
[all …]
/openbmc/u-boot/drivers/video/
H A Ddisplay-uclass.c14 struct dm_display_ops *ops = display_get_ops(dev); in display_read_edid() local
16 if (!ops || !ops->read_edid) in display_read_edid()
18 return ops->read_edid(dev, buf, buf_size); in display_read_edid()
24 struct dm_display_ops *ops = display_get_ops(dev); in display_enable() local
28 if (!ops || !ops->enable) in display_enable()
30 ret = ops->enable(dev, panel_bpp, timing); in display_enable()
42 struct dm_display_ops *ops = display_get_ops(dev); in display_read_timing() local
47 if (ops && ops->read_timing) in display_read_timing()
48 return ops->read_timing(dev, timing); in display_read_timing()
50 if (!ops || !ops->read_edid) in display_read_timing()
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_functions.c54 struct ftrace_ops *ops; in ftrace_allocate_ftrace_ops() local
60 ops = kzalloc(sizeof(*ops), GFP_KERNEL); in ftrace_allocate_ftrace_ops()
61 if (!ops) in ftrace_allocate_ftrace_ops()
68 tr->ops = ops; in ftrace_allocate_ftrace_ops()
69 ops->private = tr; in ftrace_allocate_ftrace_ops()
76 kfree(tr->ops); in ftrace_free_ftrace_ops()
77 tr->ops = NULL; in ftrace_free_ftrace_ops()
90 if (!tr->ops) in ftrace_create_function_files()
140 if (!tr->ops) in function_trace_init()
422 tr->ops->func = func; in func_set_flag()
[all …]
/openbmc/u-boot/drivers/tpm/
H A Dtpm-uclass.c24 if (!ops->open) in tpm_open()
27 return ops->open(dev); in tpm_open()
34 if (!ops->close) in tpm_close()
37 return ops->close(dev); in tpm_close()
44 if (!ops->get_desc) in tpm_get_desc()
47 return ops->get_desc(dev, buf, size); in tpm_get_desc()
54 if (!ops->report_state) in tpm_report_state()
93 if (ops->xfer) in tpm_xfer()
96 if (!ops->send || !ops->recv) in tpm_xfer()
140 if (ops->cleanup) { in tpm_xfer()
[all …]
/openbmc/linux/drivers/virtio/
H A Dvirtio_dma_buf.c24 container_of(exp_info->ops, in virtio_dma_buf_export()
25 const struct virtio_dma_buf_ops, ops); in virtio_dma_buf_export()
27 if (!exp_info->ops || in virtio_dma_buf_export()
44 const struct virtio_dma_buf_ops *ops = in virtio_dma_buf_attach() local
45 container_of(dma_buf->ops, in virtio_dma_buf_attach()
46 const struct virtio_dma_buf_ops, ops); in virtio_dma_buf_attach()
48 if (ops->device_attach) { in virtio_dma_buf_attach()
49 ret = ops->device_attach(dma_buf, attach); in virtio_dma_buf_attach()
77 const struct virtio_dma_buf_ops *ops = in virtio_dma_buf_get_uuid() local
78 container_of(dma_buf->ops, in virtio_dma_buf_get_uuid()
[all …]
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsunxi_engine.h133 const struct sunxi_engine_ops *ops; member
151 if (engine->ops && engine->ops->commit) in sunxi_engine_commit()
152 engine->ops->commit(engine); in sunxi_engine_commit()
163 if (engine->ops && engine->ops->layers_init) in sunxi_engine_layers_init()
164 return engine->ops->layers_init(drm, engine); in sunxi_engine_layers_init()
180 if (engine->ops && engine->ops->apply_color_correction) in sunxi_engine_apply_color_correction()
181 engine->ops->apply_color_correction(engine); in sunxi_engine_apply_color_correction()
193 if (engine->ops && engine->ops->disable_color_correction) in sunxi_engine_disable_color_correction()
194 engine->ops->disable_color_correction(engine); in sunxi_engine_disable_color_correction()
208 if (engine->ops && engine->ops->mode_set) in sunxi_engine_mode_set()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D303.out3 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
6 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
9 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
18 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
23 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
26 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
85 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
88 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
[all …]
H A D047.out4 320 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
6 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
8 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
10 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14 480 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
16 480 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
18 96 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
20 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
H A D312.out17 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
19 192 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
21 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
23 256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
25 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
27 192 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
29 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
31 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
33 192 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
35 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
[all …]
H A D314.out13 24 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15 24 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
17 24 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
19 24 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
29 24 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
31 24 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
33 24 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
35 24 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
46 16 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
48 16 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
[all …]
/openbmc/u-boot/drivers/misc/
H A Dmisc-uclass.c19 const struct misc_ops *ops = device_get_ops(dev); in misc_read() local
21 if (!ops->read) in misc_read()
24 return ops->read(dev, offset, buf, size); in misc_read()
29 const struct misc_ops *ops = device_get_ops(dev); in misc_write() local
31 if (!ops->write) in misc_write()
34 return ops->write(dev, offset, buf, size); in misc_write()
41 if (!ops->ioctl) in misc_ioctl()
44 return ops->ioctl(dev, request, buf); in misc_ioctl()
52 if (!ops->call) in misc_call()
62 if (!ops->set_enabled) in misc_set_enabled()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhif.h69 if (ab->hif.ops->get_ce_msi_idx) in ath12k_hif_get_ce_msi_idx()
77 if (ab->hif.ops->ce_irq_enable) in ath12k_hif_ce_irq_enable()
78 ab->hif.ops->ce_irq_enable(ab); in ath12k_hif_ce_irq_enable()
83 if (ab->hif.ops->ce_irq_disable) in ath12k_hif_ce_irq_disable()
89 ab->hif.ops->irq_enable(ab); in ath12k_hif_irq_enable()
94 ab->hif.ops->irq_disable(ab); in ath12k_hif_irq_disable()
99 if (ab->hif.ops->suspend) in ath12k_hif_suspend()
107 if (ab->hif.ops->resume) in ath12k_hif_resume()
115 return ab->hif.ops->start(ab); in ath12k_hif_start()
120 ab->hif.ops->stop(ab); in ath12k_hif_stop()
[all …]
/openbmc/u-boot/drivers/phy/
H A Dphy-uclass.c13 return (struct phy_ops *)dev->driver->ops; in phy_dev_ops()
38 struct phy_ops *ops; in generic_phy_get_by_index() local
76 ops = phy_dev_ops(phydev); in generic_phy_get_by_index()
78 if (ops->of_xlate) in generic_phy_get_by_index()
79 ret = ops->of_xlate(phy, &args); in generic_phy_get_by_index()
111 struct phy_ops const *ops = phy_dev_ops(phy->dev); in generic_phy_init() local
113 return ops->init ? ops->init(phy) : 0; in generic_phy_init()
120 return ops->reset ? ops->reset(phy) : 0; in generic_phy_reset()
127 return ops->exit ? ops->exit(phy) : 0; in generic_phy_exit()
134 return ops->power_on ? ops->power_on(phy) : 0; in generic_phy_power_on()
[all …]

12345678910>>...233