diff options
Diffstat (limited to 'drivers/misc/mic/host/mic_device.h')
-rw-r--r-- | drivers/misc/mic/host/mic_device.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/misc/mic/host/mic_device.h b/drivers/misc/mic/host/mic_device.h index 3574cc375bb9..1a6edce2ecde 100644 --- a/drivers/misc/mic/host/mic_device.h +++ b/drivers/misc/mic/host/mic_device.h | |||
@@ -112,7 +112,7 @@ struct mic_device { | |||
112 | struct work_struct shutdown_work; | 112 | struct work_struct shutdown_work; |
113 | u8 state; | 113 | u8 state; |
114 | u8 shutdown_status; | 114 | u8 shutdown_status; |
115 | struct sysfs_dirent *state_sysfs; | 115 | struct kernfs_node *state_sysfs; |
116 | struct completion reset_wait; | 116 | struct completion reset_wait; |
117 | void *log_buf_addr; | 117 | void *log_buf_addr; |
118 | int *log_buf_len; | 118 | int *log_buf_len; |
@@ -134,6 +134,8 @@ struct mic_device { | |||
134 | * @send_intr: Send an interrupt for a particular doorbell on the card. | 134 | * @send_intr: Send an interrupt for a particular doorbell on the card. |
135 | * @ack_interrupt: Hardware specific operations to ack the h/w on | 135 | * @ack_interrupt: Hardware specific operations to ack the h/w on |
136 | * receipt of an interrupt. | 136 | * receipt of an interrupt. |
137 | * @intr_workarounds: Hardware specific workarounds needed after | ||
138 | * handling an interrupt. | ||
137 | * @reset: Reset the remote processor. | 139 | * @reset: Reset the remote processor. |
138 | * @reset_fw_ready: Reset firmware ready field. | 140 | * @reset_fw_ready: Reset firmware ready field. |
139 | * @is_fw_ready: Check if firmware is ready for OS download. | 141 | * @is_fw_ready: Check if firmware is ready for OS download. |
@@ -149,6 +151,7 @@ struct mic_hw_ops { | |||
149 | void (*write_spad)(struct mic_device *mdev, unsigned int idx, u32 val); | 151 | void (*write_spad)(struct mic_device *mdev, unsigned int idx, u32 val); |
150 | void (*send_intr)(struct mic_device *mdev, int doorbell); | 152 | void (*send_intr)(struct mic_device *mdev, int doorbell); |
151 | u32 (*ack_interrupt)(struct mic_device *mdev); | 153 | u32 (*ack_interrupt)(struct mic_device *mdev); |
154 | void (*intr_workarounds)(struct mic_device *mdev); | ||
152 | void (*reset)(struct mic_device *mdev); | 155 | void (*reset)(struct mic_device *mdev); |
153 | void (*reset_fw_ready)(struct mic_device *mdev); | 156 | void (*reset_fw_ready)(struct mic_device *mdev); |
154 | bool (*is_fw_ready)(struct mic_device *mdev); | 157 | bool (*is_fw_ready)(struct mic_device *mdev); |