Home
last modified time | relevance | path

Searched full:core (Results 1 – 25 of 12668) sorted by relevance

12345678910>>...507

/kernel/linux/linux-6.6/drivers/media/platform/amphion/
Dvpu_core.c29 void csr_writel(struct vpu_core *core, u32 reg, u32 val) in csr_writel() argument
31 writel(val, core->base + reg); in csr_writel()
34 u32 csr_readl(struct vpu_core *core, u32 reg) in csr_readl() argument
36 return readl(core->base + reg); in csr_readl()
39 static int vpu_core_load_firmware(struct vpu_core *core) in vpu_core_load_firmware() argument
44 if (!core->fw.virt) { in vpu_core_load_firmware()
45 dev_err(core->dev, "firmware buffer is not ready\n"); in vpu_core_load_firmware()
49 ret = request_firmware(&pfw, core->res->fwname, core->dev); in vpu_core_load_firmware()
50 dev_dbg(core->dev, "request_firmware %s : %d\n", core->res->fwname, ret); in vpu_core_load_firmware()
52 dev_err(core->dev, "request firmware %s failed, ret = %d\n", in vpu_core_load_firmware()
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Dsi476x-i2c.c3 * drivers/mfd/si476x-i2c.c -- Core device driver for si476x MFD
21 #include <linux/mfd/si476x-core.h>
29 * @core: Core device structure
36 static int si476x_core_config_pinmux(struct si476x_core *core) in si476x_core_config_pinmux() argument
39 dev_dbg(&core->client->dev, "Configuring pinmux\n"); in si476x_core_config_pinmux()
40 err = si476x_core_cmd_dig_audio_pin_cfg(core, in si476x_core_config_pinmux()
41 core->pinmux.dclk, in si476x_core_config_pinmux()
42 core->pinmux.dfs, in si476x_core_config_pinmux()
43 core->pinmux.dout, in si476x_core_config_pinmux()
44 core->pinmux.xout); in si476x_core_config_pinmux()
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dsi476x-i2c.c3 * drivers/mfd/si476x-i2c.c -- Core device driver for si476x MFD
21 #include <linux/mfd/si476x-core.h>
29 * @core: Core device structure
36 static int si476x_core_config_pinmux(struct si476x_core *core) in si476x_core_config_pinmux() argument
39 dev_dbg(&core->client->dev, "Configuring pinmux\n"); in si476x_core_config_pinmux()
40 err = si476x_core_cmd_dig_audio_pin_cfg(core, in si476x_core_config_pinmux()
41 core->pinmux.dclk, in si476x_core_config_pinmux()
42 core->pinmux.dfs, in si476x_core_config_pinmux()
43 core->pinmux.dout, in si476x_core_config_pinmux()
44 core->pinmux.xout); in si476x_core_config_pinmux()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dpm_helpers.c17 #include "core.h"
24 static int core_clks_get(struct venus_core *core) in core_clks_get() argument
26 const struct venus_resources *res = core->res; in core_clks_get()
27 struct device *dev = core->dev; in core_clks_get()
31 core->clks[i] = devm_clk_get(dev, res->clks[i]); in core_clks_get()
32 if (IS_ERR(core->clks[i])) in core_clks_get()
33 return PTR_ERR(core->clks[i]); in core_clks_get()
39 static int core_clks_enable(struct venus_core *core) in core_clks_enable() argument
41 const struct venus_resources *res = core->res; in core_clks_enable()
46 ret = clk_prepare_enable(core->clks[i]); in core_clks_enable()
[all …]
Dcore.c21 #include "core.h"
26 static void venus_event_notify(struct venus_core *core, u32 event) in venus_event_notify() argument
38 mutex_lock(&core->lock); in venus_event_notify()
39 core->sys_error = true; in venus_event_notify()
40 list_for_each_entry(inst, &core->instances, list) in venus_event_notify()
42 mutex_unlock(&core->lock); in venus_event_notify()
44 disable_irq_nosync(core->irq); in venus_event_notify()
45 schedule_delayed_work(&core->work, msecs_to_jiffies(10)); in venus_event_notify()
56 struct venus_core *core = in venus_sys_error_handler() local
62 ret = pm_runtime_get_sync(core->dev); in venus_sys_error_handler()
[all …]
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->state = CORE_INIT; in hfi_core_init()
80 mutex_unlock(&core->lock); in hfi_core_init()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
Dradio_2055.h11 #define B2055_C1_SP_RSSI 0x03 /* SP RSSI Core 1 */
12 #define B2055_C1_SP_PDMISC 0x04 /* SP PD MISC Core 1 */
13 #define B2055_C2_SP_RSSI 0x05 /* SP RSSI Core 2 */
14 #define B2055_C2_SP_PDMISC 0x06 /* SP PD MISC Core 2 */
15 #define B2055_C1_SP_RXGC1 0x07 /* SP RX GC1 Core 1 */
16 #define B2055_C1_SP_RXGC2 0x08 /* SP RX GC2 Core 1 */
17 #define B2055_C2_SP_RXGC1 0x09 /* SP RX GC1 Core 2 */
18 #define B2055_C2_SP_RXGC2 0x0A /* SP RX GC2 Core 2 */
19 #define B2055_C1_SP_LPFBWSEL 0x0B /* SP LPF BW select Core 1 */
20 #define B2055_C2_SP_LPFBWSEL 0x0C /* SP LPF BW select Core 2 */
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dradio_2055.h11 #define B2055_C1_SP_RSSI 0x03 /* SP RSSI Core 1 */
12 #define B2055_C1_SP_PDMISC 0x04 /* SP PD MISC Core 1 */
13 #define B2055_C2_SP_RSSI 0x05 /* SP RSSI Core 2 */
14 #define B2055_C2_SP_PDMISC 0x06 /* SP PD MISC Core 2 */
15 #define B2055_C1_SP_RXGC1 0x07 /* SP RX GC1 Core 1 */
16 #define B2055_C1_SP_RXGC2 0x08 /* SP RX GC2 Core 1 */
17 #define B2055_C2_SP_RXGC1 0x09 /* SP RX GC1 Core 2 */
18 #define B2055_C2_SP_RXGC2 0x0A /* SP RX GC2 Core 2 */
19 #define B2055_C1_SP_LPFBWSEL 0x0B /* SP LPF BW select Core 1 */
20 #define B2055_C2_SP_LPFBWSEL 0x0C /* SP LPF BW select Core 2 */
[all …]
/kernel/linux/linux-6.6/drivers/bcma/
Dmain.c36 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in manuf_show() local
37 return sprintf(buf, "0x%03X\n", core->id.manuf); in manuf_show()
43 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in id_show() local
44 return sprintf(buf, "0x%03X\n", core->id.id); in id_show()
50 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in rev_show() local
51 return sprintf(buf, "0x%02X\n", core->id.rev); in rev_show()
57 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in class_show() local
58 return sprintf(buf, "0x%X\n", core->id.class); in class_show()
90 struct bcma_device *core; in bcma_find_core_unit() local
92 list_for_each_entry(core, &bus->cores, list) { in bcma_find_core_unit()
[all …]
/kernel/linux/linux-5.10/drivers/bcma/
Dmain.c35 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in manuf_show() local
36 return sprintf(buf, "0x%03X\n", core->id.manuf); in manuf_show()
42 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in id_show() local
43 return sprintf(buf, "0x%03X\n", core->id.id); in id_show()
49 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in rev_show() local
50 return sprintf(buf, "0x%02X\n", core->id.rev); in rev_show()
56 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in class_show() local
57 return sprintf(buf, "0x%X\n", core->id.class); in class_show()
89 struct bcma_device *core; in bcma_find_core_unit() local
91 list_for_each_entry(core, &bus->cores, list) { in bcma_find_core_unit()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
Dpm_helpers.c18 #include "core.h"
26 static int core_clks_get(struct venus_core *core) in core_clks_get() argument
28 const struct venus_resources *res = core->res; in core_clks_get()
29 struct device *dev = core->dev; in core_clks_get()
33 core->clks[i] = devm_clk_get(dev, res->clks[i]); in core_clks_get()
34 if (IS_ERR(core->clks[i])) in core_clks_get()
35 return PTR_ERR(core->clks[i]); in core_clks_get()
41 static int core_clks_enable(struct venus_core *core) in core_clks_enable() argument
43 const struct venus_resources *res = core->res; in core_clks_enable()
44 const struct freq_tbl *freq_tbl = core->res->freq_tbl; in core_clks_enable()
[all …]
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->state = CORE_INIT; in hfi_core_init()
80 mutex_unlock(&core->lock); in hfi_core_init()
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/meson/vdec/
Dvdec_hevc.c29 struct amvdec_core *core = sess->core; in vdec_hevc_load_firmware() local
30 struct device *dev = core->dev_dec; in vdec_hevc_load_firmware()
50 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, &mc_addr_map, in vdec_hevc_load_firmware()
59 amvdec_write_dos(core, HEVC_MPSR, 0); in vdec_hevc_load_firmware()
60 amvdec_write_dos(core, HEVC_CPSR, 0); in vdec_hevc_load_firmware()
62 amvdec_write_dos(core, HEVC_IMEM_DMA_ADR, mc_addr_map); in vdec_hevc_load_firmware()
63 amvdec_write_dos(core, HEVC_IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_hevc_load_firmware()
64 amvdec_write_dos(core, HEVC_IMEM_DMA_CTRL, (0x8000 | (7 << 16))); in vdec_hevc_load_firmware()
66 while (i && (readl(core->dos_base + HEVC_IMEM_DMA_CTRL) & 0x8000)) in vdec_hevc_load_firmware()
74 dma_free_coherent(core->dev, MC_SIZE, mc_addr, mc_addr_map); in vdec_hevc_load_firmware()
[all …]
Dvdec_1.c29 struct amvdec_core *core = sess->core; in vdec_1_load_firmware() local
30 struct device *dev = core->dev_dec; in vdec_1_load_firmware()
48 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, in vdec_1_load_firmware()
57 amvdec_write_dos(core, MPSR, 0); in vdec_1_load_firmware()
58 amvdec_write_dos(core, CPSR, 0); in vdec_1_load_firmware()
60 amvdec_clear_dos_bits(core, MDEC_PIC_DC_CTRL, BIT(31)); in vdec_1_load_firmware()
62 amvdec_write_dos(core, IMEM_DMA_ADR, mc_addr_map); in vdec_1_load_firmware()
63 amvdec_write_dos(core, IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_1_load_firmware()
64 amvdec_write_dos(core, IMEM_DMA_CTRL, (0x8000 | (7 << 16))); in vdec_1_load_firmware()
66 while (--i && amvdec_read_dos(core, IMEM_DMA_CTRL) & 0x8000); in vdec_1_load_firmware()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Dvdec_hevc.c29 struct amvdec_core *core = sess->core; in vdec_hevc_load_firmware() local
30 struct device *dev = core->dev_dec; in vdec_hevc_load_firmware()
50 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, &mc_addr_map, in vdec_hevc_load_firmware()
59 amvdec_write_dos(core, HEVC_MPSR, 0); in vdec_hevc_load_firmware()
60 amvdec_write_dos(core, HEVC_CPSR, 0); in vdec_hevc_load_firmware()
62 amvdec_write_dos(core, HEVC_IMEM_DMA_ADR, mc_addr_map); in vdec_hevc_load_firmware()
63 amvdec_write_dos(core, HEVC_IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_hevc_load_firmware()
64 amvdec_write_dos(core, HEVC_IMEM_DMA_CTRL, (0x8000 | (7 << 16))); in vdec_hevc_load_firmware()
66 while (i && (readl(core->dos_base + HEVC_IMEM_DMA_CTRL) & 0x8000)) in vdec_hevc_load_firmware()
74 dma_free_coherent(core->dev, MC_SIZE, mc_addr, mc_addr_map); in vdec_hevc_load_firmware()
[all …]
Dvdec_1.c29 struct amvdec_core *core = sess->core; in vdec_1_load_firmware() local
30 struct device *dev = core->dev_dec; in vdec_1_load_firmware()
48 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, in vdec_1_load_firmware()
57 amvdec_write_dos(core, MPSR, 0); in vdec_1_load_firmware()
58 amvdec_write_dos(core, CPSR, 0); in vdec_1_load_firmware()
60 amvdec_clear_dos_bits(core, MDEC_PIC_DC_CTRL, BIT(31)); in vdec_1_load_firmware()
62 amvdec_write_dos(core, IMEM_DMA_ADR, mc_addr_map); in vdec_1_load_firmware()
63 amvdec_write_dos(core, IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_1_load_firmware()
64 amvdec_write_dos(core, IMEM_DMA_CTRL, (0x8000 | (7 << 16))); in vdec_1_load_firmware()
66 while (--i && amvdec_read_dos(core, IMEM_DMA_CTRL) & 0x8000); in vdec_1_load_firmware()
[all …]
/kernel/linux/linux-6.6/drivers/clk/at91/
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) argument
56 #define to_sam9x60_div(core) container_of(core, struct sam9x60_div, core) argument
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 static int sam9x60_frac_pll_set(struct sam9x60_pll_core *core) in sam9x60_frac_pll_set() argument
86 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_set()
87 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set()
91 spin_lock_irqsave(core->lock, flags); in sam9x60_frac_pll_set()
[all …]
/kernel/linux/linux-6.6/include/trace/events/
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/include/trace/events/
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/tools/perf/tests/
Dparse-events.c51 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_tracepoint()
53 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type); in test__checkevent_tracepoint()
55 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type); in test__checkevent_tracepoint()
56 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->core.attr.sample_period); in test__checkevent_tracepoint()
64 TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); in test__checkevent_tracepoint_multi()
69 PERF_TYPE_TRACEPOINT == evsel->core.attr.type); in test__checkevent_tracepoint_multi()
71 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type); in test__checkevent_tracepoint_multi()
73 1 == evsel->core.attr.sample_period); in test__checkevent_tracepoint_multi()
82 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_raw()
83 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type); in test__checkevent_raw()
[all …]
/kernel/linux/linux-5.10/drivers/clk/
Dclk.c54 struct clk_core *core; member
103 struct clk_core *core; member
114 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get() argument
118 if (!core->rpm_enabled) in clk_pm_runtime_get()
121 ret = pm_runtime_get_sync(core->dev); in clk_pm_runtime_get()
123 pm_runtime_put_noidle(core->dev); in clk_pm_runtime_get()
129 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put() argument
131 if (!core->rpm_enabled) in clk_pm_runtime_put()
134 pm_runtime_put_sync(core->dev); in clk_pm_runtime_put()
155 struct clk_core *core, *failed; in clk_pm_runtime_get_all() local
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/
Dmapfile.csv2 GenuineIntel-6-56,v5,broadwellde,core
3 GenuineIntel-6-3D,v17,broadwell,core
4 GenuineIntel-6-47,v17,broadwell,core
5 GenuineIntel-6-4F,v10,broadwellx,core
6 GenuineIntel-6-1C,v4,bonnell,core
7 GenuineIntel-6-26,v4,bonnell,core
8 GenuineIntel-6-27,v4,bonnell,core
9 GenuineIntel-6-36,v4,bonnell,core
10 GenuineIntel-6-35,v4,bonnell,core
11 GenuineIntel-6-5C,v8,goldmont,core
[all …]
/kernel/linux/linux-6.6/drivers/clk/
Dclk.c54 struct clk_core *core; member
103 struct clk_core *core; member
114 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get() argument
116 if (!core->rpm_enabled) in clk_pm_runtime_get()
119 return pm_runtime_resume_and_get(core->dev); in clk_pm_runtime_get()
122 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put() argument
124 if (!core->rpm_enabled) in clk_pm_runtime_put()
127 pm_runtime_put_sync(core->dev); in clk_pm_runtime_put()
148 struct clk_core *core, *failed; in clk_pm_runtime_get_all() local
161 hlist_for_each_entry(core, &clk_rpm_list, rpm_node) { in clk_pm_runtime_get_all()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
Dhdmi4_cec.c56 static void hdmi_cec_received_msg(struct hdmi_core_data *core) in hdmi_cec_received_msg() argument
58 u32 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg()
71 msg.msg[0] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
73 msg.msg[1] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
79 hdmi_read_reg(core->base, reg); in hdmi_cec_received_msg()
82 cec_received_msg(core->adap, &msg); in hdmi_cec_received_msg()
85 hdmi_write_reg(core->base, HDMI_CEC_RX_CONTROL, 1); in hdmi_cec_received_msg()
87 while (hdmi_read_reg(core->base, HDMI_CEC_RX_CONTROL) & 1) in hdmi_cec_received_msg()
93 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg()
97 void hdmi4_cec_irq(struct hdmi_core_data *core) in hdmi4_cec_irq() argument
[all …]
/kernel/linux/linux-5.10/drivers/clk/at91/
Dclk-sam9x60-pll.c40 struct sam9x60_pll_core core; member
46 struct sam9x60_pll_core core; member
51 #define to_sam9x60_frac(core) container_of(core, struct sam9x60_frac, core) argument
52 #define to_sam9x60_div(core) container_of(core, struct sam9x60_div, core) argument
71 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); in sam9x60_frac_pll_recalc_rate() local
72 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_recalc_rate()
80 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); in sam9x60_frac_pll_prepare() local
81 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_prepare()
82 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_prepare()
86 spin_lock_irqsave(core->lock, flags); in sam9x60_frac_pll_prepare()
[all …]

12345678910>>...507