spi.h (98e0ffaefb0f241cda3a72395d3be04192ae0d47) | spi.h (d67fe28ba6a9e8c2cde4e2fc0ce6e67f601429aa) |
---|---|
1/*- 2 * Copyright (c) 2006 M. Warner Losh 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 23 unchanged lines hidden (view full) --- 32 void *rx_cmd; 33 uint32_t rx_cmd_sz; 34 void *tx_data; 35 uint32_t tx_data_sz; 36 void *rx_data; 37 uint32_t rx_data_sz; 38}; 39 | 1/*- 2 * Copyright (c) 2006 M. Warner Losh 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 23 unchanged lines hidden (view full) --- 32 void *rx_cmd; 33 uint32_t rx_cmd_sz; 34 void *tx_data; 35 uint32_t tx_data_sz; 36 void *rx_data; 37 uint32_t rx_data_sz; 38}; 39 |
40#define SPI_COMMAND_INITIALIZER { 0 } 41 |
|
40#define SPI_CHIP_SELECT_HIGH 0x1 /* Chip select high (else low) */ | 42#define SPI_CHIP_SELECT_HIGH 0x1 /* Chip select high (else low) */ |