Home
last modified time | relevance | path

Searched refs:core (Results 51 - 75 of 6622) sorted by relevance

12345678910>>...265

/kernel/linux/linux-6.6/drivers/media/pci/cx88/
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...]
H A Dcx88-video.c282 int cx88_video_mux(struct cx88_core *core, unsigned int input) in cx88_video_mux() argument
284 /* struct cx88_core *core = dev->core; */ in cx88_video_mux()
290 core->input = input; in cx88_video_mux()
322 if (core->sd_wm8775) { in cx88_video_mux()
323 call_all(core, audio, s_routing, in cx88_video_mux()
334 core->tvaudio = WW_I2SADC; in cx88_video_mux()
335 cx88_set_tvaudio(core); in cx88_video_mux()
353 struct cx88_core *core = dev->core; in start_video_dma() local
390 struct cx88_core *core = dev->core; stop_video_dma() local
425 struct cx88_core *core = dev->core; queue_setup() local
437 struct cx88_core *core = dev->core; buffer_prepare() local
543 struct cx88_core *core = dev->core; stop_streaming() local
576 struct cx88_core *core = dev->core; radio_open() local
609 struct cx88_core *core = cx8800_s_vid_ctrl() local
656 struct cx88_core *core = cx8800_s_aud_ctrl() local
710 struct cx88_core *core = dev->core; vidioc_g_fmt_vid_cap() local
728 struct cx88_core *core = dev->core; vidioc_try_fmt_vid_cap() local
774 struct cx88_core *core = dev->core; vidioc_s_fmt_vid_cap() local
790 cx88_querycap(struct file *file, struct cx88_core *core, struct v4l2_capability *cap) cx88_querycap() argument
809 struct cx88_core *core = dev->core; vidioc_querycap() local
829 struct cx88_core *core = dev->core; vidioc_g_std() local
838 struct cx88_core *core = dev->core; vidioc_s_std() local
844 cx88_enum_input(struct cx88_core *core, struct v4l2_input *i) cx88_enum_input() argument
878 struct cx88_core *core = dev->core; vidioc_enum_input() local
886 struct cx88_core *core = dev->core; vidioc_g_input() local
895 struct cx88_core *core = dev->core; vidioc_s_input() local
911 struct cx88_core *core = dev->core; vidioc_g_tuner() local
934 struct cx88_core *core = dev->core; vidioc_s_tuner() local
949 struct cx88_core *core = dev->core; vidioc_g_frequency() local
963 cx88_set_freq(struct cx88_core *core, const struct v4l2_frequency *f) cx88_set_freq() argument
990 struct cx88_core *core = dev->core; vidioc_s_frequency() local
1000 struct cx88_core *core = dev->core; vidioc_g_register() local
1012 struct cx88_core *core = dev->core; vidioc_s_register() local
1027 struct cx88_core *core = dev->core; radio_g_tuner() local
1042 struct cx88_core *core = dev->core; radio_s_tuner() local
1063 struct cx88_core *core = dev->core; cx8800_vid_irq() local
1104 struct cx88_core *core = dev->core; cx8800_irq() local
1261 struct cx88_core *core; cx8800_initdev() local
1528 struct cx88_core *core = dev->core; cx8800_finidev() local
1557 struct cx88_core *core = dev->core; cx8800_suspend() local
1584 struct cx88_core *core = dev->core; cx8800_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
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/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/bcma/
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 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-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...]
/kernel/linux/linux-6.6/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...]
/third_party/mesa3d/bin/pick/
H A Dcore_test.py21 """Tests for pick's core data structures and routines."""
30 from . import core namespace
36 def unnominated_commit(self) -> 'core.Commit':
37 return core.Commit('abc123', 'sub: A commit', main_sha='45678')
40 def nominated_commit(self) -> 'core.Commit':
41 return core.Commit('abc123', 'sub: A commit', True,
42 core.NominationType.CC, core.Resolution.UNRESOLVED)
46 def test_not_nominated(self, unnominated_commit: 'core.Commit'):
50 'nomination_type': None, 'resolution': core
[all...]
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dti_k3_r5_remoteproc.c92 * @is_single_core: flag to denote if SoC/IP has only single core R5
116 * struct k3_r5_core - K3 R5 core structure
119 * @rproc: rproc handle representing this core
156 * @core: cached pointer to r5 core structure being used
166 struct k3_r5_core *core; member
179 * and we let remoteproc core handle it.
235 static int k3_r5_split_reset(struct k3_r5_core *core) in k3_r5_split_reset() argument
239 ret = reset_control_assert(core->reset); in k3_r5_split_reset()
241 dev_err(core in k3_r5_split_reset()
258 k3_r5_split_release(struct k3_r5_core *core) k3_r5_split_release() argument
284 struct k3_r5_core *core; k3_r5_lockstep_reset() local
329 struct k3_r5_core *core; k3_r5_lockstep_release() local
372 k3_r5_core_halt(struct k3_r5_core *core) k3_r5_core_halt() argument
378 k3_r5_core_run(struct k3_r5_core *core) k3_r5_core_run() argument
442 struct k3_r5_core *core = kproc->core; k3_r5_rproc_prepare() local
509 struct k3_r5_core *core = kproc->core; k3_r5_rproc_unprepare() local
545 struct k3_r5_core *core; k3_r5_rproc_start() local
616 struct k3_r5_core *core = kproc->core; k3_r5_rproc_stop() local
730 struct k3_r5_core *core = kproc->core; k3_r5_rproc_da_to_va() local
836 struct k3_r5_core *core0, *core, *temp; k3_r5_rproc_configure() local
1073 struct k3_r5_core *core = kproc->core; k3_r5_adjust_tcm_sizes() local
1112 struct k3_r5_core *core = kproc->core; k3_r5_rproc_configure_mode() local
1212 struct k3_r5_core *core, *core1; k3_r5_cluster_rproc_init() local
1318 struct k3_r5_core *core; k3_r5_cluster_rproc_exit() local
1353 k3_r5_core_of_get_internal_memories(struct platform_device *pdev, struct k3_r5_core *core) k3_r5_core_of_get_internal_memories() argument
1425 k3_r5_core_of_get_sram_memories(struct platform_device *pdev, struct k3_r5_core *core) k3_r5_core_of_get_sram_memories() argument
1512 struct k3_r5_core *core; k3_r5_core_of_init() local
1625 struct k3_r5_core *core = platform_get_drvdata(pdev); k3_r5_core_of_exit() local
1641 struct k3_r5_core *core, *temp; k3_r5_cluster_of_exit() local
1657 struct k3_r5_core *core; k3_r5_cluster_of_init() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c209 struct kvm_riscv_core core; in vcpu_arch_dump() local
211 vcpu_get_reg(vcpu, RISCV_CORE_REG(mode), &core.mode); in vcpu_arch_dump()
212 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.pc), &core.regs.pc); in vcpu_arch_dump()
213 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.ra), &core.regs.ra); in vcpu_arch_dump()
214 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.sp), &core.regs.sp); in vcpu_arch_dump()
215 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.gp), &core.regs.gp); in vcpu_arch_dump()
216 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.tp), &core.regs.tp); in vcpu_arch_dump()
217 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.t0), &core.regs.t0); in vcpu_arch_dump()
218 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.t1), &core.regs.t1); in vcpu_arch_dump()
219 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.t2), &core in vcpu_arch_dump()
[all...]
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
H A Dq6core.c72 struct q6core *core = dev_get_drvdata(&adev->dev); in q6core_callback() local
83 core->get_version_supported = false; in q6core_callback()
84 core->resp_received = true; in q6core_callback()
88 core->fwk_version_supported = false; in q6core_callback()
89 core->resp_received = true; in q6core_callback()
93 core->get_state_supported = false; in q6core_callback()
94 core->resp_received = true; in q6core_callback()
104 core->fwk_version = kmemdup(data->payload, in q6core_callback()
108 if (!core->fwk_version) in q6core_callback()
111 core in q6core_callback()
151 q6core_get_fwk_versions(struct q6core *core) q6core_get_fwk_versions() argument
181 q6core_get_svc_versions(struct q6core *core) q6core_get_svc_versions() argument
206 __q6core_is_adsp_ready(struct q6core *core) __q6core_is_adsp_ready() argument
344 struct q6core *core = dev_get_drvdata(&adev->dev); q6core_exit() local
[all...]
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/
H A Dq6core.c72 struct q6core *core = dev_get_drvdata(&adev->dev); in q6core_callback() local
83 core->get_version_supported = false; in q6core_callback()
84 core->resp_received = true; in q6core_callback()
88 core->fwk_version_supported = false; in q6core_callback()
89 core->resp_received = true; in q6core_callback()
93 core->get_state_supported = false; in q6core_callback()
94 core->resp_received = true; in q6core_callback()
104 core->fwk_version = kmemdup(data->payload, in q6core_callback()
108 if (!core->fwk_version) in q6core_callback()
111 core in q6core_callback()
151 q6core_get_fwk_versions(struct q6core *core) q6core_get_fwk_versions() argument
181 q6core_get_svc_versions(struct q6core *core) q6core_get_svc_versions() argument
206 __q6core_is_adsp_ready(struct q6core *core) __q6core_is_adsp_ready() argument
344 struct q6core *core = dev_get_drvdata(&adev->dev); q6core_exit() local
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
H A Dcx88-video.c282 int cx88_video_mux(struct cx88_core *core, unsigned int input) in cx88_video_mux() argument
284 /* struct cx88_core *core = dev->core; */ in cx88_video_mux()
290 core->input = input; in cx88_video_mux()
322 if (core->sd_wm8775) { in cx88_video_mux()
323 call_all(core, audio, s_routing, in cx88_video_mux()
334 core->tvaudio = WW_I2SADC; in cx88_video_mux()
335 cx88_set_tvaudio(core); in cx88_video_mux()
353 struct cx88_core *core = dev->core; in start_video_dma() local
390 struct cx88_core *core = dev->core; stop_video_dma() local
425 struct cx88_core *core = dev->core; queue_setup() local
437 struct cx88_core *core = dev->core; buffer_prepare() local
542 struct cx88_core *core = dev->core; stop_streaming() local
575 struct cx88_core *core = dev->core; radio_open() local
608 struct cx88_core *core = cx8800_s_vid_ctrl() local
655 struct cx88_core *core = cx8800_s_aud_ctrl() local
709 struct cx88_core *core = dev->core; vidioc_g_fmt_vid_cap() local
727 struct cx88_core *core = dev->core; vidioc_try_fmt_vid_cap() local
773 struct cx88_core *core = dev->core; vidioc_s_fmt_vid_cap() local
789 cx88_querycap(struct file *file, struct cx88_core *core, struct v4l2_capability *cap) cx88_querycap() argument
808 struct cx88_core *core = dev->core; vidioc_querycap() local
829 struct cx88_core *core = dev->core; vidioc_g_std() local
838 struct cx88_core *core = dev->core; vidioc_s_std() local
844 cx88_enum_input(struct cx88_core *core, struct v4l2_input *i) cx88_enum_input() argument
878 struct cx88_core *core = dev->core; vidioc_enum_input() local
886 struct cx88_core *core = dev->core; vidioc_g_input() local
895 struct cx88_core *core = dev->core; vidioc_s_input() local
911 struct cx88_core *core = dev->core; vidioc_g_tuner() local
934 struct cx88_core *core = dev->core; vidioc_s_tuner() local
949 struct cx88_core *core = dev->core; vidioc_g_frequency() local
963 cx88_set_freq(struct cx88_core *core, const struct v4l2_frequency *f) cx88_set_freq() argument
990 struct cx88_core *core = dev->core; vidioc_s_frequency() local
1000 struct cx88_core *core = dev->core; vidioc_g_register() local
1012 struct cx88_core *core = dev->core; vidioc_s_register() local
1027 struct cx88_core *core = dev->core; radio_g_tuner() local
1042 struct cx88_core *core = dev->core; radio_s_tuner() local
1063 struct cx88_core *core = dev->core; cx8800_vid_irq() local
1104 struct cx88_core *core = dev->core; cx8800_irq() local
1261 struct cx88_core *core; cx8800_initdev() local
1527 struct cx88_core *core = dev->core; cx8800_finidev() local
1556 struct cx88_core *core = dev->core; cx8800_suspend() local
1583 struct cx88_core *core = dev->core; cx8800_resume() local
[all...]
H A Dcx88-input.c20 #include <media/rc-core.h>
27 struct cx88_core *core; member
58 printk(KERN_DEBUG "%s IR: " fmt, ir->core->name, ##arg);\
70 struct cx88_core *core = ir->core; in cx88_ir_handle_key() local
75 switch (core->boardnr) { in cx88_ir_handle_key()
121 if (ir->core->boardnr == CX88_BOARD_NORWOOD_MICRO) { in cx88_ir_handle_key()
128 } else if (ir->core->boardnr == CX88_BOARD_PROLINK_PLAYTVPVR || in cx88_ir_handle_key()
129 ir->core->boardnr == CX88_BOARD_PIXELVIEW_PLAYTV_ULTRA_PRO) { in cx88_ir_handle_key()
184 struct cx88_core *core in __cx88_ir_start() local
209 struct cx88_core *core = priv; __cx88_ir_stop() local
225 cx88_ir_start(struct cx88_core *core) cx88_ir_start() argument
234 cx88_ir_stop(struct cx88_core *core) cx88_ir_stop() argument
243 struct cx88_core *core = rc->priv; cx88_ir_open() local
251 struct cx88_core *core = rc->priv; cx88_ir_close() local
260 cx88_ir_init(struct cx88_core *core, struct pci_dev *pci) cx88_ir_init() argument
505 cx88_ir_fini(struct cx88_core *core) cx88_ir_fini() argument
524 cx88_ir_irq(struct cx88_core *core) cx88_ir_irq() argument
585 cx88_i2c_init_ir(struct cx88_core *core) cx88_i2c_init_ir() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dfirmware.c19 #include "core.h"
27 static void venus_reset_cpu(struct venus_core *core) in venus_reset_cpu() argument
29 u32 fw_size = core->fw.mapped_mem_size; in venus_reset_cpu()
30 void __iomem *wrapper_base = core->wrapper_base; in venus_reset_cpu()
45 int venus_set_hw_state(struct venus_core *core, bool resume) in venus_set_hw_state() argument
49 if (core->use_tz) { in venus_set_hw_state()
57 venus_reset_cpu(core); in venus_set_hw_state()
59 writel(1, core->wrapper_base + WRAPPER_A9SS_SW_RESET); in venus_set_hw_state()
64 static int venus_load_fw(struct venus_core *core, const char *fwname, in venus_load_fw() argument
78 dev = core in venus_load_fw()
129 venus_boot_no_tz(struct venus_core *core, phys_addr_t mem_phys, size_t mem_size) venus_boot_no_tz() argument
155 venus_shutdown_no_tz(struct venus_core *core) venus_shutdown_no_tz() argument
181 venus_boot(struct venus_core *core) venus_boot() argument
223 venus_shutdown(struct venus_core *core) venus_shutdown() argument
235 venus_firmware_init(struct venus_core *core) venus_firmware_init() argument
298 venus_firmware_deinit(struct venus_core *core) venus_firmware_deinit() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_gp.h23 * Definition of the GP core struct
24 * Used to track a GP core in the system.
35 void mali_gp_delete(struct mali_gp_core *core);
37 void mali_gp_stop_bus(struct mali_gp_core *core);
38 mali_osk_errcode_t mali_gp_stop_bus_wait(struct mali_gp_core *core);
39 void mali_gp_reset_async(struct mali_gp_core *core);
40 mali_osk_errcode_t mali_gp_reset_wait(struct mali_gp_core *core);
41 void mali_gp_hard_reset(struct mali_gp_core *core);
42 mali_osk_errcode_t mali_gp_reset(struct mali_gp_core *core);
44 void mali_gp_job_start(struct mali_gp_core *core, struc
57 mali_gp_core_description(struct mali_gp_core *core) mali_gp_core_description() argument
62 mali_gp_get_interrupt_result(struct mali_gp_core *core) mali_gp_get_interrupt_result() argument
81 mali_gp_get_rawstat(struct mali_gp_core *core) mali_gp_get_rawstat() argument
87 mali_gp_is_active(struct mali_gp_core *core) mali_gp_is_active() argument
93 mali_gp_mask_all_interrupts(struct mali_gp_core *core) mali_gp_mask_all_interrupts() argument
98 mali_gp_enable_interrupts(struct mali_gp_core *core, enum mali_interrupt_result exceptions) mali_gp_enable_interrupts() argument
115 mali_gp_read_plbu_alloc_start_addr(struct mali_gp_core *core) mali_gp_read_plbu_alloc_start_addr() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_gp.h22 * Definition of the GP core struct
23 * Used to track a GP core in the system.
34 void mali_gp_delete(struct mali_gp_core *core);
36 void mali_gp_stop_bus(struct mali_gp_core *core);
37 _mali_osk_errcode_t mali_gp_stop_bus_wait(struct mali_gp_core *core);
38 void mali_gp_reset_async(struct mali_gp_core *core);
39 _mali_osk_errcode_t mali_gp_reset_wait(struct mali_gp_core *core);
40 void mali_gp_hard_reset(struct mali_gp_core *core);
41 _mali_osk_errcode_t mali_gp_reset(struct mali_gp_core *core);
43 void mali_gp_job_start(struct mali_gp_core *core, struc
56 mali_gp_core_description(struct mali_gp_core *core) mali_gp_core_description() argument
61 mali_gp_get_interrupt_result(struct mali_gp_core *core) mali_gp_get_interrupt_result() argument
82 mali_gp_get_rawstat(struct mali_gp_core *core) mali_gp_get_rawstat() argument
89 mali_gp_is_active(struct mali_gp_core *core) mali_gp_is_active() argument
95 mali_gp_mask_all_interrupts(struct mali_gp_core *core) mali_gp_mask_all_interrupts() argument
100 mali_gp_enable_interrupts(struct mali_gp_core *core, enum mali_interrupt_result exceptions) mali_gp_enable_interrupts() argument
122 mali_gp_read_plbu_alloc_start_addr(struct mali_gp_core *core) mali_gp_read_plbu_alloc_start_addr() argument
[all...]
/third_party/libdrm/etnaviv/
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 drm_public 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...]
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
H A Dcodec_mpeg12.c53 static int codec_mpeg12_can_recycle(struct amvdec_core *core) in codec_mpeg12_can_recycle() argument
55 return !amvdec_read_dos(core, MREG_BUFFERIN); in codec_mpeg12_can_recycle()
58 static void codec_mpeg12_recycle(struct amvdec_core *core, u32 buf_idx) in codec_mpeg12_recycle() argument
60 amvdec_write_dos(core, MREG_BUFFERIN, buf_idx + 1); in codec_mpeg12_recycle()
65 struct amvdec_core *core = sess->core; in codec_mpeg12_start() local
74 mpeg12->workspace_vaddr = dma_alloc_coherent(core->dev, SIZE_WORKSPACE, in codec_mpeg12_start()
78 dev_err(core->dev, "Failed to request MPEG 1/2 Workspace\n"); in codec_mpeg12_start()
88 amvdec_write_dos(core, POWER_CTL_VLD, BIT(4)); in codec_mpeg12_start()
89 amvdec_write_dos(core, MREG_CO_MV_STAR in codec_mpeg12_start()
120 struct amvdec_core *core = sess->core; codec_mpeg12_stop() local
132 struct amvdec_core *core = sess->core; codec_mpeg12_update_dar() local
155 struct amvdec_core *core = sess->core; codec_mpeg12_threaded_isr() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/meson/vdec/
H A Dcodec_mpeg12.c53 static int codec_mpeg12_can_recycle(struct amvdec_core *core) in codec_mpeg12_can_recycle() argument
55 return !amvdec_read_dos(core, MREG_BUFFERIN); in codec_mpeg12_can_recycle()
58 static void codec_mpeg12_recycle(struct amvdec_core *core, u32 buf_idx) in codec_mpeg12_recycle() argument
60 amvdec_write_dos(core, MREG_BUFFERIN, buf_idx + 1); in codec_mpeg12_recycle()
65 struct amvdec_core *core = sess->core; in codec_mpeg12_start() local
74 mpeg12->workspace_vaddr = dma_alloc_coherent(core->dev, SIZE_WORKSPACE, in codec_mpeg12_start()
78 dev_err(core->dev, "Failed to request MPEG 1/2 Workspace\n"); in codec_mpeg12_start()
88 amvdec_write_dos(core, POWER_CTL_VLD, BIT(4)); in codec_mpeg12_start()
89 amvdec_write_dos(core, MREG_CO_MV_STAR in codec_mpeg12_start()
120 struct amvdec_core *core = sess->core; codec_mpeg12_stop() local
132 struct amvdec_core *core = sess->core; codec_mpeg12_update_dar() local
155 struct amvdec_core *core = sess->core; codec_mpeg12_threaded_isr() local
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dmt9v011.c177 struct mt9v011 *core = to_mt9v011(sd); in set_balance() local
182 exposure = core->exposure; in set_balance()
184 green_gain = calc_mt9v011_gain(core->global_gain); in set_balance()
186 bal = core->global_gain; in set_balance()
187 bal += (core->blue_bal * core->global_gain / (1 << 7)); in set_balance()
190 bal = core->global_gain; in set_balance()
191 bal += (core->red_bal * core->global_gain / (1 << 7)); in set_balance()
203 struct mt9v011 *core in calc_fps() local
233 struct mt9v011 *core = to_mt9v011(sd); calc_speed() local
273 struct mt9v011 *core = to_mt9v011(sd); set_res() local
302 struct mt9v011 *core = to_mt9v011(sd); set_read_mode() local
345 struct mt9v011 *core = to_mt9v011(sd); mt9v011_set_fmt() local
415 struct mt9v011 *core = mt9v011_s_ctrl() local
485 struct mt9v011 *core; mt9v011_probe() local
567 struct mt9v011 *core = to_mt9v011(sd); mt9v011_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dmt9v011.c177 struct mt9v011 *core = to_mt9v011(sd); in set_balance() local
182 exposure = core->exposure; in set_balance()
184 green_gain = calc_mt9v011_gain(core->global_gain); in set_balance()
186 bal = core->global_gain; in set_balance()
187 bal += (core->blue_bal * core->global_gain / (1 << 7)); in set_balance()
190 bal = core->global_gain; in set_balance()
191 bal += (core->red_bal * core->global_gain / (1 << 7)); in set_balance()
203 struct mt9v011 *core in calc_fps() local
233 struct mt9v011 *core = to_mt9v011(sd); calc_speed() local
273 struct mt9v011 *core = to_mt9v011(sd); set_res() local
302 struct mt9v011 *core = to_mt9v011(sd); set_read_mode() local
345 struct mt9v011 *core = to_mt9v011(sd); mt9v011_set_fmt() local
415 struct mt9v011 *core = mt9v011_s_ctrl() local
484 struct mt9v011 *core; mt9v011_probe() local
566 struct mt9v011 *core = to_mt9v011(sd); mt9v011_remove() local
[all...]

Completed in 16 milliseconds

12345678910>>...265