/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_phy.c | 11 static void ixgbe_i2c_start(struct ixgbe_hw *hw); 12 static void ixgbe_i2c_stop(struct ixgbe_hw *hw); 13 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data); 14 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data); 15 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw); 16 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data); 17 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data); 18 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 19 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 20 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data); [all …]
|
D | ixgbe_common.c | 13 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw); 14 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw); 15 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw); 16 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw); 17 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw); 18 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, 20 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count); 21 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 22 static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 23 static void ixgbe_release_eeprom(struct ixgbe_hw *hw); [all …]
|
D | ixgbe_x540.c | 19 static s32 ixgbe_update_flash_X540(struct ixgbe_hw *hw); 20 static s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw); 21 static s32 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw); 22 static void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw); 24 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw) in ixgbe_get_media_type_X540() argument 29 s32 ixgbe_get_invariants_X540(struct ixgbe_hw *hw) in ixgbe_get_invariants_X540() argument 31 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X540() 32 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X540() 43 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_generic(hw); in ixgbe_get_invariants_X540() 54 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, in ixgbe_setup_mac_link_X540() argument [all …]
|
D | ixgbe_82599.c | 19 static void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 20 static void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 21 static void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 24 static s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, 27 static void ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw); 28 static s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, 30 static s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, 33 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, 36 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw); 37 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, [all …]
|
D | ixgbe_x550.c | 15 static s32 ixgbe_get_invariants_X550_x(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_x() argument 17 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X550_x() 18 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X550_x() 19 struct ixgbe_link_info *link = &hw->link; in ixgbe_get_invariants_X550_x() 22 ixgbe_get_invariants_X540(hw); in ixgbe_get_invariants_X550_x() 24 if (mac->ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_get_invariants_X550_x() 32 static s32 ixgbe_get_invariants_X550_x_fw(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_x_fw() argument 34 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X550_x_fw() 37 ixgbe_get_invariants_X540(hw); in ixgbe_get_invariants_X550_x_fw() 44 static s32 ixgbe_get_invariants_X550_a(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_a() argument [all …]
|
D | ixgbe_82598.c | 18 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, 21 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, 34 static void ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw) in ixgbe_set_pcie_completion_timeout() argument 36 u32 gcr = IXGBE_READ_REG(hw, IXGBE_GCR); in ixgbe_set_pcie_completion_timeout() 39 if (ixgbe_removed(hw->hw_addr)) in ixgbe_set_pcie_completion_timeout() 60 pcie_devctl2 = ixgbe_read_pci_cfg_word(hw, IXGBE_PCI_DEVICE_CONTROL2); in ixgbe_set_pcie_completion_timeout() 62 ixgbe_write_pci_cfg_word(hw, IXGBE_PCI_DEVICE_CONTROL2, pcie_devctl2); in ixgbe_set_pcie_completion_timeout() 66 IXGBE_WRITE_REG(hw, IXGBE_GCR, gcr); in ixgbe_set_pcie_completion_timeout() 69 static s32 ixgbe_get_invariants_82598(struct ixgbe_hw *hw) in ixgbe_get_invariants_82598() argument 71 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_82598() [all …]
|
/Linux-v4.19/drivers/spi/ |
D | spi-au1550.c | 61 void (*rx_word)(struct au1550_spi *hw); 62 void (*tx_word)(struct au1550_spi *hw); 64 irqreturn_t (*irq_callback)(struct au1550_spi *hw); 99 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw); 111 static u32 au1550_spi_baudcfg(struct au1550_spi *hw, unsigned speed_hz) in au1550_spi_baudcfg() argument 113 u32 mainclk_hz = hw->pdata->mainclk_hz; in au1550_spi_baudcfg() 134 static inline void au1550_spi_mask_ack_all(struct au1550_spi *hw) in au1550_spi_mask_ack_all() argument 136 hw->regs->psc_spimsk = in au1550_spi_mask_ack_all() 142 hw->regs->psc_spievent = in au1550_spi_mask_ack_all() 149 static void au1550_spi_reset_fifos(struct au1550_spi *hw) in au1550_spi_reset_fifos() argument [all …]
|
D | spi-nuc900.c | 72 struct nuc900_spi *hw = to_hw(spi); in nuc900_slave_select() local 78 spin_lock_irqsave(&hw->lock, flags); in nuc900_slave_select() 80 val = __raw_readl(hw->regs + USI_SSR); in nuc900_slave_select() 92 __raw_writel(val, hw->regs + USI_SSR); in nuc900_slave_select() 94 val = __raw_readl(hw->regs + USI_CNT); in nuc900_slave_select() 101 __raw_writel(val, hw->regs + USI_CNT); in nuc900_slave_select() 103 spin_unlock_irqrestore(&hw->lock, flags); in nuc900_slave_select() 119 static void nuc900_spi_setup_txnum(struct nuc900_spi *hw, unsigned int txnum) in nuc900_spi_setup_txnum() argument 124 spin_lock_irqsave(&hw->lock, flags); in nuc900_spi_setup_txnum() 126 val = __raw_readl(hw->regs + USI_CNT) & ~TXNUM; in nuc900_spi_setup_txnum() [all …]
|
D | spi-oc-tiny.c | 67 struct tiny_spi *hw = tiny_spi_to_hw(spi); in tiny_spi_baud() local 69 return min(DIV_ROUND_UP(hw->freq, hz * 2), (1U << hw->baudwidth)) - 1; in tiny_spi_baud() 74 struct tiny_spi *hw = tiny_spi_to_hw(spi); in tiny_spi_chipselect() local 76 if (hw->gpio_cs_count > 0) { in tiny_spi_chipselect() 77 gpio_set_value(hw->gpio_cs[spi->chip_select], in tiny_spi_chipselect() 85 struct tiny_spi *hw = tiny_spi_to_hw(spi); in tiny_spi_setup_transfer() local 86 unsigned int baud = hw->baud; in tiny_spi_setup_transfer() 89 if (t->speed_hz && t->speed_hz != hw->speed_hz) in tiny_spi_setup_transfer() 92 writel(baud, hw->base + TINY_SPI_BAUD); in tiny_spi_setup_transfer() 93 writel(hw->mode, hw->base + TINY_SPI_CONTROL); in tiny_spi_setup_transfer() [all …]
|
D | spi-s3c24xx.c | 100 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_chipsel() local 107 hw->set_cs(hw->pdata, spi->chip_select, cspol^1); in s3c24xx_spi_chipsel() 108 writeb(cs->spcon, hw->regs + S3C2410_SPCON); in s3c24xx_spi_chipsel() 113 hw->regs + S3C2410_SPCON); in s3c24xx_spi_chipsel() 114 hw->set_cs(hw->pdata, spi->chip_select, cspol); in s3c24xx_spi_chipsel() 122 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_update_state() local 147 clk = clk_get_rate(hw->clk); in s3c24xx_spi_update_state() 167 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_setupxfer() local 172 writeb(cs->sppre, hw->regs + S3C2410_SPPRE); in s3c24xx_spi_setupxfer() 180 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_setup() local [all …]
|
D | spi-altera.c | 66 struct altera_spi *hw = altera_spi_to_hw(spi); in altera_spi_set_cs() local 69 hw->imr &= ~ALTERA_SPI_CONTROL_SSO_MSK; in altera_spi_set_cs() 70 writel(hw->imr, hw->base + ALTERA_SPI_CONTROL); in altera_spi_set_cs() 71 writel(0, hw->base + ALTERA_SPI_SLAVE_SEL); in altera_spi_set_cs() 73 writel(BIT(spi->chip_select), hw->base + ALTERA_SPI_SLAVE_SEL); in altera_spi_set_cs() 74 hw->imr |= ALTERA_SPI_CONTROL_SSO_MSK; in altera_spi_set_cs() 75 writel(hw->imr, hw->base + ALTERA_SPI_CONTROL); in altera_spi_set_cs() 79 static void altera_spi_tx_word(struct altera_spi *hw) in altera_spi_tx_word() argument 83 if (hw->tx) { in altera_spi_tx_word() 84 switch (hw->bytes_per_word) { in altera_spi_tx_word() [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq.c | 10 static void i40e_resume_aq(struct i40e_hw *hw); 18 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs() argument 21 if (i40e_is_vf(hw)) { in i40e_adminq_init_regs() 22 hw->aq.asq.tail = I40E_VF_ATQT1; in i40e_adminq_init_regs() 23 hw->aq.asq.head = I40E_VF_ATQH1; in i40e_adminq_init_regs() 24 hw->aq.asq.len = I40E_VF_ATQLEN1; in i40e_adminq_init_regs() 25 hw->aq.asq.bal = I40E_VF_ATQBAL1; in i40e_adminq_init_regs() 26 hw->aq.asq.bah = I40E_VF_ATQBAH1; in i40e_adminq_init_regs() 27 hw->aq.arq.tail = I40E_VF_ARQT1; in i40e_adminq_init_regs() 28 hw->aq.arq.head = I40E_VF_ARQH1; in i40e_adminq_init_regs() [all …]
|
D | i40e_nvm.c | 16 i40e_status i40e_init_nvm(struct i40e_hw *hw) in i40e_init_nvm() argument 18 struct i40e_nvm_info *nvm = &hw->nvm; in i40e_init_nvm() 26 gens = rd32(hw, I40E_GLNVM_GENS); in i40e_init_nvm() 33 fla = rd32(hw, I40E_GLNVM_FLA); in i40e_init_nvm() 41 i40e_debug(hw, I40E_DEBUG_NVM, "NVM init error: unsupported blank mode.\n"); in i40e_init_nvm() 55 i40e_status i40e_acquire_nvm(struct i40e_hw *hw, in i40e_acquire_nvm() argument 62 if (hw->nvm.blank_nvm_mode) in i40e_acquire_nvm() 65 ret_code = i40e_aq_request_resource(hw, I40E_NVM_RESOURCE_ID, access, in i40e_acquire_nvm() 68 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm() 71 hw->nvm.hw_semaphore_timeout = I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm() [all …]
|
/Linux-v4.19/drivers/net/ethernet/atheros/alx/ |
D | hw.c | 46 static int alx_wait_mdio_idle(struct alx_hw *hw) in alx_wait_mdio_idle() argument 52 val = alx_read_mem32(hw, ALX_MDIO); in alx_wait_mdio_idle() 61 static int alx_read_phy_core(struct alx_hw *hw, bool ext, u8 dev, in alx_read_phy_core() argument 70 clk_sel = hw->link_speed != SPEED_UNKNOWN ? in alx_read_phy_core() 77 alx_write_mem32(hw, ALX_MDIO_EXTN, val); in alx_read_phy_core() 88 alx_write_mem32(hw, ALX_MDIO, val); in alx_read_phy_core() 90 err = alx_wait_mdio_idle(hw); in alx_read_phy_core() 93 val = alx_read_mem32(hw, ALX_MDIO); in alx_read_phy_core() 98 static int alx_write_phy_core(struct alx_hw *hw, bool ext, u8 dev, in alx_write_phy_core() argument 104 clk_sel = hw->link_speed != SPEED_UNKNOWN ? in alx_write_phy_core() [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq.c | 26 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs() argument 29 if (i40e_is_vf(hw)) { in i40e_adminq_init_regs() 30 hw->aq.asq.tail = I40E_VF_ATQT1; in i40e_adminq_init_regs() 31 hw->aq.asq.head = I40E_VF_ATQH1; in i40e_adminq_init_regs() 32 hw->aq.asq.len = I40E_VF_ATQLEN1; in i40e_adminq_init_regs() 33 hw->aq.asq.bal = I40E_VF_ATQBAL1; in i40e_adminq_init_regs() 34 hw->aq.asq.bah = I40E_VF_ATQBAH1; in i40e_adminq_init_regs() 35 hw->aq.arq.tail = I40E_VF_ARQT1; in i40e_adminq_init_regs() 36 hw->aq.arq.head = I40E_VF_ARQH1; in i40e_adminq_init_regs() 37 hw->aq.arq.len = I40E_VF_ARQLEN1; in i40e_adminq_init_regs() [all …]
|
/Linux-v4.19/drivers/scsi/csiostor/ |
D | csio_isr.c | 47 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_nondata_isr() local 51 if (unlikely(!hw)) in csio_nondata_isr() 54 if (unlikely(pci_channel_offline(hw->pdev))) { in csio_nondata_isr() 55 CSIO_INC_STATS(hw, n_pcich_offline); in csio_nondata_isr() 59 spin_lock_irqsave(&hw->lock, flags); in csio_nondata_isr() 60 csio_hw_slow_intr_handler(hw); in csio_nondata_isr() 61 rv = csio_mb_isr_handler(hw); in csio_nondata_isr() 63 if (rv == 0 && !(hw->flags & CSIO_HWF_FWEVT_PENDING)) { in csio_nondata_isr() 64 hw->flags |= CSIO_HWF_FWEVT_PENDING; in csio_nondata_isr() 65 spin_unlock_irqrestore(&hw->lock, flags); in csio_nondata_isr() [all …]
|
D | csio_init.c | 69 struct csio_hw *hw = file->private_data - mem; in csio_mem_read() local 84 ret = hw->chip_ops->chip_mc_read(hw, 0, pos, in csio_mem_read() 87 ret = hw->chip_ops->chip_edc_read(hw, mem, pos, in csio_mem_read() 113 void csio_add_debugfs_mem(struct csio_hw *hw, const char *name, in csio_add_debugfs_mem() argument 116 debugfs_create_file_size(name, S_IRUSR, hw->debugfs_root, in csio_add_debugfs_mem() 117 (void *)hw + idx, &csio_mem_debugfs_fops, in csio_add_debugfs_mem() 121 static int csio_setup_debugfs(struct csio_hw *hw) in csio_setup_debugfs() argument 125 if (IS_ERR_OR_NULL(hw->debugfs_root)) in csio_setup_debugfs() 128 i = csio_rd_reg32(hw, MA_TARGET_MEM_ENABLE_A); in csio_setup_debugfs() 130 csio_add_debugfs_mem(hw, "edc0", MEM_EDC0, 5); in csio_setup_debugfs() [all …]
|
D | csio_hw.c | 102 static void csio_hw_initialize(struct csio_hw *hw); 103 static void csio_evtq_stop(struct csio_hw *hw); 104 static void csio_evtq_start(struct csio_hw *hw); 106 int csio_is_hw_ready(struct csio_hw *hw) in csio_is_hw_ready() argument 108 return csio_match_state(hw, csio_hws_ready); in csio_is_hw_ready() 111 int csio_is_hw_removing(struct csio_hw *hw) in csio_is_hw_removing() argument 113 return csio_match_state(hw, csio_hws_removing); in csio_is_hw_removing() 133 csio_hw_wait_op_done_val(struct csio_hw *hw, int reg, uint32_t mask, in csio_hw_wait_op_done_val() argument 138 val = csio_rd_reg32(hw, reg); in csio_hw_wait_op_done_val() 163 csio_hw_tp_wr_bits_indirect(struct csio_hw *hw, unsigned int addr, in csio_hw_tp_wr_bits_indirect() argument [all …]
|
/Linux-v4.19/drivers/isdn/hardware/mISDN/ |
D | mISDNinfineon.c | 282 struct inf_hw *hw = dev_id; in diva_irq() local 285 spin_lock(&hw->lock); in diva_irq() 286 val = inb((u32)hw->cfg.start + DIVA_PCI_CTRL); in diva_irq() 288 spin_unlock(&hw->lock); in diva_irq() 291 hw->irqcnt++; in diva_irq() 292 mISDNipac_irq(&hw->ipac, irqloops); in diva_irq() 293 spin_unlock(&hw->lock); in diva_irq() 300 struct inf_hw *hw = dev_id; in diva20x_irq() local 303 spin_lock(&hw->lock); in diva20x_irq() 304 val = readb(hw->cfg.p); in diva20x_irq() [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.c | 18 static u32 ixgb_hash_mc_addr(struct ixgb_hw *hw, u8 * mc_addr); 20 static void ixgb_mta_set(struct ixgb_hw *hw, u32 hash_value); 22 static void ixgb_get_bus_info(struct ixgb_hw *hw); 24 static bool ixgb_link_reset(struct ixgb_hw *hw); 26 static void ixgb_optics_reset(struct ixgb_hw *hw); 28 static void ixgb_optics_reset_bcm(struct ixgb_hw *hw); 30 static ixgb_phy_type ixgb_identify_phy(struct ixgb_hw *hw); 32 static void ixgb_clear_hw_cntrs(struct ixgb_hw *hw); 34 static void ixgb_clear_vfta(struct ixgb_hw *hw); 36 static void ixgb_init_rx_addrs(struct ixgb_hw *hw); [all …]
|
D | ixgb_ee.c | 9 static u16 ixgb_shift_in_bits(struct ixgb_hw *hw); 11 static void ixgb_shift_out_bits(struct ixgb_hw *hw, 14 static void ixgb_standby_eeprom(struct ixgb_hw *hw); 16 static bool ixgb_wait_eeprom_command(struct ixgb_hw *hw); 18 static void ixgb_cleanup_eeprom(struct ixgb_hw *hw); 27 ixgb_raise_clock(struct ixgb_hw *hw, in ixgb_raise_clock() argument 34 IXGB_WRITE_REG(hw, EECD, *eecd_reg); in ixgb_raise_clock() 35 IXGB_WRITE_FLUSH(hw); in ixgb_raise_clock() 46 ixgb_lower_clock(struct ixgb_hw *hw, in ixgb_lower_clock() argument 53 IXGB_WRITE_REG(hw, EECD, *eecd_reg); in ixgb_lower_clock() [all …]
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 32 int atl1c_check_eeprom_exist(struct atl1c_hw *hw) in atl1c_check_eeprom_exist() argument 36 AT_READ_REG(hw, REG_TWSI_DEBUG, &data); in atl1c_check_eeprom_exist() 40 AT_READ_REG(hw, REG_MASTER_CTRL, &data); in atl1c_check_eeprom_exist() 46 void atl1c_hw_set_mac_addr(struct atl1c_hw *hw, u8 *mac_addr) in atl1c_hw_set_mac_addr() argument 58 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 0, value); in atl1c_hw_set_mac_addr() 62 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 1, value); in atl1c_hw_set_mac_addr() 66 static bool atl1c_read_current_addr(struct atl1c_hw *hw, u8 *eth_addr) in atl1c_read_current_addr() argument 70 AT_READ_REG(hw, REG_MAC_STA_ADDR, &addr[0]); in atl1c_read_current_addr() 71 AT_READ_REG(hw, REG_MAC_STA_ADDR + 4, &addr[1]); in atl1c_read_current_addr() 83 static int atl1c_get_permanent_address(struct atl1c_hw *hw) in atl1c_get_permanent_address() argument [all …]
|
/Linux-v4.19/drivers/clk/sunxi-ng/ |
D | ccu-sun5i.c | 41 .hw.init = CLK_HW_INIT("pll-core", 81 .hw.init = CLK_HW_INIT("pll-audio-base", 98 .hw.init = CLK_HW_INIT("pll-video0", 113 .hw.init = CLK_HW_INIT("pll-ve", 126 .hw.init = CLK_HW_INIT("pll-ddr-base", 141 .hw.init = CLK_HW_INIT("pll-ddr-other", "pll-ddr-base", 155 .hw.init = CLK_HW_INIT("pll-periph", 172 .hw.init = CLK_HW_INIT("pll-video1", 197 .hw.init = CLK_HW_INIT_PARENTS("cpu", 221 .hw.init = CLK_HW_INIT_PARENTS("ahb", [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 10 static s32 e1000_check_downshift(struct e1000_hw *hw); 11 static s32 e1000_check_polarity(struct e1000_hw *hw, 13 static void e1000_clear_hw_cntrs(struct e1000_hw *hw); 14 static void e1000_clear_vfta(struct e1000_hw *hw); 15 static s32 e1000_config_dsp_after_link_change(struct e1000_hw *hw, 17 static s32 e1000_config_fc_after_link_up(struct e1000_hw *hw); 18 static s32 e1000_detect_gig_phy(struct e1000_hw *hw); 19 static s32 e1000_get_auto_rd_done(struct e1000_hw *hw); 20 static s32 e1000_get_cable_length(struct e1000_hw *hw, u16 *min_length, 22 static s32 e1000_get_phy_cfg_done(struct e1000_hw *hw); [all …]
|
/Linux-v4.19/drivers/tty/ipwireless/ |
D | hardware.c | 31 static void ipw_send_setup_packet(struct ipw_hardware *hw); 37 static void handle_received_CTRL_packet(struct ipw_hardware *hw, 404 static void do_send_fragment(struct ipw_hardware *hw, unsigned char *data, in do_send_fragment() argument 411 BUG_ON(length > hw->ll_mtu); in do_send_fragment() 416 spin_lock_irqsave(&hw->lock, flags); in do_send_fragment() 418 hw->tx_ready = 0; in do_send_fragment() 421 if (hw->hw_version == HW_VERSION_1) { in do_send_fragment() 422 outw((unsigned short) length, hw->base_port + IODWR); in do_send_fragment() 431 outw(raw_data, hw->base_port + IODWR); in do_send_fragment() 434 outw(DCR_TXDONE, hw->base_port + IODCR); in do_send_fragment() [all …]
|