Searched refs:core (Results 1 - 25 of 2711) sorted by relevance

1234567891011>>

/linux-master/drivers/media/platform/qcom/venus/
H A Dfirmware.h10 int venus_firmware_init(struct venus_core *core);
11 void venus_firmware_deinit(struct venus_core *core);
12 int venus_boot(struct venus_core *core);
13 int venus_shutdown(struct venus_core *core);
14 int venus_set_hw_state(struct venus_core *core, bool suspend);
16 static inline int venus_set_hw_state_suspend(struct venus_core *core) argument
18 return venus_set_hw_state(core, false);
21 static inline int venus_set_hw_state_resume(struct venus_core *core) argument
23 return venus_set_hw_state(core, true);
H A Dhfi_venus.h11 void venus_hfi_destroy(struct venus_core *core);
12 int venus_hfi_create(struct venus_core *core);
13 void venus_hfi_queues_reinit(struct venus_core *core);
H A Ddbgfs.c9 #include "core.h"
15 void venus_dbgfs_init(struct venus_core *core) argument
17 core->root = debugfs_create_dir("venus", NULL);
18 debugfs_create_x32("fw_level", 0644, core->root, &venus_fw_debug);
21 fault_create_debugfs_attr("fail_ssr", core->root, &venus_ssr_attr);
25 void venus_dbgfs_deinit(struct venus_core *core) argument
27 debugfs_remove_recursive(core->root);
H A Dcore.c25 #include "core.h"
30 static void venus_coredump(struct venus_core *core) argument
38 dev = core->dev;
39 mem_phys = core->fw.mem_phys;
40 mem_size = core->fw.mem_size;
57 static void venus_event_notify(struct venus_core *core, u32 event) argument
69 mutex_lock(&core->lock);
70 set_bit(0, &core->sys_error);
71 list_for_each_entry(inst, &core->instances, list)
73 mutex_unlock(&core
87 struct venus_core *core = local
200 venus_enumerate_codecs(struct venus_core *core, u32 type) argument
250 venus_assign_register_offsets(struct venus_core *core) argument
273 struct venus_core *core = dev_id; local
287 struct venus_core *core; local
424 struct venus_core *core = platform_get_drvdata(pdev); local
457 struct venus_core *core = platform_get_drvdata(pdev); local
467 struct venus_core *core = dev_get_drvdata(dev); local
502 struct venus_core *core = dev_get_drvdata(dev); local
[all...]
H A Dhfi.c13 #include "core.h"
50 int hfi_core_init(struct venus_core *core) argument
54 mutex_lock(&core->lock);
56 if (core->state >= CORE_INIT)
59 reinit_completion(&core->done);
61 ret = core->ops->core_init(core);
65 ret = wait_for_completion_timeout(&core->done, TIMEOUT);
73 if (core->error != HFI_ERR_NONE) {
78 core
84 hfi_core_deinit(struct venus_core *core, bool blocking) argument
120 hfi_core_suspend(struct venus_core *core) argument
128 hfi_core_resume(struct venus_core *core, bool force) argument
136 hfi_core_trigger_ssr(struct venus_core *core, u32 type) argument
141 hfi_core_ping(struct venus_core *core) argument
180 struct venus_core *core = inst->core; local
216 struct venus_core *core = inst->core; local
254 struct venus_core *core = inst->core; local
351 struct venus_core *core = inst->core; local
558 struct venus_core *core = dev_id; local
565 struct venus_core *core = dev; local
570 hfi_create(struct venus_core *core, const struct hfi_core_ops *ops) argument
584 hfi_destroy(struct venus_core *core) argument
589 hfi_reinit(struct venus_core *core) argument
[all...]
/linux-master/arch/x86/events/zhaoxin/
H A DMakefile2 obj-y += core.o
/linux-master/drivers/ufs/
H A DMakefile3 # The link order is important here. ufshcd-core must initialize
5 obj-$(CONFIG_SCSI_UFSHCD) += core/ host/
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/engine/
H A Dvic.h4 #include <core/engine.h>
H A Dmsenc.h4 #include <core/engine.h>
/linux-master/drivers/media/platform/amphion/
H A Dvpu_core.c29 void csr_writel(struct vpu_core *core, u32 reg, u32 val) argument
31 writel(val, core->base + reg);
34 u32 csr_readl(struct vpu_core *core, u32 reg) argument
36 return readl(core->base + reg);
39 static int vpu_core_load_firmware(struct vpu_core *core) argument
44 if (!core->fw.virt) {
45 dev_err(core->dev, "firmware buffer is not ready\n");
49 ret = request_firmware(&pfw, core->res->fwname, core->dev);
50 dev_dbg(core
75 vpu_core_boot_done(struct vpu_core *core) argument
99 vpu_core_wait_boot_done(struct vpu_core *core) argument
111 vpu_core_boot(struct vpu_core *core, bool load) argument
126 vpu_core_shutdown(struct vpu_core *core) argument
131 vpu_core_restore(struct vpu_core *core) argument
172 vpu_alloc_dma(struct vpu_core *core, struct vpu_buffer *buf) argument
177 vpu_core_set_state(struct vpu_core *core, enum vpu_core_state state) argument
186 vpu_core_update_state(struct vpu_core *core) argument
201 struct vpu_core *core = NULL; local
229 vpu_core_is_exist(struct vpu_dev *vpu, struct vpu_core *core) argument
241 vpu_core_get_vpu(struct vpu_core *core) argument
250 vpu_core_register(struct device *dev, struct vpu_core *core) argument
295 vpu_core_put_vpu(struct vpu_core *core) argument
304 vpu_core_unregister(struct device *dev, struct vpu_core *core) argument
323 vpu_core_acquire_instance(struct vpu_core *core) argument
336 vpu_core_release_instance(struct vpu_core *core, int id) argument
366 struct vpu_core *core = NULL; local
400 vpu_release_core(struct vpu_core *core) argument
415 struct vpu_core *core; local
465 struct vpu_core *core; local
497 vpu_core_find_instance(struct vpu_core *core, u32 index) argument
520 struct vpu_core *core = NULL; local
542 vpu_core_parse_dt(struct vpu_core *core, struct device_node *np) argument
616 struct vpu_core *core; local
717 struct vpu_core *core = platform_get_drvdata(pdev); local
737 struct vpu_core *core = dev_get_drvdata(dev); local
744 struct vpu_core *core = dev_get_drvdata(dev); local
750 vpu_core_cancel_work(struct vpu_core *core) argument
763 vpu_core_resume_work(struct vpu_core *core) argument
779 struct vpu_core *core = dev_get_drvdata(dev); local
806 struct vpu_core *core = dev_get_drvdata(dev); local
[all...]
H A Dvpu_mbox.c20 struct vpu_core *core = container_of(rx, struct vpu_core, rx); local
22 vpu_isr(core, *(u32 *)msg);
56 int vpu_mbox_init(struct vpu_core *core) argument
58 scnprintf(core->tx_type.name, sizeof(core->tx_type.name) - 1, "tx0");
59 core->tx_type.block = true;
61 scnprintf(core->tx_data.name, sizeof(core->tx_data.name) - 1, "tx1");
62 core->tx_data.block = false;
64 scnprintf(core
70 vpu_mbox_request(struct vpu_core *core) argument
91 vpu_mbox_free(struct vpu_core *core) argument
102 vpu_mbox_send_type(struct vpu_core *core, u32 type) argument
107 vpu_mbox_send_msg(struct vpu_core *core, u32 type, u32 data) argument
[all...]
H A Dvpu_mbox.h9 int vpu_mbox_init(struct vpu_core *core);
10 int vpu_mbox_request(struct vpu_core *core);
11 void vpu_mbox_free(struct vpu_core *core);
12 void vpu_mbox_send_msg(struct vpu_core *core, u32 type, u32 data);
13 void vpu_mbox_send_type(struct vpu_core *core, u32 type);
H A Dvpu_core.h9 void csr_writel(struct vpu_core *core, u32 reg, u32 val);
10 u32 csr_readl(struct vpu_core *core, u32 reg);
11 int vpu_alloc_dma(struct vpu_core *core, struct vpu_buffer *buf);
13 struct vpu_inst *vpu_core_find_instance(struct vpu_core *core, u32 index);
14 void vpu_core_set_state(struct vpu_core *core, enum vpu_core_state state);
/linux-master/drivers/mfd/
H A Dsi476x-i2c.c21 #include <linux/mfd/si476x-core.h>
29 * @core: Core device structure
36 static int si476x_core_config_pinmux(struct si476x_core *core) argument
39 dev_dbg(&core->client->dev, "Configuring pinmux\n");
40 err = si476x_core_cmd_dig_audio_pin_cfg(core,
41 core->pinmux.dclk,
42 core->pinmux.dfs,
43 core->pinmux.dout,
44 core->pinmux.xout);
46 dev_err(&core
98 si476x_core_schedule_polling_work(struct si476x_core *core) argument
127 si476x_core_start(struct si476x_core *core, bool soft) argument
221 si476x_core_stop(struct si476x_core *core, bool soft) argument
265 si476x_core_set_power_state(struct si476x_core *core, enum si476x_power_state next_state) argument
330 si476x_core_report_drainer_stop(struct si476x_core *core) argument
343 si476x_core_start_rds_drainer_once(struct si476x_core *core) argument
363 struct si476x_core *core = container_of(work, struct si476x_core, local
403 si476x_core_pronounce_dead(struct si476x_core *core) argument
434 si476x_core_i2c_xfer(struct si476x_core *core, enum si476x_i2c_type type, char *buf, int count) argument
466 si476x_core_get_status(struct si476x_core *core) argument
483 si476x_core_get_and_signal_status(struct si476x_core *core) argument
517 struct si476x_core *core = SI476X_WORK_TO_CORE(work); local
527 struct si476x_core *core = dev; local
552 si476x_core_fwver_to_revision(struct si476x_core *core, int func, int major, int minor1, int minor2) argument
618 si476x_core_get_revision_info(struct si476x_core *core) argument
644 si476x_core_has_am(struct si476x_core *core) argument
651 si476x_core_has_diversity(struct si476x_core *core) argument
657 si476x_core_is_a_secondary_tuner(struct si476x_core *core) argument
665 si476x_core_is_a_primary_tuner(struct si476x_core *core) argument
673 si476x_core_is_in_am_receiver_mode(struct si476x_core *core) argument
680 si476x_core_is_powered_up(struct si476x_core *core) argument
690 struct si476x_core *core; local
840 struct si476x_core *core = i2c_get_clientdata(client); local
[all...]
/linux-master/drivers/staging/media/meson/vdec/
H A Dvdec_1.c29 struct amvdec_core *core = sess->core; local
30 struct device *dev = core->dev_dec;
48 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE,
57 amvdec_write_dos(core, MPSR, 0);
58 amvdec_write_dos(core, CPSR, 0);
60 amvdec_clear_dos_bits(core, MDEC_PIC_DC_CTRL, BIT(31));
62 amvdec_write_dos(core, IMEM_DMA_ADR, mc_addr_map);
63 amvdec_write_dos(core, IMEM_DMA_COUNT, MC_SIZE / 4);
64 amvdec_write_dos(core, IMEM_DMA_CTR
88 struct amvdec_core *core = sess->core; local
117 struct amvdec_core *core = sess->core; local
127 struct amvdec_core *core = sess->core; local
134 struct amvdec_core *core = sess->core; local
172 struct amvdec_core *core = sess->core; local
[all...]
H A Dvdec_hevc.c29 struct amvdec_core *core = sess->core; local
30 struct device *dev = core->dev_dec;
50 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, &mc_addr_map,
59 amvdec_write_dos(core, HEVC_MPSR, 0);
60 amvdec_write_dos(core, HEVC_CPSR, 0);
62 amvdec_write_dos(core, HEVC_IMEM_DMA_ADR, mc_addr_map);
63 amvdec_write_dos(core, HEVC_IMEM_DMA_COUNT, MC_SIZE / 4);
64 amvdec_write_dos(core, HEVC_IMEM_DMA_CTRL, (0x8000 | (7 << 16)));
66 while (i && (readl(core
82 struct amvdec_core *core = sess->core; local
96 struct amvdec_core *core = sess->core; local
115 struct amvdec_core *core = sess->core; local
157 struct amvdec_core *core = sess->core; local
[all...]
/linux-master/arch/arm/probes/uprobes/
H A DMakefile2 obj-$(CONFIG_UPROBES) += core.o actions-arm.o
/linux-master/drivers/media/cec/
H A DMakefile2 obj-y += core/ i2c/ platform/ usb/
/linux-master/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_cec.h17 void hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa);
18 void hdmi4_cec_irq(struct hdmi_core_data *core);
19 int hdmi4_cec_init(struct platform_device *pdev, struct hdmi_core_data *core,
21 void hdmi4_cec_uninit(struct hdmi_core_data *core);
23 static inline void hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa) argument
27 static inline void hdmi4_cec_irq(struct hdmi_core_data *core) argument
32 struct hdmi_core_data *core,
38 static inline void hdmi4_cec_uninit(struct hdmi_core_data *core) argument
31 hdmi4_cec_init(struct platform_device *pdev, struct hdmi_core_data *core, struct hdmi_wp_data *wp) argument
H A Dhdmi4_cec.c56 static void hdmi_cec_received_msg(struct hdmi_core_data *core) argument
58 u32 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff;
71 msg.msg[0] = hdmi_read_reg(core->base,
73 msg.msg[1] = hdmi_read_reg(core->base,
79 hdmi_read_reg(core->base, reg);
82 cec_received_msg(core->adap, &msg);
85 hdmi_write_reg(core->base, HDMI_CEC_RX_CONTROL, 1);
87 while (hdmi_read_reg(core->base, HDMI_CEC_RX_CONTROL) & 1)
93 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff;
97 void hdmi4_cec_irq(struct hdmi_core_data *core) argument
124 struct hdmi_core_data *core = cec_get_drvdata(adap); local
140 struct hdmi_core_data *core = cec_get_drvdata(adap); local
157 struct hdmi_core_data *core = cec_get_drvdata(adap); local
246 struct hdmi_core_data *core = cec_get_drvdata(adap); local
269 struct hdmi_core_data *core = cec_get_drvdata(adap); local
320 hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa) argument
325 hdmi4_cec_init(struct platform_device *pdev, struct hdmi_core_data *core, struct hdmi_wp_data *wp) argument
350 hdmi4_cec_uninit(struct hdmi_core_data *core) argument
[all...]
/linux-master/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...]
/linux-master/drivers/sh/clk/
H A DMakefile2 obj-y := core.o
/linux-master/drivers/bcma/
H A Dcore.c12 static bool bcma_core_wait_value(struct bcma_device *core, u16 reg, u32 mask, argument
19 val = bcma_aread32(core, reg);
26 bcma_warn(core->bus, "Timeout waiting for register 0x%04X!\n", reg);
31 bool bcma_core_is_enabled(struct bcma_device *core) argument
33 if ((bcma_aread32(core, BCMA_IOCTL) & (BCMA_IOCTL_CLK | BCMA_IOCTL_FGC))
36 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET)
42 void bcma_core_disable(struct bcma_device *core, u32 flags) argument
44 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET)
47 bcma_core_wait_value(core, BCMA_RESET_ST, ~0, 0, 300);
49 bcma_awrite32(core, BCMA_RESET_CT
59 bcma_core_enable(struct bcma_device *core, u32 flags) argument
78 bcma_core_set_clockmode(struct bcma_device *core, enum bcma_clkmode clkmode) argument
109 bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status, bool on) argument
140 bcma_core_dma_translation(struct bcma_device *core) argument
[all...]
H A Dmain.c36 struct bcma_device *core = container_of(dev, struct bcma_device, dev); local
37 return sprintf(buf, "0x%03X\n", core->id.manuf);
43 struct bcma_device *core = container_of(dev, struct bcma_device, dev); local
44 return sprintf(buf, "0x%03X\n", core->id.id);
50 struct bcma_device *core = container_of(dev, struct bcma_device, dev); local
51 return sprintf(buf, "0x%02X\n", core->id.rev);
57 struct bcma_device *core = container_of(dev, struct bcma_device, dev); local
58 return sprintf(buf, "0x%X\n", core->id.class);
90 struct bcma_device *core; local
92 list_for_each_entry(core,
100 bcma_wait_value(struct bcma_device *core, u16 reg, u32 mask, u32 value, int timeout) argument
121 struct bcma_device *core = container_of(dev, struct bcma_device, dev); local
140 bcma_of_find_child_device(struct device *parent, struct bcma_device *core) argument
160 bcma_of_irq_parse(struct device *parent, struct bcma_device *core, struct of_phandle_args *out_irq, int num) argument
181 bcma_of_get_irq(struct device *parent, struct bcma_device *core, int num) argument
200 bcma_of_fill_device(struct device *parent, struct bcma_device *core) argument
214 bcma_core_irq(struct bcma_device *core, int num) argument
238 bcma_prepare_core(struct bcma_bus *bus, struct bcma_device *core) argument
278 bcma_register_core(struct bcma_bus *bus, struct bcma_device *core) argument
293 struct bcma_device *core; local
364 struct bcma_device *core, *tmp; local
385 struct bcma_device *core; local
504 struct bcma_device *core; local
535 struct bcma_device *core; local
550 struct bcma_device *core; local
589 struct bcma_device *core = container_of(dev, struct bcma_device, dev); local
606 struct bcma_device *core = container_of(dev, struct bcma_device, dev); local
622 struct bcma_device *core = container_of(dev, struct bcma_device, dev); local
633 const struct bcma_device *core = container_of_const(dev, struct bcma_device, dev); local
[all...]
/linux-master/drivers/media/pci/cx88/
H A Dcx88-i2c.c46 struct cx88_core *core = data; local
49 core->i2c_state |= 0x02;
51 core->i2c_state &= ~0x02;
52 cx_write(MO_I2C, core->i2c_state);
58 struct cx88_core *core = data; local
61 core->i2c_state |= 0x01;
63 core->i2c_state &= ~0x01;
64 cx_write(MO_I2C, core->i2c_state);
70 struct cx88_core *core = data; local
79 struct cx88_core *core local
124 cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci) argument
[all...]

Completed in 192 milliseconds

1234567891011>>