Lines Matching refs:cmdlog
79 static int cmdlog = 0; variable
1330 if (!priv->cmdlog) in cmd_log_show()
1337 "\n%08lX%08X%08X%08X\n", priv->cmdlog[i].jiffies, in cmd_log_show()
1338 priv->cmdlog[i].retcode, priv->cmdlog[i].cmd.cmd, in cmd_log_show()
1339 priv->cmdlog[i].cmd.len); in cmd_log_show()
1342 (u8 *) priv->cmdlog[i].cmd.param, in cmd_log_show()
1343 priv->cmdlog[i].cmd.len); in cmd_log_show()
2152 if (priv->cmdlog) { in __ipw_send_cmd()
2153 priv->cmdlog[priv->cmdlog_pos].jiffies = jiffies; in __ipw_send_cmd()
2154 priv->cmdlog[priv->cmdlog_pos].cmd.cmd = cmd->cmd; in __ipw_send_cmd()
2155 priv->cmdlog[priv->cmdlog_pos].cmd.len = cmd->len; in __ipw_send_cmd()
2156 memcpy(priv->cmdlog[priv->cmdlog_pos].cmd.param, cmd->param, in __ipw_send_cmd()
2158 priv->cmdlog[priv->cmdlog_pos].retcode = -1; in __ipw_send_cmd()
2218 if (priv->cmdlog) { in __ipw_send_cmd()
2219 priv->cmdlog[priv->cmdlog_pos++].retcode = rc; in __ipw_send_cmd()
11118 if (cmdlog && !priv->cmdlog) { in ipw_up()
11119 priv->cmdlog = kcalloc(cmdlog, sizeof(*priv->cmdlog), in ipw_up()
11121 if (priv->cmdlog == NULL) { in ipw_up()
11123 cmdlog); in ipw_up()
11126 priv->cmdlog_len = cmdlog; in ipw_up()
11743 if (priv->cmdlog) { in ipw_pci_remove()
11744 kfree(priv->cmdlog); in ipw_pci_remove()
11745 priv->cmdlog = NULL; in ipw_pci_remove()
11954 module_param(cmdlog, int, 0444);
11955 MODULE_PARM_DESC(cmdlog,