[go: nahoru, domu]

Searched refs:cmds (Results 1 - 25 of 34) sorted by relevance

12

/drivers/media/pci/saa7164/
H A Dsaa7164-cmd.c32 if (dev->cmds[i].inuse == 0) {
33 dev->cmds[i].inuse = 1;
34 dev->cmds[i].signalled = 0;
35 dev->cmds[i].timeout = 0;
36 ret = dev->cmds[i].seqno;
48 if ((dev->cmds[seqno].inuse == 1) &&
49 (dev->cmds[seqno].seqno == seqno)) {
50 dev->cmds[seqno].inuse = 0;
51 dev->cmds[seqno].signalled = 0;
52 dev->cmds[seqn
195 u32 cmds; local
[all...]
H A Dsaa7164-core.c1247 dev->cmds[i].seqno = i;
1248 dev->cmds[i].inuse = 0;
1249 mutex_init(&dev->cmds[i].lock);
1250 init_waitqueue_head(&dev->cmds[i].wait);
H A Dsaa7164.h463 struct cmd cmds[SAA_CMD_MAX_MSG_UNITS]; member in struct:saa7164_dev
/drivers/net/wireless/iwlwifi/
H A Diwl-notif-wait.h84 * @cmds: command IDs
108 u8 cmds[MAX_NOTIF_CMDS]; member in struct:iwl_notification_wait
124 const u8 *cmds, int n_cmds,
H A Diwl-notif-wait.c101 if (w->cmds[i] == pkt->hdr.cmd) {
139 const u8 *cmds, int n_cmds,
150 memcpy(wait_entry->cmds, cmds, n_cmds);
137 iwl_init_notification_wait(struct iwl_notif_wait_data *notif_wait, struct iwl_notification_wait *wait_entry, const u8 *cmds, int n_cmds, bool (*fn)(struct iwl_notif_wait_data *notif_wait, struct iwl_rx_packet *pkt, void *data), void *fn_data) argument
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c113 } *cmds; local
125 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items;
127 cmds = vmw_fifo_reserve(dev_priv, fifo_size);
129 if (!cmds)
132 items = (typeof(items))&cmds[1];
136 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1));
138 cmds->header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS;
139 cmds->header.streamId = arg->stream_id;
193 } *cmds; local
197 cmds
[all...]
/drivers/crypto/ccp/
H A Dccp-crypto-main.c47 struct list_head cmds; member in struct:ccp_crypto_queue
99 /* Held cmds will be after the current cmd in the queue so start
103 list_for_each_entry_continue(tmp, &req_queue.cmds, entry) {
111 * Because cmds can be executed from any point in the cmd list
114 if (req_queue.backlog != &req_queue.cmds) {
128 /* Remove the cmd entry from the list of cmds */
224 list_for_each_entry(tmp, &req_queue.cmds, entry) {
243 if (req_queue.backlog == &req_queue.cmds)
249 list_add_tail(&crypto_cmd->entry, &req_queue.cmds);
375 INIT_LIST_HEAD(&req_queue.cmds);
[all...]
/drivers/block/
H A Dnull_blk.c27 struct nullb_cmd *cmds; member in struct:nullb_queue
145 cmd = &nq->cmds[tag];
391 nq->cmds = kzalloc(nq->queue_depth * sizeof(*cmd), GFP_KERNEL);
392 if (!nq->cmds)
398 kfree(nq->cmds);
403 cmd = &nq->cmds[i];
415 kfree(nq->cmds);
/drivers/mmc/host/
H A Dmsm_sdcc.h203 unsigned int cmds; member in struct:msmsdcc_stats
/drivers/atm/
H A Dambassador.c300 static unsigned int cmds = 8; variable
1510 static int create_queues(amb_dev *dev, unsigned int cmds, unsigned int txs, argument
1520 total += cmds * sizeof(command);
1549 cq->maximum = cmds - 1;
1554 cq->ptrs.limit = cmd + cmds;
2115 } else if (create_queues (dev, cmds, txs, rxs, rxs_bs)) {
2326 if (cmds < MIN_QUEUE_SIZE)
2327 PRINTK (KERN_NOTICE, "cmds has been raised to %u",
2328 cmds = MIN_QUEUE_SIZE);
2362 module_param(cmds, uin
[all...]
/drivers/net/ethernet/tile/
H A Dtilepro.c1800 memcpy(&eq->cmds[cmd_tail], cmd, cmd_size);
1876 lepp_cmd_t cmds[1 + MAX_SKB_FRAGS]; local
1940 cmds[i] = cmd;
1983 *(lepp_cmd_t *)&eq->cmds[cmd_tail] = cmds[i];
/drivers/scsi/
H A Dlibiscsi_tcp.c1127 struct iscsi_task *task = session->cmds[cmd_i];
1157 struct iscsi_task *task = session->cmds[i];
1172 struct iscsi_task *task = session->cmds[i];
H A Dlibiscsi.c1139 return session->cmds[i];
1331 "received invalid itt index %u (max cmds "
1878 task = conn->session->cmds[i];
2022 running_task = conn->session->cmds[i];
2028 * Only check if cmds started before this one have made
2042 * If the device is bad the cmds ahead of us on
2813 (void***)&session->cmds,
2817 /* pre-format cmds pool with ITT */
2819 struct iscsi_task *task = session->cmds[cmd_i];
3096 task = conn->session->cmds[
[all...]
/drivers/media/usb/gspca/
H A Dsq930x.c750 struct ucbus_write_cmd cmds[2] = { local
755 ucbus_write(&sd->gspca_dev, cmds, ARRAY_SIZE(cmds), 2);
/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c361 to_user_ptr(args->cmds + (i * sizeof(submit_cmd)));
/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c292 cmgr->cmds = (struct bnx2fc_cmd **)(cmgr + 1);
460 BNX2FC_TGT_DBG(tgt, "No free els_tm cmds available "
474 cmd_mgr->cmds[xid] = io_req;
529 cmd_mgr->cmds[xid] = io_req;
567 cmd_mgr->cmds[io_req->xid] = NULL;
H A Dbnx2fc.h283 struct bnx2fc_cmd **cmds; member in struct:bnx2fc_cmd_mgr
H A Dbnx2fc_hwi.c717 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid];
844 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid];
902 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid];
/drivers/input/keyboard/
H A Dlm8323.c441 int len, const u16 *cmds)
446 lm8323_write_pwm_one(pwm, i, cmds[i]);
440 lm8323_write_pwm(struct lm8323_pwm *pwm, int kill, int len, const u16 *cmds) argument
/drivers/video/fbdev/
H A Dpxafb.c1201 int pxafb_smart_queue(struct fb_info *info, uint16_t *cmds, int n_cmds) argument
1206 for (i = 0; i < n_cmds; i++, cmds++) {
1208 if ((*cmds & 0xff00) == SMART_CMD_DELAY) {
1210 mdelay(*cmds & 0xff);
1218 fbi->smart_cmds[fbi->n_smart_cmds++] = *cmds;
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c281 enum bnx2x_queue_cmd cmds[] = {BNX2X_Q_CMD_HALT, local
301 for (i = 0; i < ARRAY_SIZE(cmds); i++) {
302 q_params.cmd = cmds[i];
305 BNX2X_ERR("Failed to run Queue command %d\n", cmds[i]);
/drivers/scsi/qla2xxx/
H A Dqla_target.c1552 (ha->tgt.cmds[h-1] != NULL));
1587 ha->tgt.cmds[h-1] = prm->cmd;
2184 ha->tgt.cmds[h-1] = prm->cmd;
2937 if (ha->tgt.cmds[handle] != NULL) {
2938 struct qla_tgt_cmd *cmd = ha->tgt.cmds[handle];
2939 ha->tgt.cmds[handle] = NULL;
3052 /* ha->tgt.cmds entry is cleared by qlt_get_cmd. */
5215 /* free left over qfull cmds */
/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c474 struct iscsi_task *task = session->cmds[i];
499 struct iscsi_task *task = session->cmds[i];
/drivers/mmc/core/
H A Dsd.c218 scr->cmds = UNSTUFF_BITS(resp, 32, 2);
/drivers/ata/
H A Dlibata-eh.c147 #define CMDS(cmds...) (const u8 []){ cmds, 0 }

Completed in 533 milliseconds

12