Home
last modified time | relevance | path

Searched refs:core (Results 26 - 50 of 6476) sorted by relevance

12345678910>>...260

/kernel/linux/linux-6.6/drivers/media/radio/
H A Dradio-wl1273.c12 #include <linux/mfd/wl1273-core.h>
77 struct wl1273_core *core; member
95 static int wl1273_fm_write_fw(struct wl1273_core *core, in wl1273_fm_write_fw() argument
98 struct i2c_client *client = core->client; in wl1273_fm_write_fw()
133 struct wl1273_core *core = radio->core; in wl1273_fm_rds() local
134 struct i2c_client *client = core->client; in wl1273_fm_rds()
154 if (core->mode != WL1273_MODE_RX) in wl1273_fm_rds()
157 r = core->read(core, WL1273_RDS_SYNC_GE in wl1273_fm_rds()
221 struct wl1273_core *core = radio->core; wl1273_fm_irq_thread_handler() local
336 struct wl1273_core *core = radio->core; wl1273_fm_set_tx_freq() local
396 struct wl1273_core *core = radio->core; wl1273_fm_set_rx_freq() local
455 struct wl1273_core *core = radio->core; wl1273_fm_get_freq() local
491 struct wl1273_core *core = radio->core; wl1273_fm_upload_firmware_patch() local
532 struct wl1273_core *core = radio->core; wl1273_fm_stop() local
558 struct wl1273_core *core = radio->core; wl1273_fm_start() local
665 struct wl1273_core *core = radio->core; wl1273_fm_suspend() local
689 struct wl1273_core *core = radio->core; wl1273_fm_set_mode() local
786 struct wl1273_core *core = radio->core; wl1273_fm_set_seek() local
875 struct wl1273_core *core = radio->core; wl1273_fm_get_tx_ctune() local
905 struct wl1273_core *core = radio->core; wl1273_fm_set_preemphasis() local
943 struct wl1273_core *core = radio->core; wl1273_fm_rds_on() local
964 struct wl1273_core *core = radio->core; wl1273_fm_rds_off() local
997 struct wl1273_core *core = radio->core; wl1273_fm_set_rds() local
1032 struct wl1273_core *core = radio->core; wl1273_fm_fops_write() local
1088 struct wl1273_core *core = radio->core; wl1273_fm_fops_poll() local
1111 struct wl1273_core *core = radio->core; wl1273_fm_fops_open() local
1143 struct wl1273_core *core = radio->core; wl1273_fm_fops_release() local
1179 struct wl1273_core *core = radio->core; wl1273_fm_fops_read() local
1321 struct wl1273_core *core = radio->core; wl1273_fm_set_tx_power() local
1349 struct wl1273_core *core = radio->core; wl1273_fm_tx_set_spacing() local
1376 struct wl1273_core *core = radio->core; wl1273_fm_g_volatile_ctrl() local
1413 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_ctrl() local
1500 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_g_tuner() local
1564 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_tuner() local
1626 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_g_frequency() local
1645 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_frequency() local
1687 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_hw_freq_seek() local
1723 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_modulator() local
1761 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_g_modulator() local
1802 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_log_status() local
1983 struct wl1273_core *core = radio->core; wl1273_fm_radio_remove() local
1997 struct wl1273_core **core = pdev->dev.platform_data; wl1273_fm_radio_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/bcma/
H A Dcore.c12 static bool bcma_core_wait_value(struct bcma_device *core, u16 reg, u32 mask, in bcma_core_wait_value() argument
19 val = bcma_aread32(core, reg); in bcma_core_wait_value()
26 bcma_warn(core->bus, "Timeout waiting for register 0x%04X!\n", reg); in bcma_core_wait_value()
31 bool bcma_core_is_enabled(struct bcma_device *core) in bcma_core_is_enabled() argument
33 if ((bcma_aread32(core, BCMA_IOCTL) & (BCMA_IOCTL_CLK | BCMA_IOCTL_FGC)) in bcma_core_is_enabled()
36 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) in bcma_core_is_enabled()
42 void bcma_core_disable(struct bcma_device *core, u32 flags) in bcma_core_disable() argument
44 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) in bcma_core_disable()
47 bcma_core_wait_value(core, BCMA_RESET_ST, ~0, 0, 300); in bcma_core_disable()
49 bcma_awrite32(core, BCMA_RESET_CT in bcma_core_disable()
59 bcma_core_enable(struct bcma_device *core, u32 flags) bcma_core_enable() argument
78 bcma_core_set_clockmode(struct bcma_device *core, enum bcma_clkmode clkmode) bcma_core_set_clockmode() argument
109 bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status, bool on) bcma_core_pll_ctl() argument
140 bcma_core_dma_translation(struct bcma_device *core) bcma_core_dma_translation() argument
[all...]
H A Dhost_pci.c14 static void bcma_host_pci_switch_core(struct bcma_device *core) in bcma_host_pci_switch_core() argument
16 int win2 = core->bus->host_is_pcie2 ? in bcma_host_pci_switch_core()
19 pci_write_config_dword(core->bus->host_pci, BCMA_PCI_BAR0_WIN, in bcma_host_pci_switch_core()
20 core->addr); in bcma_host_pci_switch_core()
21 pci_write_config_dword(core->bus->host_pci, win2, core->wrap); in bcma_host_pci_switch_core()
22 core->bus->mapped_core = core; in bcma_host_pci_switch_core()
23 bcma_debug(core->bus, "Switched to core in bcma_host_pci_switch_core()
28 bcma_host_pci_provide_access_to_core(struct bcma_device *core) bcma_host_pci_provide_access_to_core() argument
42 bcma_host_pci_read8(struct bcma_device *core, u16 offset) bcma_host_pci_read8() argument
48 bcma_host_pci_read16(struct bcma_device *core, u16 offset) bcma_host_pci_read16() argument
54 bcma_host_pci_read32(struct bcma_device *core, u16 offset) bcma_host_pci_read32() argument
60 bcma_host_pci_write8(struct bcma_device *core, u16 offset, u8 value) bcma_host_pci_write8() argument
67 bcma_host_pci_write16(struct bcma_device *core, u16 offset, u16 value) bcma_host_pci_write16() argument
74 bcma_host_pci_write32(struct bcma_device *core, u16 offset, u32 value) bcma_host_pci_write32() argument
82 bcma_host_pci_block_read(struct bcma_device *core, void *buffer, size_t count, u16 offset, u8 reg_width) bcma_host_pci_block_read() argument
105 bcma_host_pci_block_write(struct bcma_device *core, const void *buffer, size_t count, u16 offset, u8 reg_width) bcma_host_pci_block_write() argument
130 bcma_host_pci_aread32(struct bcma_device *core, u16 offset) bcma_host_pci_aread32() argument
137 bcma_host_pci_awrite32(struct bcma_device *core, u16 offset, u32 value) bcma_host_pci_awrite32() argument
359 bcma_host_pci_irq_ctl(struct bcma_bus *bus, struct bcma_device *core, bool enable) bcma_host_pci_irq_ctl() argument
[all...]
/kernel/linux/linux-6.6/drivers/bcma/
H A Dcore.c12 static bool bcma_core_wait_value(struct bcma_device *core, u16 reg, u32 mask, in bcma_core_wait_value() argument
19 val = bcma_aread32(core, reg); in bcma_core_wait_value()
26 bcma_warn(core->bus, "Timeout waiting for register 0x%04X!\n", reg); in bcma_core_wait_value()
31 bool bcma_core_is_enabled(struct bcma_device *core) in bcma_core_is_enabled() argument
33 if ((bcma_aread32(core, BCMA_IOCTL) & (BCMA_IOCTL_CLK | BCMA_IOCTL_FGC)) in bcma_core_is_enabled()
36 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) in bcma_core_is_enabled()
42 void bcma_core_disable(struct bcma_device *core, u32 flags) in bcma_core_disable() argument
44 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) in bcma_core_disable()
47 bcma_core_wait_value(core, BCMA_RESET_ST, ~0, 0, 300); in bcma_core_disable()
49 bcma_awrite32(core, BCMA_RESET_CT in bcma_core_disable()
59 bcma_core_enable(struct bcma_device *core, u32 flags) bcma_core_enable() argument
78 bcma_core_set_clockmode(struct bcma_device *core, enum bcma_clkmode clkmode) bcma_core_set_clockmode() argument
109 bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status, bool on) bcma_core_pll_ctl() argument
140 bcma_core_dma_translation(struct bcma_device *core) bcma_core_dma_translation() argument
[all...]
H A Dhost_pci.c14 static void bcma_host_pci_switch_core(struct bcma_device *core) in bcma_host_pci_switch_core() argument
16 int win2 = core->bus->host_is_pcie2 ? in bcma_host_pci_switch_core()
19 pci_write_config_dword(core->bus->host_pci, BCMA_PCI_BAR0_WIN, in bcma_host_pci_switch_core()
20 core->addr); in bcma_host_pci_switch_core()
21 pci_write_config_dword(core->bus->host_pci, win2, core->wrap); in bcma_host_pci_switch_core()
22 core->bus->mapped_core = core; in bcma_host_pci_switch_core()
23 bcma_debug(core->bus, "Switched to core in bcma_host_pci_switch_core()
28 bcma_host_pci_provide_access_to_core(struct bcma_device *core) bcma_host_pci_provide_access_to_core() argument
42 bcma_host_pci_read8(struct bcma_device *core, u16 offset) bcma_host_pci_read8() argument
48 bcma_host_pci_read16(struct bcma_device *core, u16 offset) bcma_host_pci_read16() argument
54 bcma_host_pci_read32(struct bcma_device *core, u16 offset) bcma_host_pci_read32() argument
60 bcma_host_pci_write8(struct bcma_device *core, u16 offset, u8 value) bcma_host_pci_write8() argument
67 bcma_host_pci_write16(struct bcma_device *core, u16 offset, u16 value) bcma_host_pci_write16() argument
74 bcma_host_pci_write32(struct bcma_device *core, u16 offset, u32 value) bcma_host_pci_write32() argument
82 bcma_host_pci_block_read(struct bcma_device *core, void *buffer, size_t count, u16 offset, u8 reg_width) bcma_host_pci_block_read() argument
105 bcma_host_pci_block_write(struct bcma_device *core, const void *buffer, size_t count, u16 offset, u8 reg_width) bcma_host_pci_block_write() argument
130 bcma_host_pci_aread32(struct bcma_device *core, u16 offset) bcma_host_pci_aread32() argument
137 bcma_host_pci_awrite32(struct bcma_device *core, u16 offset, u32 value) bcma_host_pci_awrite32() argument
355 bcma_host_pci_irq_ctl(struct bcma_bus *bus, struct bcma_device *core, bool enable) bcma_host_pci_irq_ctl() argument
[all...]
/kernel/linux/linux-6.6/drivers/clk/at91/
H A Dclk-sam9x60-pll.c41 struct sam9x60_pll_core core; member
48 struct sam9x60_pll_core core; member
55 #define to_sam9x60_frac(core) container_of(core, struct sam9x60_frac, core)
56 #define to_sam9x60_div(core) container_of(core, struct sam9x60_div, core)
77 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); in sam9x60_frac_pll_recalc_rate() local
78 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_recalc_rate()
84 sam9x60_frac_pll_set(struct sam9x60_pll_core *core) sam9x60_frac_pll_set() argument
151 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_prepare() local
158 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_unprepare() local
182 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_is_prepared() local
187 sam9x60_frac_pll_compute_mul_frac(struct sam9x60_pll_core *core, unsigned long rate, unsigned long parent_rate, bool update) sam9x60_frac_pll_compute_mul_frac() argument
231 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_round_rate() local
239 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_set_rate() local
247 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_set_rate_chg() local
297 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_save_context() local
307 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_restore_context() local
337 sam9x60_div_pll_set_div(struct sam9x60_pll_core *core, u32 div, bool enable) sam9x60_div_pll_set_div() argument
356 sam9x60_div_pll_set(struct sam9x60_pll_core *core) sam9x60_div_pll_set() argument
383 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_prepare() local
390 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_unprepare() local
411 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_is_prepared() local
430 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_recalc_rate() local
436 sam9x60_div_pll_compute_div(struct sam9x60_pll_core *core, unsigned long *parent_rate, unsigned long rate) sam9x60_div_pll_compute_div() argument
482 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_round_rate() local
490 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_set_rate() local
501 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_set_rate_chg() local
529 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_save_context() local
539 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_restore_context() local
550 struct sam9x60_pll_core core = div->core; sam9x60_div_pll_notifier_fn() local
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dclk.h17 TP_PROTO(struct clk_core *core),
19 TP_ARGS(core),
22 __string( name, core->name )
26 __assign_str(name, core->name);
34 TP_PROTO(struct clk_core *core),
36 TP_ARGS(core)
41 TP_PROTO(struct clk_core *core),
43 TP_ARGS(core)
48 TP_PROTO(struct clk_core *core),
50 TP_ARGS(core)
[all...]
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dti_k3_r5_remoteproc.c83 * struct k3_r5_core - K3 R5 core structure
86 * @rproc: rproc handle representing this core
123 * @core: cached pointer to r5 core structure being used
133 struct k3_r5_core *core; member
146 * and we let remoteproc core handle it.
202 static int k3_r5_split_reset(struct k3_r5_core *core) in k3_r5_split_reset() argument
206 ret = reset_control_assert(core->reset); in k3_r5_split_reset()
208 dev_err(core->dev, "local-reset assert failed, ret = %d\n", in k3_r5_split_reset()
213 ret = core in k3_r5_split_reset()
225 k3_r5_split_release(struct k3_r5_core *core) k3_r5_split_release() argument
251 struct k3_r5_core *core; k3_r5_lockstep_reset() local
296 struct k3_r5_core *core; k3_r5_lockstep_release() local
339 k3_r5_core_halt(struct k3_r5_core *core) k3_r5_core_halt() argument
345 k3_r5_core_run(struct k3_r5_core *core) k3_r5_core_run() argument
363 struct k3_r5_core *core = kproc->core; k3_r5_rproc_prepare() local
402 struct k3_r5_core *core = kproc->core; k3_r5_rproc_unprepare() local
432 struct k3_r5_core *core; k3_r5_rproc_start() local
521 struct k3_r5_core *core = kproc->core; k3_r5_rproc_stop() local
563 struct k3_r5_core *core = kproc->core; k3_r5_rproc_da_to_va() local
665 struct k3_r5_core *core0, *core, *temp; k3_r5_rproc_configure() local
863 struct k3_r5_core *core, *core1; k3_r5_cluster_rproc_init() local
947 struct k3_r5_core *core; k3_r5_cluster_rproc_exit() local
974 k3_r5_core_of_get_internal_memories(struct platform_device *pdev, struct k3_r5_core *core) k3_r5_core_of_get_internal_memories() argument
1046 k3_r5_core_of_get_sram_memories(struct platform_device *pdev, struct k3_r5_core *core) k3_r5_core_of_get_sram_memories() argument
1133 struct k3_r5_core *core; k3_r5_core_of_init() local
1246 struct k3_r5_core *core = platform_get_drvdata(pdev); k3_r5_core_of_exit() local
1262 struct k3_r5_core *core, *temp; k3_r5_cluster_of_exit() local
1278 struct k3_r5_core *core; k3_r5_cluster_of_init() local
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
H A Dcx88-i2c.c46 struct cx88_core *core = data; in cx8800_bit_setscl() local
49 core->i2c_state |= 0x02; in cx8800_bit_setscl()
51 core->i2c_state &= ~0x02; in cx8800_bit_setscl()
52 cx_write(MO_I2C, core->i2c_state); in cx8800_bit_setscl()
58 struct cx88_core *core = data; in cx8800_bit_setsda() local
61 core->i2c_state |= 0x01; in cx8800_bit_setsda()
63 core->i2c_state &= ~0x01; in cx8800_bit_setsda()
64 cx_write(MO_I2C, core->i2c_state); in cx8800_bit_setsda()
70 struct cx88_core *core = data; in cx8800_bit_getscl() local
79 struct cx88_core *core in cx8800_bit_getsda() local
124 cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci) cx88_i2c_init() argument
[all...]
H A Dcx88.h109 /* SRAM memory management data (see cx88-core.c) */
295 #define INPUT(nr) (core->board.input[nr])
373 void (*gate_ctrl)(struct cx88_core *core, int open);
417 #define call_hw(core, grpid, o, f, args...) \
419 if (!core->i2c_rc) { \
420 if (core->gate_ctrl) \
421 core->gate_ctrl(core, 1); \
422 v4l2_device_call_all(&core->v4l2_dev, \
424 if (core
469 struct cx88_core *core; global() member
508 struct cx88_core *core; global() member
537 struct cx88_core *core; global() member
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/cx88/
H A Dcx88-i2c.c46 struct cx88_core *core = data; in cx8800_bit_setscl() local
49 core->i2c_state |= 0x02; in cx8800_bit_setscl()
51 core->i2c_state &= ~0x02; in cx8800_bit_setscl()
52 cx_write(MO_I2C, core->i2c_state); in cx8800_bit_setscl()
58 struct cx88_core *core = data; in cx8800_bit_setsda() local
61 core->i2c_state |= 0x01; in cx8800_bit_setsda()
63 core->i2c_state &= ~0x01; in cx8800_bit_setsda()
64 cx_write(MO_I2C, core->i2c_state); in cx8800_bit_setsda()
70 struct cx88_core *core = data; in cx8800_bit_getscl() local
79 struct cx88_core *core in cx8800_bit_getsda() local
124 cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci) cx88_i2c_init() argument
[all...]
H A Dcx88.h109 /* SRAM memory management data (see cx88-core.c) */
295 #define INPUT(nr) (core->board.input[nr])
373 void (*gate_ctrl)(struct cx88_core *core, int open);
417 #define call_hw(core, grpid, o, f, args...) \
419 if (!core->i2c_rc) { \
420 if (core->gate_ctrl) \
421 core->gate_ctrl(core, 1); \
422 v4l2_device_call_all(&core->v4l2_dev, \
424 if (core
469 struct cx88_core *core; global() member
508 struct cx88_core *core; global() member
537 struct cx88_core *core; global() member
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dhfi.c13 #include "core.h"
50 int hfi_core_init(struct venus_core *core) in hfi_core_init() argument
54 mutex_lock(&core->lock); in hfi_core_init()
56 if (core->state >= CORE_INIT) in hfi_core_init()
59 reinit_completion(&core->done); in hfi_core_init()
61 ret = core->ops->core_init(core); in hfi_core_init()
65 ret = wait_for_completion_timeout(&core->done, TIMEOUT); in hfi_core_init()
73 if (core->error != HFI_ERR_NONE) { in hfi_core_init()
78 core in hfi_core_init()
84 hfi_core_deinit(struct venus_core *core, bool blocking) hfi_core_deinit() argument
120 hfi_core_suspend(struct venus_core *core) hfi_core_suspend() argument
128 hfi_core_resume(struct venus_core *core, bool force) hfi_core_resume() argument
136 hfi_core_trigger_ssr(struct venus_core *core, u32 type) hfi_core_trigger_ssr() argument
141 hfi_core_ping(struct venus_core *core) hfi_core_ping() argument
180 struct venus_core *core = inst->core; hfi_session_create() local
200 struct venus_core *core = inst->core; hfi_session_init() local
226 struct venus_core *core = inst->core; hfi_session_destroy() local
313 struct venus_core *core = inst->core; hfi_session_continue() local
490 struct venus_core *core = dev_id; hfi_isr_thread() local
497 struct venus_core *core = dev; hfi_isr() local
502 hfi_create(struct venus_core *core, const struct hfi_core_ops *ops) hfi_create() argument
519 hfi_destroy(struct venus_core *core) hfi_destroy() argument
524 hfi_reinit(struct venus_core *core) hfi_reinit() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvpu_mbox.c20 struct vpu_core *core = container_of(rx, struct vpu_core, rx); in vpu_mbox_rx_callback() local
22 vpu_isr(core, *(u32 *)msg); in vpu_mbox_rx_callback()
56 int vpu_mbox_init(struct vpu_core *core) in vpu_mbox_init() argument
58 scnprintf(core->tx_type.name, sizeof(core->tx_type.name) - 1, "tx0"); in vpu_mbox_init()
59 core->tx_type.block = true; in vpu_mbox_init()
61 scnprintf(core->tx_data.name, sizeof(core->tx_data.name) - 1, "tx1"); in vpu_mbox_init()
62 core->tx_data.block = false; in vpu_mbox_init()
64 scnprintf(core in vpu_mbox_init()
70 vpu_mbox_request(struct vpu_core *core) vpu_mbox_request() argument
91 vpu_mbox_free(struct vpu_core *core) vpu_mbox_free() argument
102 vpu_mbox_send_type(struct vpu_core *core, u32 type) vpu_mbox_send_type() argument
107 vpu_mbox_send_msg(struct vpu_core *core, u32 type, u32 data) vpu_mbox_send_msg() argument
[all...]
H A Dvpu_rpc.h9 #include <media/videobuf2-core.h>
27 struct vpu_core *core; member
47 int (*boot_core)(struct vpu_core *core);
48 int (*shutdown_core)(struct vpu_core *core);
49 int (*restore_core)(struct vpu_core *core);
50 int (*get_power_state)(struct vpu_core *core);
51 int (*on_firmware_loaded)(struct vpu_core *core);
114 struct vpu_iface_ops *vpu_core_get_iface(struct vpu_core *core);
116 int vpu_iface_check_memory_region(struct vpu_core *core, dma_addr_t addr, u32 size);
118 static inline bool vpu_iface_check_codec(struct vpu_core *core) in vpu_iface_check_codec() argument
138 vpu_iface_boot_core(struct vpu_core *core) vpu_iface_boot_core() argument
147 vpu_iface_get_power_state(struct vpu_core *core) vpu_iface_get_power_state() argument
156 vpu_iface_shutdown_core(struct vpu_core *core) vpu_iface_shutdown_core() argument
165 vpu_iface_restore_core(struct vpu_core *core) vpu_iface_restore_core() argument
174 vpu_iface_on_firmware_loaded(struct vpu_core *core) vpu_iface_on_firmware_loaded() argument
184 vpu_iface_get_data_size(struct vpu_core *core) vpu_iface_get_data_size() argument
194 vpu_iface_init(struct vpu_core *core, struct vpu_shared_addr *shared, struct vpu_buffer *rpc, dma_addr_t boot_addr) vpu_iface_init() argument
212 vpu_iface_set_log_buf(struct vpu_core *core, struct vpu_buffer *log) vpu_iface_set_log_buf() argument
226 vpu_iface_config_system(struct vpu_core *core, u32 regs_base, void __iomem *regs) vpu_iface_config_system() argument
238 vpu_iface_get_stream_buffer_size(struct vpu_core *core) vpu_iface_get_stream_buffer_size() argument
259 vpu_iface_send_cmd(struct vpu_core *core, struct vpu_rpc_event *cmd) vpu_iface_send_cmd() argument
269 vpu_iface_receive_msg(struct vpu_core *core, struct vpu_rpc_event *msg) vpu_iface_receive_msg() argument
279 vpu_iface_pack_cmd(struct vpu_core *core, struct vpu_rpc_event *pkt, u32 index, u32 id, void *data) vpu_iface_pack_cmd() argument
290 vpu_iface_convert_msg_id(struct vpu_core *core, u32 msg_id) vpu_iface_convert_msg_id() argument
300 vpu_iface_unpack_msg_data(struct vpu_core *core, struct vpu_rpc_event *pkt, void *data) vpu_iface_unpack_msg_data() argument
383 vpu_iface_get_version(struct vpu_core *core) vpu_iface_get_version() argument
393 vpu_iface_get_max_instance_count(struct vpu_core *core) vpu_iface_get_max_instance_count() argument
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dwl1273-core.c9 #include <linux/mfd/wl1273-core.h>
21 static int wl1273_fm_read_reg(struct wl1273_core *core, u8 reg, u16 *value) in wl1273_fm_read_reg() argument
23 struct i2c_client *client = core->client; in wl1273_fm_read_reg()
38 static int wl1273_fm_write_cmd(struct wl1273_core *core, u8 cmd, u16 param) in wl1273_fm_write_cmd() argument
40 struct i2c_client *client = core->client; in wl1273_fm_write_cmd()
53 static int wl1273_fm_write_data(struct wl1273_core *core, u8 *data, u16 len) in wl1273_fm_write_data() argument
55 struct i2c_client *client = core->client; in wl1273_fm_write_data()
75 * @core: A pointer to the device struct.
80 static int wl1273_fm_set_audio(struct wl1273_core *core, unsigned int new_mode) in wl1273_fm_set_audio() argument
84 if (core in wl1273_fm_set_audio()
141 wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) wl1273_fm_set_volume() argument
163 struct wl1273_core *core; wl1273_core_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dwl1273-core.c9 #include <linux/mfd/wl1273-core.h>
21 static int wl1273_fm_read_reg(struct wl1273_core *core, u8 reg, u16 *value) in wl1273_fm_read_reg() argument
23 struct i2c_client *client = core->client; in wl1273_fm_read_reg()
38 static int wl1273_fm_write_cmd(struct wl1273_core *core, u8 cmd, u16 param) in wl1273_fm_write_cmd() argument
40 struct i2c_client *client = core->client; in wl1273_fm_write_cmd()
53 static int wl1273_fm_write_data(struct wl1273_core *core, u8 *data, u16 len) in wl1273_fm_write_data() argument
55 struct i2c_client *client = core->client; in wl1273_fm_write_data()
75 * @core: A pointer to the device struct.
80 static int wl1273_fm_set_audio(struct wl1273_core *core, unsigned int new_mode) in wl1273_fm_set_audio() argument
84 if (core in wl1273_fm_set_audio()
141 wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) wl1273_fm_set_volume() argument
162 struct wl1273_core *core; wl1273_core_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dfirmware.c20 #include "core.h"
28 static void venus_reset_cpu(struct venus_core *core) in venus_reset_cpu() argument
30 u32 fw_size = core->fw.mapped_mem_size; in venus_reset_cpu()
33 if (IS_IRIS2_1(core)) in venus_reset_cpu()
34 wrapper_base = core->wrapper_tz_base; in venus_reset_cpu()
36 wrapper_base = core->wrapper_base; in venus_reset_cpu()
45 if (IS_IRIS2_1(core)) { in venus_reset_cpu()
57 int venus_set_hw_state(struct venus_core *core, bool resume) in venus_set_hw_state() argument
61 if (core->use_tz) { in venus_set_hw_state()
69 venus_reset_cpu(core); in venus_set_hw_state()
82 venus_load_fw(struct venus_core *core, const char *fwname, phys_addr_t *mem_phys, size_t *mem_size) venus_load_fw() argument
148 venus_boot_no_tz(struct venus_core *core, phys_addr_t mem_phys, size_t mem_size) venus_boot_no_tz() argument
174 venus_shutdown_no_tz(struct venus_core *core) venus_shutdown_no_tz() argument
210 venus_boot(struct venus_core *core) venus_boot() argument
271 venus_shutdown(struct venus_core *core) venus_shutdown() argument
283 venus_firmware_init(struct venus_core *core) venus_firmware_init() argument
346 venus_firmware_deinit(struct venus_core *core) venus_firmware_deinit() argument
[all...]
H A Dhfi_parser.c10 #include "core.h"
17 static void init_codecs(struct venus_core *core) in init_codecs() argument
19 struct hfi_plat_caps *caps = core->caps, *cap; in init_codecs()
22 if (hweight_long(core->dec_codecs) + hweight_long(core->enc_codecs) > MAX_CODEC_NUM) in init_codecs()
25 for_each_set_bit(bit, &core->dec_codecs, MAX_CODEC_NUM) { in init_codecs()
26 cap = &caps[core->codecs_count++]; in init_codecs()
32 for_each_set_bit(bit, &core->enc_codecs, MAX_CODEC_NUM) { in init_codecs()
33 cap = &caps[core->codecs_count++]; in init_codecs()
66 parse_alloc_mode(struct venus_core *core, u3 argument
100 parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data) parse_profile_level() argument
128 parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data) parse_caps() argument
157 parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data) parse_raw_formats() argument
189 parse_codecs(struct venus_core *core, void *data) parse_codecs() argument
203 parse_max_sessions(struct venus_core *core, const void *data) parse_max_sessions() argument
246 hfi_platform_parser(struct venus_core *core, struct venus_inst *inst) hfi_platform_parser() argument
281 hfi_parser(struct venus_core *core, struct venus_inst *inst, void *buf, u32 size) hfi_parser() argument
[all...]
/third_party/elfutils/tests/
H A Dbacktrace-subr.sh45 # when the core was generated through the tests backtrace --gencore.
115 testfiles backtrace.$arch.{exec,core}
117 echo ./backtrace ./backtrace.$arch.{exec,core}
118 testrun ${abs_builddir}/backtrace -e ./backtrace.$arch.exec --core=./backtrace.$arch.core 1>backtrace.$arch.bt 2>backtrace.$arch.err || true
120 check_unsupported backtrace.$arch.err backtrace.$arch.core
121 check_all backtrace.$arch.{bt,err} backtrace.$arch.core
122 check_backtracegen backtrace.$arch.bt backtrace.$arch.core
138 # Backtrace core file.
141 # systemd-coredump/coredumpctl doesn't seem to like concurrent core dump
[all...]
/third_party/mesa3d/src/etnaviv/drm/
H A Detnaviv_gpu.c30 static uint64_t get_param(struct etna_device *dev, uint32_t core, uint32_t param) in get_param() argument
33 .pipe = core, in get_param()
47 struct etna_gpu *etna_gpu_new(struct etna_device *dev, unsigned int core) in etna_gpu_new() argument
58 gpu->core = core; in etna_gpu_new()
60 gpu->model = get_param(dev, core, ETNAVIV_PARAM_GPU_MODEL); in etna_gpu_new()
61 gpu->revision = get_param(dev, core, ETNAVIV_PARAM_GPU_REVISION); in etna_gpu_new()
85 unsigned int core = gpu->core; in etna_gpu_get_param() local
95 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_ in etna_gpu_get_param()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Dthread_test.cpp21 marl::Thread::Core core(int idx) { in core() function
32 core(10), in TEST_F()
33 core(20), in TEST_F()
34 core(30), in TEST_F()
35 core(40), in TEST_F()
44 core(10), in TEST_F()
45 core(20), in TEST_F()
46 core(30), in TEST_F()
47 core(40), in TEST_F()
54 core(2 in TEST_F()
[all...]
/kernel/linux/linux-5.10/drivers/phy/broadcom/
H A Dphy-bcm-sr-pcie.c42 * @core: pointer to the Stingray PCIe PHY core control
47 struct sr_pcie_phy_core *core; member
53 * struct sr_pcie_phy_core - Stingray PCIe PHY core control
76 * core and associated serdes has been enabled as RC and is available for use
81 /* PIPEMUX = 1, EP 1x8 + RC 1x8, core 7 */
120 static u32 pipemux_strap_read(struct sr_pcie_phy_core *core) in pipemux_strap_read() argument
130 pipemux = readl(core->base + PCIE_PIPEMUX_CFG_OFFSET); in pipemux_strap_read()
133 regmap_read(core->cdru, CDRU_STRAP_DATA_LSW_OFFSET, &pipemux); in pipemux_strap_read()
142 * Given a PIPEMUX strap and PCIe core inde
147 struct sr_pcie_phy_core *core = phy->core; pcie_core_is_for_rc() local
171 struct sr_pcie_phy_core *core = phy->core; sr_paxc_phy_init() local
200 struct sr_pcie_phy_core *core; sr_pcie_phy_xlate() local
219 struct sr_pcie_phy_core *core; sr_pcie_phy_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors.c30 struct cros_ec_sensors_core_state core; member
46 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_read()
50 ret = st->core.read_ec_sensors_data(indio_dev, 1 << idx, &data); in cros_ec_sensors_read()
57 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; in cros_ec_sensors_read()
58 st->core.param.sensor_offset.flags = 0; in cros_ec_sensors_read()
60 ret = cros_ec_motion_send_host_cmd(&st->core, 0); in cros_ec_sensors_read()
66 st->core.calib[i].offset = in cros_ec_sensors_read()
67 st->core.resp->sensor_offset.offset[i]; in cros_ec_sensors_read()
69 *val = st->core.calib[idx].offset; in cros_ec_sensors_read()
72 st->core in cros_ec_sensors_read()
[all...]
/kernel/linux/linux-6.6/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors.c31 struct cros_ec_sensors_core_state core; member
47 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_read()
51 ret = st->core.read_ec_sensors_data(indio_dev, 1 << idx, &data); in cros_ec_sensors_read()
58 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; in cros_ec_sensors_read()
59 st->core.param.sensor_offset.flags = 0; in cros_ec_sensors_read()
61 ret = cros_ec_motion_send_host_cmd(&st->core, 0); in cros_ec_sensors_read()
67 st->core.calib[i].offset = in cros_ec_sensors_read()
68 st->core.resp->sensor_offset.offset[i]; in cros_ec_sensors_read()
70 *val = st->core.calib[idx].offset; in cros_ec_sensors_read()
73 st->core in cros_ec_sensors_read()
[all...]

Completed in 14 milliseconds

12345678910>>...260