Home
last modified time | relevance | path

Searched refs:gcnt (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/phy/microchip/
Dsparx5_serdes.h54 int gcnt, int gwidth, in sdx5_addr() argument
59 WARN_ON((ginst) >= gcnt); in sdx5_addr()
68 int gcnt, int gwidth, in sdx5_inst_baseaddr() argument
72 WARN_ON((ginst) >= gcnt); in sdx5_inst_baseaddr()
81 int gbase, int ginst, int gcnt, int gwidth, in sdx5_rmw() argument
87 gbase, ginst, gcnt, gwidth, in sdx5_rmw()
96 int gbase, int ginst, int gcnt, int gwidth, in sdx5_inst_rmw() argument
102 gbase, ginst, gcnt, gwidth, in sdx5_inst_rmw()
127 int ginst, int gcnt, int gwidth, in sdx5_inst_addr() argument
131 return sdx5_inst_baseaddr(iomem, gbase, ginst, gcnt, gwidth, in sdx5_inst_addr()
Dlan966x_serdes.c21 gbase, ginst, gcnt, gwidth, \ argument
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_main.h425 int gcnt, int gwidth, in spx5_offset() argument
430 WARN_ON((ginst) >= gcnt); in spx5_offset()
442 int gcnt, int gwidth, in spx5_addr() argument
447 WARN_ON((ginst) >= gcnt); in spx5_addr()
456 int gcnt, int gwidth, in spx5_inst_addr() argument
460 WARN_ON((ginst) >= gcnt); in spx5_inst_addr()
468 int gbase, int ginst, int gcnt, int gwidth, in spx5_rd() argument
472 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in spx5_rd()
476 int gbase, int ginst, int gcnt, int gwidth, in spx5_inst_rd() argument
480 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in spx5_inst_rd()
[all …]
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_main.h533 int gcnt, int gwidth, in lan_addr() argument
538 WARN_ON((ginst) >= gcnt); in lan_addr()
546 int gbase, int ginst, int gcnt, int gwidth, in lan_rd() argument
550 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in lan_rd()
555 int gbase, int ginst, int gcnt, int gwidth, in lan_wr() argument
559 gbase, ginst, gcnt, gwidth, in lan_wr()
565 int gbase, int ginst, int gcnt, int gwidth, in lan_rmw() argument
571 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in lan_rmw()
574 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in lan_rmw()
/linux-6.1.9/drivers/soc/qcom/
Dcpr.c239 u32 gcnt; member
366 u32 gcnt, ctl, irq, ro_sel, step_quot; in cpr_corner_restore() local
372 gcnt = drv->gcnt; in cpr_corner_restore()
373 gcnt |= fuse->quot - corner->quot_adjust; in cpr_corner_restore()
384 cpr_write(drv, REG_RBCPR_GCNT_TARGET(ro_sel), gcnt); in cpr_corner_restore()
389 dev_dbg(drv->dev, "gcnt = %#08x, ctl = %#08x, irq = %#08x\n", gcnt, in cpr_corner_restore()
683 u32 val, gcnt; in cpr_config() local
706 gcnt = (drv->ref_clk_khz * desc->gcnt_us) / 1000; in cpr_config()
707 gcnt = gcnt & RBCPR_GCNT_TARGET_GCNT_MASK; in cpr_config()
708 gcnt <<= RBCPR_GCNT_TARGET_GCNT_SHIFT; in cpr_config()
[all …]