Home
last modified time | relevance | path

Searched refs:h2c (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/contrib/dev/rtw89/
H A Dfw.h1558 static inline void SET_FWROLE_MAINTAIN_MACID(void *h2c, u32 val) in SET_BCN_UPD_PATH_MAP_A() argument
1560 le32p_replace_bits((__le32 *)h2c, val, GENMASK(7, 0)); in SET_BCN_UPD_PATH_MAP_A()
1563 static inline void SET_FWROLE_MAINTAIN_SELF_ROLE(void *h2c, u32 val) in SET_BCN_UPD_PATH_MAP_B() argument
1565 le32p_replace_bits((__le32 *)h2c, val, GENMASK(9, 8)); in SET_BCN_UPD_PATH_MAP_B()
1568 static inline void SET_FWROLE_MAINTAIN_UPD_MODE(void *h2c, u32 val) in SET_BCN_UPD_PATH_MAP_C() argument
1570 le32p_replace_bits((__le32 *)h2c, val, GENMASK(12, 10)); in SET_BCN_UPD_PATH_MAP_C()
1573 static inline void SET_FWROLE_MAINTAIN_WIFI_ROLE(void *h2c, u32 val) in SET_BCN_UPD_PATH_MAP_D() argument
1575 le32p_replace_bits((__le32 *)h2c, val, GENMASK(16, 13)); in SET_BCN_UPD_PATH_MAP_D()
1625 static inline void SET_GENERAL_PKT_MACID(void *h2c, u32 val) in SET_JOININFO_MACID()
1627 le32p_replace_bits((__le32 *)h2c, va in SET_JOININFO_MACID()
1503 SET_BCN_UPD_PORT(void * h2c,u32 val) SET_BCN_UPD_PORT() argument
1508 SET_BCN_UPD_MBSSID(void * h2c,u32 val) SET_BCN_UPD_MBSSID() argument
1513 SET_BCN_UPD_BAND(void * h2c,u32 val) SET_BCN_UPD_BAND() argument
1518 SET_BCN_UPD_GRP_IE_OFST(void * h2c,u32 val) SET_BCN_UPD_GRP_IE_OFST() argument
1523 SET_BCN_UPD_MACID(void * h2c,u32 val) SET_BCN_UPD_MACID() argument
1528 SET_BCN_UPD_SSN_SEL(void * h2c,u32 val) SET_BCN_UPD_SSN_SEL() argument
1533 SET_BCN_UPD_SSN_MODE(void * h2c,u32 val) SET_BCN_UPD_SSN_MODE() argument
1538 SET_BCN_UPD_RATE(void * h2c,u32 val) SET_BCN_UPD_RATE() argument
1543 SET_BCN_UPD_TXPWR(void * h2c,u32 val) SET_BCN_UPD_TXPWR() argument
1548 SET_BCN_UPD_TXINFO_CTRL_EN(void * h2c,u32 val) SET_BCN_UPD_TXINFO_CTRL_EN() argument
1553 SET_BCN_UPD_NTX_PATH_EN(void * h2c,u32 val) SET_BCN_UPD_NTX_PATH_EN() argument
1578 SET_BCN_UPD_PATH_ANTSEL_A(void * h2c,u32 val) SET_BCN_UPD_PATH_ANTSEL_A() argument
1583 SET_BCN_UPD_PATH_ANTSEL_B(void * h2c,u32 val) SET_BCN_UPD_PATH_ANTSEL_B() argument
1588 SET_BCN_UPD_PATH_ANTSEL_C(void * h2c,u32 val) SET_BCN_UPD_PATH_ANTSEL_C() argument
1593 SET_BCN_UPD_PATH_ANTSEL_D(void * h2c,u32 val) SET_BCN_UPD_PATH_ANTSEL_D() argument
1598 SET_BCN_UPD_CSA_OFST(void * h2c,u32 val) SET_BCN_UPD_CSA_OFST() argument
1603 SET_FWROLE_MAINTAIN_MACID(void * h2c,u32 val) SET_FWROLE_MAINTAIN_MACID() argument
1608 SET_FWROLE_MAINTAIN_SELF_ROLE(void * h2c,u32 val) SET_FWROLE_MAINTAIN_SELF_ROLE() argument
1613 SET_FWROLE_MAINTAIN_UPD_MODE(void * h2c,u32 val) SET_FWROLE_MAINTAIN_UPD_MODE() argument
1618 SET_FWROLE_MAINTAIN_WIFI_ROLE(void * h2c,u32 val) SET_FWROLE_MAINTAIN_WIFI_ROLE() argument
1623 SET_JOININFO_MACID(void * h2c,u32 val) SET_JOININFO_MACID() argument
1628 SET_JOININFO_OP(void * h2c,u32 val) SET_JOININFO_OP() argument
1633 SET_JOININFO_BAND(void * h2c,u32 val) SET_JOININFO_BAND() argument
1638 SET_JOININFO_WMM(void * h2c,u32 val) SET_JOININFO_WMM() argument
1643 SET_JOININFO_TGR(void * h2c,u32 val) SET_JOININFO_TGR() argument
1648 SET_JOININFO_ISHESTA(void * h2c,u32 val) SET_JOININFO_ISHESTA() argument
1653 SET_JOININFO_DLBW(void * h2c,u32 val) SET_JOININFO_DLBW() argument
1658 SET_JOININFO_TF_MAC_PAD(void * h2c,u32 val) SET_JOININFO_TF_MAC_PAD() argument
1663 SET_JOININFO_DL_T_PE(void * h2c,u32 val) SET_JOININFO_DL_T_PE() argument
1668 SET_JOININFO_PORT_ID(void * h2c,u32 val) SET_JOININFO_PORT_ID() argument
1673 SET_JOININFO_NET_TYPE(void * h2c,u32 val) SET_JOININFO_NET_TYPE() argument
1678 SET_JOININFO_WIFI_ROLE(void * h2c,u32 val) SET_JOININFO_WIFI_ROLE() argument
1683 SET_JOININFO_SELF_ROLE(void * h2c,u32 val) SET_JOININFO_SELF_ROLE() argument
1688 SET_GENERAL_PKT_MACID(void * h2c,u32 val) SET_GENERAL_PKT_MACID() argument
1693 SET_GENERAL_PKT_PROBRSP_ID(void * h2c,u32 val) SET_GENERAL_PKT_PROBRSP_ID() argument
1698 SET_GENERAL_PKT_PSPOLL_ID(void * h2c,u32 val) SET_GENERAL_PKT_PSPOLL_ID() argument
1703 SET_GENERAL_PKT_NULL_ID(void * h2c,u32 val) SET_GENERAL_PKT_NULL_ID() argument
1708 SET_GENERAL_PKT_QOS_NULL_ID(void * h2c,u32 val) SET_GENERAL_PKT_QOS_NULL_ID() argument
1713 SET_GENERAL_PKT_CTS2SELF_ID(void * h2c,u32 val) SET_GENERAL_PKT_CTS2SELF_ID() argument
1718 SET_LOG_CFG_LEVEL(void * h2c,u32 val) SET_LOG_CFG_LEVEL() argument
1723 SET_LOG_CFG_PATH(void * h2c,u32 val) SET_LOG_CFG_PATH() argument
1728 SET_LOG_CFG_COMP(void * h2c,u32 val) SET_LOG_CFG_COMP() argument
1733 SET_LOG_CFG_COMP_EXT(void * h2c,u32 val) SET_LOG_CFG_COMP_EXT() argument
1738 SET_BA_CAM_VALID(void * h2c,u32 val) SET_BA_CAM_VALID() argument
1743 SET_BA_CAM_INIT_REQ(void * h2c,u32 val) SET_BA_CAM_INIT_REQ() argument
1748 SET_BA_CAM_ENTRY_IDX(void * h2c,u32 val) SET_BA_CAM_ENTRY_IDX() argument
1753 SET_BA_CAM_TID(void * h2c,u32 val) SET_BA_CAM_TID() argument
1758 SET_BA_CAM_MACID(void * h2c,u32 val) SET_BA_CAM_MACID() argument
1763 SET_BA_CAM_BMAP_SIZE(void * h2c,u32 val) SET_BA_CAM_BMAP_SIZE() argument
1768 SET_BA_CAM_SSN(void * h2c,u32 val) SET_BA_CAM_SSN() argument
1773 SET_BA_CAM_UID(void * h2c,u32 val) SET_BA_CAM_UID() argument
1778 SET_BA_CAM_STD_EN(void * h2c,u32 val) SET_BA_CAM_STD_EN() argument
1783 SET_BA_CAM_BAND(void * h2c,u32 val) SET_BA_CAM_BAND() argument
1788 SET_BA_CAM_ENTRY_IDX_V1(void * h2c,u32 val) SET_BA_CAM_ENTRY_IDX_V1() argument
1793 SET_LPS_PARM_MACID(void * h2c,u32 val) SET_LPS_PARM_MACID() argument
1798 SET_LPS_PARM_PSMODE(void * h2c,u32 val) SET_LPS_PARM_PSMODE() argument
1803 SET_LPS_PARM_RLBM(void * h2c,u32 val) SET_LPS_PARM_RLBM() argument
1808 SET_LPS_PARM_SMARTPS(void * h2c,u32 val) SET_LPS_PARM_SMARTPS() argument
1813 SET_LPS_PARM_AWAKEINTERVAL(void * h2c,u32 val) SET_LPS_PARM_AWAKEINTERVAL() argument
1818 SET_LPS_PARM_VOUAPSD(void * h2c,u32 val) SET_LPS_PARM_VOUAPSD() argument
1823 SET_LPS_PARM_VIUAPSD(void * h2c,u32 val) SET_LPS_PARM_VIUAPSD() argument
1828 SET_LPS_PARM_BEUAPSD(void * h2c,u32 val) SET_LPS_PARM_BEUAPSD() argument
1833 SET_LPS_PARM_BKUAPSD(void * h2c,u32 val) SET_LPS_PARM_BKUAPSD() argument
1838 SET_LPS_PARM_LASTRPWM(void * h2c,u32 val) SET_LPS_PARM_LASTRPWM() argument
1898 RTW89_SET_KEEP_ALIVE_ENABLE(void * h2c,u32 val) RTW89_SET_KEEP_ALIVE_ENABLE() argument
1903 RTW89_SET_KEEP_ALIVE_PKT_NULL_ID(void * h2c,u32 val) RTW89_SET_KEEP_ALIVE_PKT_NULL_ID() argument
1908 RTW89_SET_KEEP_ALIVE_PERIOD(void * h2c,u32 val) RTW89_SET_KEEP_ALIVE_PERIOD() argument
1913 RTW89_SET_KEEP_ALIVE_MACID(void * h2c,u32 val) RTW89_SET_KEEP_ALIVE_MACID() argument
1918 RTW89_SET_DISCONNECT_DETECT_ENABLE(void * h2c,u32 val) RTW89_SET_DISCONNECT_DETECT_ENABLE() argument
1923 RTW89_SET_DISCONNECT_DETECT_TRYOK_BCNFAIL_COUNT_EN(void * h2c,u32 val) RTW89_SET_DISCONNECT_DETECT_TRYOK_BCNFAIL_COUNT_EN() argument
1928 RTW89_SET_DISCONNECT_DETECT_DISCONNECT(void * h2c,u32 val) RTW89_SET_DISCONNECT_DETECT_DISCONNECT() argument
1933 RTW89_SET_DISCONNECT_DETECT_MAC_ID(void * h2c,u32 val) RTW89_SET_DISCONNECT_DETECT_MAC_ID() argument
1938 RTW89_SET_DISCONNECT_DETECT_CHECK_PERIOD(void * h2c,u32 val) RTW89_SET_DISCONNECT_DETECT_CHECK_PERIOD() argument
1943 RTW89_SET_DISCONNECT_DETECT_TRY_PKT_COUNT(void * h2c,u32 val) RTW89_SET_DISCONNECT_DETECT_TRY_PKT_COUNT() argument
1948 RTW89_SET_DISCONNECT_DETECT_TRYOK_BCNFAIL_COUNT_LIMIT(void * h2c,u32 val) RTW89_SET_DISCONNECT_DETECT_TRYOK_BCNFAIL_COUNT_LIMIT() argument
1953 RTW89_SET_WOW_GLOBAL_ENABLE(void * h2c,u32 val) RTW89_SET_WOW_GLOBAL_ENABLE() argument
1958 RTW89_SET_WOW_GLOBAL_DROP_ALL_PKT(void * h2c,u32 val) RTW89_SET_WOW_GLOBAL_DROP_ALL_PKT() argument
1963 RTW89_SET_WOW_GLOBAL_RX_PARSE_AFTER_WAKE(void * h2c,u32 val) RTW89_SET_WOW_GLOBAL_RX_PARSE_AFTER_WAKE() argument
1968 RTW89_SET_WOW_GLOBAL_WAKE_BAR_PULLED(void * h2c,u32 val) RTW89_SET_WOW_GLOBAL_WAKE_BAR_PULLED() argument
1973 RTW89_SET_WOW_GLOBAL_MAC_ID(void * h2c,u32 val) RTW89_SET_WOW_GLOBAL_MAC_ID() argument
1978 RTW89_SET_WOW_GLOBAL_PAIRWISE_SEC_ALGO(void * h2c,u32 val) RTW89_SET_WOW_GLOBAL_PAIRWISE_SEC_ALGO() argument
1983 RTW89_SET_WOW_GLOBAL_GROUP_SEC_ALGO(void * h2c,u32 val) RTW89_SET_WOW_GLOBAL_GROUP_SEC_ALGO() argument
1988 RTW89_SET_WOW_GLOBAL_REMOTECTRL_INFO_CONTENT(void * h2c,u32 val) RTW89_SET_WOW_GLOBAL_REMOTECTRL_INFO_CONTENT() argument
1993 RTW89_SET_WOW_WAKEUP_CTRL_PATTERN_MATCH_ENABLE(void * h2c,u32 val) RTW89_SET_WOW_WAKEUP_CTRL_PATTERN_MATCH_ENABLE() argument
1998 RTW89_SET_WOW_WAKEUP_CTRL_MAGIC_ENABLE(void * h2c,u32 val) RTW89_SET_WOW_WAKEUP_CTRL_MAGIC_ENABLE() argument
2003 RTW89_SET_WOW_WAKEUP_CTRL_HW_UNICAST_ENABLE(void * h2c,u32 val) RTW89_SET_WOW_WAKEUP_CTRL_HW_UNICAST_ENABLE() argument
2008 RTW89_SET_WOW_WAKEUP_CTRL_FW_UNICAST_ENABLE(void * h2c,u32 val) RTW89_SET_WOW_WAKEUP_CTRL_FW_UNICAST_ENABLE() argument
2013 RTW89_SET_WOW_WAKEUP_CTRL_DEAUTH_ENABLE(void * h2c,u32 val) RTW89_SET_WOW_WAKEUP_CTRL_DEAUTH_ENABLE() argument
2018 RTW89_SET_WOW_WAKEUP_CTRL_REKEYP_ENABLE(void * h2c,u32 val) RTW89_SET_WOW_WAKEUP_CTRL_REKEYP_ENABLE() argument
2023 RTW89_SET_WOW_WAKEUP_CTRL_EAP_ENABLE(void * h2c,u32 val) RTW89_SET_WOW_WAKEUP_CTRL_EAP_ENABLE() argument
2028 RTW89_SET_WOW_WAKEUP_CTRL_ALL_DATA_ENABLE(void * h2c,u32 val) RTW89_SET_WOW_WAKEUP_CTRL_ALL_DATA_ENABLE() argument
2033 RTW89_SET_WOW_WAKEUP_CTRL_MAC_ID(void * h2c,u32 val) RTW89_SET_WOW_WAKEUP_CTRL_MAC_ID() argument
2038 RTW89_SET_WOW_CAM_UPD_R_W(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_R_W() argument
2043 RTW89_SET_WOW_CAM_UPD_IDX(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_IDX() argument
2048 RTW89_SET_WOW_CAM_UPD_WKFM1(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_WKFM1() argument
2053 RTW89_SET_WOW_CAM_UPD_WKFM2(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_WKFM2() argument
2058 RTW89_SET_WOW_CAM_UPD_WKFM3(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_WKFM3() argument
2063 RTW89_SET_WOW_CAM_UPD_WKFM4(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_WKFM4() argument
2068 RTW89_SET_WOW_CAM_UPD_CRC(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_CRC() argument
2073 RTW89_SET_WOW_CAM_UPD_NEGATIVE_PATTERN_MATCH(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_NEGATIVE_PATTERN_MATCH() argument
2078 RTW89_SET_WOW_CAM_UPD_SKIP_MAC_HDR(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_SKIP_MAC_HDR() argument
2083 RTW89_SET_WOW_CAM_UPD_UC(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_UC() argument
2088 RTW89_SET_WOW_CAM_UPD_MC(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_MC() argument
2093 RTW89_SET_WOW_CAM_UPD_BC(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_BC() argument
2098 RTW89_SET_WOW_CAM_UPD_VALID(void * h2c,u32 val) RTW89_SET_WOW_CAM_UPD_VALID() argument
[all...]
H A Dfw.c1255 rtw89_err(rtwdev, "failed to send h2c\n");
1332 rtw89_err(rtwdev, "failed to send h2c\n"); in rtw89_fw_h2c_ba_cam()
1799 rtw89_err(rtwdev, "failed to send h2c\n"); in __get_sta_he_pkt_padding()
1814 struct rtw89_h2c_dctlinfo_ud_v1 *h2c; in rtw89_fw_h2c_assoc_cmac_tbl()
1815 u32 len = sizeof(*h2c); in rtw89_fw_h2c_assoc_cmac_tbl()
1825 h2c = (struct rtw89_h2c_dctlinfo_ud_v1 *)skb->data; in rtw89_fw_h2c_assoc_cmac_tbl()
1827 rtw89_cam_fill_dctl_sec_cam_info_v1(rtwdev, rtwvif, rtwsta, h2c); in rtw89_fw_h2c_assoc_cmac_tbl()
1837 rtw89_err(rtwdev, "failed to send h2c\n"); in rtw89_fw_h2c_assoc_cmac_tbl()
1853 struct rtw89_h2c_dctlinfo_ud_v2 *h2c; in rtw89_fw_h2c_assoc_cmac_tbl()
1854 u32 len = sizeof(*h2c); in rtw89_fw_h2c_assoc_cmac_tbl()
2129 struct rtw89_fw_macid_pause_grp h2c = {{0}}; rtw89_fw_h2c_macid_pause() local
2281 struct rtw89_h2c_bcnfltr *h2c; rtw89_fw_h2c_set_bcn_fltr_cfg() local
2332 struct rtw89_h2c_ofld_rssi *h2c; rtw89_fw_h2c_rssi_offload() local
2378 struct rtw89_h2c_ofld *h2c; rtw89_fw_h2c_tp_offload() local
2420 struct rtw89_h2c_ra *h2c; rtw89_fw_h2c_ra() local
2511 struct rtw89_h2c_cxinit *h2c; rtw89_fw_h2c_cxdrv_init() local
3137 struct rtw89_h2c_scanofld *h2c; rtw89_fw_h2c_scan_offload() local
[all...]
H A Ddebug.c3304 u8 *h2c; in rtw89_sta_info_get_iter()
3308 h2c = rtw89_hex2bin_user(rtwdev, user_buf, count); in rtw89_sta_info_get_iter()
3309 if (IS_ERR(h2c)) in rtw89_sta_info_get_iter()
3312 ret = rtw89_fw_h2c_raw(rtwdev, h2c, h2c_len); in rtw89_sta_info_get_iter()
3314 kfree(h2c); in rtw89_sta_info_get_iter()
3329 seq_printf(m, "%d: %*ph\n", ++seq, early_h2c->h2c_len, early_h2c->h2c); in rtw89_sta_info_get_iter()
3343 u8 *h2c; in rtw89_debug_append_rx_rate()
3346 h2c = rtw89_hex2bin_user(rtwdev, user_buf, count); in rtw89_debug_append_rx_rate()
3347 if (IS_ERR(h2c)) in rtw89_debug_append_rx_rate()
3350 if (h2c_len >= 2 && h2c[ in rtw89_debug_append_rx_rate()
3049 u8 *h2c; rtw89_debug_priv_send_h2c_set() local
3088 u8 *h2c; rtw89_debug_priv_early_h2c_set() local
[all...]
H A Dcore.h2107 u32 h2c_cnt; /* fw recv h2c counter */
2116 __le32 cnt_h2c; /* fw recv h2c counter */
2130 __le16 cnt_h2c; /* fw recv h2c counter */
2140 __le16 cnt_h2c; /* fw recv h2c counter */
3775 u16 h2c;
5122 u8 *h2c; in rtw89_chip_stop_sch_tx()
3175 u16 h2c; global() member
4200 u8 *h2c; global() member
H A Dmac.c1982 SET_QUOTA(h2c, PLE, 3); in mpdu_proc_init()
/freebsd/sys/contrib/dev/rtw88/
H A Dfw.c385 struct rtw_h2c_register *h2c) in rtw_fw_send_h2c_command()
391 rtw_dbg(rtwdev, RTW_DBG_FW, "send H2C content %08x %08x\n", h2c->w0, in rtw_fw_send_h2c_command()
392 h2c->w1); in rtw_fw_send_h2c_command()
396 box = rtwdev->h2c.last_box_num; in rtw_fw_send_h2c_command()
415 WARN(1, "invalid h2c mail box number\n"); in rtw_fw_send_h2c_command()
424 rtw_err(rtwdev, "failed to send h2c command\n"); in rtw_fw_send_h2c_packet()
429 rtw_write32(rtwdev, box_ex_reg, h2c->w1); in rtw_fw_send_h2c_packet()
430 rtw_write32(rtwdev, box_reg, h2c->w0); in rtw_fw_send_h2c_packet()
432 if (++rtwdev->h2c.last_box_num >= 4) in rtw_fw_send_h2c_packet()
433 rtwdev->h2c in rtw_fw_send_h2c_packet()
312 rtw_fw_send_h2c_command_register(struct rtw_dev * rtwdev,struct rtw_h2c_register * h2c) rtw_fw_send_h2c_command_register() argument
363 rtw_fw_send_h2c_command(struct rtw_dev * rtwdev,u8 * h2c) rtw_fw_send_h2c_command() argument
417 rtw_fw_h2c_cmd_dbg(struct rtw_dev * rtwdev,u8 * h2c) rtw_fw_h2c_cmd_dbg() argument
524 struct rtw_h2c_register h2c = {}; rtw_fw_default_port() local
[all...]
H A Dmac.c816 rtwdev->h2c.last_box_num = 0; in __rtw_download_firmware()
817 rtwdev->h2c.seq = 0; in __rtw_download_firmware()
965 rtwdev->h2c.last_box_num = 0; in _rtw_download_firmware()
966 rtwdev->h2c.seq = 0; in _rtw_download_firmware()
H A Dfw.h873 void rtw_fw_h2c_cmd_dbg(struct rtw_dev *rtwdev, u8 *h2c);
H A Ddebug.c1238 rtw_debugfs_add_w(h2c);
H A Dmain.h2054 } h2c;
2041 } h2c; global() member
/freebsd/lib/libnvmf/
H A Dnvmf_tcp.c496 struct nvme_tcp_h2c_data_hdr *h2c; in nvmf_tcp_handle_h2c_data() local
501 h2c = (void *)pdu->hdr; in nvmf_tcp_handle_h2c_data()
502 if (le32toh(h2c->datal) > qp->maxh2cdata) { in nvmf_tcp_handle_h2c_data()
510 cb = tcp_find_command_buffer(qp, h2c->cccid, h2c->ttag, true); in nvmf_tcp_handle_h2c_data()
520 data_len = le32toh(h2c->datal); in nvmf_tcp_handle_h2c_data()
530 data_offset = le32toh(h2c->datao); in nvmf_tcp_handle_h2c_data()
660 struct nvme_tcp_h2c_data_hdr h2c; in tcp_send_h2c_pdu() local
662 memset(&h2c, 0, sizeof(h2c)); in tcp_send_h2c_pdu()
663 h2c.common.pdu_type = NVME_TCP_PDU_TYPE_H2C_DATA; in tcp_send_h2c_pdu()
665 h2c.common.flags |= NVME_TCP_H2C_DATA_FLAGS_LAST_PDU; in tcp_send_h2c_pdu()
[all …]
/freebsd/sys/dev/nvmf/
H A Dnvmf_tcp.c638 const struct nvme_tcp_h2c_data_hdr *h2c; in nvmf_tcp_handle_h2c_data() local
643 h2c = (const void *)pdu->hdr; in nvmf_tcp_handle_h2c_data()
644 if (le32toh(h2c->datal) > qp->maxh2cdata) { in nvmf_tcp_handle_h2c_data()
656 ttag = h2c->ttag; in nvmf_tcp_handle_h2c_data()
688 data_len = le32toh(h2c->datal); in nvmf_tcp_handle_h2c_data()
699 data_offset = le32toh(h2c->datao); in nvmf_tcp_handle_h2c_data()
924 struct nvme_tcp_h2c_data_hdr h2c; in tcp_send_h2c_pdu() local
927 memset(&h2c, 0, sizeof(h2c)); in tcp_send_h2c_pdu()
928 h2c.common.pdu_type = NVME_TCP_PDU_TYPE_H2C_DATA; in tcp_send_h2c_pdu()
930 h2c.common.flags |= NVME_TCP_H2C_DATA_FLAGS_LAST_PDU; in tcp_send_h2c_pdu()
[all …]
/freebsd/sys/netpfil/pf/
H A Dpf.c3207 struct pf_addr *na, u_int16_t np, u_int16_t *pc, u_int16_t *h2c, in pf_change_icmp() argument
3235 u_int32_t oh2c = *h2c; in pf_change_icmp()
3237 *h2c = pf_cksum_fixup(pf_cksum_fixup(*h2c, in pf_change_icmp()
3243 *ic = pf_cksum_fixup(*ic, oh2c, *h2c, 0); in pf_change_icmp()