Searched refs:mecr (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/pcmcia/ |
D | sa11xx_base.h | 69 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument 70 ((mecr)=((mecr)&~(((mask)<<(shift))<<\ 74 #define MECR_GET(mecr, sock, shift, mask) \ argument 75 ((((mecr)>>(((sock)==0)?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT))>>\ 78 #define MECR_BSIO_SET(mecr, sock, bs) \ argument 79 MECR_SET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK, (bs)) 81 #define MECR_BSIO_GET(mecr, sock) \ argument 82 MECR_GET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK) 84 #define MECR_BSA_SET(mecr, sock, bs) \ argument 85 MECR_SET((mecr), (sock), MECR_BSA_SHIFT, MECR_BS_MASK, (bs)) [all …]
|
D | sa11xx_base.c | 82 u32 mecr, old_mecr; in sa1100_pcmcia_set_mecr() local 94 old_mecr = mecr = MECR; in sa1100_pcmcia_set_mecr() 95 MECR_FAST_SET(mecr, skt->nr, 0); in sa1100_pcmcia_set_mecr() 96 MECR_BSIO_SET(mecr, skt->nr, bs_io); in sa1100_pcmcia_set_mecr() 97 MECR_BSA_SET(mecr, skt->nr, bs_attr); in sa1100_pcmcia_set_mecr() 98 MECR_BSM_SET(mecr, skt->nr, bs_mem); in sa1100_pcmcia_set_mecr() 99 if (old_mecr != mecr) in sa1100_pcmcia_set_mecr() 100 MECR = mecr; in sa1100_pcmcia_set_mecr() 105 MECR_FAST_GET(mecr, skt->nr), in sa1100_pcmcia_set_mecr() 106 MECR_BSM_GET(mecr, skt->nr), MECR_BSA_GET(mecr, skt->nr), in sa1100_pcmcia_set_mecr() [all …]
|
/linux-6.12.1/drivers/net/can/flexcan/ |
D | flexcan-core.c | 273 u32 mecr; /* 0xae0 */ member 1642 reg_mecr = priv->read(®s->mecr); in flexcan_chip_start() 1644 priv->write(reg_mecr, ®s->mecr); in flexcan_chip_start() 1649 priv->write(reg_mecr, ®s->mecr); in flexcan_chip_start() 1655 priv->write(reg_mecr, ®s->mecr); in flexcan_chip_start()
|