Searched refs:psetop (Results 1 – 5 of 5) sorted by relevance
612 struct setopmode_parm *psetop; in r8712_setopmode_cmd() local619 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()
526 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local531 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()
4859 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local4861 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()
967 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local972 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()
6066 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local6068 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()