Home
last modified time | relevance | path

Searched refs:mecr (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/pcmcia/
Dsa1100.h65 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument
66 ((mecr)=((mecr)&~(((mask)<<(shift))<<\
70 #define MECR_GET(mecr, sock, shift, mask) \ argument
71 ((((mecr)>>(((sock)==0)?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT))>>\
74 #define MECR_BSIO_SET(mecr, sock, bs) \ argument
75 MECR_SET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK, (bs))
77 #define MECR_BSIO_GET(mecr, sock) \ argument
78 MECR_GET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK)
80 #define MECR_BSA_SET(mecr, sock, bs) \ argument
81 MECR_SET((mecr), (sock), MECR_BSA_SHIFT, MECR_BS_MASK, (bs))
[all …]
Dsa1100_generic.c589 unsigned long mecr; in sa1100_pcmcia_set_io_map() local
596 mecr = MECR; in sa1100_pcmcia_set_io_map()
598 MECR_BSIO_SET(mecr, sock, sa1100_pcmcia_mecr_bs(speed, clock)); in sa1100_pcmcia_set_io_map()
603 __FUNCTION__, sock, MECR_FAST_GET(mecr, sock), sock, in sa1100_pcmcia_set_io_map()
604 MECR_BSM_GET(mecr, sock), sock, MECR_BSA_GET(mecr, sock), in sa1100_pcmcia_set_io_map()
605 sock, MECR_BSIO_GET(mecr, sock)); in sa1100_pcmcia_set_io_map()
607 MECR = mecr; in sa1100_pcmcia_set_io_map()
686 unsigned long mecr; in sa1100_pcmcia_set_mem_map() local
702 mecr = MECR; in sa1100_pcmcia_set_mem_map()
705 MECR_BSA_SET(mecr, sock, sa1100_pcmcia_mecr_bs(speed, clock)); in sa1100_pcmcia_set_mem_map()
[all …]