Home
last modified time | relevance | path

Searched refs:cmd_buf (Results 1 – 25 of 35) sorted by relevance

12

/linux-2.6.39/drivers/macintosh/
Dsmu.c85 struct smu_cmd_buf *cmd_buf; /* command buffer virtual */ member
132 smu->cmd_buf->cmd = cmd->cmd; in smu_start_cmd()
133 smu->cmd_buf->length = cmd->data_len; in smu_start_cmd()
134 memcpy(smu->cmd_buf->data, cmd->data_buf, cmd->data_len); in smu_start_cmd()
137 faddr = (unsigned long)smu->cmd_buf; in smu_start_cmd()
138 fend = faddr + smu->cmd_buf->length + 2; in smu_start_cmd()
200 faddr = (unsigned long)smu->cmd_buf; in smu_db_intr()
205 if (ack != smu->cmd_buf->cmd) { in smu_db_intr()
207 ack, smu->cmd_buf->cmd); in smu_db_intr()
210 reply_len = rc == 0 ? smu->cmd_buf->length : 0; in smu_db_intr()
[all …]
/linux-2.6.39/drivers/net/wireless/ath/carl9170/
Dcmd.h87 __ar->cmd_buf[2 * __nreg + 1] = cpu_to_le32(r); \
88 __ar->cmd_buf[2 * __nreg + 2] = cpu_to_le32(v); \
94 (u8 *) &__ar->cmd_buf[1], 0, NULL); \
110 (u8 *) &__ar->cmd_buf[1], 0, NULL); \
/linux-2.6.39/drivers/uwb/i1480/dfu/
Dusb.c120 memcpy(i1480->cmd_buf, buffer + itr, buffer_size); in i1480_usb_write()
125 i1480->cmd_buf, buffer_size, 100 /* FIXME: arbitrary */); in i1480_usb_write()
170 i1480->cmd_buf + itr, itr_size, in i1480_usb_read()
297 struct uwb_rccb *cmd = i1480->cmd_buf; in i1480_usb_cmd()
375 i1480->cmd_buf = kmalloc(2 * i1480->buf_size, GFP_KERNEL); in i1480_usb_probe()
376 if (i1480->cmd_buf == NULL) { in i1480_usb_probe()
381 i1480->evt_buf = i1480->cmd_buf + i1480->buf_size; in i1480_usb_probe()
408 kfree(i1480->cmd_buf); in i1480_usb_probe()
Dmac.c183 if (memcmp(i1480->cmd_buf, bin + src_itr, result)) { in i1480_fw_cmp()
184 u8 *buf = i1480->cmd_buf; in i1480_fw_cmp()
270 u32 *buffer = (u32 *)i1480->cmd_buf; in mac_fw_upload_enable()
294 u32 *buffer = (u32 *)i1480->cmd_buf; in mac_fw_upload_disable()
391 struct uwb_rccb *cmd = (void *) i1480->cmd_buf; in i1480_cmd_reset()
422 u32 *val = (u32 *) i1480->cmd_buf; in i1480_fw_is_running_q()
Dphy.c55 struct i1480_cmd_mpi_write *cmd = i1480->cmd_buf; in i1480_mpi_write()
103 struct i1480_cmd_mpi_read *cmd = i1480->cmd_buf; in i1480_mpi_read()
107 memset(i1480->cmd_buf, 0x69, 512); in i1480_mpi_read()
Ddfu.c96 struct uwb_rccb *cmd = i1480->cmd_buf; in i1480_cmd()
158 u32 *buf = (u32 *) i1480->cmd_buf; in i1480_print_state()
Di1480-dfu.h129 void *evt_buf, *cmd_buf; member
/linux-2.6.39/drivers/net/wimax/i2400m/
Dfw.c797 } __packed *cmd_buf; in i2400m_dnload_finalize() local
806 cmd_buf = i2400m->bm_cmd_buf; in i2400m_dnload_finalize()
807 memcpy(&cmd_buf->cmd, cmd, sizeof(*cmd)); in i2400m_dnload_finalize()
808 cmd = &cmd_buf->cmd; in i2400m_dnload_finalize()
817 cmd_buf = i2400m->bm_cmd_buf; in i2400m_dnload_finalize()
818 memcpy(&cmd_buf->cmd, cmd, sizeof(*cmd)); in i2400m_dnload_finalize()
825 memcpy(cmd_buf->cmd_pl, in i2400m_dnload_finalize()
828 ret = i2400m_bm_cmd(i2400m, &cmd_buf->cmd, in i2400m_dnload_finalize()
829 sizeof(cmd_buf->cmd) + signature_block_size, in i2400m_dnload_finalize()
1118 } __packed *cmd_buf; in i2400m_dnload_init_signed() local
[all …]
/linux-2.6.39/drivers/uwb/
Dwhc-rc.c72 void *evt_buf, *cmd_buf; member
122 memmove(whcrc->cmd_buf, cmd, cmd_size); in whcrc_cmd()
249 whcrc->cmd_buf = dma_alloc_coherent(&umc_dev->dev, PAGE_SIZE, in whcrc_setup_rc_umc()
251 if (whcrc->cmd_buf == NULL) { in whcrc_setup_rc_umc()
265 dma_free_coherent(&umc_dev->dev, PAGE_SIZE, whcrc->cmd_buf, in whcrc_setup_rc_umc()
288 dma_free_coherent(&umc_dev->dev, PAGE_SIZE, whcrc->cmd_buf, in whcrc_release_rc_umc()
/linux-2.6.39/arch/arm/mach-msm/
Dscm.c221 int scm_call(u32 svc_id, u32 cmd_id, const void *cmd_buf, size_t cmd_len, in scm_call() argument
233 if (cmd_buf) in scm_call()
234 memcpy(scm_get_command_buffer(cmd), cmd_buf, cmd_len); in scm_call()
Dscm.h18 extern int scm_call(u32 svc_id, u32 cmd_id, const void *cmd_buf, size_t cmd_len,
/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Dwmi.c250 u8 *cmd_buf, u32 cmd_len, in ath9k_wmi_cmd() argument
272 if (cmd_len != 0 && cmd_buf != NULL) { in ath9k_wmi_cmd()
274 memcpy(data, cmd_buf, cmd_len); in ath9k_wmi_cmd()
Dhif_usb.h79 struct cmd_buf { struct
Dwmi.h117 u8 *cmd_buf, u32 cmd_len,
Dhif_usb.c67 struct cmd_buf *cmd = (struct cmd_buf *)urb->context; in hif_usb_regout_cb()
97 struct cmd_buf *cmd; in hif_usb_send_regout()
/linux-2.6.39/drivers/net/wan/
Dsdla.c429 struct sdla_cmd *cmd_buf; in sdla_cmd() local
437 cmd_buf = (struct sdla_cmd *)(dev->mem_start + (window & SDLA_ADDR_MASK)); in sdla_cmd()
444 cmd_buf->cmd = cmd; in sdla_cmd()
445 cmd_buf->dlci = dlci; in sdla_cmd()
446 cmd_buf->flags = flags; in sdla_cmd()
449 memcpy(cmd_buf->data, inbuf, inlen); in sdla_cmd()
451 cmd_buf->length = inlen; in sdla_cmd()
453 cmd_buf->opp_flag = 1; in sdla_cmd()
464 waiting = ((volatile int)(cmd_buf->opp_flag)); in sdla_cmd()
474 ret = cmd_buf->retval; in sdla_cmd()
[all …]
/linux-2.6.39/arch/x86/kernel/
Damd_iommu_init.c473 u8 *cmd_buf = (u8 *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in alloc_command_buffer() local
476 if (cmd_buf == NULL) in alloc_command_buffer()
481 return cmd_buf; in alloc_command_buffer()
506 BUG_ON(iommu->cmd_buf == NULL); in iommu_enable_command_buffer()
508 entry = (u64)virt_to_phys(iommu->cmd_buf); in iommu_enable_command_buffer()
520 free_pages((unsigned long)iommu->cmd_buf, in free_command_buffer()
921 iommu->cmd_buf = alloc_command_buffer(iommu); in init_iommu_one()
922 if (!iommu->cmd_buf) in init_iommu_one()
/linux-2.6.39/drivers/media/dvb/frontends/
Dor51211.c52 static u8 cmd_buf[] = {0x04,0x01,0x50,0x80,0x06}; // ATSC variable
198 if (i2c_writebytes(state,state->config->demod_address,cmd_buf,3)) { in or51211_setmode()
408 cmd_buf,3)) { in or51211_init()
/linux-2.6.39/drivers/media/video/pwc/
Dpwc-uncompress.c65 memcpy(raw_frame->cmd, pdev->cmd_buf, 4); in pwc_decompress()
Dpwc-ctrl.c268 memcpy(pdev->cmd_buf, buf, 3); in set_video_mode_Nala()
328 memcpy(pdev->cmd_buf, buf, 13); in set_video_mode_Timon()
401 memcpy(pdev->cmd_buf, buf, 12); in set_video_mode_Kiara()
1737 memcpy(&ARGR(vcmd).command_buf, pdev->cmd_buf, pdev->cmd_len); in pwc_ioctl()
/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_init.c139 struct qlcnic_cmd_buffer *cmd_buf; in qlcnic_release_tx_buffers() local
144 cmd_buf = tx_ring->cmd_buf_arr; in qlcnic_release_tx_buffers()
146 buffrag = cmd_buf->frag_array; in qlcnic_release_tx_buffers()
152 for (j = 0; j < cmd_buf->frag_count; j++) { in qlcnic_release_tx_buffers()
161 if (cmd_buf->skb) { in qlcnic_release_tx_buffers()
162 dev_kfree_skb_any(cmd_buf->skb); in qlcnic_release_tx_buffers()
163 cmd_buf->skb = NULL; in qlcnic_release_tx_buffers()
165 cmd_buf++; in qlcnic_release_tx_buffers()
/linux-2.6.39/drivers/net/netxen/
Dnetxen_nic_init.c133 struct netxen_cmd_buffer *cmd_buf; in netxen_release_tx_buffers() local
138 cmd_buf = tx_ring->cmd_buf_arr; in netxen_release_tx_buffers()
140 buffrag = cmd_buf->frag_array; in netxen_release_tx_buffers()
146 for (j = 0; j < cmd_buf->frag_count; j++) { in netxen_release_tx_buffers()
155 if (cmd_buf->skb) { in netxen_release_tx_buffers()
156 dev_kfree_skb_any(cmd_buf->skb); in netxen_release_tx_buffers()
157 cmd_buf->skb = NULL; in netxen_release_tx_buffers()
159 cmd_buf++; in netxen_release_tx_buffers()
/linux-2.6.39/drivers/net/wireless/
Dat76c50x-usb.c743 struct at76_command *cmd_buf = kmalloc(sizeof(struct at76_command) + in at76_set_card_command() local
746 if (!cmd_buf) in at76_set_card_command()
749 cmd_buf->cmd = cmd; in at76_set_card_command()
750 cmd_buf->reserved = 0; in at76_set_card_command()
751 cmd_buf->size = cpu_to_le16(buf_size); in at76_set_card_command()
752 memcpy(cmd_buf->data, buf, buf_size); in at76_set_card_command()
754 at76_dbg_dump(DBG_CMD, cmd_buf, sizeof(struct at76_command) + buf_size, in at76_set_card_command()
760 0, 0, cmd_buf, in at76_set_card_command()
763 kfree(cmd_buf); in at76_set_card_command()
/linux-2.6.39/include/linux/
Dcdk.h124 unsigned long cmd_buf[14]; member
/linux-2.6.39/arch/x86/include/asm/
Damd_iommu_types.h395 u8 *cmd_buf; member

12