Lines Matching defs:bus

5  * This file contains routines to write to and read from the I2C bus using
6 * the ACCESS.bus hardware in the SC1200.
153 #define ACB1_BASE 0x810 /* ACCESS.bus base addresses */
165 /* INITIAL ACCESS.bus BASE ADDRESS VALUES */
170 /* LOCAL ACCESS.bus FUNCTION DECLARATIONS */
191 void OsPciReadDWord(int bus, int dev, int func, int address,
212 * defined by 'bus', 'dev', 'func' and 'address' to the double word
219 OsPciReadDWord(int bus, int dev, int func, int address, unsigned long *data)
224 * {10000000,bus[23:16],device[15:11],function[10:8],address[7:2],00}
227 ((bus & 0xff) << 16) |
302 * This routine resets the I2C bus as follows :
303 * · Sets the base address of the ACCESS.bus
304 * · Sets the frequency of the ACCESS.bus
305 * · Resets the ACCESS.bus
342 /* THIS ROUTINE DOES NOT APPLY TO THE ACCESS.bus IMPLEMENTATION. */
351 * busnum - ACCESS.bus number (1 or 2).
408 * busnum - ACCESS.bus number (1 or 2).
510 /* ### ADD ### THIS ROUTINE IS NOT YET IMPLEMENTED FOR ACCESS.bus */
528 /* ### ADD ### THIS ROUTINE IS NOT YET IMPLEMENTED FOR ACCESS.bus */
532 /* LOCAL ROUTINES SPECIFIC TO ACCESS.bus IMPLEMENTATION */
538 * This routine resets the I2C bus.
547 /* Disable the ACCESS.bus device and */
559 /* Enable the ACCESS.bus device */
580 * This routine starts a transfer on the I2C bus.
597 * This routine stops a transfer on the I2C bus.
705 * This routine looks for acknowledge on the I2C bus.
717 /* Push Ack onto I2C bus */
722 /* Push negAck onto I2C bus */
728 /* Receive Ack from I2C bus */
759 * This routine stops the ACCESS.bus clock.
776 * This routine activates the ACCESS.bus clock.
793 * This routine writes a byte to the I2C bus
835 * This routine reads a byte from the I2C bus
911 /* LOCAL ROUTINES SPECIFIC TO ACCESS.bus INITIALIZATION */
917 * This routine configures the I2C bus
930 * This routine sets the frequency of the I2C bus
954 * This routine sets the base address of the I2C bus
973 /* Get ACCESS.bus base address */
983 /* Set ACCESS.bus base address */