Home
last modified time | relevance | path

Searched refs:cmdlen (Results 1 – 12 of 12) sorted by relevance

/linux-2.6.39/arch/s390/kernel/
Dcpcmd.c27 static int diag8_noresponse(int cmdlen) in diag8_noresponse() argument
30 register unsigned long reg3 asm ("3") = cmdlen; in diag8_noresponse()
44 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
48 register unsigned long reg4 asm ("4") = cmdlen | 0x40000000L; in diag8_response()
77 int cmdlen; in __cpcmd() local
81 cmdlen = strlen(cmd); in __cpcmd()
82 BUG_ON(cmdlen > 240); in __cpcmd()
83 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
84 ASCEBC(cpcmd_buf, cmdlen); in __cpcmd()
89 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
[all …]
Dearly.c62 int __init savesys_ipl_nss(char *cmd, const int cmdlen);
/linux-2.6.39/drivers/video/mb862xx/
Dmb862xxfb_accel.c195 u32 cmdlen; in mb86290fb_imageblit() local
216 cmdlen = 9 + height * step; in mb86290fb_imageblit()
233 cmdlen = 3 + height * step; in mb86290fb_imageblit()
239 cmdlen = 3 + height * step; in mb86290fb_imageblit()
248 cmd = kmalloc(cmdlen * 4, GFP_DMA); in mb86290fb_imageblit()
252 mb862xxfb_write_fifo(cmdlen, cmd, info); in mb86290fb_imageblit()
/linux-2.6.39/drivers/misc/iwmc3200top/
Dlog.c286 u16 cmdlen = 0; in store_iwmct_log_level_fw() local
331 cmdlen = (i * sizeof(cmd.u.logdefs[0]) + sizeof(cmd.hdr)); in store_iwmct_log_level_fw()
333 ret = iwmct_send_hcmd(priv, (u8 *)&cmd, cmdlen); in store_iwmct_log_level_fw()
337 cmdlen, ret); in store_iwmct_log_level_fw()
340 LOG_INFO(priv, DEBUGFS, "fwcmd sent (%d bytes)\n", cmdlen); in store_iwmct_log_level_fw()
/linux-2.6.39/drivers/usb/storage/
Dshuttle_usbat.c540 int cmdlen; in usbat_hp8200e_rw_block_test() local
560 cmdlen = 16; in usbat_hp8200e_rw_block_test()
576 cmdlen = 8; in usbat_hp8200e_rw_block_test()
579 command[cmdlen-8] = (direction==DMA_TO_DEVICE ? 0x40 : 0xC0); in usbat_hp8200e_rw_block_test()
580 command[cmdlen-7] = access | in usbat_hp8200e_rw_block_test()
583 command[cmdlen-6] = data_reg; in usbat_hp8200e_rw_block_test()
584 command[cmdlen-5] = status_reg; in usbat_hp8200e_rw_block_test()
585 command[cmdlen-4] = timeout; in usbat_hp8200e_rw_block_test()
586 command[cmdlen-3] = qualifier; in usbat_hp8200e_rw_block_test()
587 command[cmdlen-2] = LSB_of(len); in usbat_hp8200e_rw_block_test()
[all …]
/linux-2.6.39/drivers/net/wireless/iwmc3200wifi/
Dtx.c367 int cmdlen, ret, pool_id; in iwm_tx_worker() local
411 cmdlen = IWM_UDMA_HDR_LEN + skb->len; in iwm_tx_worker()
417 if (txq->concat_count + cmdlen > IWM_HAL_CONCATENATE_BUF_SIZE) in iwm_tx_worker()
420 ret = iwm_tx_credit_alloc(iwm, pool_id, cmdlen); in iwm_tx_worker()
435 txq->concat_count += ALIGN(cmdlen, 16); in iwm_tx_worker()
/linux-2.6.39/block/
Dscsi_ioctl.c433 unsigned int in_len, out_len, bytes, opcode, cmdlen; in sg_scsi_ioctl() local
461 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()
467 rq->cmd_len = cmdlen; in sg_scsi_ioctl()
468 if (copy_from_user(rq->cmd, sic->data, cmdlen)) in sg_scsi_ioctl()
471 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) in sg_scsi_ioctl()
/linux-2.6.39/drivers/media/dvb/dvb-usb/
Dfriio.c211 static int cmdlen = sizeof(streaming_init_cmds) / 2; variable
344 for (i = 0; i < cmdlen; i++) { in friio_initialize()
/linux-2.6.39/drivers/net/usb/
Dsierra_net.c317 u8 *cmd, int cmdlen, const char * cmd_name) in sierra_net_send_cmd() argument
325 priv->ifnum, cmd, cmdlen, USB_CTRL_SET_TIMEOUT); in sierra_net_send_cmd()
327 if (status != cmdlen && status != -ENODEV) in sierra_net_send_cmd()
/linux-2.6.39/drivers/scsi/
Dscsi_transport_fc.c3743 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_host_dispatch() local
3749 cmdlen += sizeof(struct fc_bsg_host_add_rport); in fc_bsg_host_dispatch()
3753 cmdlen += sizeof(struct fc_bsg_host_del_rport); in fc_bsg_host_dispatch()
3757 cmdlen += sizeof(struct fc_bsg_host_els); in fc_bsg_host_dispatch()
3767 cmdlen += sizeof(struct fc_bsg_host_ct); in fc_bsg_host_dispatch()
3777 cmdlen += sizeof(struct fc_bsg_host_vendor); in fc_bsg_host_dispatch()
3792 if (job->request_len < cmdlen) { in fc_bsg_host_dispatch()
3842 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_rport_dispatch() local
3848 cmdlen += sizeof(struct fc_bsg_rport_els); in fc_bsg_rport_dispatch()
3852 cmdlen += sizeof(struct fc_bsg_rport_ct); in fc_bsg_rport_dispatch()
[all …]
/linux-2.6.39/drivers/mmc/host/
Dsdhci.c400 __le16 *cmdlen = (__le16 __force *)desc; in sdhci_set_adma_desc() local
405 cmdlen[0] = cpu_to_le16(cmd); in sdhci_set_adma_desc()
406 cmdlen[1] = cpu_to_le16(len); in sdhci_set_adma_desc()
/linux-2.6.39/drivers/s390/net/
Dqeth_core_main.c2547 __u32 command, __u32 cmdlen) in qeth_get_adapter_cmd() argument
2555 cmd->data.setadapterparms.hdr.cmdlength = cmdlen; in qeth_get_adapter_cmd()