Lines Matching defs:code
61 ar5523_dbg(ar, "Code = %d len = %d\n", be32_to_cpu(hdr->code) & 0xff,
98 u32 code, hdrlen;
111 ar5523_dbg(ar, "%s code %02x priv %d\n", __func__,
112 be32_to_cpu(hdr->code) & 0xff, hdr->priv);
114 code = be32_to_cpu(hdr->code);
117 switch (code & 0xff) {
122 code & 0xff);
249 static int ar5523_cmd(struct ar5523 *ar, u32 code, const void *idata,
262 hdr->code = cpu_to_be32(code);
274 ar5523_dbg(ar, "do cmd %02x\n", code);
283 code, error);
291 code);
297 static int ar5523_cmd_write(struct ar5523 *ar, u32 code, const void *data,
301 return ar5523_cmd(ar, code, data, len, NULL, 0, flags);
304 static int ar5523_cmd_read(struct ar5523 *ar, u32 code, const void *idata,
308 return ar5523_cmd(ar, code, idata, ilen, odata, olen, flags);
1439 * to common code as in OpenBSD.