Lines Matching refs:ops

2989 	const struct rtw89_hci_ops *ops;  member
3387 const struct rtw89_chip_ops *ops; member
4286 const struct ieee80211_ops *ops; member
4393 return rtwdev->hci.ops->tx_write(rtwdev, tx_req); in rtw89_hci_tx_write()
4398 rtwdev->hci.ops->reset(rtwdev); in rtw89_hci_reset()
4403 return rtwdev->hci.ops->start(rtwdev); in rtw89_hci_start()
4408 rtwdev->hci.ops->stop(rtwdev); in rtw89_hci_stop()
4413 return rtwdev->hci.ops->deinit(rtwdev); in rtw89_hci_deinit()
4418 rtwdev->hci.ops->pause(rtwdev, pause); in rtw89_hci_pause()
4423 rtwdev->hci.ops->switch_mode(rtwdev, low_power); in rtw89_hci_switch_mode()
4428 rtwdev->hci.ops->recalc_int_mit(rtwdev); in rtw89_hci_recalc_int_mit()
4433 return rtwdev->hci.ops->check_and_reclaim_tx_resource(rtwdev, txch); in rtw89_hci_check_and_reclaim_tx_resource()
4438 return rtwdev->hci.ops->tx_kick_off(rtwdev, txch); in rtw89_hci_tx_kick_off()
4447 if (rtwdev->hci.ops->flush_queues) in rtw89_hci_flush_queues()
4448 return rtwdev->hci.ops->flush_queues(rtwdev, queues, drop); in rtw89_hci_flush_queues()
4453 if (rtwdev->hci.ops->recovery_start) in rtw89_hci_recovery_start()
4454 rtwdev->hci.ops->recovery_start(rtwdev); in rtw89_hci_recovery_start()
4459 if (rtwdev->hci.ops->recovery_complete) in rtw89_hci_recovery_complete()
4460 rtwdev->hci.ops->recovery_complete(rtwdev); in rtw89_hci_recovery_complete()
4465 if (rtwdev->hci.ops->enable_intr) in rtw89_hci_enable_intr()
4466 rtwdev->hci.ops->enable_intr(rtwdev); in rtw89_hci_enable_intr()
4471 if (rtwdev->hci.ops->disable_intr) in rtw89_hci_disable_intr()
4472 rtwdev->hci.ops->disable_intr(rtwdev); in rtw89_hci_disable_intr()
4477 if (rtwdev->hci.ops->ctrl_txdma_ch) in rtw89_hci_ctrl_txdma_ch()
4478 rtwdev->hci.ops->ctrl_txdma_ch(rtwdev, enable); in rtw89_hci_ctrl_txdma_ch()
4483 if (rtwdev->hci.ops->ctrl_txdma_fw_ch) in rtw89_hci_ctrl_txdma_fw_ch()
4484 rtwdev->hci.ops->ctrl_txdma_fw_ch(rtwdev, enable); in rtw89_hci_ctrl_txdma_fw_ch()
4489 if (rtwdev->hci.ops->ctrl_trxhci) in rtw89_hci_ctrl_trxhci()
4490 rtwdev->hci.ops->ctrl_trxhci(rtwdev, enable); in rtw89_hci_ctrl_trxhci()
4497 if (rtwdev->hci.ops->poll_txdma_ch) in rtw89_hci_poll_txdma_ch()
4498 ret = rtwdev->hci.ops->poll_txdma_ch(rtwdev); in rtw89_hci_poll_txdma_ch()
4504 if (rtwdev->hci.ops->clr_idx_all) in rtw89_hci_clr_idx_all()
4505 rtwdev->hci.ops->clr_idx_all(rtwdev); in rtw89_hci_clr_idx_all()
4512 if (rtwdev->hci.ops->rst_bdram) in rtw89_hci_rst_bdram()
4513 ret = rtwdev->hci.ops->rst_bdram(rtwdev); in rtw89_hci_rst_bdram()
4519 if (rtwdev->hci.ops->clear) in rtw89_hci_clear()
4520 rtwdev->hci.ops->clear(rtwdev, pdev); in rtw89_hci_clear()
4533 return rtwdev->hci.ops->read8(rtwdev, addr); in rtw89_read8()
4538 return rtwdev->hci.ops->read16(rtwdev, addr); in rtw89_read16()
4543 return rtwdev->hci.ops->read32(rtwdev, addr); in rtw89_read32()
4548 rtwdev->hci.ops->write8(rtwdev, addr, data); in rtw89_write8()
4553 rtwdev->hci.ops->write16(rtwdev, addr, data); in rtw89_write16()
4558 rtwdev->hci.ops->write32(rtwdev, addr, data); in rtw89_write32()
4703 val = rtwdev->chip->ops->read_rf(rtwdev, rf_path, addr, mask); in rtw89_read_rf()
4714 rtwdev->chip->ops->write_rf(rtwdev, rf_path, addr, mask, data); in rtw89_write_rf()
4863 rtwdev->chip->ops->set_channel_help(rtwdev, true, p, chan, in rtw89_chip_set_channel_prepare()
4874 rtwdev->chip->ops->set_channel_help(rtwdev, false, p, chan, in rtw89_chip_set_channel_done()
4913 if (chip->ops->fem_setup) in rtw89_chip_fem_setup()
4914 chip->ops->fem_setup(rtwdev); in rtw89_chip_fem_setup()
4921 if (chip->ops->rfe_gpio) in rtw89_chip_rfe_gpio()
4922 chip->ops->rfe_gpio(rtwdev); in rtw89_chip_rfe_gpio()
4929 if (chip->ops->bb_sethw) in rtw89_chip_bb_sethw()
4930 chip->ops->bb_sethw(rtwdev); in rtw89_chip_bb_sethw()
4937 if (chip->ops->rfk_init) in rtw89_chip_rfk_init()
4938 chip->ops->rfk_init(rtwdev); in rtw89_chip_rfk_init()
4945 if (chip->ops->rfk_channel) in rtw89_chip_rfk_channel()
4946 chip->ops->rfk_channel(rtwdev); in rtw89_chip_rfk_channel()
4954 if (chip->ops->rfk_band_changed) in rtw89_chip_rfk_band_changed()
4955 chip->ops->rfk_band_changed(rtwdev, phy_idx); in rtw89_chip_rfk_band_changed()
4962 if (chip->ops->rfk_scan) in rtw89_chip_rfk_scan()
4963 chip->ops->rfk_scan(rtwdev, start); in rtw89_chip_rfk_scan()
4970 if (chip->ops->rfk_track) in rtw89_chip_rfk_track()
4971 chip->ops->rfk_track(rtwdev); in rtw89_chip_rfk_track()
4978 if (chip->ops->set_txpwr_ctrl) in rtw89_chip_set_txpwr_ctrl()
4979 chip->ops->set_txpwr_ctrl(rtwdev, RTW89_PHY_0); in rtw89_chip_set_txpwr_ctrl()
4986 if (chip->ops->power_trim) in rtw89_chip_power_trim()
4987 chip->ops->power_trim(rtwdev); in rtw89_chip_power_trim()
4995 if (chip->ops->init_txpwr_unit) in rtw89_chip_init_txpwr_unit()
4996 chip->ops->init_txpwr_unit(rtwdev, phy_idx); in rtw89_chip_init_txpwr_unit()
5004 if (!chip->ops->get_thermal) in rtw89_chip_get_thermal()
5007 return chip->ops->get_thermal(rtwdev, rf_path); in rtw89_chip_get_thermal()
5016 if (chip->ops->query_ppdu) in rtw89_chip_query_ppdu()
5017 chip->ops->query_ppdu(rtwdev, phy_ppdu, status); in rtw89_chip_query_ppdu()
5025 if (chip->ops->bb_ctrl_btc_preagc) in rtw89_chip_bb_ctrl_btc_preagc()
5026 chip->ops->bb_ctrl_btc_preagc(rtwdev, bt_en); in rtw89_chip_bb_ctrl_btc_preagc()
5033 if (chip->ops->cfg_txrx_path) in rtw89_chip_cfg_txrx_path()
5034 chip->ops->cfg_txrx_path(rtwdev); in rtw89_chip_cfg_txrx_path()
5047 if (chip->ops->set_txpwr_ul_tb_offset) in rtw89_chip_cfg_txpwr_ul_tb_offset()
5048 chip->ops->set_txpwr_ul_tb_offset(rtwdev, 0, rtwvif->mac_idx); in rtw89_chip_cfg_txpwr_ul_tb_offset()
5068 if (chip->ops->ctrl_btg) in rtw89_ctrl_btg()
5069 chip->ops->ctrl_btg(rtwdev, btg); in rtw89_ctrl_btg()
5079 chip->ops->query_rxdesc(rtwdev, desc_info, data, data_offset); in rtw89_chip_query_rxdesc()
5089 chip->ops->fill_txdesc(rtwdev, desc_info, txdesc); in rtw89_chip_fill_txdesc()
5099 chip->ops->fill_txdesc_fwcmd(rtwdev, desc_info, txdesc); in rtw89_chip_fill_txdesc_fwcmd()
5108 chip->ops->mac_cfg_gnt(rtwdev, gnt_cfg); in rtw89_chip_mac_cfg_gnt()
5115 chip->ops->cfg_ctrl_path(rtwdev, wl); in rtw89_chip_cfg_ctrl_path()
5124 return chip->ops->stop_sch_tx(rtwdev, mac_idx, tx_en, sel); in rtw89_chip_stop_sch_tx()
5132 return chip->ops->resume_sch_tx(rtwdev, mac_idx, tx_en); in rtw89_chip_resume_sch_tx()
5142 if (!chip->ops->h2c_dctl_sec_cam) in rtw89_chip_h2c_dctl_sec_cam()
5144 return chip->ops->h2c_dctl_sec_cam(rtwdev, rtwvif, rtwsta); in rtw89_chip_h2c_dctl_sec_cam()