/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/ |
H A D | ide-pnp.c | 32 hw_regs_t hw; local 39 memset(&hw, 0, sizeof(hw)); 40 ide_std_init_ports(&hw, pnp_port_start(dev, 0), 42 hw.irq = pnp_irq(dev, 0); 43 hw.dma = NO_DMA; 45 index = ide_register_hw(&hw, 1, &hwif);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/ |
H A D | hwdep_compat.c | 33 static int snd_hwdep_dsp_load_compat(struct snd_hwdep *hw, argument 55 return snd_hwdep_dsp_load(hw, dst); 65 struct snd_hwdep *hw = file->private_data; local 73 return snd_hwdep_dsp_load_compat(hw, argp); 75 if (hw->ops.ioctl_compat) 76 return hw->ops.ioctl_compat(hw, file, cmd, arg);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/ |
H A D | elsa_ser.c | 50 u_int val = inb(cs->hw.elsa.base + 8 + offset); 54 return inb(cs->hw.elsa.base + 8 + offset); 62 u_int val = inb(cs->hw.elsa.base + 8 + offset); 65 u_int val = inb_p(cs->hw.elsa.base + 8 + offset); 71 return inb(cs->hw.elsa.base + 8 + offset); 73 return inb_p(cs->hw.elsa.base + 8 + offset); 83 outb(value, cs->hw.elsa.base + 8 + offset); 97 outb(value, cs->hw.elsa.base + 8 + offset); 99 outb_p(value, cs->hw.elsa.base + 8 + offset); 130 cs->hw [all...] |
H A D | bkm_a4t.c | 78 return (readreg(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, offset)); 84 writereg(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, offset, value); 90 readfifo(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, 0, data, size); 96 writefifo(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, 0, data, size); 102 return (readreg(cs->hw.ax.jade_ale, cs->hw [all...] |
H A D | avm_pci.c | 83 outb(idx, cs->hw.avm.cfg_reg + 4); 84 val = inb(cs->hw.avm.isac + (offset & 0xf)); 93 outb(idx, cs->hw.avm.cfg_reg + 4); 94 outb(value, cs->hw.avm.isac + (offset & 0xf)); 100 outb(AVM_ISAC_FIFO, cs->hw.avm.cfg_reg + 4); 101 insb(cs->hw.avm.isac, data, size); 107 outb(AVM_ISAC_FIFO, cs->hw.avm.cfg_reg + 4); 108 outsb(cs->hw.avm.isac, data, size); 117 outl(idx, cs->hw.avm.cfg_reg + 4); 118 val = inl(cs->hw [all...] |
H A D | avm_a1p.c | 67 byteout(cs->hw.avm.cfg_reg+ADDRREG_OFFSET,ISAC_REG_OFFSET+offset); 68 ret = bytein(cs->hw.avm.cfg_reg+DATAREG_OFFSET); 76 byteout(cs->hw.avm.cfg_reg+ADDRREG_OFFSET,ISAC_REG_OFFSET+offset); 77 byteout(cs->hw.avm.cfg_reg+DATAREG_OFFSET, value); 83 byteout(cs->hw.avm.cfg_reg+ADDRREG_OFFSET,ISAC_FIFO_OFFSET); 84 insb(cs->hw.avm.cfg_reg+DATAREG_OFFSET, data, size); 90 byteout(cs->hw.avm.cfg_reg+ADDRREG_OFFSET,ISAC_FIFO_OFFSET); 91 outsb(cs->hw.avm.cfg_reg+DATAREG_OFFSET, data, size); 100 byteout(cs->hw.avm.cfg_reg+ADDRREG_OFFSET, 102 ret = bytein(cs->hw [all...] |
H A D | hscx_irq.c | 61 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { 64 WriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x80); 65 bcs->hw.hscx.rcvidx = 0; 68 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; 69 bcs->hw.hscx.rcvidx += count; 70 READHSCXFIFO(cs, bcs->hw.hscx.hscx, ptr, count); 71 WriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x80); 76 bcs->hw.hscx.hscx ? 'B' : 'A', count); 105 waitforXFW(cs, bcs->hw [all...] |
H A D | isar.c | 135 struct isar_reg *ir = cs->bcs[0].hw.isar.reg; 176 if (cs->bcs[0].hw.isar.reg->iis == ISAR_IIS_VNR) { 197 struct isar_reg *ireg = cs->bcs[0].hw.isar.reg; 493 struct isar_reg *ireg = bcs->hw.isar.reg; 520 if ((bcs->hw.isar.rcvidx + ireg->clsb) > HSCX_BUFMAX) { 524 bcs->hw.isar.rcvidx = 0; 535 bcs->hw.isar.rcvidx = 0; 539 bcs->hw.isar.rcvidx = 0; 540 ptr = bcs->hw.isar.rcvbuf + bcs->hw [all...] |
H A D | bkm_a8.c | 84 return (readreg(cs->hw.ax.base, cs->hw.ax.data_adr, offset | 0x80)); 90 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, offset | 0x80, value); 96 readfifo(cs->hw.ax.base, cs->hw.ax.data_adr, 0x80, data, size); 102 writefifo(cs->hw.ax.base, cs->hw.ax.data_adr, 0x80, data, size); 109 return (readreg(cs->hw.ax.base, cs->hw [all...] |
H A D | hfc_pci.c | 79 cs->hw.hfcpci.pci_io); 80 cs->hw.hfcpci.int_m2 = 0; /* interrupt output off ! */ 81 Write_hfc(cs, HFCPCI_INT_M2, cs->hw.hfcpci.int_m2); 86 Write_hfc(cs, HFCPCI_INT_M2, cs->hw.hfcpci.int_m2); 87 pci_write_config_word(cs->hw.hfcpci.dev, PCI_COMMAND, 0); /* disable memory mapped ports + busmaster */ 88 del_timer(&cs->hw.hfcpci.timer); 89 kfree(cs->hw.hfcpci.share_start); 90 cs->hw.hfcpci.share_start = NULL; 91 iounmap((void *)cs->hw.hfcpci.pci_io); 101 pci_write_config_word(cs->hw [all...] |
H A D | jade_irq.c | 51 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { 54 WriteJADECMDR(cs, bcs->hw.hscx.hscx, jade_HDLC_RCMD, jadeRCMD_RMC); 55 bcs->hw.hscx.rcvidx = 0; 58 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; 59 bcs->hw.hscx.rcvidx += count; 60 READJADEFIFO(cs, bcs->hw.hscx.hscx, ptr, count); 61 WriteJADECMDR(cs, bcs->hw.hscx.hscx, jade_HDLC_RCMD, jadeRCMD_RMC); 66 bcs->hw.hscx.hscx ? 'B' : 'A', count); 95 waitforXFW(cs, bcs->hw [all...] |
H A D | hfc_2bds0.c | 38 if (cs->hw.hfcD.cip != reg) { 39 cs->hw.hfcD.cip = reg; 40 byteout(cs->hw.hfcD.addr | 1, reg); 42 ret = bytein(cs->hw.hfcD.addr); 48 ret = bytein(cs->hw.hfcD.addr | 1); 55 if (cs->hw.hfcD.cip != reg) { 56 cs->hw.hfcD.cip = reg; 57 byteout(cs->hw.hfcD.addr | 1, reg); 60 byteout(cs->hw.hfcD.addr, value); 114 if (cs->hw [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/ |
H A D | hermes.h | 344 #define hermes_read_reg(hw, off) \ 345 (ioread16((hw)->iobase + ( (off) << (hw)->reg_spacing ))) 346 #define hermes_write_reg(hw, off, val) \ 347 (iowrite16((val), (hw)->iobase + ((off) << (hw)->reg_spacing))) 348 #define hermes_read_regn(hw, name) hermes_read_reg((hw), HERMES_##name) 349 #define hermes_write_regn(hw, name, val) hermes_write_reg((hw), HERMES 369 hermes_present(hermes_t *hw) argument 374 hermes_set_irqmask(hermes_t *hw, u16 events) argument 380 hermes_enable_port(hermes_t *hw, int port) argument 386 hermes_disable_port(hermes_t *hw, int port) argument 394 hermes_inquire(hermes_t *hw, u16 rid) argument 403 hermes_read_words(struct hermes *hw, int off, void *buf, unsigned count) argument 409 hermes_write_bytes(struct hermes *hw, int off, const char *buf, unsigned count) argument 418 hermes_clear_words(struct hermes *hw, int off, unsigned count) argument 433 hermes_read_wordrec(hermes_t *hw, int bap, u16 rid, u16 *word) argument 443 hermes_write_wordrec(hermes_t *hw, int bap, u16 rid, u16 word) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/usb/usx2y/ |
H A D | usX2Yhwdep.c | 67 static int snd_us428ctls_mmap(struct snd_hwdep * hw, struct file *filp, struct vm_area_struct *area) argument 70 struct usX2Ydev *us428 = hw->private_data; 91 area->vm_private_data = hw->private_data; 95 static unsigned int snd_us428ctls_poll(struct snd_hwdep *hw, struct file *file, poll_table *wait) argument 98 struct usX2Ydev *us428 = hw->private_data; 112 static int snd_usX2Y_hwdep_open(struct snd_hwdep *hw, struct file *file) argument 117 static int snd_usX2Y_hwdep_release(struct snd_hwdep *hw, struct file *file) argument 122 static int snd_usX2Y_hwdep_dsp_status(struct snd_hwdep *hw, argument 130 struct usX2Ydev *us428 = hw->private_data; 213 static int snd_usX2Y_hwdep_dsp_load(struct snd_hwdep *hw, argument 266 struct snd_hwdep *hw; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/e1000/ |
H A D | e1000_main.c | 305 if (adapter->hw.mac_type >= e1000_82571) { 344 E1000_WRITE_REG(&adapter->hw, IMC, ~0); 345 E1000_WRITE_FLUSH(&adapter->hw); 358 E1000_WRITE_REG(&adapter->hw, IMS, IMS_ENABLE_MASK); 359 E1000_WRITE_FLUSH(&adapter->hw); 367 uint16_t vid = adapter->hw.mng_cookie.vlan_id; 371 if (adapter->hw.mng_cookie.status & 405 switch (adapter->hw.mac_type) { 407 swsm = E1000_READ_REG(&adapter->hw, SWSM); 408 E1000_WRITE_REG(&adapter->hw, SWS 1116 struct e1000_hw *hw = &adapter->hw; local 1256 struct e1000_hw *hw = &adapter->hw; local 1644 struct e1000_hw *hw = &adapter->hw; local 2005 struct e1000_hw *hw = &adapter->hw; local 2425 struct e1000_hw *hw = &adapter->hw; local 2663 struct e1000_hw *hw = &adapter->hw; local 2754 struct e1000_hw *hw = &adapter->hw; local 2800 struct e1000_hw *hw = &adapter->hw; local 3159 struct e1000_hw *hw = &adapter->hw; local 3526 struct e1000_hw *hw = &adapter->hw; local 3706 struct e1000_hw *hw = &adapter->hw; local 3768 struct e1000_hw *hw = &adapter->hw; local 4813 e1000_pci_set_mwi(struct e1000_hw *hw) argument 4823 e1000_pci_clear_mwi(struct e1000_hw *hw) argument 4831 e1000_read_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) argument 4839 e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) argument 4847 e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) argument 4862 e1000_io_write(struct e1000_hw *hw, unsigned long port, uint32_t value) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/skfp/ |
H A D | hwt.c | 70 smc->hw.t_start = time ; 71 smc->hw.t_stop = 0L ; 99 smc->hw.timer_activ = TRUE ; 128 smc->hw.timer_activ = FALSE ; 147 smc->hw.t_start = 0 ; 148 smc->hw.t_stop = 0 ; 149 smc->hw.timer_activ = FALSE ; 200 if (smc->hw.timer_activ) { 211 if ((tr > smc->hw.t_start) || (is & IS_TIMINT)) { 213 smc->hw [all...] |
H A D | drvfbi.c | 87 #define OEMID(smc,i) smc->hw.oem_id->oi_id[i] 144 smc->hw.led = (2<<6) ; 145 outpw(CSR_A,CS_CRESET | smc->hw.led) ; 212 smc->hw.hw_is_64bit = TRUE ; 214 smc->hw.hw_is_64bit = FALSE ; 220 if (!smc->hw.hw_is_64bit) { 233 smc->hw.is_imask = ISR_MASK ; 234 smc->hw.hw_state = STOPPED ; 242 smc->hw.mac_ring_is_up = 0 ; /* ring down */ 265 smc->hw [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/legacy/ |
H A D | q40ide.c | 72 void q40_ide_setup_ports ( hw_regs_t *hw, argument 83 memset(hw, 0, sizeof(hw_regs_t)); 88 hw->io_ports[i] = Q40_ISA_IO_W(base + offsets[i]); 90 hw->io_ports[i] = Q40_ISA_IO_B(base + offsets[i]); 93 hw->irq = irq; 94 hw->dma = NO_DMA; 95 hw->ack_intr = ack_intr; 97 * hw->iops = iops; 126 hw_regs_t hw; local 140 q40_ide_setup_ports(&hw,(unsigne [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/mouse/ |
H A D | synaptics.c | 309 static void synaptics_parse_hw_state(unsigned char buf[], struct synaptics_data *priv, struct synaptics_hw_state *hw) argument 311 memset(hw, 0, sizeof(struct synaptics_hw_state)); 314 hw->x = (((buf[3] & 0x10) << 8) | 317 hw->y = (((buf[3] & 0x20) << 7) | 321 hw->z = buf[2]; 322 hw->w = (((buf[0] & 0x30) >> 2) | 326 hw->left = (buf[0] & 0x01) ? 1 : 0; 327 hw->right = (buf[0] & 0x02) ? 1 : 0; 330 hw->middle = ((buf[0] ^ buf[3]) & 0x01) ? 1 : 0; 331 if (hw 382 struct synaptics_hw_state hw; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/atl1/ |
H A D | atl1_main.c | 119 struct atl1_hw *hw = &adapter->hw; local 124 pci_read_config_byte(pdev, PCI_REVISION_ID, &hw->revision_id); 126 hw->max_frame_size = netdev->mtu + ENET_HEADER_SIZE + ETHERNET_FCS_SIZE; 127 hw->min_frame_size = MINIMUM_ETHERNET_FRAME_SIZE; 130 adapter->rx_buffer_len = (hw->max_frame_size + 7) & ~7; 135 hw->phy_configured = false; 136 hw->preamble_len = 7; 137 hw->ipgt = 0x60; 138 hw 793 struct atl1_hw *hw = &adapter->hw; local 824 struct atl1_hw *hw = &adapter->hw; local 861 struct atl1_hw *hw = &adapter->hw; local 992 set_flow_ctrl_new(struct atl1_hw *hw) argument 1029 struct atl1_hw *hw = &adapter->hw; local 1937 struct atl1_hw *hw = &adapter->hw; local 2314 struct atl1_hw *hw = &adapter->hw; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ixgb/ |
H A D | ixgb_ethtool.c | 157 struct ixgb_hw *hw = &adapter->hw; local 161 if(hw->fc.type == ixgb_fc_rx_pause) 163 else if(hw->fc.type == ixgb_fc_tx_pause) 165 else if(hw->fc.type == ixgb_fc_full) { 176 struct ixgb_hw *hw = &adapter->hw; local 182 hw->fc.type = ixgb_fc_full; 184 hw->fc.type = ixgb_fc_rx_pause; 186 hw 278 struct ixgb_hw *hw = &adapter->hw; local 425 struct ixgb_hw *hw = &adapter->hw; local 473 struct ixgb_hw *hw = &adapter->hw; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/matrox/ |
H A D | matroxfb_Ti3026.c | 298 struct matrox_hw_state* hw = &ACCESS_FBINFO(hw); local 304 hw->DACclk[0] = pixin | 0xC0; 305 hw->DACclk[1] = pixfeed; 306 hw->DACclk[2] = pixpost | 0xB0; 334 hw->DACclk[3] = ((65 - loopin) & 0x3F) | 0xC0; 335 hw->DACclk[4] = (65 - loopfeed) | 0x80; 338 hw->DACreg[POS3026_XLATCHCTRL] = TVP3026B_XLATCHCTRL_8_3; 340 hw->DACclk[4] &= ~0xC0; 341 hw 366 struct matrox_hw_state* hw = &ACCESS_FBINFO(hw); local 554 struct matrox_hw_state* hw = &ACCESS_FBINFO(hw); local 681 struct matrox_hw_state* hw = &ACCESS_FBINFO(hw); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/ |
H A D | cycx_drv.c | 69 static int load_cyc2x(struct cycx_hw *hw, struct cycx_firmware *cfm, u32 len); 70 static void cycx_bootcfg(struct cycx_hw *hw); 136 int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len, unsigned long dpmbase) argument 141 if (!get_option_index(cycx_2x_irq_options, hw->irq)) { 142 printk(KERN_ERR "%s: IRQ %d is invalid!\n", modname, hw->irq); 157 hw->dpmbase = ioremap(dpmbase, CYCX_WINDOWSIZE); 158 hw->dpmsize = CYCX_WINDOWSIZE; 160 if (!detect_cyc2x(hw->dpmbase)) { 170 err = load_cyc2x(hw, cfm, len); 173 cycx_down(hw); /* shutdow 179 cycx_down(struct cycx_hw *hw) argument 186 cycx_inten(struct cycx_hw *hw) argument 193 cycx_intr(struct cycx_hw *hw) argument 220 cycx_peek(struct cycx_hw *hw, u32 addr, void *buf, u32 len) argument 233 cycx_poke(struct cycx_hw *hw, u32 addr, void *buf, u32 len) argument 382 load_cyc2x(struct cycx_hw *hw, struct cycx_firmware *cfm, u32 len) argument 505 cycx_bootcfg(struct cycx_hw *hw) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/mac80211/ |
H A D | ieee80211_led.c | 42 "%srx", wiphy_name(local->hw.wiphy)); 53 "%stx", wiphy_name(local->hw.wiphy)); 73 char *__ieee80211_get_tx_led_name(struct ieee80211_hw *hw) argument 75 struct ieee80211_local *local = hw_to_local(hw); 83 char *__ieee80211_get_rx_led_name(struct ieee80211_hw *hw) argument 85 struct ieee80211_local *local = hw_to_local(hw);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/doc/html/images/ |
H A D | Makefile.am | 20 SUBDIRS = hw
|