Home
last modified time | relevance | path

Searched refs:l2h (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/net/l2tp/
H A Dl2tp_core.c683 u32 l2h = ntohl(*(__be32 *)ptr); in l2tp_recv_common() local
685 if (l2h & 0x40000000) { in l2tp_recv_common()
687 L2TP_SKB_CB(skb)->ns = l2h & 0x00ffffff; in l2tp_recv_common()
984 u32 l2h = 0; in l2tp_build_l2tpv3_header() local
987 l2h = 0x40000000 | session->ns; in l2tp_build_l2tpv3_header()
993 *((__be32 *)bufp) = htonl(l2h); in l2tp_build_l2tpv3_header()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dphy.h62 void rtw_phy_set_edcca_th(struct rtw_dev *rtwdev, u8 l2h, u8 h2l);
H A Drtw8822b.c1594 s8 l2h, h2l; in rtw8822b_adaptivity() local
1599 l2h = max_t(s8, igi + EDCCA_IGI_L2H_DIFF, EDCCA_TH_L2H_LB); in rtw8822b_adaptivity()
1600 h2l = l2h - EDCCA_L2H_H2L_DIFF_NORMAL; in rtw8822b_adaptivity()
1602 l2h = min_t(s8, igi, dm_info->l2h_th_ini); in rtw8822b_adaptivity()
1603 h2l = l2h - EDCCA_L2H_H2L_DIFF; in rtw8822b_adaptivity()
1606 rtw_phy_set_edcca_th(rtwdev, l2h, h2l); in rtw8822b_adaptivity()
H A Drtw8822c.c4562 s8 l2h, h2l; in rtw8822c_adaptivity() local
4567 l2h = max_t(s8, igi + EDCCA_IGI_L2H_DIFF, EDCCA_TH_L2H_LB); in rtw8822c_adaptivity()
4568 h2l = l2h - EDCCA_L2H_H2L_DIFF_NORMAL; in rtw8822c_adaptivity()
4571 l2h = igi + EDCCA_ADC_BACKOFF; in rtw8822c_adaptivity()
4573 l2h = dm_info->l2h_th_ini; in rtw8822c_adaptivity()
4574 h2l = l2h - EDCCA_L2H_H2L_DIFF; in rtw8822c_adaptivity()
4577 rtw_phy_set_edcca_th(rtwdev, l2h, h2l); in rtw8822c_adaptivity()
H A Dphy.c124 void rtw_phy_set_edcca_th(struct rtw_dev *rtwdev, u8 l2h, u8 h2l) in rtw_phy_set_edcca_th() argument
131 l2h + edcca_th[EDCCA_TH_L2H_IDX].offset); in rtw_phy_set_edcca_th()
H A Dfw.h79 u8 l2h; member
H A Dfw.c202 result->density, result->igi, result->l2h_th_init, result->l2h, in rtw_fw_adaptivity_result()
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.h675 u8 *l2h; member
H A Ds2io.c8218 static void initiate_new_session(struct lro *lro, u8 *l2h, in initiate_new_session() argument
8223 lro->l2h = l2h; in initiate_new_session()