Home
last modified time | relevance | path

Searched refs:h2c_pkt (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dfw.h387 #define SET_PKT_H2C_CATEGORY(h2c_pkt, value) \ argument
388 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(6, 0))
389 #define SET_PKT_H2C_CMD_ID(h2c_pkt, value) \ argument
390 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
391 #define SET_PKT_H2C_SUB_CMD_ID(h2c_pkt, value) \ argument
392 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 16))
393 #define SET_PKT_H2C_TOTAL_LEN(h2c_pkt, value) \ argument
394 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 0))
396 static inline void rtw_h2c_pkt_set_header(u8 *h2c_pkt, u8 sub_id) in rtw_h2c_pkt_set_header() argument
398 SET_PKT_H2C_CATEGORY(h2c_pkt, H2C_PKT_CATEGORY); in rtw_h2c_pkt_set_header()
[all …]
Dfw.c422 static void rtw_fw_send_h2c_packet(struct rtw_dev *rtwdev, u8 *h2c_pkt) in rtw_fw_send_h2c_packet() argument
428 FW_OFFLOAD_H2C_SET_SEQ_NUM(h2c_pkt, rtwdev->h2c.seq); in rtw_fw_send_h2c_packet()
429 ret = rtw_hci_write_data_h2c(rtwdev, h2c_pkt, H2C_PKT_SIZE); in rtw_fw_send_h2c_packet()
439 u8 h2c_pkt[H2C_PKT_SIZE] = {0}; in rtw_fw_send_general_info() local
445 rtw_h2c_pkt_set_header(h2c_pkt, H2C_PKT_GENERAL_INFO); in rtw_fw_send_general_info()
447 SET_PKT_H2C_TOTAL_LEN(h2c_pkt, total_size); in rtw_fw_send_general_info()
449 GENERAL_INFO_SET_FW_TX_BOUNDARY(h2c_pkt, in rtw_fw_send_general_info()
453 rtw_fw_send_h2c_packet(rtwdev, h2c_pkt); in rtw_fw_send_general_info()
461 u8 h2c_pkt[H2C_PKT_SIZE] = {0}; in rtw_fw_send_phydm_info() local
473 rtw_h2c_pkt_set_header(h2c_pkt, H2C_PKT_PHYDM_INFO); in rtw_fw_send_phydm_info()
[all …]