Searched refs:tag (Results 51 - 75 of 272) sorted by relevance

1234567891011

/drivers/block/mtip32xx/
H A Dmtip32xx.c214 dev_warn(&port->dd->pdev->dev, "Failed to get a tag.\n");
227 * @tag Tag of command to release
232 static inline void release_slot(struct mtip_port *port, int tag) argument
235 clear_bit(tag, port->allocated);
290 * @tag The tag of the command to be issued.
295 static inline void mtip_issue_ncq_command(struct mtip_port *port, int tag) argument
299 atomic_set(&port->commands[tag].active, 1);
303 writel((1 << MTIP_TAG_BIT(tag)),
304 port->s_active[MTIP_TAG_INDEX(tag)]);
561 int tag, cmdto_cnt = 0; local
675 mtip_async_complete(struct mtip_port *port, int tag, void *data, int status) argument
729 mtip_completion(struct mtip_port *port, int tag, void *data, int status) argument
746 mtip_null_completion(struct mtip_port *port, int tag, void *data, int status) argument
768 int group, tag, bit, reissue, rv; local
957 int group, tag, bit; local
1122 mtip_issue_non_ncq_command(struct mtip_port *port, int tag) argument
2398 mtip_hw_submit_io(struct driver_data *dd, sector_t start, int nsect, int nents, int tag, void *callback, void *data, int dir) argument
2482 mtip_hw_release_scatterlist(struct driver_data *dd, int tag) argument
2498 mtip_hw_get_scatterlist(struct driver_data *dd, int *tag) argument
3485 int tag = 0; local
[all...]
/drivers/media/video/gspca/
H A Dkinect.c54 uint16_t tag; member in struct:cam_hdr
148 chdr->tag = cpu_to_le16(sd->cam_tag);
154 PDEBUG(D_USBO, "Control cmd=%04x tag=%04x len=%04x: %d", cmd,
181 if (rhdr->tag != chdr->tag) {
182 pr_err("send_cmd: Bad tag %04x != %04x\n",
183 rhdr->tag, chdr->tag);
/drivers/scsi/fnic/
H A Dfnic_res.h96 desc->hdr.tag.u.req_id = req_id; /* id for this request */
135 desc->hdr.tag.u.req_id = req_id; /* id for this request */
139 desc->u.itmf.t_tag = tm_id; /* tag of fcpio to be aborted */
159 desc->hdr.tag.u.req_id = req_id; /* id for this request */
179 desc->hdr.tag.u.req_id = req_id; /* id for this request */
201 desc->hdr.tag.u.req_id = req_id; /* id for this request */
215 desc->hdr.tag.u.req_id = req_id; /* id for this request */
/drivers/staging/android/
H A Dbinder_trace.h46 TP_PROTO(const char *tag),
47 TP_ARGS(tag),
49 __field(const char *, tag)
52 __entry->tag = tag;
54 TP_printk("tag=%s", __entry->tag)
/drivers/ata/
H A Dlibata-eh.c870 unsigned int tag; local
874 for (tag = 0; tag < ATA_MAX_QUEUE - 1; tag++)
875 if (ata_qc_from_tag(ap, tag))
896 unsigned int tag; local
898 /* No progress during the last interval, tag all
901 for (tag = 0; tag < ATA_MAX_QUEUE - 1; tag
1013 int tag, nr_aborted = 0; local
1505 ata_eh_read_log_10h(struct ata_device *dev, int *tag, struct ata_taskfile *tf) argument
1697 int tag, rc; local
2066 int tag; local
2343 int tag, nr_failed = 0; local
3864 int tag; local
[all...]
H A Dsata_nv.c233 u8 tag; /* 4 */ member in struct:nv_adma_cpb
264 unsigned int tag[ATA_MAX_QUEUE]; member in struct:defer_queue
1178 * one for each command tag
1360 &pp->aprd[NV_ADMA_SGTBL_LEN * qc->tag + (si-5)];
1364 cpb->next_aprd = cpu_to_le64(((u64)(pp->aprd_dma + NV_ADMA_SGTBL_SZ * qc->tag)));
1389 struct nv_adma_cpb *cpb = &pp->cpb[qc->tag];
1407 cpb->tag = qc->tag;
1459 /* write append register, command tag in lower 8 bits
1470 writew(qc->tag, mmi
1742 unsigned int tag; local
2185 u32 tag; local
2196 u32 tag; local
[all...]
/drivers/scsi/mvsas/
H A Dmv_sas.c28 static int mvs_find_tag(struct mvs_info *mvi, struct sas_task *task, u32 *tag) argument
33 *tag = slot->slot_tag;
39 void mvs_tag_clear(struct mvs_info *mvi, u32 tag) argument
42 clear_bit(tag, bitmap);
45 void mvs_tag_free(struct mvs_info *mvi, u32 tag) argument
47 mvs_tag_clear(mvi, tag);
50 void mvs_tag_set(struct mvs_info *mvi, unsigned int tag) argument
53 set_bit(tag, bitmap);
58 unsigned int index, tag; local
62 tag
324 u32 req_len, resp_len, tag = tei->tag; local
423 mvs_get_ncq_tag(struct sas_task *task, u32 *tag) argument
448 u32 tag = tei->tag, hdr_tag; local
581 u32 resp_len, req_len, i, tag = tei->tag; local
711 u32 tag = 0xdeadbeef, n_elem = 0; local
1533 u32 tag; local
1578 u32 tag; local
[all...]
/drivers/block/
H A Dsunvdc.c147 pkt.tag.type = VIO_TYPE_CTRL;
148 pkt.tag.stype = VIO_SUBTYPE_INFO;
149 pkt.tag.stype_env = VIO_ATTR_INFO;
150 pkt.tag.sid = vio_send_sid(vio);
169 pkt->tag.stype, pkt->operations,
174 if (pkt->tag.stype == VIO_SUBTYPE_ACK) {
289 struct vio_msg_tag tag; member in union:__anon337
302 msgbuf.tag.type,
303 msgbuf.tag.stype,
304 msgbuf.tag
[all...]
H A Dps3disk.c153 dev->bounce_lpar, &dev->tag);
157 dev->bounce_lpar, &dev->tag);
180 0, &dev->tag);
233 u64 tag, status; local
236 res = lv1_storage_get_async_status(dev->sbd.dev_id, &tag, &status);
238 if (tag != dev->tag)
240 "%s:%u: tag mismatch, got %llx, expected %llx\n",
241 __func__, __LINE__, tag, dev->tag);
[all...]
/drivers/block/aoe/
H A Daoecmd.c43 getframe(struct aoetgt *t, int tag) argument
50 if (f->tag == tag)
58 * This driver reserves tag -1 to mean "unused frame."
81 h->tag = cpu_to_be32(host_tag);
155 if (f->tag != FREETAG)
236 f->tag = aoehdr_atainit(d, t, h);
348 "retransmit", d->aoemajor, d->aoeminor, f->tag, jiffies, n,
352 f->tag = n;
353 h->tag
385 tsince(int tag) argument
[all...]
H A Daoe.h49 __be32 tag; member in struct:aoe_hdr
115 int tag; member in struct:frame
139 u16 lasttag; /* last tag sent */
/drivers/iommu/
H A Damd_iommu_proto.h56 int status, int tag);
/drivers/s390/char/
H A Dsclp_rw.h41 u32 tag; member in struct:mdb_header
/drivers/scsi/aic7xxx/
H A Daic7xxx_inline.h88 ahc_lookup_scb(struct ahc_softc *ahc, u_int tag);
H A Daic7770_osm.c55 ahc->tag = BUS_SPACE_PIO;
/drivers/scsi/be2iscsi/
H A Dbe_cmds.c114 unsigned int tag = 0; local
117 tag = phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index];
119 phba->ctrl.mcc_numtag[tag] = 0;
121 if (tag) {
128 return tag;
131 void free_mcc_tag(struct be_ctrl_info *ctrl, unsigned int tag) argument
134 tag = tag & 0x000000FF;
135 ctrl->mcc_tag[ctrl->mcc_free_index] = tag;
190 unsigned short tag; local
[all...]
H A Dbe_mgmt.h60 u8 tag[64]; /* DWORD 2 */ member in struct:amap_mcc_wrb
83 u32 tag[2]; /* DWORD 2 */ member in struct:mcc_wrb
/drivers/net/wireless/ath/ath6kl/
H A Dhtc.h258 u16 tag; member in struct:htc_tx_packet_info
575 enum htc_endpoint_id endpoint, u16 tag);
592 enum htc_endpoint_id eid, u16 tag)
598 packet->info.tx.tag = tag;
590 set_htc_pkt_info(struct htc_packet *packet, void *context, u8 *buf, unsigned int len, enum htc_endpoint_id eid, u16 tag) argument
/drivers/scsi/
H A Dmvumi.c72 unsigned short tag)
75 st->stack[st->top++] = tag;
459 unsigned short tag, request_id; local
464 tag = p_outb_frame->tag;
465 if (tag > mhba->tag_pool.size) {
469 if (mhba->tag_cmd[tag] == NULL) {
470 dev_err(&mhba->pdev->dev, "tag[0x%x] with NO command\n", tag);
472 } else if (mhba->tag_cmd[tag]
71 tag_release_one(struct mvumi_hba *mhba, struct mvumi_tag *st, unsigned short tag) argument
[all...]
H A Datari_NCR5380.c315 * tag, but that doesn't hurt. Only the sequence in cmd_free_tag() becomes
316 * important: the tag bit must be cleared before 'nr_allocated' is decreased.
319 /* -1 for TAG_NONE is not possible with unsigned char cmd->tag */
357 * check that there is a free tag and the target's queue won't overflow. This
381 /* Allocate a tag for a command (there are no checks anymore, check_lun_busy()
395 cmd->tag = TAG_NONE;
402 cmd->tag = find_first_zero_bit(ta->allocated, MAX_TAGS);
403 set_bit(cmd->tag, ta->allocated);
405 TAG_PRINTK("scsi%d: using tag %d for target %d lun %d "
407 H_NO(cmd), cmd->tag, cm
1414 NCR5380_select(struct Scsi_Host *instance, Scsi_Cmnd *cmd, int tag) argument
2504 unsigned char tag; local
[all...]
H A Dsun3_NCR5380.c304 * tag, but that doesn't hurt. Only the sequence in cmd_free_tag() becomes
305 * important: the tag bit must be cleared before 'nr_allocated' is decreased.
308 /* -1 for TAG_NONE is not possible with unsigned char cmd->tag */
351 * check that there is a free tag and the target's queue won't overflow. This
375 /* Allocate a tag for a command (there are no checks anymore, check_lun_busy()
389 cmd->tag = TAG_NONE;
397 cmd->tag = find_first_zero_bit( &ta->allocated, MAX_TAGS );
398 set_bit( cmd->tag, &ta->allocated );
400 TAG_PRINTK( "scsi%d: using tag %d for target %d lun %d "
402 H_NO(cmd), cmd->tag, cm
1357 NCR5380_select(struct Scsi_Host *instance, struct scsi_cmnd *cmd, int tag) argument
2472 unsigned char tag; local
[all...]
/drivers/scsi/isci/
H A Dtask.c160 u16 tag; local
170 tag = isci_alloc_tag(ihost);
181 } else if (!io_ready || tag == SCI_CONTROLLER_INVALID_IO_TAG) {
204 status = isci_request_execute(ihost, idev, task, tag);
237 if (status != SCI_SUCCESS && tag != SCI_CONTROLLER_INVALID_IO_TAG) {
242 isci_tci_free(ihost, ISCI_TAG_TCI(tag));
252 u16 tag, struct isci_tmf *isci_tmf)
264 ireq = isci_tmf_request_from_tag(ihost, isci_tmf, tag);
269 status = sci_task_request_construct(ihost, idev, tag,
321 dev_dbg(&ihost->pdev->dev, "%s: tmf_code %d, managed tag
250 isci_task_request_build(struct isci_host *ihost, struct isci_remote_device *idev, u16 tag, struct isci_tmf *isci_tmf) argument
356 u16 tag; local
[all...]
/drivers/usb/storage/
H A Duas.c34 __be16 tag; member in struct:sense_iu_old
188 u16 tag; local
198 tag = be16_to_cpup(&iu->tag) - 1;
199 if (tag == 0)
202 cmnd = scsi_host_find_tag(shost, tag - 1);
373 iu->tag = cpu_to_be16(cmnd->request->tag + 2);
375 iu->tag = cpu_to_be16(1);
489 cmdinfo->stream = cmnd->request->tag
[all...]
/drivers/scsi/arm/
H A Dacornscsi.c194 static void acornscsi_abortcmd(AS_Host *host, unsigned char tag);
765 * tagged queueing - allocate a new tag to this command
771 SCpnt->tag = SCpnt->device->current_tag;
1209 acornscsi_abortcmd(host, host->SCpnt->tag);
1498 host->scsi.reconnected.tag = message[1];
1583 * If a target does not implement tagged queuing and a queue tag
1614 /* tag queue reconnect... message[1] = queue tag. Print something to indicate something happened! */
1615 printk("scsi%d.%c: reconnect queue tag %02X\n",
1679 printk("scsi%d.%c: lun %d tag
1948 acornscsi_abortcmd(AS_Host *host, unsigned char tag) argument
[all...]
/drivers/net/bonding/
H A Dbond_alb.h109 u8 tag; /* flag - need to tag skb */ member in struct:rlb_client_info
110 unsigned short vlan_id; /* VLAN tag associated with IP address */

Completed in 524 milliseconds

1234567891011