Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_cmd.c612 struct setopmode_parm *psetop; in r8712_setopmode_cmd() local
619 psetop = kmalloc(sizeof(*psetop), GFP_ATOMIC); in r8712_setopmode_cmd()
620 if (!psetop) { in r8712_setopmode_cmd()
624 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in r8712_setopmode_cmd()
625 psetop->mode = (u8)networktype; in r8712_setopmode_cmd()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_cmd.c526 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local
531 psetop = kzalloc(sizeof(struct setopmode_parm), GFP_KERNEL); in rtw_setopmode_cmd()
532 if (!ph2c || !psetop) { in rtw_setopmode_cmd()
534 kfree(psetop); in rtw_setopmode_cmd()
538 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in rtw_setopmode_cmd()
539 psetop->mode = (u8)networktype; in rtw_setopmode_cmd()
Drtw_mlme_ext.c4859 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local
4861 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()
4864 } else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()
4868 } else if (psetop->mode == Ndis802_11IBSS) { in setopmode_hdl()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_cmd.c967 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local
972 psetop = rtw_zmalloc(sizeof(struct setopmode_parm)); in rtw_setopmode_cmd()
974 if (psetop == NULL) { in rtw_setopmode_cmd()
978 psetop->mode = (u8)networktype; in rtw_setopmode_cmd()
983 kfree(psetop); in rtw_setopmode_cmd()
988 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in rtw_setopmode_cmd()
991 setopmode_hdl(padapter, (u8 *)psetop); in rtw_setopmode_cmd()
992 kfree(psetop); in rtw_setopmode_cmd()
Drtw_mlme_ext.c6066 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local
6068 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()
6072 } else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()
6076 } else if (psetop->mode == Ndis802_11IBSS) { in setopmode_hdl()
6087 if (psetop->mode == Ndis802_11APMode) in setopmode_hdl()
6094 if (psetop->mode == Ndis802_11APMode) in setopmode_hdl()
6096 else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()
6103 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()