Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/wireless/realtek/rtw88/
Dfw.h371 #define SET_PKT_H2C_CATEGORY(h2c_pkt, value) \ argument
372 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(6, 0))
373 #define SET_PKT_H2C_CMD_ID(h2c_pkt, value) \ argument
374 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8))
375 #define SET_PKT_H2C_SUB_CMD_ID(h2c_pkt, value) \ argument
376 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 16))
377 #define SET_PKT_H2C_TOTAL_LEN(h2c_pkt, value) \ argument
378 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 0))
380 static inline void rtw_h2c_pkt_set_header(u8 *h2c_pkt, u8 sub_id) in rtw_h2c_pkt_set_header() argument
382 SET_PKT_H2C_CATEGORY(h2c_pkt, H2C_PKT_CATEGORY); in rtw_h2c_pkt_set_header()
[all …]
Dfw.c376 static void rtw_fw_send_h2c_packet(struct rtw_dev *rtwdev, u8 *h2c_pkt) in rtw_fw_send_h2c_packet() argument
382 FW_OFFLOAD_H2C_SET_SEQ_NUM(h2c_pkt, rtwdev->h2c.seq); in rtw_fw_send_h2c_packet()
383 ret = rtw_hci_write_data_h2c(rtwdev, h2c_pkt, H2C_PKT_SIZE); in rtw_fw_send_h2c_packet()
395 u8 h2c_pkt[H2C_PKT_SIZE] = {0}; in rtw_fw_send_general_info() local
401 rtw_h2c_pkt_set_header(h2c_pkt, H2C_PKT_GENERAL_INFO); in rtw_fw_send_general_info()
403 SET_PKT_H2C_TOTAL_LEN(h2c_pkt, total_size); in rtw_fw_send_general_info()
405 GENERAL_INFO_SET_FW_TX_BOUNDARY(h2c_pkt, in rtw_fw_send_general_info()
409 rtw_fw_send_h2c_packet(rtwdev, h2c_pkt); in rtw_fw_send_general_info()
417 u8 h2c_pkt[H2C_PKT_SIZE] = {0}; in rtw_fw_send_phydm_info() local
429 rtw_h2c_pkt_set_header(h2c_pkt, H2C_PKT_PHYDM_INFO); in rtw_fw_send_phydm_info()
[all …]