Home
last modified time | relevance | path

Searched refs:hw (Results 1 – 25 of 1725) sorted by relevance

12345678910>>...69

/linux-6.3-rc2/drivers/clk/sprd/
A Dums512-clk.c555 { .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 Dsc9863a-clk.c331 { .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-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_phy.c242 hw->phy.ops.read_reg(hw, in ixgbe_probe_phy()
435 status = hw->phy.ops.read_reg(hw, in ixgbe_reset_phy_generic()
829 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_mii_bus_read_c22() local
846 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_mii_bus_read_c45() local
863 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_mii_bus_write_c22() local
1207 hw->phy.ops.setup_link(hw); in ixgbe_setup_phy_link_speed_generic()
1553 hw->mac.ops.set_lan_id(hw); in ixgbe_identify_sfp_module_generic()
1820 hw->mac.ops.set_lan_id(hw); in ixgbe_identify_qsfp_module_generic()
1867 hw->phy.ops.read_i2c_eeprom(hw, in ixgbe_identify_qsfp_module_generic()
1871 hw->phy.ops.read_i2c_eeprom(hw, in ixgbe_identify_qsfp_module_generic()
[all …]
A Dixgbe_common.c277 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()
1945 hw->mac.ops.get_mac_addr(hw, hw->mac.addr); in ixgbe_init_rx_addrs_generic()
2164 hw->mac.ops.fc_autoneg(hw); in ixgbe_fc_enable_generic()
2738 hw->mac.ops.enable_rx(hw); in ixgbe_enable_rx_dma_generic()
[all …]
A Dixgbe_x540.c57 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()
197 eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); in ixgbe_init_eeprom_params_X540()
[all …]
A Dixgbe_82599.c928 status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82599()
944 hw->phy.ops.reset(hw); in ixgbe_reset_hw_82599()
1044 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_82599()
1052 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_82599()
1055 hw->mac.ops.get_san_mac_addr(hw, hw->mac.san_addr); in ixgbe_reset_hw_82599()
1062 hw->mac.ops.set_rar(hw, hw->mac.san_mac_rar_index, in ixgbe_reset_hw_82599()
1066 hw->mac.ops.clear_vmdq(hw, hw->mac.san_mac_rar_index, in ixgbe_reset_hw_82599()
1074 hw->mac.ops.get_wwn_prefix(hw, &hw->mac.wwnn_prefix, in ixgbe_reset_hw_82599()
1850 hw->mac.ops.enable_rx(hw); in ixgbe_enable_rx_dma_82599()
1852 hw->mac.ops.disable_rx(hw); in ixgbe_enable_rx_dma_82599()
[all …]
A Dixgbe_x550.c96 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()
1001 hw->eeprom.ops.init_params(hw); in ixgbe_calc_checksum_X550()
1245 hw->mac.ops.set_lan_id(hw); in ixgbe_get_bus_info_X550em()
1679 status = hw->link.ops.write_link(hw, hw->link.addr, reg_slice, in ixgbe_setup_mac_link_sfp_x550em()
3145 status = hw->phy.ops.read_reg(hw, in ixgbe_enter_lplu_t_x550em()
3243 hw->mac.ops.set_lan_id(hw); in ixgbe_init_phy_ops_X550em()
3462 status = hw->phy.ops.init(hw); in ixgbe_reset_hw_X550em()
3485 hw->phy.ops.reset(hw); in ixgbe_reset_hw_X550em()
3538 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_X550em()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_adminq.c275 wr32(hw, hw->aq.asq.head, 0); in i40e_config_asq_regs()
276 wr32(hw, hw->aq.asq.tail, 0); in i40e_config_asq_regs()
279 wr32(hw, hw->aq.asq.len, (hw->aq.num_asq_entries | in i40e_config_asq_regs()
304 wr32(hw, hw->aq.arq.head, 0); in i40e_config_arq_regs()
305 wr32(hw, hw->aq.arq.tail, 0); in i40e_config_arq_regs()
308 wr32(hw, hw->aq.arq.len, (hw->aq.num_arq_entries | in i40e_config_arq_regs()
314 wr32(hw, hw->aq.arq.tail, hw->aq.num_arq_entries - 1); in i40e_config_arq_regs()
462 wr32(hw, hw->aq.asq.len, 0); in i40e_shutdown_asq()
463 wr32(hw, hw->aq.asq.bal, 0); in i40e_shutdown_asq()
464 wr32(hw, hw->aq.asq.bah, 0); in i40e_shutdown_asq()
[all …]
A Di40e_nvm.c62 if (hw->nvm.blank_nvm_mode) in i40e_acquire_nvm()
319 i40e_release_nvm(hw); in i40e_read_nvm_word()
527 i40e_release_nvm(hw); in i40e_read_nvm_buffer()
719 i40e_release_nvm(hw); in i40e_validate_nvm_checksum()
825 hw->nvmupd_state, in i40e_nvmupd_command()
826 hw->nvm_release_on_done, hw->nvm_wait_opcode, in i40e_nvmupd_command()
943 i40e_release_nvm(hw); in i40e_nvmupd_state_init()
1082 i40e_release_nvm(hw); in i40e_nvmupd_state_reading()
1228 i40e_release_nvm(hw); in i40e_nvmupd_clear_wait_state()
1410 status = i40e_allocate_virt_mem(hw, &hw->nvm_buff, in i40e_nvmupd_exec_aq()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/atheros/alx/
A Dhw.c389 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-6.3-rc2/drivers/clk/meson/
A Dmeson8b.c677 { .hw = &meson8b_sys_pll.hw, },
803 { .hw = &meson8b_fclk_div4.hw, },
804 { .hw = &meson8b_fclk_div3.hw, },
805 { .hw = &meson8b_fclk_div5.hw, },
806 { .hw = &meson8b_fclk_div7.hw, },
1867 { .hw = &meson8b_mpll2.hw, },
1868 { .hw = &meson8b_mpll1.hw, },
1869 { .hw = &meson8b_fclk_div7.hw, },
1870 { .hw = &meson8b_fclk_div4.hw, },
1871 { .hw = &meson8b_fclk_div3.hw, },
[all …]
A Dg12a.c365 { .hw = &g12a_fclk_div2.hw },
366 { .hw = &g12a_fclk_div3.hw },
385 { .hw = &g12a_fclk_div2.hw },
386 { .hw = &g12a_fclk_div3.hw },
549 { .hw = &g12a_fclk_div2.hw },
550 { .hw = &g12a_fclk_div3.hw },
716 { .hw = &sm1_gp1_pll.hw },
736 { .hw = &sm1_gp1_pll.hw },
2419 { .hw = &g12a_mpll1.hw },
2420 { .hw = &g12a_mpll2.hw },
[all …]
A Dgxbb.c885 { .hw = &gxbb_fclk_div7.hw },
886 { .hw = &gxbb_mpll1.hw },
887 { .hw = &gxbb_mpll2.hw },
958 { .hw = &gxbb_clk81.hw },
1006 { .hw = &gxbb_gp0_pll.hw },
1007 { .hw = &gxbb_mpll2.hw },
1008 { .hw = &gxbb_mpll1.hw },
2568 { .hw = &gxbb_vdec_1.hw },
2570 { .hw = &gxbb_mpll0.hw },
2571 { .hw = &gxbb_mpll1.hw },
[all …]
/linux-6.3-rc2/drivers/spi/
A Dspi-au1550.c356 hw->rx = hw->dma_rx_tmpbuf; in au1550_spi_dma_txrxb()
365 hw->tx = hw->rx; in au1550_spi_dma_txrxb()
459 hw->rx_count = hw->len; in au1550_spi_dma_irq_callback()
460 hw->tx_count = hw->len; in au1550_spi_dma_irq_callback()
519 hw->tx_word(hw); in au1550_spi_pio_txrxb()
594 hw->rx_word(hw); in au1550_spi_pio_irq_callback()
598 hw->tx_word(hw); in au1550_spi_pio_irq_callback()
627 if (hw->rx_count >= hw->len) { in au1550_spi_pio_irq_callback()
646 return hw->irq_callback(hw); in au1550_spi_irq()
897 free_irq(hw->irq, hw); in au1550_spi_probe()
[all …]
A Dspi-altera-core.c96 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-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_adminq.c262 wr32(hw, hw->aq.asq.head, 0); in iavf_config_asq_regs()
263 wr32(hw, hw->aq.asq.tail, 0); in iavf_config_asq_regs()
266 wr32(hw, hw->aq.asq.len, (hw->aq.num_asq_entries | in iavf_config_asq_regs()
291 wr32(hw, hw->aq.arq.head, 0); in iavf_config_arq_regs()
292 wr32(hw, hw->aq.arq.tail, 0); in iavf_config_arq_regs()
295 wr32(hw, hw->aq.arq.len, (hw->aq.num_arq_entries | in iavf_config_arq_regs()
301 wr32(hw, hw->aq.arq.tail, hw->aq.num_arq_entries - 1); in iavf_config_arq_regs()
460 wr32(hw, hw->aq.asq.len, 0); in iavf_shutdown_asq()
461 wr32(hw, hw->aq.asq.bal, 0); in iavf_shutdown_asq()
462 wr32(hw, hw->aq.asq.bah, 0); in iavf_shutdown_asq()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgb/
A Dixgb_hw.c125 IXGB_WRITE_REG(hw, RCTL, IXGB_READ_REG(hw, RCTL) & ~IXGB_RCTL_RXEN); in ixgb_adapter_stop()
126 IXGB_WRITE_REG(hw, TCTL, IXGB_READ_REG(hw, TCTL) & ~IXGB_TCTL_TXEN); in ixgb_adapter_stop()
287 ixgb_mac_reset(hw); in ixgb_init_hw()
304 hw->device_id = ixgb_get_ee_device_id(hw); in ixgb_init_hw()
305 hw->phy_type = ixgb_identify_phy(hw); in ixgb_init_hw()
371 ixgb_get_ee_mac_addr(hw, hw->curr_mac_addr); in ixgb_init_rx_addrs()
381 ixgb_rar_set(hw, hw->curr_mac_addr, 0); in ixgb_init_rx_addrs()
689 IXGB_WRITE_REG(hw, FCRTL, hw->fc.low_water); in ixgb_setup_fc()
691 IXGB_WRITE_REG(hw, FCRTH, hw->fc.high_water); in ixgb_setup_fc()
902 hw->link_up = ixgb_link_reset(hw); in ixgb_check_for_link()
[all …]
A Dixgb_ee.c35 IXGB_WRITE_FLUSH(hw); in ixgb_raise_clock()
54 IXGB_WRITE_FLUSH(hw); in ixgb_lower_clock()
92 IXGB_WRITE_FLUSH(hw); in ixgb_shift_out_bits()
187 IXGB_WRITE_FLUSH(hw); in ixgb_standby_eeprom()
193 IXGB_WRITE_FLUSH(hw); in ixgb_standby_eeprom()
199 IXGB_WRITE_FLUSH(hw); in ixgb_standby_eeprom()
205 IXGB_WRITE_FLUSH(hw); in ixgb_standby_eeprom()
224 IXGB_WRITE_FLUSH(hw); in ixgb_clock_eeprom()
230 IXGB_WRITE_FLUSH(hw); in ixgb_clock_eeprom()
250 ixgb_clock_eeprom(hw); in ixgb_cleanup_eeprom()
[all …]
/linux-6.3-rc2/drivers/isdn/hardware/mISDN/
A DmISDNinfineon.c477 hw->ipac.write_reg(hw, IPAC_CONF, hw->ipac.conf); in ipac_chip_reset()
599 ret = request_irq(hw->irq, hw->ci->irqfunc, IRQF_SHARED, hw->name, hw); in init_irq()
618 hw->irq, hw->irqcnt); in init_irq()
625 free_irq(hw->irq, hw); in init_irq()
659 hw->cfg.size = pci_resource_len(hw->pdev, hw->ci->cfg_bar); in setup_io()
677 hw->cfg.p = ioremap(hw->cfg.start, hw->cfg.size); in setup_io()
707 hw->addr.p = ioremap(hw->addr.start, hw->addr.size); in setup_io()
733 hw->isac.a.p = hw->addr.p; in setup_io()
735 hw->hscx.a.p = hw->addr.p; in setup_io()
740 hw->isac.a.p = hw->addr.p; in setup_io()
[all …]
/linux-6.3-rc2/drivers/scsi/csiostor/
A Dcsio_isr.c51 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 Dcsio_init.c84 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()
134 hw->chip_ops->chip_dfs_create_ext_mem(hw); in csio_setup_debugfs()
268 rv = csio_wr_iq_create(hw, NULL, hw->intr_iq_idx, in csio_create_queues()
277 rv = csio_wr_iq_create(hw, NULL, hw->fwevt_iq_idx, in csio_create_queues()
348 hw->num_sqsets = num_online_cpus() * hw->num_pports; in csio_config_queues()
360 hw->num_sqsets, hw->num_scsi_msix_cpus); in csio_config_queues()
521 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 Dcsio_hw.c1415 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-6.3-rc2/drivers/net/ethernet/atheros/atl1c/
A Datl1c_hw.c79 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-6.3-rc2/drivers/net/ethernet/intel/e1000/
A De1000_hw.c587 if (hw->dma_fairness && hw->mac_type <= e1000_82543) { in e1000_init_hw()
725 hw->original_fc = hw->fc; in e1000_setup_link()
1104 hw->mdix = 1; in e1000_copper_link_igp_setup()
3427 if (!hw->autoneg && (hw->mdix == 0 || hw->mdix == 3)) { in e1000_validate_mdi_setting()
4253 hw->mac_addr[i] = hw->perm_mac_addr[i]; in e1000_read_mac_addr()
4273 e1000_rar_set(hw, hw->mac_addr, 0); in e1000_init_rx_addrs()
4428 hw->ledctl_mode1 = hw->ledctl_default; in e1000_id_led_init()
4429 hw->ledctl_mode2 = hw->ledctl_default; in e1000_id_led_init()
4770 if ((hw->collision_delta * hw->ifs_ratio) > hw->tx_packet_delta) { in e1000_update_adaptive()
4773 if (hw->current_ifs_val < hw->ifs_max_val) { in e1000_update_adaptive()
[all …]
/linux-6.3-rc2/drivers/clk/sunxi-ng/
A Dccu-sun5i.c34 .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 …]

Completed in 192 milliseconds

12345678910>>...69