Home
last modified time | relevance | path

Searched refs:reg_mcr (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_mcr.c51 static inline struct xe_reg to_xe_reg(struct xe_reg_mcr reg_mcr) in to_xe_reg() argument
53 return reg_mcr.__reg; in to_xe_reg()
525 struct xe_reg_mcr reg_mcr, in xe_gt_mcr_get_nonterminated_steering() argument
528 const struct xe_reg reg = to_xe_reg(reg_mcr); in xe_gt_mcr_get_nonterminated_steering()
602 static u32 rw_with_mcr_steering(struct xe_gt *gt, struct xe_reg_mcr reg_mcr, in rw_with_mcr_steering() argument
605 const struct xe_reg reg = to_xe_reg(reg_mcr); in rw_with_mcr_steering()
669 u32 xe_gt_mcr_unicast_read_any(struct xe_gt *gt, struct xe_reg_mcr reg_mcr) in xe_gt_mcr_unicast_read_any() argument
671 const struct xe_reg reg = to_xe_reg(reg_mcr); in xe_gt_mcr_unicast_read_any()
678 steer = xe_gt_mcr_get_nonterminated_steering(gt, reg_mcr, in xe_gt_mcr_unicast_read_any()
683 val = rw_with_mcr_steering(gt, reg_mcr, MCR_OP_READ, in xe_gt_mcr_unicast_read_any()
[all …]
Dxe_reg_sr.c151 struct xe_reg_mcr reg_mcr = to_xe_reg_mcr(reg); in apply_one_mmio() local
166 xe_gt_mcr_unicast_read_any(gt, reg_mcr) : in apply_one_mmio()
181 xe_gt_mcr_multicast_write(gt, reg_mcr, val); in apply_one_mmio()
Dxe_pat.c171 struct xe_reg_mcr reg_mcr = XE_REG_MCR(_PAT_INDEX(i)); in program_pat_mcr() local
173 xe_gt_mcr_multicast_write(gt, reg_mcr, table[i].value); in program_pat_mcr()
Dxe_gt.c236 struct xe_reg_mcr reg_mcr = to_xe_reg_mcr(reg); in emit_wa_job() local
246 xe_gt_mcr_unicast_read_any(gt, reg_mcr) : in emit_wa_job()
/linux-6.12.1/drivers/net/can/flexcan/
Dflexcan-core.c508 u32 reg_mcr; in flexcan_enable_wakeup_irq() local
510 reg_mcr = priv->read(&regs->mcr); in flexcan_enable_wakeup_irq()
513 reg_mcr |= FLEXCAN_MCR_WAK_MSK; in flexcan_enable_wakeup_irq()
515 reg_mcr &= ~FLEXCAN_MCR_WAK_MSK; in flexcan_enable_wakeup_irq()
517 priv->write(reg_mcr, &regs->mcr); in flexcan_enable_wakeup_irq()
540 u32 reg_mcr; in flexcan_enter_stop_mode() local
543 reg_mcr = priv->read(&regs->mcr); in flexcan_enter_stop_mode()
544 reg_mcr |= FLEXCAN_MCR_SLF_WAK; in flexcan_enter_stop_mode()
545 priv->write(reg_mcr, &regs->mcr); in flexcan_enter_stop_mode()
570 u32 reg_mcr; in flexcan_exit_stop_mode() local
[all …]
/linux-6.12.1/drivers/net/can/
Dat91_can.c476 u32 reg_mid, reg_mcr; in at91_start_xmit() local
492 reg_mcr = FIELD_PREP(AT91_MCR_MDLC_MASK, cf->len) | in at91_start_xmit()
496 reg_mcr |= AT91_MCR_MRTR; in at91_start_xmit()
507 at91_write(priv, AT91_MCR(mb), reg_mcr); in at91_start_xmit()