Lines Matching refs:hfi1_devdata

212 static int load_fabric_serdes_firmware(struct hfi1_devdata *dd,
214 static void dump_fw_version(struct hfi1_devdata *dd);
229 static int __read_8051_data(struct hfi1_devdata *dd, u32 addr, u64 *result) in __read_8051_data()
265 int read_8051_data(struct hfi1_devdata *dd, u32 addr, u32 len, u64 *result) in read_8051_data()
293 static int write_8051(struct hfi1_devdata *dd, int code, u32 start, in write_8051()
349 static int invalid_header(struct hfi1_devdata *dd, const char *what, in invalid_header()
364 static int verify_css_header(struct hfi1_devdata *dd, struct css_header *css) in verify_css_header()
388 static int payload_check(struct hfi1_devdata *dd, const char *name, in payload_check()
407 static int obtain_one_firmware(struct hfi1_devdata *dd, const char *name, in obtain_one_firmware()
541 static void __obtain_firmware(struct hfi1_devdata *dd) in __obtain_firmware()
641 static int obtain_firmware(struct hfi1_devdata *dd) in obtain_firmware()
703 static int retry_firmware(struct hfi1_devdata *dd, int load_result) in retry_firmware()
734 static void write_rsa_data(struct hfi1_devdata *dd, int what, in write_rsa_data()
761 static void write_streamed_rsa_data(struct hfi1_devdata *dd, int what, in write_streamed_rsa_data()
775 static int run_rsa(struct hfi1_devdata *dd, const char *who, in run_rsa()
888 static void load_security_variables(struct hfi1_devdata *dd, in load_security_variables()
904 static inline u32 get_firmware_state(struct hfi1_devdata *dd) in get_firmware_state()
916 int wait_fm_ready(struct hfi1_devdata *dd, u32 mstimeout) in wait_fm_ready()
937 static int load_8051_firmware(struct hfi1_devdata *dd, in load_8051_firmware()
1033 void sbus_request(struct hfi1_devdata *dd, in sbus_request()
1049 static u32 sbus_read(struct hfi1_devdata *dd, u8 receiver_addr, u8 data_addr, in sbus_read()
1090 static void turn_off_spicos(struct hfi1_devdata *dd, int flags) in turn_off_spicos()
1127 void fabric_serdes_reset(struct hfi1_devdata *dd) in fabric_serdes_reset()
1171 int sbus_request_slow(struct hfi1_devdata *dd, in sbus_request_slow()
1215 static int load_fabric_serdes_firmware(struct hfi1_devdata *dd, in load_fabric_serdes_firmware()
1256 static int load_sbus_firmware(struct hfi1_devdata *dd, in load_sbus_firmware()
1293 static int load_pcie_serdes_firmware(struct hfi1_devdata *dd, in load_pcie_serdes_firmware()
1331 static void set_serdes_broadcast(struct hfi1_devdata *dd, u8 bg1, u8 bg2, in set_serdes_broadcast()
1352 int acquire_hw_mutex(struct hfi1_devdata *dd) in acquire_hw_mutex()
1393 void release_hw_mutex(struct hfi1_devdata *dd) in release_hw_mutex()
1412 static void fail_mutex_acquire_message(struct hfi1_devdata *dd, in fail_mutex_acquire_message()
1425 static int __acquire_chip_resource(struct hfi1_devdata *dd, u32 resource) in __acquire_chip_resource()
1481 int acquire_chip_resource(struct hfi1_devdata *dd, u32 resource, u32 mswait) in acquire_chip_resource()
1501 void release_chip_resource(struct hfi1_devdata *dd, u32 resource) in release_chip_resource()
1542 bool check_chip_resource(struct hfi1_devdata *dd, u32 resource, in check_chip_resource()
1563 static void clear_chip_resources(struct hfi1_devdata *dd, const char *func) in clear_chip_resources()
1588 void init_chip_resources(struct hfi1_devdata *dd) in init_chip_resources()
1594 void finish_chip_resources(struct hfi1_devdata *dd) in finish_chip_resources()
1600 void set_sbus_fast_mode(struct hfi1_devdata *dd) in set_sbus_fast_mode()
1606 void clear_sbus_fast_mode(struct hfi1_devdata *dd) in clear_sbus_fast_mode()
1621 int load_firmware(struct hfi1_devdata *dd) in load_firmware()
1659 int hfi1_firmware_init(struct hfi1_devdata *dd) in hfi1_firmware_init()
1695 static int check_meta_version(struct hfi1_devdata *dd, u32 *system_table) in check_meta_version()
1726 int parse_platform_config(struct hfi1_devdata *dd) in parse_platform_config()
1897 struct hfi1_devdata *dd, in get_integrated_platform_config_field()
1974 static int get_platform_fw_field_metadata(struct hfi1_devdata *dd, int table, in get_platform_fw_field_metadata()
2030 int get_platform_config_field(struct hfi1_devdata *dd, in get_platform_config_field()
2124 int load_pcie_firmware(struct hfi1_devdata *dd) in load_pcie_firmware()
2162 void read_guid(struct hfi1_devdata *dd) in read_guid()
2174 static void dump_fw_version(struct hfi1_devdata *dd) in dump_fw_version()