| /linux/drivers/clk/sprd/ |
| A D | ums512-clk.c | 555 { .hw = &clk_1m.hw }, 703 { .hw = &rco_4m.hw }, 717 { .hw = &rco_4m.hw }, 768 { .hw = &rco_4m.hw }, 789 { .hw = &rco_4m.hw }, 816 { .hw = &rco_4m.hw }, 845 { .hw = &rco_4m.hw }, 879 { .hw = &rco_4m.hw }, 889 { .hw = &rco_4m.hw }, 898 { .hw = &rco_4m.hw }, [all …]
|
| A D | sc9863a-clk.c | 331 { .hw = &rco_4m.hw }, 332 { .hw = &rco_25m.hw }, 342 { .hw = &rco_4m.hw }, 343 { .hw = &rco_25m.hw }, 394 { .hw = &rco_4m.hw }, 415 { .hw = &rco_4m.hw }, 430 { .hw = &rco_4m.hw }, 445 { .hw = &rco_4m.hw }, 452 { .hw = &rco_4m.hw }, 460 { .hw = &rco_4m.hw }, [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_phy.c | 242 hw->phy.ops.read_reg(hw, in ixgbe_probe_phy() 410 if (!hw->phy.reset_if_overtemp && hw->phy.ops.check_overtemp(hw)) in ixgbe_reset_phy_generic() 433 status = hw->phy.ops.read_reg(hw, in ixgbe_reset_phy_generic() 827 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_mii_bus_read_c22() local 844 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_mii_bus_read_c45() local 1205 hw->phy.ops.setup_link(hw); in ixgbe_setup_phy_link_speed_generic() 1551 hw->mac.ops.set_lan_id(hw); in ixgbe_identify_sfp_module_generic() 1839 hw->mac.ops.set_lan_id(hw); in ixgbe_identify_qsfp_module_generic() 1886 hw->phy.ops.read_i2c_eeprom(hw, in ixgbe_identify_qsfp_module_generic() 1890 hw->phy.ops.read_i2c_eeprom(hw, in ixgbe_identify_qsfp_module_generic() [all …]
|
| A D | ixgbe_common.c | 277 hw->phy.media_type = hw->mac.ops.get_media_type(hw); in ixgbe_start_hw_generic() 280 hw->phy.ops.identify(hw); in ixgbe_start_hw_generic() 283 hw->mac.ops.clear_vfta(hw); in ixgbe_start_hw_generic() 286 hw->mac.ops.clear_hw_cntrs(hw); in ixgbe_start_hw_generic() 474 hw->phy.ops.identify(hw); in ixgbe_clear_hw_cntrs_generic() 668 hw->mac.ops.set_lan_id(hw); in ixgbe_get_bus_info_generic() 724 hw->mac.ops.disable_rx(hw); in ixgbe_stop_adapter_generic() 1932 hw->mac.ops.get_mac_addr(hw, hw->mac.addr); in ixgbe_init_rx_addrs_generic() 2151 hw->mac.ops.fc_autoneg(hw); in ixgbe_fc_enable_generic() 2725 hw->mac.ops.enable_rx(hw); in ixgbe_enable_rx_dma_generic() [all …]
|
| A D | ixgbe_x540.c | 57 return hw->phy.ops.setup_link_speed(hw, speed, in ixgbe_setup_mac_link_X540() 76 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_X540() 94 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_reset_hw_X540() 125 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_X540() 133 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_X540() 136 hw->mac.ops.get_san_mac_addr(hw, hw->mac.san_addr); in ixgbe_reset_hw_X540() 143 hw->mac.ops.set_rar(hw, hw->mac.san_mac_rar_index, in ixgbe_reset_hw_X540() 147 hw->mac.ops.clear_vmdq(hw, hw->mac.san_mac_rar_index, in ixgbe_reset_hw_X540() 155 hw->mac.ops.get_wwn_prefix(hw, &hw->mac.wwnn_prefix, in ixgbe_reset_hw_X540() 198 eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); in ixgbe_init_eeprom_params_X540() [all …]
|
| A D | ixgbe_82599.c | 930 status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82599() 946 hw->phy.ops.reset(hw); in ixgbe_reset_hw_82599() 1046 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_82599() 1054 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_82599() 1057 hw->mac.ops.get_san_mac_addr(hw, hw->mac.san_addr); in ixgbe_reset_hw_82599() 1064 hw->mac.ops.set_rar(hw, hw->mac.san_mac_rar_index, in ixgbe_reset_hw_82599() 1068 hw->mac.ops.clear_vmdq(hw, hw->mac.san_mac_rar_index, in ixgbe_reset_hw_82599() 1076 hw->mac.ops.get_wwn_prefix(hw, &hw->mac.wwnn_prefix, in ixgbe_reset_hw_82599() 1852 hw->mac.ops.enable_rx(hw); in ixgbe_enable_rx_dma_82599() 1854 hw->mac.ops.disable_rx(hw); in ixgbe_enable_rx_dma_82599() [all …]
|
| A D | ixgbe_x550.c | 96 return hw->link.ops.read_link_unlocked(hw, hw->link.addr, reg, value); in ixgbe_read_cs4227() 109 return hw->link.ops.write_link_unlocked(hw, hw->link.addr, reg, value); in ixgbe_write_cs4227() 1003 hw->eeprom.ops.init_params(hw); in ixgbe_calc_checksum_X550() 1247 hw->mac.ops.set_lan_id(hw); in ixgbe_get_bus_info_X550em() 1680 status = hw->link.ops.write_link(hw, hw->link.addr, reg_slice, in ixgbe_setup_mac_link_sfp_x550em() 3098 status = hw->phy.ops.read_reg(hw, in ixgbe_enter_lplu_t_x550em() 3197 hw->mac.ops.set_lan_id(hw); in ixgbe_init_phy_ops_X550em() 3415 status = hw->phy.ops.init(hw); in ixgbe_reset_hw_X550em() 3437 hw->phy.ops.reset(hw); in ixgbe_reset_hw_X550em() 3490 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_X550em() [all …]
|
| /linux/drivers/net/ethernet/atheros/alx/ |
| A D | hw.c | 389 alx_write_mem32(hw, ALX_MAC_CTRL, hw->rx_ctrl); in alx_stop_mac() 480 alx_write_mem32(hw, ALX_MAC_CTRL, hw->rx_ctrl); in alx_reset_mac() 641 alx_write_mem32(hw, ALX_MAC_CTRL, hw->rx_ctrl); in alx_cfg_mac_flowcontrol() 855 cfg = ethadv_to_hw_cfg(hw, hw->adv_cfg); in alx_phy_configured() 937 alx_set_macaddr(hw, hw->mac_addr); in alx_configure_basic() 946 alx_write_mem32(hw, ALX_SMB_TIMER, hw->smb_timer * 500UL); in alx_configure_basic() 958 alx_write_mem32(hw, ALX_TINT_TPD_THRSHLD, hw->ith_tpd); in alx_configure_basic() 959 alx_write_mem32(hw, ALX_TINT_TIMER, hw->imt); in alx_configure_basic() 1052 if (alx_read_phy_reg(hw, MII_PHYSID1, &hw->phy_id[0]) || in alx_get_phy_info() 1053 alx_read_phy_reg(hw, MII_PHYSID2, &hw->phy_id[1])) in alx_get_phy_info() [all …]
|
| /linux/drivers/clk/meson/ |
| A D | meson8b.c | 681 { .hw = &meson8b_sys_pll.hw, }, 807 { .hw = &meson8b_fclk_div4.hw, }, 808 { .hw = &meson8b_fclk_div3.hw, }, 809 { .hw = &meson8b_fclk_div5.hw, }, 810 { .hw = &meson8b_fclk_div7.hw, }, 1871 { .hw = &meson8b_mpll2.hw, }, 1872 { .hw = &meson8b_mpll1.hw, }, 1873 { .hw = &meson8b_fclk_div7.hw, }, 1874 { .hw = &meson8b_fclk_div4.hw, }, 1875 { .hw = &meson8b_fclk_div3.hw, }, [all …]
|
| A D | g12a.c | 368 { .hw = &g12a_fclk_div2.hw }, 369 { .hw = &g12a_fclk_div3.hw }, 388 { .hw = &g12a_fclk_div2.hw }, 389 { .hw = &g12a_fclk_div3.hw }, 552 { .hw = &g12a_fclk_div2.hw }, 553 { .hw = &g12a_fclk_div3.hw }, 719 { .hw = &sm1_gp1_pll.hw }, 739 { .hw = &sm1_gp1_pll.hw }, 2422 { .hw = &g12a_mpll1.hw }, 2423 { .hw = &g12a_mpll2.hw }, [all …]
|
| A D | gxbb.c | 887 { .hw = &gxbb_fclk_div7.hw }, 888 { .hw = &gxbb_mpll1.hw }, 889 { .hw = &gxbb_mpll2.hw }, 960 { .hw = &gxbb_clk81.hw }, 1008 { .hw = &gxbb_gp0_pll.hw }, 1009 { .hw = &gxbb_mpll2.hw }, 1010 { .hw = &gxbb_mpll1.hw }, 2570 { .hw = &gxbb_vdec_1.hw }, 2572 { .hw = &gxbb_mpll0.hw }, 2573 { .hw = &gxbb_mpll1.hw }, [all …]
|
| /linux/drivers/spi/ |
| A D | spi-au1550.c | 347 hw->rx = hw->dma_rx_tmpbuf; in au1550_spi_dma_txrxb() 356 hw->tx = hw->rx; in au1550_spi_dma_txrxb() 450 hw->rx_count = hw->len; in au1550_spi_dma_irq_callback() 451 hw->tx_count = hw->len; in au1550_spi_dma_irq_callback() 510 hw->tx_word(hw); in au1550_spi_pio_txrxb() 585 hw->rx_word(hw); in au1550_spi_pio_irq_callback() 589 hw->tx_word(hw); in au1550_spi_pio_irq_callback() 637 return hw->irq_callback(hw); in au1550_spi_irq() 794 hw->bitbang.ctlr = hw->host; in au1550_spi_probe() 888 free_irq(hw->irq, hw); in au1550_spi_probe() [all …]
|
| A D | spi-altera-core.c | 96 txd = hw->tx[hw->count]; in altera_spi_tx_word() 99 txd = (hw->tx[hw->count * 2] in altera_spi_tx_word() 100 | (hw->tx[hw->count * 2 + 1] << 8)); in altera_spi_tx_word() 103 txd = (hw->tx[hw->count * 4] in altera_spi_tx_word() 104 | (hw->tx[hw->count * 4 + 1] << 8) in altera_spi_tx_word() 105 | (hw->tx[hw->count * 4 + 2] << 16) in altera_spi_tx_word() 123 hw->rx[hw->count] = rxd; in altera_spi_rx_word() 126 hw->rx[hw->count * 2] = rxd; in altera_spi_rx_word() 130 hw->rx[hw->count * 4] = rxd; in altera_spi_rx_word() 165 while (hw->count < hw->len) { in altera_spi_txrx() [all …]
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| A D | i40e_adminq.c | 30 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf); in i40e_alloc_adminq_asq_ring() 62 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf); in i40e_free_adminq_asq() 74 i40e_free_dma_mem(hw, &hw->aq.arq.desc_buf); in i40e_free_adminq_arq() 138 i40e_free_virt_mem(hw, &hw->aq.arq.dma_head); in i40e_alloc_arq_bufs() 177 i40e_free_virt_mem(hw, &hw->aq.asq.dma_head); in i40e_alloc_asq_bufs() 195 i40e_free_dma_mem(hw, &hw->aq.arq.desc_buf); in i40e_free_arq_bufs() 215 i40e_free_virt_mem(hw, &hw->aq.asq.cmd_buf); in i40e_free_asq_bufs() 218 i40e_free_dma_mem(hw, &hw->aq.asq.desc_buf); in i40e_free_asq_bufs() 334 hw->aq.asq.count = hw->aq.num_asq_entries; in i40e_init_asq() 393 hw->aq.arq.count = hw->aq.num_arq_entries; in i40e_init_arq() [all …]
|
| A D | i40e_nvm.c | 64 if (hw->nvm.blank_nvm_mode) in i40e_acquire_nvm() 320 i40e_release_nvm(hw); in i40e_read_nvm_word() 528 i40e_release_nvm(hw); in i40e_read_nvm_buffer() 720 i40e_release_nvm(hw); in i40e_validate_nvm_checksum() 1032 status = i40e_allocate_virt_mem(hw, &hw->nvm_buff, in i40e_nvmupd_exec_aq() 1040 if (hw->nvm_buff.va) { in i40e_nvmupd_exec_aq() 1056 i40e_aq_str(hw, hw->aq.asq_last_status)); in i40e_nvmupd_exec_aq() 1339 i40e_release_nvm(hw); in i40e_nvmupd_state_reading() 1498 hw->nvmupd_state, in i40e_nvmupd_command() 1499 hw->nvm_release_on_done, hw->nvm_wait_opcode, in i40e_nvmupd_command() [all …]
|
| /linux/drivers/isdn/hardware/mISDN/ |
| A D | mISDNinfineon.c | 478 hw->ipac.write_reg(hw, IPAC_CONF, hw->ipac.conf); in ipac_chip_reset() 600 ret = request_irq(hw->irq, hw->ci->irqfunc, IRQF_SHARED, hw->name, hw); in init_irq() 619 hw->irq, hw->irqcnt); in init_irq() 626 free_irq(hw->irq, hw); in init_irq() 660 hw->cfg.size = pci_resource_len(hw->pdev, hw->ci->cfg_bar); in setup_io() 678 hw->cfg.p = ioremap(hw->cfg.start, hw->cfg.size); in setup_io() 708 hw->addr.p = ioremap(hw->addr.start, hw->addr.size); in setup_io() 734 hw->isac.a.p = hw->addr.p; in setup_io() 736 hw->hscx.a.p = hw->addr.p; in setup_io() 741 hw->isac.a.p = hw->addr.p; in setup_io() [all …]
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| A D | iavf_adminq.c | 30 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf); in iavf_alloc_adminq_asq_ring() 63 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf); in iavf_free_adminq_asq() 75 iavf_free_dma_mem(hw, &hw->aq.arq.desc_buf); in iavf_free_adminq_arq() 141 iavf_free_virt_mem(hw, &hw->aq.arq.dma_head); in iavf_alloc_arq_bufs() 182 iavf_free_virt_mem(hw, &hw->aq.asq.dma_head); in iavf_alloc_asq_bufs() 200 iavf_free_dma_mem(hw, &hw->aq.arq.desc_buf); in iavf_free_arq_bufs() 203 iavf_free_virt_mem(hw, &hw->aq.arq.dma_head); in iavf_free_arq_bufs() 220 iavf_free_virt_mem(hw, &hw->aq.asq.cmd_buf); in iavf_free_asq_bufs() 223 iavf_free_dma_mem(hw, &hw->aq.asq.desc_buf); in iavf_free_asq_bufs() 340 hw->aq.asq.count = hw->aq.num_asq_entries; in iavf_init_asq() [all …]
|
| /linux/drivers/scsi/csiostor/ |
| A D | csio_isr.c | 51 if (unlikely(!hw)) in csio_nondata_isr() 330 intx_q = csio_get_q(hw, hw->intr_iq_idx); in csio_fcoe_isr() 363 CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), CSIO_PCI_FUNC(hw)); in csio_add_msix_desc() 368 CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), CSIO_PCI_FUNC(hw)); in csio_add_msix_desc() 375 CSIO_PCI_BUS(hw), CSIO_PCI_DEV(hw), in csio_add_msix_desc() 433 csio_err(hw, in csio_request_irqs() 474 csio_dbg(hw, "Reduced sqsets to %d\n", hw->num_sqsets); in csio_reduce_sqsets() 505 .priv = hw, in csio_enable_msix() 565 if (hw->cfg_niq < (hw->num_sqsets + extra)) { in csio_intr_enable() 568 csio_reduce_sqsets(hw, hw->cfg_niq - extra); in csio_intr_enable() [all …]
|
| A D | csio_init.c | 83 ret = hw->chip_ops->chip_mc_read(hw, 0, pos, in csio_mem_read() 86 ret = hw->chip_ops->chip_edc_read(hw, mem, pos, in csio_mem_read() 133 hw->chip_ops->chip_dfs_create_ext_mem(hw); in csio_setup_debugfs() 267 rv = csio_wr_iq_create(hw, NULL, hw->intr_iq_idx, in csio_create_queues() 276 rv = csio_wr_iq_create(hw, NULL, hw->fwevt_iq_idx, in csio_create_queues() 347 hw->num_sqsets = num_online_cpus() * hw->num_pports; in csio_config_queues() 359 hw->num_sqsets, hw->num_scsi_msix_cpus); in csio_config_queues() 520 if (!hw) in csio_hw_alloc() 547 csio_dbg(hw, "hw:%p\n", hw); in csio_hw_alloc() 549 return hw; in csio_hw_alloc() [all …]
|
| A D | csio_hw.c | 1415 hw->cfg_niq, hw->cfg_neq); in csio_get_device_params() 2782 hw->prev_evt = hw->cur_evt; in csio_hws_uninit() 2807 hw->prev_evt = hw->cur_evt; in csio_hws_configuring() 2845 hw->prev_evt = hw->cur_evt; in csio_hws_initializing() 2886 hw->prev_evt = hw->cur_evt; in csio_hws_ready() 2932 hw->prev_evt = hw->cur_evt; in csio_hws_quiescing() 2992 hw->prev_evt = hw->cur_evt; in csio_hws_quiesced() 3017 hw->prev_evt = hw->cur_evt; in csio_hws_resetting() 3043 hw->prev_evt = hw->cur_evt; in csio_hws_removing() 3078 hw->prev_evt = hw->cur_evt; in csio_hws_pcierr() [all …]
|
| /linux/drivers/net/ethernet/atheros/atl1c/ |
| A D | atl1c_hw.c | 79 if (atl1c_read_current_addr(hw, hw->perm_mac_addr)) in atl1c_get_permanent_address() 85 if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c) { in atl1c_get_permanent_address() 95 if (hw->nic_type == athr_l2c_b || hw->nic_type == athr_l2c_b2) { in atl1c_get_permanent_address() 119 if ((hw->nic_type == athr_l1c || hw->nic_type == athr_l2c)) { in atl1c_get_permanent_address() 134 if (atl1c_read_current_addr(hw, hw->perm_mac_addr)) in atl1c_get_permanent_address() 191 memcpy(hw->mac_addr, hw->perm_mac_addr, sizeof(hw->perm_mac_addr)); in atl1c_read_mac_addr() 314 hw->hibernate) in atl1c_read_phy_core() 362 hw->hibernate) in atl1c_write_phy_core() 544 hw->nic_type == athr_l1d || hw->nic_type == athr_l1d_2 ? in atl1c_phy_reset() 603 (atl1c_read_phy_reg(hw, MII_PHYSID2, &hw->phy_id2) != 0)) { in atl1c_phy_init() [all …]
|
| /linux/drivers/net/ethernet/intel/e1000/ |
| A D | e1000_hw.c | 588 if (hw->dma_fairness && hw->mac_type <= e1000_82543) { in e1000_init_hw() 726 hw->original_fc = hw->fc; in e1000_setup_link() 1105 hw->mdix = 1; in e1000_copper_link_igp_setup() 3423 if (!hw->autoneg && (hw->mdix == 0 || hw->mdix == 3)) { in e1000_validate_mdi_setting() 4249 hw->mac_addr[i] = hw->perm_mac_addr[i]; in e1000_read_mac_addr() 4269 e1000_rar_set(hw, hw->mac_addr, 0); in e1000_init_rx_addrs() 4424 hw->ledctl_mode1 = hw->ledctl_default; in e1000_id_led_init() 4425 hw->ledctl_mode2 = hw->ledctl_default; in e1000_id_led_init() 4766 if ((hw->collision_delta * hw->ifs_ratio) > hw->tx_packet_delta) { in e1000_update_adaptive() 4769 if (hw->current_ifs_val < hw->ifs_max_val) { in e1000_update_adaptive() [all …]
|
| /linux/drivers/clk/sophgo/ |
| A D | clk-cv1800.c | 71 { .hw = &clk_mipimpll.common.hw }, 75 { .hw = &clk_mipimpll.common.hw }, 79 { .hw = &clk_fpll.common.hw }, 167 { .hw = &clk_cam0pll.common.hw }, 187 { .hw = &clk_tpll.common.hw }, 188 { .hw = &clk_a0pll.common.hw }, 190 { .hw = &clk_fpll.common.hw }, 221 { .hw = &clk_fpll.common.hw }, 291 { .hw = &clk_1m.common.hw }, 457 { .hw = &clk_a24m.common.hw }, [all …]
|
| /linux/drivers/clk/qcom/ |
| A D | clk-rpmh.c | 51 struct clk_hw hw; member 315 if (clk_hw_is_prepared(hw)) in clk_rpmh_bcm_set_rate() 405 [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, 406 [RPMH_CE_CLK] = &clk_rpmh_ce.hw, 420 [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, 421 [RPMH_PKA_CLK] = &clk_rpmh_pka.hw, 441 [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, 442 [RPMH_CE_CLK] = &clk_rpmh_ce.hw, 458 [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, 479 [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, [all …]
|
| /linux/drivers/clk/sunxi-ng/ |
| A D | ccu-sun5i.c | 34 .hw.init = CLK_HW_INIT("pll-core", 106 .hw.init = CLK_HW_INIT("pll-ve", 607 &pll_audio_base_clk.common.hw 624 &pll_video0_clk.common.hw, 627 &pll_video1_clk.common.hw, 697 [CLK_TS] = &ts_clk.common.hw, 698 [CLK_SS] = &ss_clk.common.hw, 702 [CLK_IR] = &ir_clk.common.hw, 723 [CLK_VE] = &ve_clk.common.hw, 831 [CLK_SS] = &ss_clk.common.hw, [all …]
|