0x10000040
  *   ˆl–Ü4ý( ©³( 	Å€fàB¦-ÿÁƒÂs_†I|¥�+ÅÄ 
    /*
 * Copyright Â© 2016 Collabora Ltd.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 */
#ifndef __DRM_DEBUGFS_CRC_H__
#define __DRM_DEBUGFS_CRC_H__

#include <linux/spinlock_types.h>
#include <linux/types.h>
#include <linux/wait.h>

struct drm_crtc;

#define DRM_MAX_CRC_NR		10

/**
 * struct drm_crtc_crc_entry - entry describing a frame's content
 * @has_frame_counter: whether the source was able to provide a frame number
 * @frame: number of the frame this CRC is about, if @has_frame_counter is true
 * @crcs: array of values that characterize the frame
 */
struct drm_crtc_crc_entry {
	bool has_frame_counter;
	uint32_t frame;
	uint32_t crcs[DRM_MAX_CRC_NR];
};

#define DRM_CRC_ENTRIES_NR	128

/**
 * struct drm_crtc_crc - data supporting CRC capture on a given CRTC
 * @lock: protects the fields in this struct
 * @source: name of the currently configured source of CRCs
 * @opened: whether userspace has opened the data file for reading
 * @overflow: whether an overflow occured.
 * @entries: array of entries, with size of %DRM_CRC_ENTRIES_NR
 * @head: head of circular queue
 * @tail: tail of circular queue
 * @values_cnt: number of CRC values per entry, up to %DRM_MAX_CRC_NR
 * @wq: workqueue used to synchronize reading and writing
 */
struct drm_crtc_crc {
	spinlock_t lock;
	const char *source;
	bool opened, overflow;
	struct drm_crtc_crc_entry *entries;
	int head, tail;
	size_t values_cnt;
	wait_queue_head_t wq;
};

#if defined(CONFIG_DEBUG_FS)
int drm_crtc_add_crc_entry(struct drm_crtc *crtc, bool has_frame,
			   uint32_t frame, uint32_t *crcs);
#else
static inline int drm_crtc_add_crc_entry(struct drm_crtc *crtc, bool has_frame,
					 uint32_t frame, uint32_t *crcs)
{
	return -EINVAL;
}
#endif /* defined(CONFIG_DEBUG_FS) */

#endif /* __DRM_DEBUGFS_CRC_H__ */
     �ÆÅÄ      File not found.
     ˆÀÂƒh¹ÅÄ      N
      ˆl–Ãa¾”Ên-jq@=pÜ TÅ£Ã0ÆÅ  #   ˆÀÃƒŸk¿a–Ðz¾””ÔD¨ 	Å õÆCq·ÔÅ£Æ ö    /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * max8952.h - Voltage regulation for the Maxim 8952
 *
 *  Copyright (C) 2010 Samsung Electrnoics
 *  MyungJoo Ham <myungjoo.ham@samsung.com>
 */

#ifndef REGULATOR_MAX8952
#define REGULATOR_MAX8952

#include <linux/regulator/machine.h>

enum {
	MAX8952_DVS_MODE0,
	MAX8952_DVS_MODE1,
	MAX8952_DVS_MODE2,
	MAX8952_DVS_MODE3,
};

enum {
	MAX8952_DVS_770mV = 0,
	MAX8952_DVS_780mV,
	MAX8952_DVS_790mV,
	MAX8952_DVS_800mV,
	MAX8952_DVS_810mV,
	MAX8952_DVS_820mV,
	MAX8952_DVS_830mV,
	MAX8952_DVS_840mV,
	MAX8952_DVS_850mV,
	MAX8952_DVS_860mV,
	MAX8952_DVS_870mV,
	MAX8952_DVS_880mV,
	MAX8952_DVS_890mV,
	MAX8952_DVS_900mV,
	MAX8952_DVS_910mV,
	MAX8952_DVS_920mV,
	MAX8952_DVS_930mV,
	MAX8952_DVS_940mV,
	MAX8952_DVS_950mV,
	MAX8952_DVS_960mV,
	MAX8952_DVS_970mV,
	MAX8952_DVS_980mV,
	MAX8952_DVS_990mV,
	MAX8952_DVS_1000mV,
	MAX8952_DVS_1010mV,
	MAX8952_DVS_1020mV,
	MAX8952_DVS_1030mV,
	MAX8952_DVS_1040mV,
	MAX8952_DVS_1050mV,
	MAX8952_DVS_1060mV,
	MAX8952_DVS_1070mV,
	MAX8952_DVS_108