/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm3x-sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "coresight-etm.h" 11 #include "coresight-priv.h" 13 static ssize_t nr_addr_cmp_show(struct device *dev, in nr_addr_cmp_show() 17 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_addr_cmp_show() 19 val = drvdata->nr_addr_cmp; in nr_addr_cmp_show() 22 static DEVICE_ATTR_RO(nr_addr_cmp); 24 static ssize_t nr_cntr_show(struct device *dev, in nr_cntr_show() 27 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_cntr_show() 29 val = drvdata->nr_cntr; in nr_cntr_show() [all …]
|
H A D | coresight-etm4x-sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "coresight-etm4x.h" 11 #include "coresight-priv.h" 12 #include "coresight-syscfg.h" 14 static int etm4_set_mode_exclude(struct etmv4_drvdata *drvdata, bool exclude) in etm4_set_mode_exclude() 17 struct etmv4_config *config = &drvdata->config; in etm4_set_mode_exclude() local 172 struct etmv4_config *config = &drvdata->config; reset_store() local 286 struct etmv4_config *config = &drvdata->config; mode_show() local 298 struct etmv4_config *config = &drvdata->config; mode_store() local 452 struct etmv4_config *config = &drvdata->config; pe_show() local 464 struct etmv4_config *config = &drvdata->config; pe_store() local 487 struct etmv4_config *config = &drvdata->config; event_show() local 499 struct etmv4_config *config = &drvdata->config; event_store() local 536 struct etmv4_config *config = &drvdata->config; event_instren_show() local 548 struct etmv4_config *config = &drvdata->config; event_instren_store() local 592 struct etmv4_config *config = &drvdata->config; event_ts_show() local 604 struct etmv4_config *config = &drvdata->config; event_ts_store() local 622 struct etmv4_config *config = &drvdata->config; syncfreq_show() local 634 struct etmv4_config *config = &drvdata->config; syncfreq_store() local 652 struct etmv4_config *config = &drvdata->config; cyc_threshold_show() local 664 struct etmv4_config *config = &drvdata->config; cyc_threshold_store() local 685 struct etmv4_config *config = &drvdata->config; bb_ctrl_show() local 697 struct etmv4_config *config = &drvdata->config; bb_ctrl_store() local 725 struct etmv4_config *config = &drvdata->config; event_vinst_show() local 737 struct etmv4_config *config = &drvdata->config; event_vinst_store() local 757 struct etmv4_config *config = &drvdata->config; s_exlevel_vinst_show() local 769 struct etmv4_config *config = &drvdata->config; s_exlevel_vinst_store() local 791 struct etmv4_config *config = &drvdata->config; ns_exlevel_vinst_show() local 804 struct etmv4_config *config = &drvdata->config; ns_exlevel_vinst_store() local 826 struct etmv4_config *config = &drvdata->config; addr_idx_show() local 838 struct etmv4_config *config = &drvdata->config; addr_idx_store() local 863 struct etmv4_config *config = &drvdata->config; addr_instdatatype_show() local 884 struct etmv4_config *config = &drvdata->config; addr_instdatatype_store() local 909 struct etmv4_config *config = &drvdata->config; addr_single_show() local 930 struct etmv4_config *config = &drvdata->config; addr_single_store() local 957 struct etmv4_config *config = &drvdata->config; addr_range_show() local 986 struct etmv4_config *config = &drvdata->config; addr_range_store() local 1038 struct etmv4_config *config = &drvdata->config; addr_start_show() local 1061 struct etmv4_config *config = &drvdata->config; addr_start_store() local 1093 struct etmv4_config *config = &drvdata->config; addr_stop_show() local 1116 struct etmv4_config *config = &drvdata->config; addr_stop_store() local 1148 struct etmv4_config *config = &drvdata->config; addr_ctxtype_show() local 1168 struct etmv4_config *config = &drvdata->config; addr_ctxtype_store() local 1214 struct etmv4_config *config = &drvdata->config; addr_context_show() local 1231 struct etmv4_config *config = &drvdata->config; addr_context_store() local 1258 struct etmv4_config *config = &drvdata->config; addr_exlevel_s_ns_show() local 1274 struct etmv4_config *config = &drvdata->config; addr_exlevel_s_ns_store() local 1306 struct etmv4_config *config = &drvdata->config; addr_cmp_view_show() local 1349 struct etmv4_config *config = &drvdata->config; vinst_pe_cmp_start_stop_show() local 1362 struct etmv4_config *config = &drvdata->config; vinst_pe_cmp_start_stop_store() local 1382 struct etmv4_config *config = &drvdata->config; seq_idx_show() local 1394 struct etmv4_config *config = &drvdata->config; seq_idx_store() local 1418 struct etmv4_config *config = &drvdata->config; seq_state_show() local 1430 struct etmv4_config *config = &drvdata->config; seq_state_store() local 1449 struct etmv4_config *config = &drvdata->config; seq_event_show() local 1465 struct etmv4_config *config = &drvdata->config; seq_event_store() local 1485 struct etmv4_config *config = &drvdata->config; seq_reset_event_show() local 1497 struct etmv4_config *config = &drvdata->config; seq_reset_event_store() local 1515 struct etmv4_config *config = &drvdata->config; cntr_idx_show() local 1527 struct etmv4_config *config = &drvdata->config; cntr_idx_store() local 1552 struct etmv4_config *config = &drvdata->config; cntrldvr_show() local 1568 struct etmv4_config *config = &drvdata->config; cntrldvr_store() local 1590 struct etmv4_config *config = &drvdata->config; cntr_val_show() local 1606 struct etmv4_config *config = &drvdata->config; cntr_val_store() local 1628 struct etmv4_config *config = &drvdata->config; cntr_ctrl_show() local 1644 struct etmv4_config *config = &drvdata->config; cntr_ctrl_store() local 1663 struct etmv4_config *config = &drvdata->config; res_idx_show() local 1675 struct etmv4_config *config = &drvdata->config; res_idx_store() local 1704 struct etmv4_config *config = &drvdata->config; res_ctrl_show() local 1720 struct etmv4_config *config = &drvdata->config; res_ctrl_store() local 1745 struct etmv4_config *config = &drvdata->config; sshot_idx_show() local 1757 struct etmv4_config *config = &drvdata->config; sshot_idx_store() local 1777 struct etmv4_config *config = &drvdata->config; sshot_ctrl_show() local 1792 struct etmv4_config *config = &drvdata->config; sshot_ctrl_store() local 1812 struct etmv4_config *config = &drvdata->config; sshot_status_show() local 1827 struct etmv4_config *config = &drvdata->config; sshot_pe_ctrl_show() local 1842 struct etmv4_config *config = &drvdata->config; sshot_pe_ctrl_store() local 1863 struct etmv4_config *config = &drvdata->config; ctxid_idx_show() local 1875 struct etmv4_config *config = &drvdata->config; ctxid_idx_store() local 1900 struct etmv4_config *config = &drvdata->config; ctxid_pid_show() local 1923 struct etmv4_config *config = &drvdata->config; ctxid_pid_store() local 1961 struct etmv4_config *config = &drvdata->config; ctxid_masks_show() local 1984 struct etmv4_config *config = &drvdata->config; ctxid_masks_store() local 2089 struct etmv4_config *config = &drvdata->config; vmid_idx_show() local 2101 struct etmv4_config *config = &drvdata->config; vmid_idx_store() local 2125 struct etmv4_config *config = &drvdata->config; vmid_val_show() local 2146 struct etmv4_config *config = &drvdata->config; vmid_val_store() local 2176 struct etmv4_config *config = &drvdata->config; vmid_masks_show() local 2199 struct etmv4_config *config = &drvdata->config; vmid_masks_store() local [all...] |
H A D | coresight-cti-sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include "coresight-cti.h" 18 * Declare the number of static declared attribute groups 25 * include\dt-bindings\arm\coresight-cti-dt.h 27 static const char * const sig_type_names[] = { 70 static const char * const con_attr_names[CTI_CON_ATTR_MAX] = { 79 static ssize_t enable_show(struct device *dev, in enable_show() 85 struct cti_drvdata *drvdata = dev_get_drvdata(dev->parent); in enable_show() 87 spin_lock(&drvdata->spinlock); in enable_show() 88 enable_req = drvdata->config.enable_req_count; in enable_show() [all …]
|
H A D | coresight-cti-core.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include "coresight-priv.h" 23 #include "coresight-cti.h" 30 * We assume that the non-CPU CTIs are always powered as we do with sinks etc. 37 static LIST_HEAD(ect_net); 40 static DEFINE_MUTEX(ect_mutex); 43 dev_get_drvdata(csdev->dev.parent) 46 static int nr_cti_cpu; 49 static struct cti_drvdata *cti_cpu_drvdata[NR_CPUS]; 56 * CTI device name list - for CTI not bound to cores. [all …]
|
H A D | coresight-etm3x-core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. 25 #include <linux/coresight-pmu.h> 33 #include "coresight-etm.h" 34 #include "coresight-etm-perf.h" 35 #include "coresight-trace-id.h" 41 static int boot_enable; 44 static struct etm_drvdata *etmdrvdata[NR_CPUS]; 46 static enum cpuhp_state hp_online; 53 static void etm_os_unlock(struct etm_drvdata *drvdata) in etm_os_unlock() [all …]
|
H A D | coresight-etm4x-core.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include <linux/coresight-pmu.h> 35 #include <linux/clk/clk-conf.h> 43 #include "coresight-etm4x.h" 44 #include "coresight-etm-perf.h" 45 #include "coresight-etm4x-cfg.h" 46 #include "coresight-self-hosted-trace.h" 47 #include "coresight-syscfg.h" 48 #include "coresight-trace-id.h" 50 static int boot_enable; [all …]
|
/linux/lib/ |
H A D | test_kmod.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1 14 * tools/testing/selftests/kmod/kmod.sh --help 35 static bool force_init_test = false; 43 static DEFINE_MUTEX(reg_dev_mutex); 44 static LIST_HEAD(reg_test_devs); 50 static int num_test_devs; 53 * enum kmod_test_case - linker table test case 83 * struct kmod_test_device_info - thread info 92 * (module_put(fs_sync->owner)) when done, otherwise you will not be able 93 * to unload the respective modules and re-test. We use this to keep [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-spear.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/rtc/rtc-spear.c 6 * Rajeev Kumar<rajeev-dlh.kumar@st.com> 85 static inline void spear_rtc_clear_interrupt(struct spear_rtc_config *config) in spear_rtc_clear_interrupt() argument 90 spin_lock_irqsave(&config->lock, flags); in spear_rtc_clear_interrupt() 91 val = readl(config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt() 93 writel(val, config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt() 94 spin_unlock_irqrestore(&config->lock, flags); in spear_rtc_clear_interrupt() 97 static inline void spear_rtc_enable_interrupt(struct spear_rtc_config *config) in spear_rtc_enable_interrupt() argument 101 val = readl(config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt() [all …]
|
H A D | rtc-da9063.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2013-2015 Dialog Semiconductor Ltd. 23 #define YEARS_TO_DA9063(year) ((year) - 100) 26 #define MONTHS_FROM_DA9063(month) ((month) - 1) 61 /* ALARM CONFIG */ 70 const struct da9063_compatible_rtc_regmap *config; member 74 static const struct da9063_compatible_rtc_regmap da9063_ad_regs = { 98 /* ALARM CONFIG */ 100 .rtc_alarm_len = RTC_DATA_LEN - 1, 103 static const struct da9063_compatible_rtc_regmap da9063_bb_regs = { [all …]
|
/linux/sound/soc/sof/ |
H A D | ipc3-topology.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 12 #include "sof-priv.h" 13 #include "sof-audio.h" 14 #include "ipc3-priv.h" 40 static const struct sof_process_types sof_process[] = { 52 static enum sof_ipc_process_type find_process(const char *name) in find_process() 64 static int get_token_process_type(void *elem, void *object, u32 offset) in get_token_process_type() 73 static const struct sof_topology_token buffer_tokens[] = { 83 static const struct sof_topology_token dai_tokens[] = { 93 static const struct sof_topology_token dai_link_tokens[] = { [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_nve_vxlan.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 21 static bool mlxsw_sp_nve_vxlan_ipv4_flags_check(const struct vxlan_config *cfg, in mlxsw_sp_nve_vxlan_ipv4_flags_check() 24 if (!(cfg->flags & VXLAN_F_UDP_ZERO_CSUM_TX)) { in mlxsw_sp_nve_vxlan_ipv4_flags_check() 29 if (cfg->flags & ~MLXSW_SP_NVE_VXLAN_IPV4_SUPPORTED_FLAGS) { in mlxsw_sp_nve_vxlan_ipv4_flags_check() 37 static bool mlxsw_sp_nve_vxlan_ipv6_flags_check(const struct vxlan_config *cfg, in mlxsw_sp_nve_vxlan_ipv6_flags_check() 40 if (!(cfg->flags & VXLAN_F_UDP_ZERO_CSUM6_TX)) { in mlxsw_sp_nve_vxlan_ipv6_flags_check() 45 if (!(cfg->flags & VXLAN_F_UDP_ZERO_CSUM6_RX)) { in mlxsw_sp_nve_vxlan_ipv6_flags_check() 50 if (cfg->flags & ~MLXSW_SP_NVE_VXLAN_IPV6_SUPPORTED_FLAGS) { in mlxsw_sp_nve_vxlan_ipv6_flags_check() 58 static bool mlxsw_sp_nve_vxlan_can_offload(const struct mlxsw_sp_nve *nve, in mlxsw_sp_nve_vxlan_can_offload() 62 struct vxlan_dev *vxlan = netdev_priv(params->dev); in mlxsw_sp_nve_vxlan_can_offload() [all …]
|
/linux/arch/x86/events/intel/ |
H A D | uncore_nhmex.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Nehalem-EX/Westmere-EX uncore support */ 6 /* NHM-EX event control */ 21 /* NHM-EX Ubox */ 36 /* NHM-EX Cbox */ 42 /* NHM-EX Bbox */ 63 /* NHM-EX Sbox */ 78 /* NHM-EX Mbox */ 122 #define NHMEX_M_PMON_ZDP_CTL_FVC_MASK (((1 << 11) - 1) | (1 << 23)) 125 #define WSMEX_M_PMON_ZDP_CTL_FVC_MASK (((1 << 12) - 1) | (1 << 24)) [all …]
|
/linux/fs/overlayfs/ |
H A D | params.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 static bool ovl_redirect_dir_def = IS_ENABLED(CONFIG_OVERLAY_FS_REDIRECT_DIR); 19 static bool ovl_redirect_always_follow = 26 static bool ovl_xino_auto_def = IS_ENABLED(CONFIG_OVERLAY_FS_XINO_AUTO); 31 static bool ovl_index_def = IS_ENABLED(CONFIG_OVERLAY_FS_INDEX); 36 static bool ovl_nfs_export_def = IS_ENABLED(CONFIG_OVERLAY_FS_NFS_EXPORT); 41 static bool ovl_metacopy_def = IS_ENABLED(CONFIG_OVERLAY_FS_METACOPY); 64 static const struct constant_table ovl_parameter_bool[] = { 70 static const struct constant_table ovl_parameter_uuid[] = { 78 static const char *ovl_uuid_mode(struct ovl_config *config) in ovl_uuid_mode() argument [all …]
|
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_sysfs_out.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2021-2023 Digiteq Automotive 19 static int loopin_cnt(struct mgb4_vin_dev *vindev) in loopin_cnt() 22 u32 config; in loopin_cnt() local 26 voutdev = vindev->mgbdev->vout[i]; in loopin_cnt() 30 config = mgb4_read_reg(&voutdev->mgbdev->video, in loopin_cnt() 31 voutdev->config->regs.config); in loopin_cnt() 32 if ((config & 0xc) >> 2 == vindev->config->id) in loopin_cnt() 39 static bool is_busy(struct video_device *dev) in is_busy() 43 mutex_lock(dev->lock); in is_busy() [all …]
|
/linux/drivers/iio/adc/ |
H A D | mcp3422.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * mcp3422.c - driver for the Microchip mcp3421/2/3/4/5/6/7/8 chip family 41 #define MCP3422_CHANNEL(config) (((config) & MCP3422_CHANNEL_MASK) >> 5) argument 42 #define MCP3422_PGA(config) ((config) & MCP3422_PGA_MASK) argument 43 #define MCP3422_SAMPLE_RATE(config) (((config) & MCP3422_SRATE_MASK) >> 2) argument 59 static const int mcp3422_scales[4][4] = { 66 static const int mcp3422_read_times[4] = { 73 static const int mcp3422_sample_rates[4] = { 80 static const int mcp3422_sign_extend[4] = { 90 u8 config; member [all …]
|
/linux/drivers/vdpa/ |
H A D | vdpa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 static LIST_HEAD(mdev_head); 21 static DECLARE_RWSEM(vdpa_dev_lock); 22 static DEFINE_IDA(vdpa_index_ida); 26 down_write(&vdev->cf_lock); in vdpa_set_status() 27 vdev->config->set_status(vdev, status); in vdpa_set_status() 28 up_write(&vdev->cf_lock); in vdpa_set_status() 32 static struct genl_family vdpa_nl_family; 34 static int vdpa_dev_probe(struct device *d) in vdpa_dev_probe() 37 struct vdpa_driver *drv = drv_to_vdpa(vdev->dev.driver); in vdpa_dev_probe() [all …]
|
/linux/drivers/staging/gpib/pc2/ |
H A D | pc2_gpib.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/dma-mapping.h> 28 static const int pc2_iosize = 8; 29 static const int pc2a_iosize = 8; 30 static const int pc2_2a_iosize = 16; 33 static const int pc2a_reg_offset = 0x400; 34 static const int pc2_reg_offset = 1; 37 static irqreturn_t pc2_interrupt(int irq, void *arg); 38 static irqreturn_t pc2a_interrupt(int irq, void *arg); 43 static const int pc2a_clear_intr_iobase = 0x2f0; [all …]
|
/linux/arch/arm/mach-omap1/ |
H A D | usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <linux/dma-map-ops.h> 15 #include <linux/soc/ti/omap1-io.h> 24 /* These routines should handle the standard chip-specific modes 27 * Some board-*.c files will need to set up additional mux options, 32 * - 1611B H2 (with usb1 mini-AB) using standard Mini-B or OTG cables 33 * - 5912 OSK OHCI (with usb0 standard-A), standard A-to-B cables 34 * - 5912 OSK UDC, with *nonstandard* A-to-A cable 35 * - 1510 Innovator UDC with bundled usb0 cable 36 * - 1510 Innovator OHCI with bundled usb1/usb2 cable [all …]
|
/linux/drivers/md/dm-vdo/ |
H A D | dm-vdo-target.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/device-mapper.h> 16 #include "admin-state.h" 17 #include "block-map.h" 20 #include "data-vio.h" 26 #include "io-submitter.h" 28 #include "memory-alloc.h" 29 #include "message-stats.h" 30 #include "recovery-journal.h" 32 #include "slab-depot.h" [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pmu.c | 60 static ssize_t amdgpu_pmu_event_show(struct device *dev, in amdgpu_pmu_event_show() 68 if (!amdgpu_pmu_attr->type) in amdgpu_pmu_event_show() 69 return sprintf(buf, "%s\n", amdgpu_pmu_attr->event_str); in amdgpu_pmu_event_show() 72 amdgpu_pmu_attr->event_str, amdgpu_pmu_attr->type); in amdgpu_pmu_event_show() 75 static LIST_HEAD(amdgpu_pmu_list); 80 const char *config; member 99 * - PMU typed 105 * - Event config typed 114 static struct amdgpu_pmu_attr amdgpu_pmu_formats[NUM_FORMATS_AMDGPU_PMU] = { 115 { .name = "event", .config = "config:0-7" }, [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_gt_sriov_pf_config.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2023-2024 Intel Corporation 43 static int guc_action_update_vf_cfg(struct xe_guc *guc, u32 vfid, in guc_action_update_vf_cfg() 54 return xe_guc_ct_send_block(&guc->ct, request, ARRAY_SIZE(request)); in guc_action_update_vf_cfg() 60 static int pf_send_vf_cfg_reset(struct xe_gt *gt, u32 vfid) in pf_send_vf_cfg_reset() 62 struct xe_guc *guc = >->uc.guc; in pf_send_vf_cfg_reset() 67 return ret <= 0 ? ret : -EPROTO; in pf_send_vf_cfg_reset() 74 static int pf_send_vf_cfg_klvs(struct xe_gt *gt, u32 vfid, const u32 *klvs, u32 num_dwords) in pf_send_vf_cfg_klvs() 79 struct xe_guc *guc = >->uc.guc; in pf_send_vf_cfg_klvs() 92 xe_map_memcpy_to(xe, &bo->vmap, 0, klvs, bytes); in pf_send_vf_cfg_klvs() [all …]
|
/linux/drivers/gpu/drm/vkms/ |
H A D | vkms_drv.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * VKMS is a software-only model of a KMS driver that is useful for testing 14 #include <linux/dma-mapping.h> 40 static struct vkms_config *default_config; 42 static bool enable_cursor = true; 46 static bool enable_writeback = true; 50 static bool enable_overlay; 56 static void vkms_release(struct drm_device *dev) in vkms_release() 60 if (vkms->output.composer_workq) in vkms_release() 61 destroy_workqueue(vkms->output.composer_workq); in vkms_release() [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-pko.c | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 35 #include <asm/octeon/cvmx-pko.h> 36 #include <asm/octeon/cvmx-helper.h> 42 static int __cvmx_pko_int(int interface, int index) in __cvmx_pko_int() 64 return -1; in __cvmx_pko_int() 68 static void __cvmx_pko_iport_config(int pko_port) in __cvmx_pko_iport_config() 77 union cvmx_pko_mem_iqueue_ptrs config; in __cvmx_pko_iport_config() local [all …]
|
/linux/drivers/base/regmap/ |
H A D | regmap-kunit.c | 1 // SPDX-License-Identifier: GPL-2.0 28 static void get_changed_bytes(void *orig, void *new, size_t size) in get_changed_bytes() 45 static const struct regmap_config test_regmap_config = { 50 static const char *regcache_type_name(enum regcache_type type) in regcache_type_name() 66 static const char *regmap_endian_name(enum regmap_endian endian) in regmap_endian_name() 82 static void param_to_desc(const struct regmap_test_param *param, char *desc) in param_to_desc() 84 snprintf(desc, KUNIT_PARAM_DESC_SIZE, "%s-%s%s @%#x", in param_to_desc() 85 regcache_type_name(param->cache), in param_to_desc() 86 regmap_endian_name(param->val_endian), in param_to_desc() 87 param->fast_io ? " fast I/O" : "", in param_to_desc() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | venc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 124 static const struct venc_config venc_config_pal_trm = { 169 static const struct venc_config venc_config_ntsc_trm = { 243 static struct { 259 static inline void venc_write_reg(int idx, u32 val) in venc_write_reg() 264 static inline u32 venc_read_reg(int idx) in venc_read_reg() 270 static void venc_write_config(const struct venc_config *config) in venc_write_config() argument 274 venc_write_reg(VENC_LLEN, config->llen); in venc_write_config() 275 venc_write_reg(VENC_FLENS, config->flens); in venc_write_config() 276 venc_write_reg(VENC_CC_CARR_WSS_CARR, config->cc_carr_wss_carr); in venc_write_config() [all …]
|