mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
![Linus Torvalds](/assets/img/avatar_default.png)
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/*
|
|
* linux/include/asm-arm/hardware/icst307.h
|
|
*
|
|
* Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* Support functions for calculating clocks/divisors for the ICS307
|
|
* clock generators. See http://www.icst.com/ for more information
|
|
* on these devices.
|
|
*
|
|
* This file is similar to the icst525.h file
|
|
*/
|
|
#ifndef ASMARM_HARDWARE_ICST307_H
|
|
#define ASMARM_HARDWARE_ICST307_H
|
|
|
|
struct icst307_params {
|
|
unsigned long ref;
|
|
unsigned long vco_max; /* inclusive */
|
|
unsigned short vd_min; /* inclusive */
|
|
unsigned short vd_max; /* inclusive */
|
|
unsigned char rd_min; /* inclusive */
|
|
unsigned char rd_max; /* inclusive */
|
|
};
|
|
|
|
struct icst307_vco {
|
|
unsigned short v;
|
|
unsigned char r;
|
|
unsigned char s;
|
|
};
|
|
|
|
unsigned long icst307_khz(const struct icst307_params *p, struct icst307_vco vco);
|
|
struct icst307_vco icst307_khz_to_vco(const struct icst307_params *p, unsigned long freq);
|
|
struct icst307_vco icst307_ps_to_vco(const struct icst307_params *p, unsigned long period);
|
|
|
|
#endif
|