|
Linux Kernel
3.7.1
|
#include <i2c-designware-core.h>
Data Fields | |
| struct device * | dev |
| void __iomem * | base |
| struct completion | cmd_complete |
| struct mutex | lock |
| struct clk * | clk |
| u32(* | get_clk_rate_khz )(struct dw_i2c_dev *dev) |
| struct dw_pci_controller * | controller |
| int | cmd_err |
| struct i2c_msg * | msgs |
| int | msgs_num |
| int | msg_write_idx |
| u32 | tx_buf_len |
| u8 * | tx_buf |
| int | msg_read_idx |
| u32 | rx_buf_len |
| u8 * | rx_buf |
| int | msg_err |
| unsigned int | status |
| u32 | abort_source |
| int | irq |
| u32 | accessor_flags |
| struct i2c_adapter | adapter |
| u32 | functionality |
| u32 | master_cfg |
| unsigned int | tx_fifo_depth |
| unsigned int | rx_fifo_depth |
struct dw_i2c_dev - private i2c-designware data : driver model device node : IO registers pointer : tx completion indicator : protect this struct and IO registers : input reference clock : run time hadware error code : points to an array of messages currently being transfered : the number of elements in msgs : the element index of the current tx message in the msgs array : the length of the current tx buffer : the current tx buffer : the element index of the current rx message in the msgs array : the length of the current rx buffer : the current rx buffer : error status of the current transfer : i2c master status, one of STATUS_* : copy of the TX_ABRT_SOURCE register : interrupt number for the i2c master : i2c subsystem adapter node : depth of the hardware tx fifo : depth of the hardware rx fifo
Definition at line 64 of file i2c-designware-core.h.
| u32 abort_source |
Definition at line 83 of file i2c-designware-core.h.
| u32 accessor_flags |
Definition at line 85 of file i2c-designware-core.h.
Definition at line 86 of file i2c-designware-core.h.
Definition at line 66 of file i2c-designware-core.h.
Definition at line 69 of file i2c-designware-core.h.
| struct completion cmd_complete |
Definition at line 67 of file i2c-designware-core.h.
| int cmd_err |
Definition at line 72 of file i2c-designware-core.h.
Definition at line 71 of file i2c-designware-core.h.
Definition at line 65 of file i2c-designware-core.h.
| u32 functionality |
Definition at line 87 of file i2c-designware-core.h.
| u32(* get_clk_rate_khz)(struct dw_i2c_dev *dev) |
Definition at line 70 of file i2c-designware-core.h.
| int irq |
Definition at line 84 of file i2c-designware-core.h.
Definition at line 68 of file i2c-designware-core.h.
| u32 master_cfg |
Definition at line 88 of file i2c-designware-core.h.
| int msg_err |
Definition at line 81 of file i2c-designware-core.h.
| int msg_read_idx |
Definition at line 78 of file i2c-designware-core.h.
| int msg_write_idx |
Definition at line 75 of file i2c-designware-core.h.
Definition at line 73 of file i2c-designware-core.h.
| int msgs_num |
Definition at line 74 of file i2c-designware-core.h.
| u8* rx_buf |
Definition at line 80 of file i2c-designware-core.h.
| u32 rx_buf_len |
Definition at line 79 of file i2c-designware-core.h.
| unsigned int rx_fifo_depth |
Definition at line 90 of file i2c-designware-core.h.
Definition at line 82 of file i2c-designware-core.h.
Definition at line 77 of file i2c-designware-core.h.
| u32 tx_buf_len |
Definition at line 76 of file i2c-designware-core.h.
| unsigned int tx_fifo_depth |
Definition at line 89 of file i2c-designware-core.h.
1.8.2