/drivers/media/video/pwc/ |
H A D | pwc-dec1.c | 27 void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd) argument
|
/drivers/scsi/ |
H A D | scsi_lib_dma.c | 17 * @cmd: scsi command 22 int scsi_dma_map(struct scsi_cmnd *cmd) argument 26 if (scsi_sg_count(cmd)) { 27 struct device *dev = cmd->device->host->dma_dev; 29 nseg = dma_map_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), 30 cmd->sc_data_direction); 40 * @cmd: scsi command 42 void scsi_dma_unmap(struct scsi_cmnd *cmd) argument 44 if (scsi_sg_count(cmd)) { [all...] |
/drivers/target/iscsi/ |
H A D | iscsi_target_device.c | 56 void iscsit_increment_maxcmdsn(struct iscsi_cmd *cmd, struct iscsi_session *sess) argument 58 if (cmd->immediate_cmd || cmd->maxcmdsn_inc) 61 cmd->maxcmdsn_inc = 1;
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_ioc32.c | 46 * \param cmd command. 50 long nouveau_compat_ioctl(struct file *filp, unsigned int cmd, argument 53 unsigned int nr = DRM_IOCTL_NR(cmd); 58 return drm_compat_ioctl(filp, cmd, arg); 65 ret = (*fn)(filp, cmd, arg); 67 ret = drm_ioctl(filp, cmd, arg);
|
/drivers/isdn/sc/ |
H A D | event.c | 43 isdn_ctrl cmd; local 54 memcpy(&cmd.parm.length, Data, sizeof(cmd.parm.length)); 57 memcpy(&cmd.parm.setup, Data, sizeof(cmd.parm.setup)); 60 strcpy(cmd.parm.num, Data); 64 cmd.command = event; 65 cmd.driver = sc_adapter[card]->driverId; 66 cmd.arg = Channel; 67 return sc_adapter[card]->card->statcallb(&cmd); [all...] |
/drivers/staging/comedi/drivers/ |
H A D | pcm_common.c | 9 struct comedi_subdevice *s, struct comedi_cmd *cmd) 16 tmp = cmd->start_src; 17 cmd->start_src &= (TRIG_NOW | TRIG_INT); 18 if (!cmd->start_src || tmp != cmd->start_src) 21 tmp = cmd->scan_begin_src; 22 cmd->scan_begin_src &= TRIG_EXT; 23 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) 26 tmp = cmd 8 comedi_pcm_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) argument [all...] |
/drivers/ide/ |
H A D | ide-disk_ioctl.c | 19 unsigned int cmd, unsigned long arg) 24 err = ide_setting_ioctl(drive, bdev, cmd, arg, ide_disk_ioctl_settings); 28 err = generic_ide_ioctl(drive, bdev, cmd, arg); 18 ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) argument
|
/drivers/char/ |
H A D | uv_mmtimer.c | 41 static long uv_mmtimer_ioctl(struct file *file, unsigned int cmd, 60 * @cmd: command to execute 63 * Executes the command specified by @cmd. Returns 0 for success, < 0 for 84 static long uv_mmtimer_ioctl(struct file *file, unsigned int cmd, argument 89 switch (cmd) {
|
/drivers/media/video/cx231xx/ |
H A D | cx231xx-input.c | 31 u8 cmd, scancode; local 36 rc = i2c_master_recv(ir->c, &cmd, 1); 46 if (cmd == 0xff) 50 ((cmd & 0x01) ? 0x80 : 0) | 51 ((cmd & 0x02) ? 0x40 : 0) | 52 ((cmd & 0x04) ? 0x20 : 0) | 53 ((cmd & 0x08) ? 0x10 : 0) | 54 ((cmd & 0x10) ? 0x08 : 0) | 55 ((cmd & 0x20) ? 0x04 : 0) | 56 ((cmd [all...] |
/drivers/media/video/s5p-mfc/ |
H A D | s5p_mfc_cmd.c | 19 static int s5p_mfc_cmd_host2risc(struct s5p_mfc_dev *dev, int cmd, argument 39 mfc_write(dev, cmd, S5P_FIMV_HOST2RISC_CMD);
|
/drivers/media/video/tm6000/ |
H A D | tm6000-usb-isoc.h | 38 u8 cmd; member in struct:usb_isoc_ctl
|
/drivers/misc/ibmasm/ |
H A D | r_heartbeat.c | 63 struct command *cmd; local 67 cmd = ibmasm_new_command(sp, sizeof rhb_dot_cmd); 68 if (!cmd) 72 memcpy(cmd->buffer, (void *)&rhb_dot_cmd, sizeof rhb_dot_cmd); 73 cmd->status = IBMASM_CMD_PENDING; 74 ibmasm_exec_command(sp, cmd); 75 ibmasm_wait_for_response(cmd, IBMASM_CMD_TIMEOUT_NORMAL); 77 if (cmd->status != IBMASM_CMD_COMPLETE) 89 command_put(cmd);
|
/drivers/misc/ti-st/ |
H A D | st_ll.c | 31 unsigned char cmd) 34 pr_debug("%s: writing %x", __func__, cmd); 35 st_int_write(st_data, &cmd, 1); 132 unsigned char cmd) 134 switch (cmd) { 30 send_ll_cmd(struct st_data_s *st_data, unsigned char cmd) argument 131 st_ll_sleep_state(struct st_data_s *st_data, unsigned char cmd) argument
|
/drivers/mtd/nand/ |
H A D | h1910.c | 59 static void h1910_hwcontrol(struct mtd_info *mtd, int cmd, argument 64 if (cmd != NAND_CMD_NONE) 65 writeb(cmd, chip->IO_ADDR_W | ((ctrl & 0x6) << 1));
|
/drivers/net/wan/lmc/ |
H A D | lmc_proto.c | 65 int lmc_proto_ioctl(lmc_softc_t *sc, struct ifreq *ifr, int cmd) argument 69 return hdlc_ioctl(sc->lmc_device, ifr, cmd);
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-notif-wait.c | 83 if (w->cmd != pkt->hdr.cmd) 112 u8 cmd, 119 wait_entry->cmd = cmd; 110 iwl_init_notification_wait(struct iwl_notif_wait_data *notif_wait, struct iwl_notification_wait *wait_entry, u8 cmd, void (*fn)(struct iwl_notif_wait_data *notif_wait, struct iwl_rx_packet *pkt, void *data), void *fn_data) argument
|
H A D | iwl-notif-wait.h | 79 * @cmd: command ID 100 u8 cmd; member in struct:iwl_notification_wait 115 u8 cmd,
|
/drivers/net/wireless/libertas/ |
H A D | cmdresp.c | 14 #include "cmd.h" 127 "CMD_RESP: PS_MODE cmd reply result 0x%x, action 0x%x\n", 221 struct cmd_header cmd; local 265 lbs_cmd_async(priv, CMD_802_11_WAKEUP_CONFIRM, &cmd, 266 sizeof(cmd));
|
H A D | ethtool.c | 7 #include "cmd.h" 41 struct cmd_ds_802_11_eeprom_access cmd; local 52 cmd.hdr.size = cpu_to_le16(sizeof(struct cmd_ds_802_11_eeprom_access) - 54 cmd.action = cpu_to_le16(CMD_ACT_GET); 55 cmd.offset = cpu_to_le16(eeprom->offset); 56 cmd.len = cpu_to_le16(eeprom->len); 57 ret = lbs_cmd_with_response(priv, CMD_802_11_EEPROM_ACCESS, &cmd); 59 memcpy(bytes, cmd.value, eeprom->len);
|
/drivers/net/wireless/mwifiex/ |
H A D | util.c | 64 u16 cmd; local 67 cmd = HostCmd_CMD_FUNC_INIT; 69 cmd = HostCmd_CMD_FUNC_SHUTDOWN; 75 return mwifiex_send_cmd_sync(priv, cmd, HostCmd_ACT_GEN_SET, 0, NULL); 193 dev_dbg(adapter->dev, "cmd completed: status=%d\n", 199 dev_err(adapter->dev, "cmd timeout\n");
|
/drivers/platform/x86/ |
H A D | xo1-rfkill.c | 20 unsigned char cmd; local 22 cmd = EC_WLAN_ENTER_RESET; 24 cmd = EC_WLAN_LEAVE_RESET; 26 return olpc_ec_cmd(cmd, NULL, 0, NULL, 0);
|
/drivers/staging/iio/adc/ |
H A D | ad799x_ring.c | 79 u8 cmd; local 89 cmd = st->config | 95 cmd = (*indio_dev->active_scan_mask << AD799X_CHANNEL_SHIFT) | 100 cmd = AD7997_8_READ_SEQUENCE | AD7998_CONV_RES_REG; 103 cmd = 0; 107 cmd, bitmap_weight(indio_dev->active_scan_mask,
|
/drivers/staging/media/go7007/ |
H A D | wis-uda1342.c | 35 unsigned int cmd, void *arg) 37 switch (cmd) { 34 wis_uda1342_command(struct i2c_client *client, unsigned int cmd, void *arg) argument
|
/drivers/staging/octeon/ |
H A D | ethernet-mdio.c | 53 static int cvm_oct_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) argument 58 return phy_ethtool_gset(priv->phydev, cmd); 63 static int cvm_oct_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) argument 71 return phy_ethtool_sset(priv->phydev, cmd); 101 * @cmd: the command 105 int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) argument 115 return phy_mii_ioctl(priv->phydev, rq, cmd);
|
/drivers/usb/host/whci/ |
H A D | hw.c | 29 u32 cmd; local 33 cmd = le_readl(whc->base + WUSBCMD); 34 cmd = (cmd & ~mask) | val; 35 le_writel(cmd, whc->base + WUSBCMD); 43 * @cmd: command to start. 48 int whc_do_gencmd(struct whc *whc, u32 cmd, u32 params, void *addr, size_t len) argument 75 /* Poke registers to start cmd. */ 81 le_writel(WUSBGENCMDSTS_ACTIVE | WUSBGENCMDSTS_IOC | cmd,
|