Home
last modified time | relevance | path

Searched refs:hwp (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/freescale/
Dfec_ptp.c122 writel(FEC_T_TF_MASK, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
128 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
131 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
132 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
144 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps()
146 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps()
148 tempval = readl(fep->hwp + FEC_ATIME); in fec_ptp_enable_pps()
178 writel(val, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps()
184 val = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps()
186 writel(val, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps()
[all …]
Dfec_main.c868 writel(rxq->bd.dma, fep->hwp + FEC_R_DES_START(i)); in fec_enet_enable_ring()
869 writel(PKT_MAXBUF_SIZE, fep->hwp + FEC_R_BUFF_SIZE(i)); in fec_enet_enable_ring()
874 fep->hwp + FEC_RCMR(i)); in fec_enet_enable_ring()
879 writel(txq->bd.dma, fep->hwp + FEC_X_DES_START(i)); in fec_enet_enable_ring()
884 fep->hwp + FEC_DMA_CFG(i)); in fec_enet_enable_ring()
925 writel(0, fep->hwp + FEC_ECNTRL); in fec_restart()
927 writel(1, fep->hwp + FEC_ECNTRL); in fec_restart()
937 fep->hwp + FEC_ADDR_LOW); in fec_restart()
939 fep->hwp + FEC_ADDR_HIGH); in fec_restart()
942 writel(0xffffffff, fep->hwp + FEC_IEVENT); in fec_restart()
[all …]
Dfec.h501 void __iomem *hwp; member
/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_lnode.h150 struct csio_hw *hwp; /* Pointer to the HW module */ member
204 #define csio_lnode_to_hw(ln) ((ln)->hwp)
217 csio_dbg(_ln->hwp, "%x:%x "_fmt, CSIO_DEVID_HI(_ln), \
221 csio_err(_ln->hwp, "%x:%x "_fmt, CSIO_DEVID_HI(_ln), \
225 csio_warn(_ln->hwp, "%x:%x "_fmt, CSIO_DEVID_HI(_ln), \
Dcsio_scsi.c203 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_cmd_wr()
258 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_cmd()
362 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_read_wr()
415 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_write_wr()
483 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_read()
520 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_write()
556 struct csio_hw *hw = req->lnode->hwp; in csio_setup_ddp()
649 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_abrt_cls_wr()
677 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_abrt_cls()
705 struct csio_hw *hw = req->lnode->hwp; in csio_scsis_uninit()
[all …]
Dcsio_lnode.c680 struct csio_hw *hw = ln->hwp; in csio_ln_vnp_read()
717 struct csio_hw *hw = ln->hwp; in csio_fcoe_enable_link()
831 struct csio_hw *hw = ln->hwp; in csio_ln_read_fcf_entry()
1697 io_req->lnode->hwp, io_req->iq_idx)); in csio_ln_prep_ecwr()
/Linux-v5.4/drivers/isdn/hardware/mISDN/
Diohelper.h16 typedef u8 (read_reg_func)(void *hwp, u8 offset);
17 typedef void (write_reg_func)(void *hwp, u8 offset, u8 value);
18 typedef void (fifo_func)(void *hwp, u8 offset, u8 *datap, int size);
/Linux-v5.4/drivers/clk/
Dclk-stm32h7.c857 struct clk_hw *hwp; in odf_divider_set_rate() local
861 hwp = clk_hw_get_parent(hw); in odf_divider_set_rate()
863 pll_status = pll_is_enabled(hwp); in odf_divider_set_rate()
866 pll_disable(hwp); in odf_divider_set_rate()
871 pll_enable(hwp); in odf_divider_set_rate()
884 struct clk_hw *hwp; in odf_gate_enable() local
891 hwp = clk_hw_get_parent(hw); in odf_gate_enable()
893 pll_status = pll_is_enabled(hwp); in odf_gate_enable()
896 pll_disable(hwp); in odf_gate_enable()
901 pll_enable(hwp); in odf_gate_enable()
[all …]
Dclk.c3949 struct clk_hw **hwp; in devm_clk_hw_register() local
3952 hwp = devres_alloc(devm_clk_hw_release, sizeof(*hwp), GFP_KERNEL); in devm_clk_hw_register()
3953 if (!hwp) in devm_clk_hw_register()
3958 *hwp = hw; in devm_clk_hw_register()
3959 devres_add(dev, hwp); in devm_clk_hw_register()
3961 devres_free(hwp); in devm_clk_hw_register()
Dclk-stm32mp1.c706 struct clk_hw *hwp; in clk_mmux_set_parent() local
713 hwp = clk_hw_get_parent(hw); in clk_mmux_set_parent()
717 clk_hw_reparent(clk_mmux->mmux->hws[n], hwp); in clk_mmux_set_parent()