Home
last modified time | relevance | path

Searched refs:hcr (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/drivers/net/mlx4/
Dcmd.c146 u32 status = readl(mlx4_priv(dev)->cmd.hcr + HCR_STATUS_OFFSET); in cmd_pending()
158 u32 __iomem *hcr = cmd->hcr; in mlx4_cmd_post() local
180 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), hcr + 0); in mlx4_cmd_post()
181 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), hcr + 1); in mlx4_cmd_post()
182 __raw_writel((__force u32) cpu_to_be32(in_modifier), hcr + 2); in mlx4_cmd_post()
183 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), hcr + 3); in mlx4_cmd_post()
184 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), hcr + 4); in mlx4_cmd_post()
185 __raw_writel((__force u32) cpu_to_be32(token << 16), hcr + 5); in mlx4_cmd_post()
194 op), hcr + 6); in mlx4_cmd_post()
216 void __iomem *hcr = priv->cmd.hcr; in mlx4_cmd_poll() local
[all …]
Dmlx4.h189 void __iomem *hcr; member
/linux-2.6.39/drivers/usb/serial/
Dark3116.c80 __u32 hcr; /* handshake control register (0x8) member
164 priv->hcr = 0; in ark3116_attach()
236 __u8 lcr, hcr, eval; in ark3116_set_termios() local
265 hcr = (cflag & CRTSCTS) ? 0x03 : 0x00; in ark3116_set_termios()
296 __func__, hcr, lcr, quot); in ark3116_set_termios()
299 if (priv->hcr != hcr) { in ark3116_set_termios()
300 priv->hcr = hcr; in ark3116_set_termios()
301 ark3116_write_reg(serial, 0x8, hcr); in ark3116_set_termios()
/linux-2.6.39/drivers/net/wireless/hostap/
Dhostap_cs.c245 static void sandisk_write_hcr(local_info_t *local, int hcr) in sandisk_write_hcr() argument
253 HFA384X_OUTB(hcr, SANDISK_HCR_OFF); in sandisk_write_hcr()
369 static void prism2_pccard_genesis_reset(local_info_t *local, int hcr) in prism2_pccard_genesis_reset() argument
379 sandisk_write_hcr(local, hcr); in prism2_pccard_genesis_reset()
403 res = pcmcia_write_config_byte(hw_priv->link, CISREG_CCSR, hcr); in prism2_pccard_genesis_reset()
Dhostap_download.c337 static int prism2_enable_genesis(local_info_t *local, int hcr) in prism2_enable_genesis() argument
344 dev->name, hcr); in prism2_enable_genesis()
347 local->func->genesis_reset(local, hcr); in prism2_enable_genesis()
356 hcr); in prism2_enable_genesis()
361 hcr, initseq[0], initseq[1], initseq[2], initseq[3], in prism2_enable_genesis()
Dhostap_plx.c297 static void prism2_plx_genesis_reset(local_info_t *local, int hcr) in prism2_plx_genesis_reset() argument
307 outb(hcr, hw_priv->cor_offset + 2); in prism2_plx_genesis_reset()
317 writeb(hcr, hw_priv->attr_mem + hw_priv->cor_offset + 2); in prism2_plx_genesis_reset()
Dhostap_pci.c268 static void prism2_pci_genesis_reset(local_info_t *local, int hcr) in prism2_pci_genesis_reset() argument
274 HFA384X_OUTW(hcr, HFA384X_PCIHCR_OFF); in prism2_pci_genesis_reset()
Dhostap_wlan.h573 void (*genesis_reset)(local_info_t *local, int hcr);
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_cmd.c193 return readl(dev->hcr + HCR_STATUS_OFFSET) & in go_bit()
256 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr()
257 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), dev->hcr + 1 * 4); in mthca_cmd_post_hcr()
258 __raw_writel((__force u32) cpu_to_be32(in_modifier), dev->hcr + 2 * 4); in mthca_cmd_post_hcr()
259 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), dev->hcr + 3 * 4); in mthca_cmd_post_hcr()
260 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), dev->hcr + 4 * 4); in mthca_cmd_post_hcr()
261 __raw_writel((__force u32) cpu_to_be32(token << 16), dev->hcr + 5 * 4); in mthca_cmd_post_hcr()
269 op), dev->hcr + 6 * 4); in mthca_cmd_post_hcr()
340 __raw_readl(dev->hcr + HCR_OUT_PARAM_OFFSET)) << 32 | in mthca_cmd_poll()
342 __raw_readl(dev->hcr + HCR_OUT_PARAM_OFFSET + 4)); in mthca_cmd_poll()
[all …]
Dmthca_dev.h323 void __iomem *hcr; member
/linux-2.6.39/drivers/atm/
Dfore200e.c505 if (irq_posted && (readl(fore200e->regs.pca.hcr) & PCA200E_HCR_OUTFULL)) { in fore200e_pca_irq_check()
517 writel(PCA200E_HCR_CLRINTR, fore200e->regs.pca.hcr); in fore200e_pca_irq_ack()
524 writel(PCA200E_HCR_RESET, fore200e->regs.pca.hcr); in fore200e_pca_reset()
526 writel(0, fore200e->regs.pca.hcr); in fore200e_pca_reset()
545 fore200e->regs.pca.hcr = fore200e->virt_base + PCA200E_HCR_OFFSET; in fore200e_pca_map()
749 u32 hcr = fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_STICKY; in fore200e_sba_irq_enable() local
750 fore200e->bus->write(hcr | SBA200E_HCR_INTR_ENA, fore200e->regs.sba.hcr); in fore200e_sba_irq_enable()
755 return fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_INTR_REQ; in fore200e_sba_irq_check()
760 u32 hcr = fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_STICKY; in fore200e_sba_irq_ack() local
761 fore200e->bus->write(hcr | SBA200E_HCR_INTR_CLR, fore200e->regs.sba.hcr); in fore200e_sba_irq_ack()
[all …]
Dfore200e.h772 volatile u32 __iomem * hcr; /* address of host control register */ member
781 u32 __iomem *hcr; /* address of host control register */ member
/linux-2.6.39/drivers/net/irda/
Dw83977af_ir.c570 __u8 hcr; in w83977af_dma_write() local
601 hcr = inb(iobase+HCR); in w83977af_dma_write()
602 outb(hcr | HCR_EN_DMA, iobase+HCR); in w83977af_dma_write()
718 __u8 hcr; in w83977af_dma_receive() local
765 hcr = inb(iobase+HCR); in w83977af_dma_receive()
766 outb(hcr | HCR_EN_DMA, iobase+HCR); in w83977af_dma_receive()