Home
last modified time | relevance | path

Searched refs:bay (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/drivers/macintosh/
Dmediabay.c36 #define MB_FCR32(bay, r) ((bay)->base + ((r) >> 2)) argument
37 #define MB_FCR8(bay, r) (((volatile u8 __iomem *)((bay)->base)) + (r)) argument
39 #define MB_IN32(bay,r) (in_le32(MB_FCR32(bay,r))) argument
40 #define MB_OUT32(bay,r,v) (out_le32(MB_FCR32(bay,r), (v))) argument
41 #define MB_BIS(bay,r,v) (MB_OUT32((bay), (r), MB_IN32((bay), r) | (v))) argument
42 #define MB_BIC(bay,r,v) (MB_OUT32((bay), (r), MB_IN32((bay), r) & ~(v))) argument
43 #define MB_IN8(bay,r) (in_8(MB_FCR8(bay,r))) argument
44 #define MB_OUT8(bay,r,v) (out_8(MB_FCR8(bay,r), (v))) argument
50 void (*init)(struct media_bay_info *bay);
51 u8 (*content)(struct media_bay_info *bay);
[all …]
DKconfig127 bool "Support PowerBook hotswap media bay"
130 This option adds support for older PowerBook's hotswap media bay
132 devices are not fully supported in the bay as I never had one to
/linux-4.1.27/arch/powerpc/include/asm/
Dmediabay.h27 extern int check_media_bay(struct macio_dev *bay);
32 extern void lock_media_bay(struct macio_dev *bay);
33 extern void unlock_media_bay(struct macio_dev *bay);
37 static inline int check_media_bay(struct macio_dev *bay) in check_media_bay() argument
42 static inline void lock_media_bay(struct macio_dev *bay) { } in lock_media_bay() argument
43 static inline void unlock_media_bay(struct macio_dev *bay) { } in unlock_media_bay() argument
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
Dsn_hwperf.c90 int *rack, int *bay, int *slot, int *slab) in sn_hwperf_location_to_bpos() argument
96 rack, &type, bay, slab) == 4) in sn_hwperf_location_to_bpos()
100 rack, &type, bay, slot, slab) != 5) in sn_hwperf_location_to_bpos()
111 int rack, bay, slot, slab; in sn_hwperf_geoid_to_cnode() local
114 if (sn_hwperf_location_to_bpos(location, &rack, &bay, &slot, &slab)) in sn_hwperf_geoid_to_cnode()
128 if (rack == this_rack && bay == this_bay && in sn_hwperf_geoid_to_cnode()
/linux-4.1.27/include/acpi/
Dacbuffer.h129 u8 bay; member
/linux-4.1.27/drivers/acpi/acpica/
Dutxface.c557 pld_info->bay = ACPI_PLD_GET_BAY(&dword); in ACPI_EXPORT_SYMBOL()
/linux-4.1.27/Documentation/laptops/
Dthinkpad-acpi.txt334 requested a bay ejection. Set to 2 if the system is
343 undock or bay ejection request, and that request
510 0x2305 System is waking up from suspend to eject bay
512 0x2405 System is waking up from hibernation to eject bay
535 0x500B Tablet pen inserted into its storage bay
536 0x500C Tablet pen removed from its storage bay
734 dangerous actions (like undocking or ejecting a bay device while the
/linux-4.1.27/drivers/platform/x86/
DKconfig409 the bay while buses are still active), etc.