Home
last modified time | relevance | path

Searched refs:dw (Results 1 – 25 of 32) sorted by relevance

12

/drivers/dma/
Ddw_dmac.c171 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dwc_dostart() local
174 if (dma_readl(dw, CH_EN) & dwc->mask) { in dwc_dostart()
193 channel_set_bit(dw, CH_EN, dwc->mask); in dwc_dostart()
234 static void dwc_complete_all(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_complete_all() argument
239 if (dma_readl(dw, CH_EN) & dwc->mask) { in dwc_complete_all()
244 channel_clear_bit(dw, CH_EN, dwc->mask); in dwc_complete_all()
245 while (dma_readl(dw, CH_EN) & dwc->mask) in dwc_complete_all()
262 static void dwc_scan_descriptors(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_scan_descriptors() argument
274 dma_writel(dw, CLEAR.BLOCK, dwc->mask); in dwc_scan_descriptors()
276 status_xfer = dma_readl(dw, RAW.XFER); in dwc_scan_descriptors()
[all …]
Ddw_dmac_regs.h173 static inline struct dw_dma_regs __iomem *__dw_regs(struct dw_dma *dw) in __dw_regs() argument
175 return dw->regs; in __dw_regs()
178 #define dma_readl(dw, name) \ argument
179 __raw_readl(&(__dw_regs(dw)->name))
180 #define dma_writel(dw, name, val) \ argument
181 __raw_writel((val), &(__dw_regs(dw)->name))
183 #define channel_set_bit(dw, reg, mask) \ argument
184 dma_writel(dw, reg, ((mask) << 8) | (mask))
185 #define channel_clear_bit(dw, reg, mask) \ argument
186 dma_writel(dw, reg, ((mask) << 8) | 0)
/drivers/edac/
Di5100_edac.c449 u32 dw; in i5100_read_log() local
459 pci_read_config_dword(pdev, I5100_VALIDLOG, &dw); in i5100_read_log()
461 if (i5100_validlog_redmemvalid(dw)) { in i5100_read_log()
468 if (i5100_validlog_recmemvalid(dw)) { in i5100_read_log()
490 if (i5100_validlog_nrecmemvalid(dw)) { in i5100_read_log()
512 pci_write_config_dword(pdev, I5100_VALIDLOG, dw); in i5100_read_log()
518 u32 dw; in i5100_check_error() local
521 pci_read_config_dword(priv->mc, I5100_FERR_NF_MEM, &dw); in i5100_check_error()
522 if (i5100_ferr_nf_mem_any(dw)) { in i5100_check_error()
529 pci_write_config_dword(priv->mc, I5100_FERR_NF_MEM, dw); in i5100_check_error()
[all …]
/drivers/video/pnx4008/
Dsdum.c107 static void build_disp_window(struct dum_ch_setup * ch_setup, struct disp_window * dw) in build_disp_window() argument
109 dw->ymin = ch_setup->ymin; in build_disp_window()
110 dw->ymax = ch_setup->ymax; in build_disp_window()
111 dw->xmin_l = ch_setup->xmin & 0xFF; in build_disp_window()
112 dw->xmin_h = (ch_setup->xmin & BIT(8)) >> 8; in build_disp_window()
113 dw->xmax_l = ch_setup->xmax & 0xFF; in build_disp_window()
114 dw->xmax_h = (ch_setup->xmax & BIT(8)) >> 8; in build_disp_window()
195 struct disp_window dw; in dum_ch_setup() local
247 build_disp_window(ch_setup, &dw); in dum_ch_setup()
254 dw.xmin_l); in dum_ch_setup()
[all …]
/drivers/net/benet/
Dbe.h265 u32 *dw = (u32 *) ptr + dw_offset; in amap_set() local
266 *dw &= ~(mask << offset); in amap_set()
267 *dw |= (mask & value) << offset; in amap_set()
279 u32 *dw = (u32 *) ptr; in amap_get() local
280 return mask & (*(dw + dw_offset) >> offset); in amap_get()
294 u32 *dw = wrb; in swap_dws() local
297 *dw = cpu_to_le32(*dw); in swap_dws()
298 dw++; in swap_dws()
Dbe_hw.h137 u32 dw[4]; member
164 u32 dw[4]; member
210 u32 dw[4]; member
Dbe_main.c810 if (rxcp->dw[offsetof(struct amap_eth_rx_compl, valid) / 32] == 0) in be_rx_compl_get()
815 rxcp->dw[offsetof(struct amap_eth_rx_compl, valid) / 32] = 0; in be_rx_compl_get()
899 if (txcp->dw[offsetof(struct amap_eth_tx_compl, valid) / 32] == 0) in be_tx_compl_get()
904 txcp->dw[offsetof(struct amap_eth_tx_compl, valid) / 32] = 0; in be_tx_compl_get()
/drivers/ata/
Dsata_sx4.c326 unsigned int dw = PDC_DIMM_APKT_PRD >> 2; in pdc20621_ata_sg() local
333 buf32[dw] = cpu_to_le32(addr); in pdc20621_ata_sg()
334 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT); in pdc20621_ata_sg()
340 buf32[dw], buf32[dw + 1]); in pdc20621_ata_sg()
348 unsigned int dw = PDC_DIMM_HPKT_PRD >> 2; in pdc20621_host_sg() local
355 buf32[dw] = cpu_to_le32(addr); in pdc20621_host_sg()
356 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT); in pdc20621_host_sg()
362 buf32[dw], buf32[dw + 1]); in pdc20621_host_sg()
369 unsigned int i, dw; in pdc20621_ata_pkt() local
394 dw = i >> 2; in pdc20621_ata_pkt()
[all …]
/drivers/scsi/
Dncr53c8xx.h363 #define cpu_to_scr(dw) cpu_to_le32(dw) argument
364 #define scr_to_cpu(dw) le32_to_cpu(dw) argument
368 #define cpu_to_scr(dw) cpu_to_be32(dw) argument
369 #define scr_to_cpu(dw) be32_to_cpu(dw) argument
373 #define cpu_to_scr(dw) (dw) argument
374 #define scr_to_cpu(dw) (dw) argument
/drivers/scsi/sym53c8xx_2/
Dsym_glue.h141 #define cpu_to_scr(dw) cpu_to_le32(dw) argument
142 #define scr_to_cpu(dw) le32_to_cpu(dw) argument
/drivers/infiniband/hw/ipath/
Dipath_sdma.c730 u32 dw; in ipath_sdma_verbs_send() local
739 dw = (len + 3) >> 2; in ipath_sdma_verbs_send()
740 addr = dma_map_single(&dd->pcidev->dev, sge->vaddr, dw << 2, in ipath_sdma_verbs_send()
744 make_sdma_desc(dd, sdmadesc, (u64) addr, dw, dwoffset); in ipath_sdma_verbs_send()
776 dwoffset += dw; in ipath_sdma_verbs_send()
777 dwords -= dw; in ipath_sdma_verbs_send()
Dipath_iba7220.c2257 u32 dw, i, hcnt, dcnt, *data; in ipath_autoneg_send() local
2274 dw = (__force u32) cpu_to_be32(hdr[i]); in ipath_autoneg_send()
2275 hdr[i] = dw; in ipath_autoneg_send()
2278 dw = (__force u32) cpu_to_be32(madpayload_start[i]); in ipath_autoneg_send()
2279 madpayload_start[i] = dw; in ipath_autoneg_send()
2280 dw = (__force u32) cpu_to_be32(madpayload_done[i]); in ipath_autoneg_send()
2281 madpayload_done[i] = dw; in ipath_autoneg_send()
/drivers/infiniband/hw/ehca/
Dehca_classes_pSeries.h120 u64 dw[2]; member
138 u64 dw[2]; member
/drivers/media/video/
Dpms.c636 int dw = 2*dev->width; in pms_capture() local
638 char tmp[dw+32]; /* using a temp buffer is faster than direct */ in pms_capture()
658 memcpy_fromio(tmp, mem, dw+32); /* discard 16 word */ in pms_capture()
665 int dt=dw; in pms_capture()
Dpxa_camera.c913 unsigned long dw, bpp, bus_flags, camera_flags, common_flags; in pxa_camera_set_bus_param() local
961 dw = 4; in pxa_camera_set_bus_param()
965 dw = 3; in pxa_camera_set_bus_param()
972 dw = 2; in pxa_camera_set_bus_param()
991 cicr1 = CICR1_PPL_VAL(icd->width - 1) | bpp | dw; in pxa_camera_set_bus_param()
/drivers/misc/sgi-gru/
Dgrufault.c133 unsigned long dw; in gru_cb_set_istatus_active() member
137 get_user(u.dw, cb); in gru_cb_set_istatus_active()
139 put_user(u.dw, cb); in gru_cb_set_istatus_active()
/drivers/pci/
Ddmar.c724 u8 dw = 0, dr = 0; in qi_flush_iotlb() local
737 dw = 1; in qi_flush_iotlb()
742 desc.low = QI_IOTLB_DID(did) | QI_IOTLB_DR(dr) | QI_IOTLB_DW(dw) in qi_flush_iotlb()
/drivers/video/savage/
Dsavagefb.h126 #define BCI_SEND(dw) writel(dw, par->bci_base + par->bci_ptr++) argument
/drivers/net/
Djme.c663 rxdesc->dw[0] = 0; in jme_set_clean_rxdesc()
664 rxdesc->dw[1] = 0; in jme_set_clean_rxdesc()
1348 txdesc[(i + j) & (mask)].dw[0] = 0; in jme_tx_clean_tasklet()
1710 txdesc->dw[0] = 0; in jme_fill_tx_map()
1711 txdesc->dw[1] = 0; in jme_fill_tx_map()
1847 txdesc->dw[0] = 0; in jme_fill_first_tx_desc()
1848 txdesc->dw[1] = 0; in jme_fill_first_tx_desc()
1849 txdesc->dw[2] = 0; in jme_fill_first_tx_desc()
1850 txdesc->dw[3] = 0; in jme_fill_first_tx_desc()
Djme.h183 __le32 dw[4]; member
278 __le32 dw[4]; member
/drivers/message/fusion/
Dmptbase.c7228 }dw; in mpt_sas_log_info() member
7236 if ((sas_loginfo.dw.bus_type != 3 /*SAS*/) && in mpt_sas_log_info()
7237 (sas_loginfo.dw.originator < ARRAY_SIZE(originator_str))) in mpt_sas_log_info()
7240 originator_desc = originator_str[sas_loginfo.dw.originator]; in mpt_sas_log_info()
7242 switch (sas_loginfo.dw.originator) { in mpt_sas_log_info()
7245 if (sas_loginfo.dw.code < in mpt_sas_log_info()
7247 code_desc = iop_code_str[sas_loginfo.dw.code]; in mpt_sas_log_info()
7250 if (sas_loginfo.dw.code < in mpt_sas_log_info()
7252 code_desc = pl_code_str[sas_loginfo.dw.code]; in mpt_sas_log_info()
7255 if (sas_loginfo.dw.code >= in mpt_sas_log_info()
[all …]
/drivers/char/
Dser_a2232fw.ax519 dw $d0d0
520 dw R_RESET
521 dw $c0ce
/drivers/s390/scsi/
Dzfcp_fc.c97 struct delayed_work *dw = container_of(work, struct delayed_work, work); in zfcp_wka_port_offline() local
99 container_of(dw, struct zfcp_wka_port, work); in zfcp_wka_port_offline()
/drivers/net/wireless/iwlwifi/
Diwl-3945-commands.h296 __le32 dw[2]; member
850 __le32 dw[2]; member
/drivers/usb/wusbcore/
Ddevconnect.c474 struct delayed_work *dw = container_of(ws, struct delayed_work, work); in wusbhc_keep_alive_run() local
475 struct wusbhc *wusbhc = container_of(dw, struct wusbhc, keep_alive_timer); in wusbhc_keep_alive_run()

12