aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/host.h
Commit message (Expand)AuthorAge
* mmc: Add 8-bit bus width supportJarkko Lavinen2008-12-31
* mmc: struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers2008-11-08
* Fix comment in include/linux/mmc/host.hThomas Petazzoni2008-10-12
* mmc: Export internal host state through debugfsHaavard Skinnemoen2008-07-26
* mmc: remove multiwrite capabilityPierre Ossman2008-07-15
* mmc: change .get_ro() callback semanticsAnton Vorontsov2008-07-15
* mmc: add support for card-detection pollingAnton Vorontsov2008-07-15
* mmc: remove unused 'mode' from the mmc_host structureNicolas Pitre2007-12-12
* mmc: add led triggerPierre Ossman2007-09-24
* MMC headers learn about SPIDavid Brownell2007-09-23
* sdio: add interface for host side SDIO interrupt reportingNicolas Pitre2007-09-23
* sdio: core support for SDIO function interruptNicolas Pitre2007-09-23
* mmc: remove BYTEBLOCK capabilityPierre Ossman2007-09-23
* MMC: Fix handling of low-voltage cardsPhilip Langdale2007-05-01
* MMC: Consolidate voltage definitionsPhilip Langdale2007-05-01
* mmc: add bus handlerPierre Ossman2007-05-01
* mmc: Move core functions to subdirPierre Ossman2007-05-01
* mmc: deprecate mmc bus topologyPierre Ossman2007-05-01
* mmc: Flush pending detects on host removalPierre Ossman2007-05-01
* mmc: Move OCR bit definesPierre Ossman2007-05-01
* mmc: require explicit support for high-speedPierre Ossman2007-03-06
* mmc: Allow host drivers to specify max block countPierre Ossman2007-02-04
* mmc: Allow host drivers to specify a max block sizePierre Ossman2007-02-04
* mmc: let host be parent of cardsPierre Ossman2007-02-04
* mmc: replace host->card_busyPierre Ossman2007-02-04
* Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torval...David Howells2006-12-05
|\
| * Driver core: convert mmc code to use struct deviceGreg Kroah-Hartman2006-12-01
* | WorkStruct: make allyesconfigDavid Howells2006-11-22
|/
* [MMC] MMC_CAP_BYTEBLOCK flag for non-log2 block sizes capable hostsRussell King2006-09-24
* [MMC] Add multi block-write capabilityRussell King2006-09-16
* [MMC] constify mmc_host_opsDavid Brownell2006-09-07
* [MMC] Ensure correct mmc_priv() behaviourRussell King2005-09-08
* [MMC] Allow detection/removal to be delayedRichard Purdie2005-09-08
* [PATCH] sd: SD 4-bit busPierre Ossman2005-09-07
* [PATCH] sd: read-only switchPierre Ossman2005-09-07
* [PATCH] sd: initialize SD cardsPierre Ossman2005-09-07
* [MMC] ios for mmc chip selectPierre Ossman2005-09-03
* [MMC] Use an IDR for host name indiciesRussell King2005-08-19
* [MMC] Use class device name for mmc host nameRussell King2005-08-19
* [MMC] Add MMC class devicesRussell King2005-08-19
* [MMC] Add mmc_hostname() macroRussell King2005-08-19
* [PATCH] fix u32 vs. pm_message_t in rest of the treePavel Machek2005-04-16
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-16
class="hl opt">(struct link_params *input, struct link_vars *output); /* Reset the link. Should be called when driver or interface goes down Before calling phy firmware upgrade, the reset_ext_phy should be set to 0 */ u8 bnx2x_link_reset(struct link_params *params, struct link_vars *vars, u8 reset_ext_phy); /* bnx2x_link_update should be called upon link interrupt */ u8 bnx2x_link_update(struct link_params *input, struct link_vars *output); /* use the following cl45 functions to read/write from external_phy In order to use it to read/write internal phy registers, use DEFAULT_PHY_DEV_ADDR as devad, and (_bank + (_addr & 0xf)) as Use ext_phy_type of 0 in case of cl22 over cl45 the register */ u8 bnx2x_cl45_read(struct bnx2x *bp, u8 port, u32 ext_phy_type, u8 phy_addr, u8 devad, u16 reg, u16 *ret_val); u8 bnx2x_cl45_write(struct bnx2x *bp, u8 port, u32 ext_phy_type, u8 phy_addr, u8 devad, u16 reg, u16 val); /* Reads the link_status from the shmem, and update the link vars accordingly */ void bnx2x_link_status_update(struct link_params *input, struct link_vars *output); /* returns string representing the fw_version of the external phy */ u8 bnx2x_get_ext_phy_fw_version(struct link_params *params, u8 driver_loaded, u8 *version, u16 len); /* Set/Unset the led Basically, the CLC takes care of the led for the link, but in case one needs to set/unset the led unnaturally, set the "mode" to LED_MODE_OPER to blink the led, and LED_MODE_OFF to set the led off.*/ u8 bnx2x_set_led(struct bnx2x *bp, u8 port, u8 mode, u32 speed, u16 hw_led_mode, u32 chip_id); #define LED_MODE_OFF 0 #define LED_MODE_OPER 2 u8 bnx2x_override_led_value(struct bnx2x *bp, u8 port, u32 led_idx, u32 value); /* bnx2x_handle_module_detect_int should be called upon module detection interrupt */ void bnx2x_handle_module_detect_int(struct link_params *params); /* Get the actual link status. In case it returns 0, link is up, otherwise link is down*/ u8 bnx2x_test_link(struct link_params *input, struct link_vars *vars); /* One-time initialization for external phy after power up */ u8 bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base); /* Reset the external PHY using GPIO */ void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port); void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, u8 port, u8 phy_addr); u8 bnx2x_read_sfp_module_eeprom(struct link_params *params, u16 addr, u8 byte_cnt, u8 *o_buf); #endif /* BNX2X_LINK_H */