Home
last modified time | relevance | path

Searched refs:psetop (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/staging/rtl8712/
Drtl871x_cmd.c497 struct setopmode_parm *psetop; in r8712_setopmode_cmd() local
504 psetop = kmalloc(sizeof(*psetop), GFP_ATOMIC); in r8712_setopmode_cmd()
505 if (!psetop) { in r8712_setopmode_cmd()
509 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in r8712_setopmode_cmd()
510 psetop->mode = (u8)networktype; in r8712_setopmode_cmd()
/Linux-v5.15/drivers/staging/rtl8723bs/core/
Drtw_cmd.c874 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local
879 psetop = rtw_zmalloc(sizeof(struct setopmode_parm)); in rtw_setopmode_cmd()
881 if (psetop == NULL) { in rtw_setopmode_cmd()
885 psetop->mode = (u8)networktype; in rtw_setopmode_cmd()
890 kfree(psetop); in rtw_setopmode_cmd()
895 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in rtw_setopmode_cmd()
898 setopmode_hdl(padapter, (u8 *)psetop); in rtw_setopmode_cmd()
899 kfree(psetop); in rtw_setopmode_cmd()
Drtw_mlme_ext.c5261 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local
5263 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()
5267 } else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()
5271 } else if (psetop->mode == Ndis802_11IBSS) { in setopmode_hdl()
5280 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()
/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_cmd.c937 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local
947 psetop = kzalloc(sizeof(struct setopmode_parm), GFP_KERNEL); in rtw_setopmode_cmd()
949 if (!psetop) { in rtw_setopmode_cmd()
955 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in rtw_setopmode_cmd()
956 psetop->mode = (u8)networktype; in rtw_setopmode_cmd()
Drtw_mlme_ext.c7635 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local
7637 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()
7640 } else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()
7644 } else if (psetop->mode == Ndis802_11IBSS) { in setopmode_hdl()