Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_cmd.c55 pcmdpriv->cmd_allocated_buf = kmalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ, in r8712_init_cmd_priv()
57 if (!pcmdpriv->cmd_allocated_buf) in r8712_init_cmd_priv()
59 pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - in r8712_init_cmd_priv()
60 ((addr_t)(pcmdpriv->cmd_allocated_buf) & in r8712_init_cmd_priv()
64 kfree(pcmdpriv->cmd_allocated_buf); in r8712_init_cmd_priv()
65 pcmdpriv->cmd_allocated_buf = NULL; in r8712_init_cmd_priv()
98 kfree(pcmdpriv->cmd_allocated_buf); in r8712_free_cmd_priv()
Drtl871x_cmd.h46 u8 *cmd_allocated_buf; member
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_cmd.c70 pcmdpriv->cmd_allocated_buf = kzalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ, in rtw_init_cmd_priv()
73 if (!pcmdpriv->cmd_allocated_buf) in rtw_init_cmd_priv()
76 …pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - ((size_t)(pcmdpriv->cmd_all… in rtw_init_cmd_priv()
81 kfree(pcmdpriv->cmd_allocated_buf); in rtw_init_cmd_priv()
112 kfree(pcmdpriv->cmd_allocated_buf); in rtw_free_cmd_priv()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_cmd.c174 pcmdpriv->cmd_allocated_buf = rtw_zmalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ); in rtw_init_cmd_priv()
176 if (!pcmdpriv->cmd_allocated_buf) in rtw_init_cmd_priv()
179 …pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - ((SIZE_PTR)(pcmdpriv->cmd_a… in rtw_init_cmd_priv()
184 kfree(pcmdpriv->cmd_allocated_buf); in rtw_init_cmd_priv()
233 kfree(pcmdpriv->cmd_allocated_buf); in _rtw_free_cmd_priv()
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drtw_cmd.h46 u8 *cmd_allocated_buf; member
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_cmd.h42 u8 *cmd_allocated_buf; member