Home
last modified time | relevance | path

Searched refs:octep_hw (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/vdpa/octeon_ep/
H A Doctep_vdpa.h56 struct octep_hw { struct
74 u8 octep_hw_get_status(struct octep_hw *oct_hw); argument
75 void octep_hw_set_status(struct octep_hw *dev, uint8_t status);
76 void octep_hw_reset(struct octep_hw *oct_hw);
77 void octep_write_queue_select(struct octep_hw *oct_hw, u16 queue_id);
78 void octep_notify_queue(struct octep_hw *oct_hw, u16 qid);
79 void octep_read_dev_config(struct octep_hw *oct_hw, u64 offset, void *dst, int length);
80 int octep_set_vq_address(struct octep_hw *oct_hw, u16 qid, u64 desc_area, u64 driver_area,
82 void octep_set_vq_num(struct octep_hw *oct_hw, u16 qid, u32 num);
83 void octep_set_vq_ready(struct octep_hw *oct_hw, u16 qid, bool ready);
[all …]
H A Doctep_vdpa_hw.c50 static inline struct octep_mbox __iomem *octep_get_mbox(struct octep_hw *oct_hw) in octep_get_mbox()
102 static int octep_process_mbox(struct octep_hw *oct_hw, u16 id, u16 qid, void *buffer, in octep_process_mbox()
180 u8 octep_hw_get_status(struct octep_hw *oct_hw) in octep_hw_get_status()
185 void octep_hw_set_status(struct octep_hw *oct_hw, u8 status) in octep_hw_set_status()
190 void octep_hw_reset(struct octep_hw *oct_hw) in octep_hw_reset()
202 static int feature_sel_write_with_timeout(struct octep_hw *oct_hw, u32 select, void __iomem *addr) in feature_sel_write_with_timeout()
215 u64 octep_hw_get_dev_features(struct octep_hw *oct_hw) in octep_hw_get_dev_features()
232 u64 octep_hw_get_drv_features(struct octep_hw *oct_hw) in octep_hw_get_drv_features()
249 void octep_hw_set_drv_features(struct octep_hw *oct_hw, u64 features) in octep_hw_set_drv_features()
262 void octep_write_queue_select(struct octep_hw *oct_hw, u16 queue_id) in octep_write_queue_select()
[all …]
H A Doctep_vdpa_main.c24 struct octep_hw *oct_hw;
30 struct octep_hw oct_hw;
38 static struct octep_hw *vdpa_to_octep_hw(struct vdpa_device *vdpa_dev) in vdpa_to_octep_hw()
49 struct octep_hw *oct_hw = data; in octep_vdpa_intr_handler()
63 static void octep_free_irqs(struct octep_hw *oct_hw) in octep_free_irqs()
74 static int octep_request_irqs(struct octep_hw *oct_hw) in octep_request_irqs()
109 struct octep_hw *oct_hw = vdpa_to_octep_hw(vdpa_dev); in octep_vdpa_get_device_features()
116 struct octep_hw *oct_hw = vdpa_to_octep_hw(vdpa_dev); in octep_vdpa_set_driver_features()
136 struct octep_hw *oct_hw = vdpa_to_octep_hw(vdpa_dev); in octep_vdpa_get_driver_features()
143 struct octep_hw *oct_hw = vdpa_to_octep_hw(vdpa_dev); in octep_vdpa_get_status()
[all …]