rsi: Add new host interface operations
Host interface opearation master_reg_read, master_reg_write and load_data_master_write are added. These functions are needed for the new firmware loading method. As part of this, the function master_access_msword is moved from rsi_91x_sdio_ops.c to rsi_91x_sdio.c. Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com> Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
a2ce952c8e
commit
b97e9b94ad
@@ -244,5 +244,13 @@ struct rsi_host_intf_ops {
|
||||
u8 *data, u16 count);
|
||||
int (*write_reg_multiple)(struct rsi_hw *adapter, u32 addr,
|
||||
u8 *data, u16 count);
|
||||
int (*master_reg_read)(struct rsi_hw *adapter, u32 addr,
|
||||
u32 *read_buf, u16 size);
|
||||
int (*master_reg_write)(struct rsi_hw *adapter,
|
||||
unsigned long addr, unsigned long data,
|
||||
u16 size);
|
||||
int (*load_data_master_write)(struct rsi_hw *adapter, u32 addr,
|
||||
u32 instructions_size, u16 block_size,
|
||||
u8 *fw);
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user