Searched refs:h2c_pkt (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/ |
D | fw.h | 391 #define SET_PKT_H2C_CATEGORY(h2c_pkt, value) \ argument 392 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(6, 0)) 393 #define SET_PKT_H2C_CMD_ID(h2c_pkt, value) \ argument 394 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8)) 395 #define SET_PKT_H2C_SUB_CMD_ID(h2c_pkt, value) \ argument 396 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 16)) 397 #define SET_PKT_H2C_TOTAL_LEN(h2c_pkt, value) \ argument 398 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 0)) 400 static inline void rtw_h2c_pkt_set_header(u8 *h2c_pkt, u8 sub_id) in rtw_h2c_pkt_set_header() argument 402 SET_PKT_H2C_CATEGORY(h2c_pkt, H2C_PKT_CATEGORY); in rtw_h2c_pkt_set_header() [all …]
|
D | fw.c | 496 static void rtw_fw_send_h2c_packet(struct rtw_dev *rtwdev, u8 *h2c_pkt) in rtw_fw_send_h2c_packet() argument 502 FW_OFFLOAD_H2C_SET_SEQ_NUM(h2c_pkt, rtwdev->h2c.seq); in rtw_fw_send_h2c_packet() 503 ret = rtw_hci_write_data_h2c(rtwdev, h2c_pkt, H2C_PKT_SIZE); in rtw_fw_send_h2c_packet() 513 u8 h2c_pkt[H2C_PKT_SIZE] = {0}; in rtw_fw_send_general_info() local 519 rtw_h2c_pkt_set_header(h2c_pkt, H2C_PKT_GENERAL_INFO); in rtw_fw_send_general_info() 521 SET_PKT_H2C_TOTAL_LEN(h2c_pkt, total_size); in rtw_fw_send_general_info() 523 GENERAL_INFO_SET_FW_TX_BOUNDARY(h2c_pkt, in rtw_fw_send_general_info() 527 rtw_fw_send_h2c_packet(rtwdev, h2c_pkt); in rtw_fw_send_general_info() 535 u8 h2c_pkt[H2C_PKT_SIZE] = {0}; in rtw_fw_send_phydm_info() local 547 rtw_h2c_pkt_set_header(h2c_pkt, H2C_PKT_PHYDM_INFO); in rtw_fw_send_phydm_info() [all …]
|