Lines Matching refs:ep_out_buf
157 kfree(cardp->ep_out_buf);
158 cardp->ep_out_buf = NULL;
285 cardp->ep_out_buf = kmalloc(MRVDRV_ETH_TX_PACKET_BUFFER_SIZE, GFP_KERNEL);
286 if (!cardp->ep_out_buf) {
385 struct fwdata *fwdata = cardp->ep_out_buf;
417 usb_tx_block(cardp, cardp->ep_out_buf, sizeof(struct fwdata) +
439 struct cmd_header *cmd = cardp->ep_out_buf + 4;
444 *(__le32 *)cardp->ep_out_buf = cpu_to_le32(CMD_TYPE_REQUEST);
450 usb_tx_block(cardp, cardp->ep_out_buf, 4 + sizeof(struct cmd_header));
799 *(__le32 *)cardp->ep_out_buf = cpu_to_le32(CMD_TYPE_REQUEST);
802 *(__le32 *)cardp->ep_out_buf = cpu_to_le32(CMD_TYPE_DATA);
806 memcpy((cardp->ep_out_buf + MESSAGE_HEADER_LEN), payload, nb);
808 return usb_tx_block(cardp, cardp->ep_out_buf, nb + MESSAGE_HEADER_LEN);
819 struct bootcmd *bootcmd = cardp->ep_out_buf;
827 usb_tx_block(cardp, cardp->ep_out_buf, sizeof(*bootcmd));