Home
last modified time | relevance | path

Searched refs:cmd_allocated_buf (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_cmd.c67 pcmdpriv->cmd_allocated_buf = kmalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ, in _init_cmd_priv()
69 if (!pcmdpriv->cmd_allocated_buf) in _init_cmd_priv()
71 pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - in _init_cmd_priv()
72 ((addr_t)(pcmdpriv->cmd_allocated_buf) & in _init_cmd_priv()
76 kfree(pcmdpriv->cmd_allocated_buf); in _init_cmd_priv()
77 pcmdpriv->cmd_allocated_buf = NULL; in _init_cmd_priv()
110 kfree(pcmdpriv->cmd_allocated_buf); in _free_cmd_priv()
Drtl871x_cmd.h58 u8 *cmd_allocated_buf; member
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_cmd.c180 pcmdpriv->cmd_allocated_buf = rtw_zmalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ); in _rtw_init_cmd_priv()
182 if (pcmdpriv->cmd_allocated_buf == NULL) { in _rtw_init_cmd_priv()
187 …pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - ((SIZE_PTR)(pcmdpriv->cmd_a… in _rtw_init_cmd_priv()
243 kfree(pcmdpriv->cmd_allocated_buf); in _rtw_free_cmd_priv()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_cmd.h47 u8 *cmd_allocated_buf; member