Lines Matching defs:bcf

683  * @bcf: pointer to firmware data (first header followed by the
685 * @bcf_len: length (in bytes) of the @bcf buffer.
699 const struct i2400m_bcf_hdr *bcf, size_t bcf_len)
710 d_fnstart(3, dev, "(i2400m %p bcf %p bcf_len %zu)\n",
711 i2400m, bcf, bcf_len);
714 offset = le32_to_cpu(bcf->header_len) * sizeof(u32);
716 bh = (void *) bcf + offset;
757 d_fnend(3, dev, "(i2400m %p bcf %p bcf_len %zu) = %d\n",
758 i2400m, bcf, bcf_len, (int) ret);
778 * @bcf: pointer to the firmware image (which matches the first header
780 * @offset: [byte] offset into @bcf for the command we need to send.
788 const struct i2400m_bcf_hdr *bcf, size_t offset)
800 cmd = (void *) bcf + offset;
1253 int i2400m_fw_check(struct i2400m *i2400m, const void *bcf, size_t bcf_size)
1262 for (itr = bcf, top = itr + bcf_size;
1268 offset = itr - bcf;
1371 * @bcf: pointer to loaded (and minimally verified for consistency)
1373 * @bcf_size: size of the @bcf buffer (header plus payloads)
1382 int i2400m_fw_dnload(struct i2400m *i2400m, const struct i2400m_bcf_hdr *bcf,
1391 d_fnstart(5, dev, "(i2400m %p bcf %p fw size %zu)\n",
1392 i2400m, bcf, fw_size);
1436 ret = i2400m_dnload_bcf(i2400m, bcf, bcf_size);
1445 ret = i2400m_dnload_finalize(i2400m, bcf_hdr, bcf, ret);
1465 d_fnend(5, dev, "(i2400m %p bcf %p size %zu) = %d\n",
1466 i2400m, bcf, fw_size, ret);
1482 const struct i2400m_bcf_hdr *bcf; /* Firmware data */
1485 bcf = (void *) fw->data;
1486 ret = i2400m_fw_check(i2400m, bcf, fw->size);
1488 ret = i2400m_fw_dnload(i2400m, bcf, fw->size, flags);