Home
last modified time | relevance | path

Searched refs:pbt (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/can/peak_canfd/
Dpeak_canfd.c126 const struct can_bittiming *pbt) in pucan_set_timing_slow() argument
132 cmd->sjw_t = PUCAN_TSLOW_SJW_T(pbt->sjw - 1, in pucan_set_timing_slow()
134 cmd->tseg1 = PUCAN_TSLOW_TSEG1(pbt->prop_seg + pbt->phase_seg1 - 1); in pucan_set_timing_slow()
135 cmd->tseg2 = PUCAN_TSLOW_TSEG2(pbt->phase_seg2 - 1); in pucan_set_timing_slow()
136 cmd->brp = cpu_to_le16(PUCAN_TSLOW_BRP(pbt->brp - 1)); in pucan_set_timing_slow()
148 const struct can_bittiming *pbt) in pucan_set_timing_fast() argument
154 cmd->sjw = PUCAN_TFAST_SJW(pbt->sjw - 1); in pucan_set_timing_fast()
155 cmd->tseg1 = PUCAN_TFAST_TSEG1(pbt->prop_seg + pbt->phase_seg1 - 1); in pucan_set_timing_fast()
156 cmd->tseg2 = PUCAN_TFAST_TSEG2(pbt->phase_seg2 - 1); in pucan_set_timing_fast()
157 cmd->brp = cpu_to_le16(PUCAN_TFAST_BRP(pbt->brp - 1)); in pucan_set_timing_fast()
/Linux-v4.19/arch/s390/kernel/
Dipl.c242 switch (ipl_block.hdr.pbt) { in get_ipl_type()
303 if (ipl_block_valid && ipl_block.hdr.pbt == DIAG308_IPL_TYPE_CCW) in append_ipl_vmparm()
366 if (ipl_block_valid && ipl_block.hdr.pbt == DIAG308_IPL_TYPE_FCP) in append_ipl_scpdata()
991 ipb->hdr.pbt = DIAG308_IPL_TYPE_CCW; in reipl_block_ccw_init()
1098 reipl_block_fcp->hdr.pbt = DIAG308_IPL_TYPE_FCP; in reipl_fcp_init()
1117 if (reipl_block->hdr.pbt == DIAG308_IPL_TYPE_FCP) { in reipl_type_init()
1120 } else if (reipl_block->hdr.pbt == DIAG308_IPL_TYPE_CCW) { in reipl_type_init()
1285 dump_block_ccw->hdr.pbt = DIAG308_IPL_TYPE_CCW; in dump_ccw_init()
1307 dump_block_fcp->hdr.pbt = DIAG308_IPL_TYPE_FCP; in dump_fcp_init()
/Linux-v4.19/arch/s390/include/asm/
Dipl.h35 u8 pbt; member
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c2752 struct cudbg_pbt_tables *pbt; in cudbg_collect_pbt_tables() local
2762 pbt = (struct cudbg_pbt_tables *)temp_buff.data; in cudbg_collect_pbt_tables()
2767 &pbt->pbt_dynamic[i]); in cudbg_collect_pbt_tables()
2780 &pbt->pbt_static[i]); in cudbg_collect_pbt_tables()
2792 &pbt->lrf_table[i]); in cudbg_collect_pbt_tables()
2804 &pbt->pbt_data[i]); in cudbg_collect_pbt_tables()