Home
last modified time | relevance | path

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

12345678910>>...12

/linux/drivers/iommu/intel/
H A Dpasid.c196 u16 did, u32 pasid) in pasid_cache_invalidation_with_pasid() argument
200 desc.qw0 = QI_PC_DID(did) | QI_PC_GRAN(QI_PC_PASID_SEL) | in pasid_cache_invalidation_with_pasid()
243 u16 did, pgtt; in intel_pasid_tear_down_entry() local
252 did = pasid_get_domain_id(pte); in intel_pasid_tear_down_entry()
260 pasid_cache_invalidation_with_pasid(iommu, did, pasid); in intel_pasid_tear_down_entry()
263 qi_flush_piotlb(iommu, did, pasid, 0, -1, 0); in intel_pasid_tear_down_entry()
265 iommu->flush.flush_iotlb(iommu, did, 0, 0, DMA_TLB_DSI_FLUSH); in intel_pasid_tear_down_entry()
278 u32 pasid, u16 did) in pasid_flush_caches() argument
284 pasid_cache_invalidation_with_pasid(iommu, did, pasid); in pasid_flush_caches()
285 qi_flush_piotlb(iommu, did, pasid, 0, -1, 0); in pasid_flush_caches()
[all …]
H A Dcache.c43 static int cache_tag_assign(struct dmar_domain *domain, u16 did, in cache_tag_assign() argument
58 tag->domain_id = did; in cache_tag_assign()
69 if (cache_tage_match(temp, did, iommu, dev, pasid, type)) { in cache_tag_assign()
85 static void cache_tag_unassign(struct dmar_domain *domain, u16 did, in cache_tag_unassign() argument
96 if (cache_tage_match(tag, did, iommu, dev, pasid, type)) { in cache_tag_unassign()
127 static int __cache_tag_assign_domain(struct dmar_domain *domain, u16 did, in __cache_tag_assign_domain() argument
137 ret = cache_tag_assign(domain, did, dev, pasid, CACHE_TAG_IOTLB); in __cache_tag_assign_domain()
141 ret = cache_tag_assign(domain, did, dev, pasid, CACHE_TAG_DEVTLB); in __cache_tag_assign_domain()
143 cache_tag_unassign(domain, did, dev, pasid, CACHE_TAG_IOTLB); in __cache_tag_assign_domain()
148 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/tools/power/cpupower/utils/helpers/
H A Damd.c23 unsigned did:3; member
37 unsigned did:6; member
61 /* Fam 1Ah onward do not use did */ in get_cof()
66 t = pstate.pstatedef.did; in get_cof()
70 t = pstate.pstate.did; in get_cof()
78 int fid, did, cof = 0; in get_cof()
80 did = get_did(pstate);
88 cof = 200 * fid / did;
95 cof = (100 * (fid + t)) >> did; in decode_pstates()
64 int fid, did, cof; get_cof() local
/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/gpu/drm/amd/display/dc/clk_mgr/dce100/
H A Ddce_clk_mgr.c79 int dentist_get_divider_from_did(int did) in dentist_get_divider_from_did() argument
81 if (did < DENTIST_BASE_DID_1) in dentist_get_divider_from_did()
82 did = DENTIST_BASE_DID_1; in dentist_get_divider_from_did()
83 if (did > DENTIST_MAX_DID) in dentist_get_divider_from_did()
84 did = DENTIST_MAX_DID; in dentist_get_divider_from_did()
86 if (did < DENTIST_BASE_DID_2) { in dentist_get_divider_from_did()
88 * (did - DENTIST_BASE_DID_1); in dentist_get_divider_from_did()
89 } else if (did < DENTIST_BASE_DID_3) { in dentist_get_divider_from_did()
91 * (did - DENTIST_BASE_DID_2); in dentist_get_divider_from_did()
92 } else if (did < DENTIST_BASE_DID_4) { in dentist_get_divider_from_did()
[all …]
/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()
/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/clk/
H A Dclk-renesas-pcie.c60 u8 did; member
287 unsigned int vid, did; in rs9_probe() local
328 ret = regmap_read(rs9->regmap, RS9_REG_DID, &did); in rs9_probe()
333 if (vid != RS9_REG_VID_IDT || did != rs9->chip_info->did) in rs9_probe()
336 vid, did, RS9_REG_VID_IDT, in rs9_probe()
337 rs9->chip_info->did); in rs9_probe()
382 .did = RS9_REG_DID_TYPE_FGV | 0x02,
388 .did = RS9_REG_DID_TYPE_FGV | 0x04,
394 .did = RS9_REG_DID_TYPE_FGV | 0x08,
/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/media/pci/cx18/
H A Dcx18-av-vbi.c50 u8 did; member
252 int did, sdid, l, err = 0; in cx18_av_decode_vbi_line() local
259 (anc->did != sliced_vbi_did[0] && in cx18_av_decode_vbi_line()
260 anc->did != sliced_vbi_did[1])) { in cx18_av_decode_vbi_line()
265 did = anc->did; in cx18_av_decode_vbi_line()
296 vbi->is_second_field = err ? 0 : (did == sliced_vbi_did[1]); in cx18_av_decode_vbi_line()
/linux/drivers/bcma/
H A Dmain.c592 const struct bcma_device_id *did; in bcma_bus_match() local
594 for (did = adrv->id_table; did->manuf || did->id || did->rev; did++) { in bcma_bus_match()
595 if ((did->manuf == cid->manuf || did->manuf == BCMA_ANY_MANUF) && in bcma_bus_match()
596 (did->id == cid->id || did->id == BCMA_ANY_ID) && in bcma_bus_match()
597 (did->rev == cid->rev || did->rev == BCMA_ANY_REV) && in bcma_bus_match()
598 (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/nfc/st21nfca/
H A Ddep.c65 u8 did; member
77 u8 did; member
89 u8 did; member
98 u8 did; member
106 u8 did; member
242 psl_res->did = psl_req->did; in st21nfca_tm_send_psl_res()
415 static void st21nfca_im_send_psl_req(struct nfc_hci_dev *hdev, u8 did, u8 bsi, in st21nfca_im_send_psl_req() argument
434 psl_req->did = did; in st21nfca_im_send_psl_req()
481 st21nfca_im_send_psl_req(info->hdev, atr_res->did, in st21nfca_im_recv_atr_res_cb()
529 atr_req->did = 0x0; in st21nfca_im_send_atr_req()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_trace.h39 TP_PROTO(unsigned did, uint32_t reg, uint32_t value),
40 TP_ARGS(did, reg, value),
42 __field(unsigned, did)
47 __entry->did = did;
52 (unsigned long)__entry->did,
58 TP_PROTO(unsigned did, uint32_t reg, uint32_t value),
59 TP_ARGS(did, reg, value),
61 __field(unsigned, did)
66 __entry->did = did;
71 (unsigned long)__entry->did,
/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/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()

12345678910>>...12