Home
last modified time | relevance | path

Searched refs:did (Results 1 – 25 of 249) sorted by relevance

12345678910

/linux/drivers/iommu/intel/
H A Dpasid.c198 u16 did, u32 pasid) in pasid_cache_invalidation_with_pasid() argument
202 desc.qw0 = QI_PC_DID(did) | QI_PC_GRAN(QI_PC_PASID_SEL) | in pasid_cache_invalidation_with_pasid()
245 u16 did, pgtt; in intel_pasid_tear_down_entry() local
274 did = pasid_get_domain_id(pte); in intel_pasid_tear_down_entry()
282 pasid_cache_invalidation_with_pasid(iommu, did, pasid); in intel_pasid_tear_down_entry()
285 qi_flush_piotlb(iommu, did, pasid, 0, -1, 0); in intel_pasid_tear_down_entry()
287 iommu->flush.flush_iotlb(iommu, did, 0, 0, DMA_TLB_DSI_FLUSH); in intel_pasid_tear_down_entry()
304 u32 pasid, u16 did) in pasid_flush_caches() argument
310 pasid_cache_invalidation_with_pasid(iommu, did, pasid); in pasid_flush_caches()
311 qi_flush_piotlb(iommu, did, pasid, 0, -1, 0); in pasid_flush_caches()
[all …]
H A Dcache.c43 int cache_tag_assign(struct dmar_domain *domain, u16 did, struct device *dev, in cache_tag_assign() argument
58 tag->domain_id = did; in cache_tag_assign()
70 if (cache_tage_match(temp, did, iommu, dev, pasid, type)) { in cache_tag_assign()
93 static void cache_tag_unassign(struct dmar_domain *domain, u16 did, in cache_tag_unassign() argument
104 if (cache_tage_match(tag, did, iommu, dev, pasid, type)) { in cache_tag_unassign()
135 static int __cache_tag_assign_domain(struct dmar_domain *domain, u16 did, in __cache_tag_assign_domain() argument
145 ret = cache_tag_assign(domain, did, dev, pasid, CACHE_TAG_IOTLB); in __cache_tag_assign_domain()
149 ret = cache_tag_assign(domain, did, dev, pasid, CACHE_TAG_DEVTLB); in __cache_tag_assign_domain()
151 cache_tag_unassign(domain, did, dev, pasid, CACHE_TAG_IOTLB); in __cache_tag_assign_domain()
156 static void __cache_tag_unassign_domain(struct dmar_domain *domain, u16 did, in __cache_tag_unassign_domain() argument
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-address.h147 uint64_t did:8; member
172 uint64_t did:8; member
233 uint64_t did:8; member
247 uint64_t did:8; member
295 #define CVMX_ADDR_DIDSPACE(did) (((CVMX_IO_SEG) << 22) | ((1ULL) << 8) | (did)) argument
296 #define CVMX_ADDR_DID(did) (CVMX_ADDR_DIDSPACE(did) << 40) argument
297 #define CVMX_FULL_DID(did, subdid) (((did) << 3) | (subdid)) argument
H A Dcvmx-pow.h253 uint64_t did:8; member
267 uint64_t did:8;
286 uint64_t did:8; member
315 uint64_t did:8;
334 uint64_t did:8; member
359 uint64_t did:8;
378 uint64_t did:8; member
423 uint64_t did:8;
447 uint64_t did:8; member
452 uint64_t did:8;
[all …]
H A Dcvmx-fpa.h63 uint64_t did:8; member
71 uint64_t did:8;
212 data.s.did = CVMX_FULL_DID(CVMX_OCT_DID_FPA, pool); in cvmx_fpa_async_alloc()
/linux/drivers/watchdog/
H A Dexar_wdt.c60 unsigned short did; member
291 priv->did, timeout, nowayout); in exar_wdt_probe()
302 unsigned short vid, did; in exar_detect() local
309 did = exar_sio_read16(config_port, EXAR_DID); in exar_detect()
313 (did == EXAR_DEV_382 || in exar_detect()
314 did == EXAR_DEV_384)) { in exar_detect()
325 did, config_port, base); in exar_detect()
327 return did; in exar_detect()
387 unsigned short did, rt_base = 0; in exar_wdt_init() local
389 did = exar_detect(sio_config_ports[i], in exar_wdt_init()
[all …]
/linux/sound/soc/qcom/qdsp6/
H A Dq6dsp-lpass-ports.c10 #define Q6AFE_TDM_PB_DAI(pre, num, did) { \ argument
24 .name = #did, \
25 .id = did, \
28 #define Q6AFE_TDM_CAP_DAI(pre, num, did) { \ argument
42 .name = #did, \
43 .id = did, \
46 #define Q6AFE_CDC_DMA_RX_DAI(did) { \ argument
48 .stream_name = #did" Playback", \
60 .name = #did, \
61 .id = did, \
[all …]
/linux/drivers/pcmcia/
H A Dds.c45 const struct pcmcia_device_id *did = p_drv->id_table; in pcmcia_check_driver() local
53 while (did && did->match_flags) { in pcmcia_check_driver()
55 if (!did->prod_id[i]) in pcmcia_check_driver()
58 hash = crc32(0, did->prod_id[i], strlen(did->prod_id[i])); in pcmcia_check_driver()
59 if (hash == did->prod_id_hash[i]) in pcmcia_check_driver()
64 "be 0x%x\n", p_drv->name, did->prod_id[i], in pcmcia_check_driver()
65 did->prod_id_hash[i], hash); in pcmcia_check_driver()
70 did++; in pcmcia_check_driver()
801 const struct pcmcia_device_id *did) in pcmcia_devmatch() argument
803 if (did->match_flags & PCMCIA_DEV_ID_MATCH_MANF_ID) { in pcmcia_devmatch()
[all …]
/linux/scripts/gdb/linux/
H A Ddmesg.py93 did = tail_id
95 ind = did % desc_ring_count
104 if did == head_id:
106 did = (did + 1) & desc_id_mask
147 if did == head_id:
149 did = (did + 1) & desc_id_mask
/linux/drivers/scsi/libfc/
H A Dfc_elsct.c31 struct fc_seq *fc_elsct_send(struct fc_lport *lport, u32 did, in fc_elsct_send() argument
44 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); in fc_elsct_send()
47 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); in fc_elsct_send()
55 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, in fc_elsct_send()
H A Dfc_exch.c665 fc_fill_fc_hdr(fp, FC_RCTL_BA_ABTS, ep->did, ep->sid, in fc_exch_abort_locked()
1008 ep->did = ntoh24(fh->fh_s_id); in fc_exch_resp()
1009 ep->oid = ep->did; in fc_exch_resp()
1211 ep->did = orig_id; in fc_exch_set_addr()
1214 ep->did = resp_id; in fc_exch_set_addr()
1264 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
1595 if (ep->did != ntoh24(fh->fh_s_id) && in fc_exch_recv_seq_resp()
1596 ep->did != FC_FID_FLOGI) { in fc_exch_recv_seq_resp()
1936 u32 sid, u32 did) in fc_exch_pool_reset() argument
1946 (did == 0 || did == ep->did)) { in fc_exch_pool_reset()
[all …]
H A Dfc_lport.c1740 u32 did; in fc_lport_flogi_resp() local
1767 did = fc_frame_did(fp); in fc_lport_flogi_resp()
1768 if (fh->fh_r_ctl != FC_RCTL_ELS_REP || did == 0 || in fc_lport_flogi_resp()
1809 fc_lport_set_port_id(lport, did, fp); in fc_lport_flogi_resp()
1813 lport->host->host_no, did); in fc_lport_flogi_resp()
1826 fc_lport_set_port_id(lport, did, fp); in fc_lport_flogi_resp()
2021 u32 did, u32 tov) in fc_lport_els_request() argument
2044 hton24(fh->fh_d_id, did); in fc_lport_els_request()
2080 struct fc_lport *lport, u32 did, u32 tov) in fc_lport_ct_request() argument
2104 hton24(fh->fh_d_id, did); in fc_lport_ct_request()
[all …]
/linux/include/scsi/fc/
H A Dfc_fcoe.h86 static inline void fc_fcoe_set_mac(u8 *mac, u8 *did) in fc_fcoe_set_mac() argument
91 mac[3] = did[0]; in fc_fcoe_set_mac()
92 mac[4] = did[1]; in fc_fcoe_set_mac()
93 mac[5] = did[2]; in fc_fcoe_set_mac()
/linux/drivers/usb/cdns3/
H A Ddrd.h17 __le32 did; member
61 __le32 did; member
83 #define OTG_CDNSP_CHECK_DID(did) (((did) & GENMASK(31, 8)) == 0x00040300) argument
86 #define OTG_CDNS3_CHECK_DID(did) (((did) & GENMASK(31, 8)) == 0x00040200) argument
/linux/drivers/bcma/
H A Dmain.c598 const struct bcma_device_id *did; in bcma_bus_match() local
600 for (did = adrv->id_table; did->manuf || did->id || did->rev; did++) { in bcma_bus_match()
601 if ((did->manuf == cid->manuf || did->manuf == BCMA_ANY_MANUF) && in bcma_bus_match()
602 (did->id == cid->id || did->id == BCMA_ANY_ID) && in bcma_bus_match()
603 (did->rev == cid->rev || did->rev == BCMA_ANY_REV) && in bcma_bus_match()
604 (did->class == cid->class || did->class == BCMA_ANY_CLASS)) in bcma_bus_match()
/linux/drivers/input/keyboard/
H A Dhil_kbd.c329 uint8_t did = kbd->idd[0]; in hil_dev_keyboard_setup() local
350 did, hil_language[did & HIL_IDD_DID_TYPE_KB_LANG_MASK]); in hil_dev_keyboard_setup()
356 uint8_t did = ptr->idd[0]; in hil_dev_pointer_setup() local
364 switch (did & HIL_IDD_DID_TYPE_MASK) { in hil_dev_pointer_setup()
410 if ((did & HIL_IDD_DID_ABS_TABLET_MASK) == HIL_IDD_DID_ABS_TABLET) in hil_dev_pointer_setup()
416 if ((did & HIL_IDD_DID_ABS_TSCREEN_MASK) == HIL_IDD_DID_ABS_TSCREEN) in hil_dev_pointer_setup()
419 if ((did & HIL_IDD_DID_REL_MOUSE_MASK) == HIL_IDD_DID_REL_MOUSE) in hil_dev_pointer_setup()
437 did, txt); in hil_dev_pointer_setup()
447 uint8_t did, *idd; in hil_dev_connect() local
503 did = dev->idd[0]; in hil_dev_connect()
[all …]
/linux/net/nfc/
H A Ddigital_dep.c67 u8 did; member
78 u8 did; member
89 u8 did; member
97 u8 did; member
377 psl_req->did = 0; in digital_in_send_psl_req()
504 atr_req->did = 0; in digital_in_send_atr_req()
998 if (ddev->did) { in digital_tg_send_ack()
1001 skb_put_data(skb, &ddev->did, sizeof(ddev->did)); in digital_tg_send_ack()
1042 if (ddev->did) { in digital_tg_send_atn()
1045 skb_put_data(skb, &ddev->did, sizeof(ddev->did)); in digital_tg_send_atn()
[all …]
/linux/drivers/rapidio/
H A Drio-driver.c32 ((id->did == RIO_ANY_ID) || (id->did == rdev->did)) && in rio_match_device()
219 rdev->vid, rdev->did, rdev->asm_vid, rdev->asm_did)) in rio_uevent()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clk_mgr.c99 int dentist_get_divider_from_did(int did) in dentist_get_divider_from_did() argument
101 if (did < DENTIST_BASE_DID_1) in dentist_get_divider_from_did()
102 did = DENTIST_BASE_DID_1; in dentist_get_divider_from_did()
103 if (did > DENTIST_MAX_DID) in dentist_get_divider_from_did()
104 did = DENTIST_MAX_DID; in dentist_get_divider_from_did()
106 if (did < DENTIST_BASE_DID_2) { in dentist_get_divider_from_did()
108 * (did - DENTIST_BASE_DID_1); in dentist_get_divider_from_did()
109 } else if (did < DENTIST_BASE_DID_3) { in dentist_get_divider_from_did()
111 * (did - DENTIST_BASE_DID_2); in dentist_get_divider_from_did()
112 } else if (did < DENTIST_BASE_DID_4) { in dentist_get_divider_from_did()
[all …]
/linux/include/scsi/
H A Dfc_frame.h251 u32 did, u32 sid, enum fc_fh_type type, in __fc_fill_fc_hdr() argument
256 hton24(fh->fh_d_id, did); in __fc_fill_fc_hdr()
269 u32 did, u32 sid, enum fc_fh_type type, in fc_fill_fc_hdr() argument
275 __fc_fill_fc_hdr(fh, r_ctl, did, sid, type, f_ctl, parm_offset); in fc_fill_fc_hdr()
/linux/drivers/scsi/lpfc/
H A Dlpfc_els.c171 struct lpfc_nodelist *ndlp, u32 did, in lpfc_prep_els_iocb() argument
192 if (did == Fabric_DID && in lpfc_prep_els_iocb()
271 lpfc_sli_prep_els_req_rsp(phba, elsiocb, vport, bmp, cmd_size, did, in lpfc_prep_els_iocb()
302 elscmd, did, elsiocb->iotag, in lpfc_prep_els_iocb()
1286 uint32_t tmo, did; in lpfc_issue_els_flogi() local
1425 did = vport->fc_myDID; in lpfc_issue_els_flogi()
1473 vport->fc_myDID = did; in lpfc_issue_els_flogi()
2037 u32 did = ndlp->nlp_DID; in lpfc_check_encryption() local
2044 ((did & Fabric_DID_MASK) != Fabric_DID_MASK)) { in lpfc_check_encryption()
2099 u32 ulp_status, ulp_word4, did, iotag; in lpfc_cmpl_els_plogi() local
[all …]
/linux/drivers/video/fbdev/
H A Doffb.c361 const u32 *vid, *did; in offb_init_palette_hacks() local
363 did = of_get_property(pciparent, "device-id", NULL); in offb_init_palette_hacks()
365 if (vid && did && *vid == 0x1002 && in offb_init_palette_hacks()
366 ((*did >= 0x7100 && *did < 0x7800) || in offb_init_palette_hacks()
367 (*did >= 0x9400))) { in offb_init_palette_hacks()
634 u32 vid, did; in offb_init_nodriver() local
641 did = be32_to_cpup(didp); in offb_init_nodriver()
642 pdev = pci_get_device(vid, did, NULL); in offb_init_nodriver()
/linux/drivers/gpu/drm/i915/display/
H A Ddvo_ch7xxx.c113 u8 did; member
136 static char *ch7xxx_get_did(u8 did) in ch7xxx_get_did() argument
141 if (ch7xxx_dids[i].did == did) in ch7xxx_get_did()
/linux/arch/mips/include/asm/mach-cavium-octeon/
H A Dmangle-port.h18 u64 did = ((u64)(uintptr_t)a >> 40) & 0xff; in __should_swizzle_bits() local
20 return octeon_should_swizzle_table[did]; in __should_swizzle_bits()
/linux/drivers/scsi/csiostor/
H A Dcsio_rnode.c450 __be32 *did; in csio_rn_verify_rparams() local
452 did = (__be32 *) &rdevp->r_id[0]; in csio_rn_verify_rparams()
458 if (((ntohl(*did) >> 8) & CSIO_DID_MASK) != FC_FID_FLOGI) { in csio_rn_verify_rparams()
471 if (((ntohl(*did) >> 8) & CSIO_DID_MASK) != FC_FID_DIR_SERV) { in csio_rn_verify_rparams()
521 (ntohl(*did) & CSIO_DID_MASK)); in csio_rn_verify_rparams()
530 (ntohl(*did) & CSIO_DID_MASK)); in csio_rn_verify_rparams()
537 rn->nport_id = (ntohl(*did) >> 8) & CSIO_DID_MASK; in csio_rn_verify_rparams()

12345678910