114fa93cdSSrikanth Jampala #ifndef __NITROX_COMMON_H 214fa93cdSSrikanth Jampala #define __NITROX_COMMON_H 314fa93cdSSrikanth Jampala 414fa93cdSSrikanth Jampala #include "nitrox_dev.h" 514fa93cdSSrikanth Jampala #include "nitrox_req.h" 614fa93cdSSrikanth Jampala 714fa93cdSSrikanth Jampala void nitrox_pf_cleanup_isr(struct nitrox_device *ndev); 814fa93cdSSrikanth Jampala int nitrox_pf_init_isr(struct nitrox_device *ndev); 914fa93cdSSrikanth Jampala 1014fa93cdSSrikanth Jampala int nitrox_common_sw_init(struct nitrox_device *ndev); 1114fa93cdSSrikanth Jampala void nitrox_common_sw_cleanup(struct nitrox_device *ndev); 1214fa93cdSSrikanth Jampala 1314fa93cdSSrikanth Jampala void pkt_slc_resp_handler(unsigned long data); 1414fa93cdSSrikanth Jampala int nitrox_process_se_request(struct nitrox_device *ndev, 1514fa93cdSSrikanth Jampala struct se_crypto_request *req, 1614fa93cdSSrikanth Jampala completion_t cb, 1714fa93cdSSrikanth Jampala struct skcipher_request *skreq); 1814fa93cdSSrikanth Jampala void backlog_qflush_work(struct work_struct *work); 1914fa93cdSSrikanth Jampala 2014fa93cdSSrikanth Jampala void nitrox_config_emu_unit(struct nitrox_device *ndev); 2114fa93cdSSrikanth Jampala void nitrox_config_pkt_input_rings(struct nitrox_device *ndev); 2214fa93cdSSrikanth Jampala void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev); 2314fa93cdSSrikanth Jampala void nitrox_config_vfmode(struct nitrox_device *ndev, int mode); 2414fa93cdSSrikanth Jampala void nitrox_config_nps_unit(struct nitrox_device *ndev); 2514fa93cdSSrikanth Jampala void nitrox_config_pom_unit(struct nitrox_device *ndev); 2614fa93cdSSrikanth Jampala void nitrox_config_rand_unit(struct nitrox_device *ndev); 2714fa93cdSSrikanth Jampala void nitrox_config_efl_unit(struct nitrox_device *ndev); 2814fa93cdSSrikanth Jampala void nitrox_config_bmi_unit(struct nitrox_device *ndev); 2914fa93cdSSrikanth Jampala void nitrox_config_bmo_unit(struct nitrox_device *ndev); 3014fa93cdSSrikanth Jampala void nitrox_config_lbc_unit(struct nitrox_device *ndev); 3114fa93cdSSrikanth Jampala void invalidate_lbc(struct nitrox_device *ndev); 3214fa93cdSSrikanth Jampala void enable_pkt_input_ring(struct nitrox_device *ndev, int ring); 3314fa93cdSSrikanth Jampala void enable_pkt_solicit_port(struct nitrox_device *ndev, int port); 3414fa93cdSSrikanth Jampala 3514fa93cdSSrikanth Jampala #endif /* __NITROX_COMMON_H */ 36