Searched defs:cmd (Results 1 - 25 of 2055) sorted by relevance

1234567891011>>

/drivers/media/usb/pwc/
H A Dpwc-dec1.c27 void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd) argument
/drivers/staging/dgnc/
H A Ddgnc_utils.c23 char *dgnc_ioctl_name(int cmd) argument
25 switch (cmd) {
/drivers/scsi/
H A Dscsi_lib_dma.c17 * @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 Discsi_target_device.c54 void iscsit_increment_maxcmdsn(struct iscsi_cmd *cmd, struct iscsi_session *sess) argument
56 if (cmd->immediate_cmd || cmd->maxcmdsn_inc)
59 cmd->maxcmdsn_inc = 1;
/drivers/gpu/drm/nouveau/
H A Dnouveau_ioc32.c45 * \param cmd command.
49 long nouveau_compat_ioctl(struct file *filp, unsigned int cmd, argument
52 unsigned int nr = DRM_IOCTL_NR(cmd);
57 return drm_compat_ioctl(filp, cmd, arg);
64 ret = (*fn)(filp, cmd, arg);
66 ret = nouveau_drm_ioctl(filp, cmd, arg);
/drivers/isdn/sc/
H A Devent.c43 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 strlcpy(cmd.parm.num, Data, sizeof(cmd.parm.num));
64 cmd.command = event;
65 cmd.driver = sc_adapter[card]->driverId;
66 cmd
[all...]
/drivers/xen/
H A Dfallback.c8 int xen_event_channel_op_compat(int cmd, void *arg) argument
13 op.cmd = cmd;
17 switch (cmd) {
47 int xen_physdev_op_compat(int cmd, void *arg) argument
52 op.cmd = cmd;
56 switch (cmd) {
/drivers/ide/
H A Dide-disk_ioctl.c19 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/net/ethernet/cisco/enic/
H A Denic_api.c30 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait)
40 err = vnic_dev_cmd(vdev, cmd, a0, a1, wait);
29 enic_api_devcmd_proxy_by_index(struct net_device *netdev, int vf, enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) argument
/drivers/power/reset/
H A Dhisi-reboot.c27 static void hisi_restart(enum reboot_mode mode, const char *cmd) argument
H A Dbrcmstb-reboot.c38 static void brcmstb_reboot(enum reboot_mode mode, const char *cmd) argument
/drivers/char/
H A Duv_mmtimer.c41 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/crypto/qat/qat_dh895xcc/
H A Dqat_admin.c54 static int qat_send_admin_cmd(struct adf_accel_dev *accel_dev, int cmd) argument
62 req.init_admin_cmd_id = cmd;
/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_cmd_v5.c20 static int s5p_mfc_cmd_host2risc_v5(struct s5p_mfc_dev *dev, int cmd, argument
40 mfc_write(dev, cmd, S5P_FIMV_HOST2RISC_CMD);
154 /* Initialize cmd function pointers for MFC v5 */
H A Ds5p_mfc_cmd_v6.c21 static int s5p_mfc_cmd_host2risc_v6(struct s5p_mfc_dev *dev, int cmd, argument
24 mfc_debug(2, "Issue the command: %d\n", cmd);
30 mfc_write(dev, cmd, S5P_FIMV_HOST2RISC_CMD_V6);
147 /* Initialize cmd function pointers for MFC v6 */
/drivers/media/usb/cx231xx/
H A Dcx231xx-input.c32 u8 cmd, scancode; local
37 rc = i2c_master_recv(ir->c, &cmd, 1);
47 if (cmd == 0xff)
50 scancode = bitrev8(cmd);
52 dev_dbg(&ir->rc->input_dev->dev, "cmd %02x, scan = %02x\n",
53 cmd, scancode);
93 /* The i2c micro-controller only outputs the cmd part of NEC protocol */
/drivers/media/usb/tm6000/
H A Dtm6000-usb-isoc.h38 u8 cmd; member in struct:usb_isoc_ctl
/drivers/misc/ibmasm/
H A Dr_heartbeat.c63 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 Dst_ll.c31 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/net/ethernet/qualcomm/
H A Dqca_7k.c128 qcaspi_tx_cmd(struct qcaspi *qca, u16 cmd) argument
135 tx_data = cpu_to_be16(cmd);
/drivers/net/wan/lmc/
H A Dlmc_proto.c65 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/libertas/
H A Dcmdresp.c14 #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 Dethtool.c7 #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/ti/wl18xx/
H A Dcmd.c22 #include "../wlcore/cmd.h"
26 #include "cmd.h"
32 struct wl18xx_cmd_channel_switch *cmd; local
36 wl1271_debug(DEBUG_ACX, "cmd channel switch");
38 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL);
39 if (!cmd) {
44 cmd->role_id = wlvif->role_id;
45 cmd->channel = ch_switch->chandef.chan->hw_value;
46 cmd
84 struct wl18xx_cmd_smart_config_start *cmd; local
112 struct wl1271_cmd_header *cmd; local
138 struct wl18xx_cmd_smart_config_set_group_key *cmd; local
[all...]
/drivers/platform/x86/
H A Dxo1-rfkill.c21 unsigned char cmd; local
28 cmd = EC_WLAN_ENTER_RESET;
30 cmd = EC_WLAN_LEAVE_RESET;
32 r = olpc_ec_cmd(cmd, NULL, 0, NULL, 0);

Completed in 882 milliseconds

1234567891011>>