Lines Matching defs:address
64 #define SBSDIO_SBADDRLOW_MASK 0x80 /* Valid address bits in SBADDRLOW */
65 #define SBSDIO_SBADDRMID_MASK 0xff /* Valid address bits in SBADDRMID */
66 #define SBSDIO_SBADDRHIGH_MASK 0xff /* Valid address bits in SBADDRHIGH */
75 * Address map within the SDIO function address space (128K).
79 * 0x00000 0x0ffff selected backplane address window (64K)
82 * The current address window is configured by writing to registers
85 * In order to access the contents of a 32-bit Silicon Backplane address
86 * the backplane address window must be first loaded with the highest
87 * 16 bits of the target address. Then, an access must be done to the
88 * SDIO function address space using the lower 15 bits of the address.
89 * Bit 15 of the address must be set when doing 32 bit accesses.
101 * NOTE: SDIO address @addr is 17 bits long (SDIO address space is 128K).
125 static int ssb_sdio_set_sbaddr_window(struct ssb_bus *bus, u32 address)
130 (address >> 8) & SBSDIO_SBADDRLOW_MASK);
134 (address >> 16) & SBSDIO_SBADDRMID_MASK);
138 (address >> 24) & SBSDIO_SBADDRHIGH_MASK);
141 bus->sdio_sbaddr = address;
144 dev_dbg(ssb_sdio_dev(bus), "failed to set address window"
145 " to 0x%08x, error %d\n", address, error);
479 /* fetch the MAC address. */