Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/
Dfec_ptp.c117 writel(FEC_T_TF_MASK, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
123 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
126 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
127 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
169 writel(val, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps()
175 val = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps()
177 writel(val, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps()
180 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
185 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
190 writel(fep->next_counter, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps()
[all …]
Dfec_main.c902 writel(rxq->bd.dma, fep->hwp + FEC_R_DES_START(i)); in fec_enet_enable_ring()
903 writel(PKT_MAXBUF_SIZE, fep->hwp + FEC_R_BUFF_SIZE(i)); in fec_enet_enable_ring()
908 fep->hwp + FEC_RCMR(i)); in fec_enet_enable_ring()
913 writel(txq->bd.dma, fep->hwp + FEC_X_DES_START(i)); in fec_enet_enable_ring()
918 fep->hwp + FEC_DMA_CFG(i)); in fec_enet_enable_ring()
959 writel(0, fep->hwp + FEC_ECNTRL); in fec_restart()
961 writel(1, fep->hwp + FEC_ECNTRL); in fec_restart()
971 fep->hwp + FEC_ADDR_LOW); in fec_restart()
973 fep->hwp + FEC_ADDR_HIGH); in fec_restart()
976 writel((0xffffffff & ~FEC_ENET_MII), fep->hwp + FEC_IEVENT); in fec_restart()
[all …]
Dfec.h515 void __iomem *hwp; member
/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.c683 struct csio_hw *hw = ln->hwp; in csio_ln_vnp_read()
720 struct csio_hw *hw = ln->hwp; in csio_fcoe_enable_link()
834 struct csio_hw *hw = ln->hwp; in csio_ln_read_fcf_entry()
1699 io_req->lnode->hwp, io_req->iq_idx)); in csio_ln_prep_ecwr()
/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.c4284 struct clk_hw **hwp; in devm_clk_hw_register() local
4287 hwp = devres_alloc(devm_clk_hw_unregister_cb, sizeof(*hwp), GFP_KERNEL); in devm_clk_hw_register()
4288 if (!hwp) in devm_clk_hw_register()
4293 *hwp = hw; in devm_clk_hw_register()
4294 devres_add(dev, hwp); in devm_clk_hw_register()
4296 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()
/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);