Lines Matching refs:cmd
153 regs->cmd = HFA384X_INW(HFA384X_CMD_OFF); in hfa384x_read_regs()
223 local->dev->name, entry->type, entry->cmd, in prism2_clear_cmd_queue()
290 HFA384X_OUTW(entry->cmd, HFA384X_CMD_OFF); in hfa384x_cmd_issue()
310 static int hfa384x_cmd(struct net_device *dev, u16 cmd, u16 param0, in hfa384x_cmd() argument
338 entry->cmd = cmd; in hfa384x_cmd()
432 res, entry, entry->type, entry->cmd, entry->param0, reg, in hfa384x_cmd()
452 dev->name, cmd, entry->res, entry->resp0); in hfa384x_cmd()
477 static int hfa384x_cmd_callback(struct net_device *dev, u16 cmd, u16 param0, in hfa384x_cmd_callback() argument
504 entry->cmd = cmd; in hfa384x_cmd_callback()
537 static int __hfa384x_cmd_no_wait(struct net_device *dev, u16 cmd, u16 param0, in __hfa384x_cmd_no_wait() argument
560 HFA384X_OUTW(cmd, HFA384X_CMD_OFF); in __hfa384x_cmd_no_wait()
572 static int hfa384x_cmd_wait(struct net_device *dev, u16 cmd, u16 param0) in hfa384x_cmd_wait() argument
577 res = __hfa384x_cmd_no_wait(dev, cmd, param0, 4); in hfa384x_cmd_wait()
582 if ((cmd & HFA384X_CMDCODE_MASK) == HFA384X_CMDCODE_DOWNLOAD) in hfa384x_cmd_wait()
606 dev->name, cmd, res); in hfa384x_cmd_wait()
622 static inline int hfa384x_cmd_no_wait(struct net_device *dev, u16 cmd, in hfa384x_cmd_no_wait() argument
625 return __hfa384x_cmd_no_wait(dev, cmd, param0, 6); in hfa384x_cmd_no_wait()
3101 local->func->cmd = hfa384x_cmd; in prism2_init_local_data()