Searched refs:tag (Results 1 - 25 of 272) sorted by relevance

1234567891011

/drivers/gpu/drm/nouveau/
H A Dnouveau_gpio.h41 int nouveau_gpio_find(struct drm_device *, int idx, u8 tag, u8 line,
43 int nouveau_gpio_set(struct drm_device *, int idx, u8 tag, u8 line, int state);
44 int nouveau_gpio_get(struct drm_device *, int idx, u8 tag, u8 line);
45 int nouveau_gpio_irq(struct drm_device *, int idx, u8 tag, u8 line, bool on);
47 int nouveau_gpio_isr_add(struct drm_device *, int idx, u8 tag, u8 line,
49 void nouveau_gpio_isr_del(struct drm_device *, int idx, u8 tag, u8 line,
53 nouveau_gpio_func_valid(struct drm_device *dev, u8 tag) argument
56 return (nouveau_gpio_find(dev, 0, tag, 0xff, &func)) == 0;
60 nouveau_gpio_func_set(struct drm_device *dev, u8 tag, int state) argument
62 return nouveau_gpio_set(dev, 0, tag,
66 nouveau_gpio_func_get(struct drm_device *dev, u8 tag) argument
[all...]
H A Dnv50_vram.c71 if (mem->tag) {
72 drm_mm_put_block(mem->tag);
73 mem->tag = NULL;
108 mem->tag = drm_mm_search_free(&pfb->tag_heap, n, 0, 0);
109 if (mem->tag)
110 mem->tag = drm_mm_get_block(mem->tag, n, 0);
113 if (unlikely(!mem->tag))
/drivers/scsi/
H A Dscsi_tgt_priv.h19 struct scsi_lun *lun, u64 tag);
21 u64 tag);
22 extern int scsi_tgt_kspace_exec(int host_no, u64 it_nexus_id, int result, u64 tag,
26 int function, u64 tag,
H A Dsd_dif.c53 * Type 1 and Type 2 protection use the same format: 16 bit guard tag,
54 * 16 bit app tag, 32 bit reference tag.
96 /* Bad ref tag received from disk */
99 "%s: bad phys ref tag on sector %lu\n",
106 "%s: ref tag error on sector %lu (rcvd %u)\n",
115 printk(KERN_ERR "%s: guard tag error on sector %lu " \
145 u8 *tag = tag_buf; local
149 sdt->app_tag = tag[j] << 8 | tag[
157 u8 *tag = tag_buf; local
259 u8 *tag = tag_buf; local
272 u8 *tag = tag_buf; local
[all...]
H A Dscsi_tgt_if.c108 struct scsi_lun *lun, u64 tag)
120 ev.p.cmd_req.attribute = cmd->tag;
121 ev.p.cmd_req.tag = tag;
124 ev.p.cmd_req.data_len, cmd->tag,
125 (unsigned long long) ev.p.cmd_req.tag);
134 int scsi_tgt_uspace_send_status(struct scsi_cmnd *cmd, u64 itn_id, u64 tag) argument
143 ev.p.cmd_done.tag = tag;
147 (unsigned long long) ev.p.cmd_req.tag,
107 scsi_tgt_uspace_send_cmd(struct scsi_cmnd *cmd, u64 itn_id, struct scsi_lun *lun, u64 tag) argument
157 scsi_tgt_uspace_send_tsk_mgmt(int host_no, u64 itn_id, int function, u64 tag, struct scsi_lun *scsilun, void *data) argument
[all...]
H A Dscsi_tgt_lib.c52 u64 tag; member in struct:scsi_tgt_cmd
56 #define cmd_hashfn(tag) hash_long((unsigned long) (tag), TGT_HASH_ORDER)
193 u64 itn_id, u64 tag)
200 tcmd->tag = tag;
204 head = &qdata->cmd_hash[cmd_hashfn(tag)];
306 * @tag: unique value to identify this command for tmf
309 struct scsi_lun *scsilun, u64 tag)
314 init_scsi_tgt_cmd(cmd->request, tcmd, itn_id, tag);
192 init_scsi_tgt_cmd(struct request *rq, struct scsi_tgt_cmd *tcmd, u64 itn_id, u64 tag) argument
308 scsi_tgt_queue_command(struct scsi_cmnd *cmd, u64 itn_id, struct scsi_lun *scsilun, u64 tag) argument
426 tgt_cmd_hash_lookup(struct request_queue *q, u64 tag) argument
448 scsi_tgt_kspace_exec(int host_no, u64 itn_id, int result, u64 tag, unsigned long uaddr, u32 len, unsigned long sense_uaddr, u32 sense_len, u8 rw) argument
530 scsi_tgt_tsk_mgmt_request(struct Scsi_Host *shost, u64 itn_id, int function, u64 tag, struct scsi_lun *scsilun, void *data) argument
[all...]
/drivers/pci/
H A Dvpd.c19 /* Don't return success of the tag isn't complete */
29 u8 tag = val & ~PCI_VPD_SRDT_LEN_MASK; local
31 if (tag == rdt)
34 if (tag == PCI_VPD_SRDT_END)
/drivers/scsi/be2iscsi/
H A Dbe_mgmt.c29 unsigned int tag = 0; local
33 tag = alloc_mcc_tag(phba);
34 if (!tag) {
36 return tag;
41 wrb->tag0 |= tag;
49 return tag;
58 unsigned int tag = 0; local
65 tag = alloc_mcc_tag(phba);
66 if (!tag) {
68 return tag;
226 unsigned int i, tag = 0; local
271 unsigned int tag = 0; local
305 unsigned int tag = 0; local
344 unsigned int tag = 0; local
427 unsigned int tag = 0; local
[all...]
H A Dbe_iscsi.c314 unsigned int tag, wrb_num; local
323 tag = be_cmd_get_mac_addr(phba);
324 if (!tag) {
328 wait_event_interruptible(phba->ctrl.mcc_wait[tag],
329 phba->ctrl.mcc_numtag[tag]);
331 wrb_num = (phba->ctrl.mcc_numtag[tag] & 0x00FF0000) >> 16;
332 extd_status = (phba->ctrl.mcc_numtag[tag] & 0x0000FF00) >> 8;
333 status = phba->ctrl.mcc_numtag[tag] & 0x000000FF;
338 free_mcc_tag(&phba->ctrl, tag);
342 free_mcc_tag(&phba->ctrl, tag);
499 unsigned int tag, wrb_num; local
654 unsigned int tag; local
698 unsigned int tag; local
[all...]
/drivers/net/wireless/bcmdhd/
H A Ddhd.h739 #define DHD_PKTTAG_SET_H2DTAG(tag, h2dvalue) ((dhd_pkttag_t*)(tag))->htod_tag = (h2dvalue)
740 #define DHD_PKTTAG_H2DTAG(tag) (((dhd_pkttag_t*)(tag))->htod_tag)
762 #define DHD_PKTTAG_SETFIFO(tag, fifo) ((dhd_pkttag_t*)(tag))->if_flags = \
763 (((dhd_pkttag_t*)(tag))->if_flags & ~(DHD_PKTTAG_FIFO_MASK << DHD_PKTTAG_FIFO_SHIFT)) | \
765 #define DHD_PKTTAG_FIFO(tag) ((((dhd_pkttag_t*)(tag))->if_flags >> \
768 #define DHD_PKTTAG_SETIF(tag, i
[all...]
/drivers/staging/rtl8192e/
H A Drtl819x_BAProc.c81 u8 *tag = NULL; local
111 tag = (u8 *)skb_put(skb, 9);
112 *tag ++= ACT_CAT_BA;
113 *tag ++= type;
114 *tag ++= pBA->DialogToken;
119 memcpy(tag, (u8 *)&tmp, 2);
120 tag += 2;
123 memcpy(tag, (u8 *)&tmp, 2);
124 tag += 2;
126 memcpy(tag, (u
145 u8 *tag = NULL; local
242 u8 *dst = NULL, *pDialogToken = NULL, *tag = NULL; local
329 u8 *dst = NULL, *pDialogToken = NULL, *tag = NULL; local
[all...]
H A Drtllib_softmac.c35 * tag and the EXTENDED RATE MFIE tag if needed.
36 * It encludes two bytes per tag for the tag itself and its len
52 /* pleace the MFIE rate, tag to the memory (double) poined.
54 * it points after the new MFIE tag added.
58 u8 *tag = *tag_p; local
61 *tag++ = MFIE_TYPE_RATES;
62 *tag++ = 4;
63 *tag
76 u8 *tag = *tag_p; local
97 u8 *tag = *tag_p; local
113 u8 *tag = *tag_p; local
346 u8 *tag; local
833 u8 *tag; local
983 u8 *tag; local
1170 u8 *tag, *ies; local
1833 u8 *tag; local
[all...]
/drivers/staging/rtl8192u/ieee80211/
H A Drtl819x_BAProc.c112 u8* tag = NULL; local
141 //tag += sizeof( struct ieee80211_hdr_3addr); //move to action field
142 tag = (u8*)skb_put(skb, 9);
143 *tag ++= ACT_CAT_BA;
144 *tag ++= type;
146 *tag ++= pBA->DialogToken;
153 memcpy(tag, (u8*)&tmp, 2);
154 tag += 2;
158 memcpy(tag, (u8*)&tmp, 2);
159 tag
198 u8* tag = NULL; local
334 u8 * dst = NULL, *pDialogToken = NULL, *tag = NULL; local
435 u8* dst = NULL, *pDialogToken = NULL, *tag = NULL; local
[all...]
H A Dieee80211_softmac.c45 * tag and the EXTENDED RATE MFIE tag if needed.
46 * It encludes two bytes per tag for the tag itself and its len
62 /* pleace the MFIE rate, tag to the memory (double) poined.
64 * it points after the new MFIE tag added.
68 u8 *tag = *tag_p; local
71 *tag++ = MFIE_TYPE_RATES;
72 *tag++ = 4;
73 *tag
85 u8 *tag = *tag_p; local
108 u8 *tag = *tag_p; local
132 u8 *tag = *tag_p; local
330 u8 *tag; local
691 u8 *tag; local
845 u8* tag; local
985 u8 *tag;//,*rsn_ie; local
1583 u8 *tag; local
[all...]
/drivers/ata/
H A Dsata_dwc_460ex.c203 u32 fptagr; /* 1st party DMA tag */
326 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag);
331 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag);
468 u8 tag = 0; local
474 tag = ap->link.active_tag;
482 tfr_reg, err_reg, hsdevp->dma_pending[tag], port);
493 sata_dwc_clear_dmacr(hsdevp, tag);
495 if (hsdevp->dma_pending[tag] ==
498 "err=0x%08x tag=0x%02x pending=%d\n",
499 tfr_reg, err_reg, tag,
867 qcmd_tag_to_mask(u8 tag) argument
881 u8 status, tag; local
934 u8 status, tag; local
1143 sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag) argument
1175 u8 tag = 0; local
1214 u8 tag = qc->tag; local
1390 sata_dwc_exec_command_by_tag(struct ata_port *ap, struct ata_taskfile *tf, u8 tag, u32 cmd_issued) argument
1413 sata_dwc_bmdma_setup_by_tag(struct ata_queued_cmd *qc, u8 tag) argument
1421 u8 tag = qc->tag; local
1432 sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag) argument
1481 u8 tag = qc->tag; local
1499 sata_dwc_qc_prep_by_tag(struct ata_queued_cmd *qc, u8 tag) argument
1526 u8 tag = qc->tag; local
[all...]
/drivers/scsi/fnic/
H A Dfcpio.h117 * The header command tag. All host requests will use the "tag" field
118 * to mark commands with a unique tag. When the firmware responds to
119 * a host request, it will copy the tag field into the response.
122 * of the tag field will be the target command and target task management
137 fcpio_tag_id_enc(struct fcpio_tag *tag, u32 id) argument
139 tag->u.req_id = id;
143 fcpio_tag_id_dec(struct fcpio_tag *tag, u32 *id) argument
145 *id = tag->u.req_id;
149 fcpio_tag_exid_enc(struct fcpio_tag *tag, u1 argument
156 fcpio_tag_exid_dec(struct fcpio_tag *tag, u16 *ox_id, u16 *rx_id) argument
170 struct fcpio_tag tag; /* header tag */ member in struct:fcpio_header
174 fcpio_header_enc(struct fcpio_header *hdr, u8 type, u8 status, struct fcpio_tag tag) argument
185 fcpio_header_dec(struct fcpio_header *hdr, u8 *type, u8 *status, struct fcpio_tag *tag) argument
[all...]
/drivers/scsi/pm8001/
H A Dpm8001_hwi.h152 __le32 tag; member in struct:phy_start_req
164 __le32 tag; member in struct:phy_stop_req
215 __le32 tag; member in struct:sata_completion_resp
241 __le32 tag; member in struct:reg_dev_req
258 __le32 tag; member in struct:dereg_dev_req
270 __le32 tag; member in struct:dev_reg_resp
282 __le32 tag; member in struct:local_phy_ctl_req
293 __le32 tag; member in struct:local_phy_ctl_resp
309 __le32 tag; member in struct:port_ctl_req
323 __le32 tag; member in struct:hw_event_ack_req
336 __le32 tag; member in struct:ssp_completion_resp
353 __le32 tag; member in struct:sata_event_resp
366 __le32 tag; member in struct:ssp_event_resp
391 __le32 tag; member in struct:smp_req
417 __le32 tag; member in struct:smp_completion_resp
428 __le32 tag; member in struct:task_abort_req
445 __le32 tag; member in struct:task_abort_resp
457 __le32 tag; member in struct:sas_diag_start_end_req
468 __le32 tag; member in struct:sas_diag_execute_req
486 __le32 tag; member in struct:set_dev_state_req
497 __le32 tag; member in struct:sas_re_initialization_req
518 __le32 tag; member in struct:sata_start_req
536 __le32 tag; member in struct:ssp_ini_tm_start_req
566 __le32 tag; member in struct:ssp_ini_io_start_req
583 __le32 tag; member in struct:fw_flash_Update_req
602 dma_addr_t tag; member in struct:fw_flash_Update_resp
613 __le32 tag; member in struct:get_nvm_data_req
625 __le32 tag; member in struct:set_nvm_data_req
652 __le32 tag; member in struct:get_nvm_data_resp
665 __le32 tag; member in struct:sas_diag_start_end_resp
677 __le32 tag; member in struct:sas_diag_execute_resp
691 __le32 tag; member in struct:set_dev_state_resp
[all...]
H A Dpm8001_sas.c45 * pm8001_find_tag - from sas task to find out tag that belongs to this task
47 * @tag: the found tag associated with the task
49 static int pm8001_find_tag(struct sas_task *task, u32 *tag) argument
54 *tag = ccb->ccb_tag;
63 * @tag: the found tag associated with the task
65 static void pm8001_tag_clear(struct pm8001_hba_info *pm8001_ha, u32 tag) argument
68 clear_bit(tag, bitmap);
71 static void pm8001_tag_free(struct pm8001_hba_info *pm8001_ha, u32 tag) argument
76 pm8001_tag_set(struct pm8001_hba_info *pm8001_ha, u32 tag) argument
89 unsigned int index, tag; local
281 pm8001_get_ncq_tag(struct sas_task *task, u32 *tag) argument
365 u32 tag = 0xdeadbeef, rc, n_elem = 0; local
838 u32 tag; local
903 u32 tag; local
1026 u32 tag = 0xdeadbeef; local
1077 u32 tag = 0xdeadbeef; local
[all...]
/drivers/s390/scsi/
H A Dzfcp_dbf.h62 * @tag: identifier string specifying the location of initiation
74 char tag[ZFCP_DBF_TAG_LEN]; member in struct:zfcp_dbf_rec
101 * @tag: identifier string specifying the location of initiation
108 char tag[ZFCP_DBF_TAG_LEN]; member in struct:zfcp_dbf_san
162 * @tag: identifier string specifying the location of initiation
172 char tag[ZFCP_DBF_TAG_LEN]; member in struct:zfcp_dbf_hba
196 * @tag: identifier string specifying the location of initiation
211 char tag[ZFCP_DBF_TAG_LEN]; member in struct:zfcp_dbf_scsi
278 void zfcp_dbf_hba_fsf_resp(char *tag, int level, struct zfcp_fsf_req *req) argument
281 zfcp_dbf_hba_fsf_res(tag, re
313 _zfcp_dbf_scsi(char *tag, int level, struct scsi_cmnd *scmd, struct zfcp_fsf_req *req) argument
356 zfcp_dbf_scsi_abort(char *tag, struct scsi_cmnd *scmd, struct zfcp_fsf_req *fsf_req) argument
369 zfcp_dbf_scsi_devreset(char *tag, struct scsi_cmnd *scmnd, u8 flag) argument
[all...]
H A Dzfcp_dbf.c58 * @tag: tag indicating which kind of unsolicited status has been received
61 void zfcp_dbf_hba_fsf_res(char *tag, struct zfcp_fsf_req *req) argument
72 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN);
99 * @tag: tag indicating which kind of unsolicited status has been received
102 void zfcp_dbf_hba_fsf_uss(char *tag, struct zfcp_fsf_req *req) argument
112 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LE
145 zfcp_dbf_hba_bit_err(char *tag, struct zfcp_fsf_req *req) argument
231 zfcp_dbf_rec_trig(char *tag, struct zfcp_adapter *adapter, struct zfcp_port *port, struct scsi_device *sdev, u8 want, u8 need) argument
266 zfcp_dbf_rec_run(char *tag, struct zfcp_erp_action *erp) argument
297 zfcp_dbf_san(char *tag, struct zfcp_dbf *dbf, void *data, u8 id, u16 len, u64 req_id, u32 d_id) argument
324 zfcp_dbf_san_req(char *tag, struct zfcp_fsf_req *fsf, u32 d_id) argument
340 zfcp_dbf_san_res(char *tag, struct zfcp_fsf_req *fsf) argument
356 zfcp_dbf_san_in_els(char *tag, struct zfcp_fsf_req *fsf) argument
375 zfcp_dbf_scsi(char *tag, struct scsi_cmnd *sc, struct zfcp_fsf_req *fsf) argument
[all...]
/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_softmac.c46 * tag and the EXTENDED RATE MFIE tag if needed.
47 * It encludes two bytes per tag for the tag itself and its len
63 /* pleace the MFIE rate, tag to the memory (double) poined.
65 * it points after the new MFIE tag added.
69 u8 *tag = *tag_p; local
72 *tag++ = MFIE_TYPE_RATES;
73 *tag++ = 4;
74 *tag
86 u8 *tag = *tag_p; local
109 u8 *tag = *tag_p; local
132 u8 *tag = *tag_p; local
321 u8 *tag; local
772 u8 *tag; local
892 u8* tag; local
1035 u8 *tag; local
1469 u8 *tag; local
[all...]
/drivers/staging/media/as102/
H A Das10x_cmd_cfg.c32 * @tag: context tag
37 int as10x_cmd_get_context(struct as10x_bus_adapter_t *adap, uint16_t tag, argument
54 pcmd->body.context.req.tag = cpu_to_le16(tag);
91 * @tag: context tag
96 int as10x_cmd_set_context(struct as10x_bus_adapter_t *adap, uint16_t tag, argument
115 pcmd->body.context.req.tag = cpu_to_le16(tag);
[all...]
/drivers/of/
H A Dfdt.c45 u32 tag = be32_to_cpup((__be32 *)p); local
50 if (tag == OF_DT_NOP)
52 if (tag != OF_DT_PROP)
159 u32 tag; local
164 tag = be32_to_cpup((__be32 *)(*p));
165 if (tag != OF_DT_BEGIN_NODE) {
166 pr_err("Weird tag at start of node: %x\n", tag);
240 tag = be32_to_cpup((__be32 *)(*p));
241 if (tag
461 u32 tag = be32_to_cpup((__be32 *)p); local
[all...]
/drivers/char/
H A Dps3flash.c39 int tag; /* Start sector of buffer, -1 if invalid */ member in struct:ps3flash_private
65 if (!priv->dirty || priv->tag < 0)
68 res = ps3flash_read_write_sectors(dev, priv->tag, 1);
81 if (start_sector == priv->tag)
88 priv->tag = -1;
94 priv->tag = start_sector;
235 else if (sector != priv->tag)
255 priv->tag = sector;
327 u64 tag, status; local
329 res = lv1_storage_get_async_status(dev->sbd.dev_id, &tag,
[all...]
/drivers/block/mtip32xx/
H A Dmtip32xx.h53 /* Macro to extract the tag bit number from a tag value. */
54 #define MTIP_TAG_BIT(tag) (tag & 0x1F)
57 * Macro to extract the tag index from a tag value. The index
59 * on the tag value.
61 #define MTIP_TAG_INDEX(tag) (tag >> 5)
75 /* Internal command tag
[all...]

Completed in 441 milliseconds

1234567891011