36 lines
1.0 KiB
C
36 lines
1.0 KiB
C
/*
|
|
* arch/arm/include/asm/hardware/icst.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 ICST
|
|
* clock generators. See http://www.icst.com/ for more information
|
|
* on these devices.
|
|
*/
|
|
#ifndef ASMARM_HARDWARE_ICST_H
|
|
#define ASMARM_HARDWARE_ICST_H
|
|
|
|
struct icst_params {
|
|
unsigned long ref;
|
|
unsigned long vco_max; /* inclusive */
|
|
unsigned long vco_min; /* exclusive */
|
|
unsigned short vd_min; /* inclusive */
|
|
unsigned short vd_max; /* inclusive */
|
|
unsigned char rd_min; /* inclusive */
|
|
unsigned char rd_max; /* inclusive */
|
|
const unsigned char *s2div; /* chip specific s2div array */
|
|
const unsigned char *idx2s; /* chip specific idx2s array */
|
|
};
|
|
|
|
struct icst_vco {
|
|
unsigned short v;
|
|
unsigned char r;
|
|
unsigned char s;
|
|
};
|
|
|
|
#endif
|