/drivers/mmc/host/ |
D | cb710-mmc.c | 30 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); in cb710_mmc_select_clock_divider() local 63 static void __cb710_mmc_enable_irq(struct cb710_slot *slot, in __cb710_mmc_enable_irq() 84 static void cb710_mmc_enable_irq(struct cb710_slot *slot, in cb710_mmc_enable_irq() 96 static void cb710_mmc_reset_events(struct cb710_slot *slot) in cb710_mmc_reset_events() 103 static void cb710_mmc_enable_4bit_data(struct cb710_slot *slot, int enable) in cb710_mmc_enable_4bit_data() 113 static int cb710_check_event(struct cb710_slot *slot, u8 what) in cb710_check_event() 146 static int cb710_wait_for_event(struct cb710_slot *slot, u8 what) in cb710_wait_for_event() 179 static int cb710_wait_while_busy(struct cb710_slot *slot, uint8_t mask) in cb710_wait_while_busy() 211 static void cb710_mmc_set_transfer_size(struct cb710_slot *slot, in cb710_mmc_set_transfer_size() 222 static void cb710_mmc_fifo_hack(struct cb710_slot *slot) in cb710_mmc_fifo_hack() [all …]
|
D | sdhci-pci-core.c | 46 struct sdhci_pci_slot *slot = chip->slots[i]; in __sdhci_pci_suspend_host() local 79 struct sdhci_pci_slot *slot = chip->slots[i]; in sdhci_pci_init_wakeup() local 105 struct sdhci_pci_slot *slot; in sdhci_pci_resume_host() local 125 struct sdhci_pci_slot *slot; in sdhci_pci_runtime_suspend_host() local 155 struct sdhci_pci_slot *slot; in sdhci_pci_runtime_resume_host() local 186 static int ricoh_mmc_probe_slot(struct sdhci_pci_slot *slot) in ricoh_mmc_probe_slot() 253 static int mrst_hc_probe_slot(struct sdhci_pci_slot *slot) in mrst_hc_probe_slot() 273 static int pch_hc_probe_slot(struct sdhci_pci_slot *slot) in pch_hc_probe_slot() 283 struct sdhci_pci_slot *slot = dev_id; in sdhci_pci_sd_cd() local 290 static void sdhci_pci_add_own_cd(struct sdhci_pci_slot *slot) in sdhci_pci_add_own_cd() [all …]
|
/drivers/pci/hotplug/ |
D | pcihp_skeleton.c | 40 struct slot { struct 42 struct hotplug_slot *hotplug_slot; argument 43 struct list_head slot_list; argument 47 static LIST_HEAD(slot_list); argument 97 struct slot *slot = hotplug_slot->private; in enable_slot() local 111 struct slot *slot = hotplug_slot->private; in disable_slot() local 125 struct slot *slot = hotplug_slot->private; in set_attention_status() local 150 struct slot *slot = hotplug_slot->private; in hardware_test() local 169 struct slot *slot = hotplug_slot->private; in get_power_status() local 184 struct slot *slot = hotplug_slot->private; in get_attention_status() local [all …]
|
D | s390_pci_hpc.c | 34 struct slot { struct 35 struct list_head slot_list; argument 36 struct hotplug_slot *hotplug_slot; argument 40 static inline int slot_configure(struct slot *slot) in slot_configure() 51 static inline int slot_deconfigure(struct slot *slot) in slot_deconfigure() 64 struct slot *slot = hotplug_slot->private; in enable_slot() local 92 struct slot *slot = hotplug_slot->private; in disable_slot() local 114 struct slot *slot = hotplug_slot->private; in get_power_status() local 136 struct slot *slot = hotplug_slot->private; in release_slot() local 155 struct slot *slot; in zpci_init_slot() local [all …]
|
D | rpaphp.h | 70 struct slot { struct 71 struct list_head rpaphp_slot_list; argument 80 struct hotplug_slot *hotplug_slot; argument 89 int rpaphp_enable_slot(struct slot *slot); argument
|
D | pciehp_core.c | 79 struct slot *slot = hotplug_slot->private; in release_slot() local 92 struct slot *slot = ctrl->slot; in init_slot() local 158 struct slot *slot = hotplug_slot->private; in set_attention_status() local 167 struct slot *slot = hotplug_slot->private; in enable_slot() local 175 struct slot *slot = hotplug_slot->private; in disable_slot() local 182 struct slot *slot = hotplug_slot->private; in get_power_status() local 190 struct slot *slot = hotplug_slot->private; in get_attention_status() local 198 struct slot *slot = hotplug_slot->private; in get_latch_status() local 206 struct slot *slot = hotplug_slot->private; in get_adapter_status() local 214 struct slot *slot = hotplug_slot->private; in reset_slot() local [all …]
|
D | cpci_hotplug_pci.c | 49 u8 cpci_get_attention_status(struct slot *slot) in cpci_get_attention_status() 69 int cpci_set_attention_status(struct slot *slot, int status) in cpci_set_attention_status() 96 u16 cpci_get_hs_csr(struct slot *slot) in cpci_get_hs_csr() 114 int cpci_check_and_clear_ins(struct slot *slot) in cpci_check_and_clear_ins() 143 int cpci_check_ext(struct slot *slot) in cpci_check_ext() 164 int cpci_clear_ext(struct slot *slot) in cpci_clear_ext() 190 int cpci_led_on(struct slot *slot) in cpci_led_on() 219 int cpci_led_off(struct slot *slot) in cpci_led_off() 253 int cpci_configure_slot(struct slot *slot) in cpci_configure_slot() 307 int cpci_unconfigure_slot(struct slot *slot) in cpci_unconfigure_slot()
|
D | acpiphp_glue.c | 159 struct acpiphp_slot *slot, *next; in free_bridge() local 238 struct acpiphp_slot *slot; in acpiphp_add_context() local 345 struct acpiphp_slot *slot; in cleanup_bridge() local 398 static void acpiphp_set_acpi_region(struct acpiphp_slot *slot) in acpiphp_set_acpi_region() 417 static void check_hotplug_bridge(struct acpiphp_slot *slot, struct pci_dev *dev) in check_hotplug_bridge() 433 static int acpiphp_rescan_slot(struct acpiphp_slot *slot) in acpiphp_rescan_slot() 454 static void enable_slot(struct acpiphp_slot *slot) in enable_slot() 511 static void disable_slot(struct acpiphp_slot *slot) in disable_slot() 533 static bool slot_no_hotplug(struct acpiphp_slot *slot) in slot_no_hotplug() 557 static unsigned int get_slot_status(struct acpiphp_slot *slot) in get_slot_status() [all …]
|
D | cpci_hotplug.h | 44 struct slot { struct 50 struct hotplug_slot *hotplug_slot; argument 51 struct list_head slot_list; argument 59 int (*hardware_test)(struct slot *slot, u32 value); argument 73 static inline const char *slot_name(struct slot *slot) in slot_name()
|
D | shpchp_core.c | 84 struct slot *slot = hotplug_slot->private; in release_slot() local 96 struct slot *slot; in init_slots() local 181 struct slot *slot, *next; in cleanup_slots() local 196 struct slot *slot = get_slot(hotplug_slot); in set_attention_status() local 209 struct slot *slot = get_slot(hotplug_slot); in enable_slot() local 219 struct slot *slot = get_slot(hotplug_slot); in disable_slot() local 229 struct slot *slot = get_slot(hotplug_slot); in get_power_status() local 244 struct slot *slot = get_slot(hotplug_slot); in get_attention_status() local 259 struct slot *slot = get_slot(hotplug_slot); in get_latch_status() local 274 struct slot *slot = get_slot(hotplug_slot); in get_adapter_status() local
|
D | sgi_hotplug.c | 58 struct slot { struct 62 struct hotplug_slot *hotplug_slot; argument 82 static int enable_slot(struct hotplug_slot *slot); argument 97 struct slot *slot = pci_slot->hotplug->private; in path_show() local 167 struct slot *slot; in sn_hp_slot_private_alloc() local 193 struct slot *slot; in sn_hp_destroy() local 233 struct slot *slot = bss_hotplug_slot->private; in sn_slot_enable() local 273 struct slot *slot = bss_hotplug_slot->private; in sn_slot_disable() local 329 struct slot *slot = bss_hotplug_slot->private; in enable_slot() local 475 struct slot *slot = bss_hotplug_slot->private; in disable_slot() local [all …]
|
D | rpaphp_slot.c | 38 struct slot *slot = (struct slot *) hotplug_slot->private; in rpaphp_release_slot() local 42 void dealloc_slot_struct(struct slot *slot) in dealloc_slot_struct() 53 struct slot *slot; in alloc_slot_struct() local 87 static int is_registered(struct slot *slot) in is_registered() 98 int rpaphp_deregister_slot(struct slot *slot) in rpaphp_deregister_slot() 117 int rpaphp_register_slot(struct slot *slot) in rpaphp_register_slot()
|
D | pciehp_hpc.c | 361 struct slot *slot = hotplug_slot->private; in pciehp_get_raw_indicator_status() local 370 void pciehp_get_attention_status(struct slot *slot, u8 *status) in pciehp_get_attention_status() 396 void pciehp_get_power_status(struct slot *slot, u8 *status) in pciehp_get_power_status() 419 void pciehp_get_latch_status(struct slot *slot, u8 *status) in pciehp_get_latch_status() 428 void pciehp_get_adapter_status(struct slot *slot, u8 *status) in pciehp_get_adapter_status() 437 int pciehp_query_power_fault(struct slot *slot) in pciehp_query_power_fault() 449 struct slot *slot = hotplug_slot->private; in pciehp_set_raw_indicator_status() local 457 void pciehp_set_attention_status(struct slot *slot, u8 value) in pciehp_set_attention_status() 483 void pciehp_green_led_on(struct slot *slot) in pciehp_green_led_on() 497 void pciehp_green_led_off(struct slot *slot) in pciehp_green_led_off() [all …]
|
D | acpiphp_core.c | 135 struct slot *slot = hotplug_slot->private; in enable_slot() local 152 struct slot *slot = hotplug_slot->private; in disable_slot() local 196 struct slot *slot = hotplug_slot->private; in get_power_status() local 242 struct slot *slot = hotplug_slot->private; in get_latch_status() local 262 struct slot *slot = hotplug_slot->private; in get_adapter_status() local 277 struct slot *slot = hotplug_slot->private; in release_slot() local 289 struct slot *slot; in acpiphp_register_hotplug_slot() local 340 struct slot *slot = acpiphp_slot->slot; in acpiphp_unregister_hotplug_slot() local
|
D | pci_hotplug_core.c | 98 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file() local 221 struct hotplug_slot *slot = pci_slot->hotplug; in test_write_file() local 251 struct hotplug_slot *slot = pci_slot->hotplug; in has_power_file() local 264 struct hotplug_slot *slot = pci_slot->hotplug; in has_attention_file() local 276 struct hotplug_slot *slot = pci_slot->hotplug; in has_latch_file() local 287 struct hotplug_slot *slot = pci_slot->hotplug; in has_adapter_file() local 298 struct hotplug_slot *slot = pci_slot->hotplug; in has_test_file() local 395 struct hotplug_slot *slot; in get_slot_from_name() local 418 int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, in __pci_hp_register() 481 int pci_hp_deregister(struct hotplug_slot *slot) in pci_hp_deregister() [all …]
|
D | shpchp.h | 77 struct slot { struct 88 struct hotplug_slot *hotplug_slot; argument 89 struct list_head slot_list; argument 93 u8 hp_slot; argument 98 struct slot *p_slot; argument 185 static inline const char *slot_name(struct slot *slot) in slot_name() 241 struct slot *slot; in shpchp_find_slot() local
|
D | cpci_hotplug_core.c | 107 struct slot *slot = hotplug_slot->private; in enable_slot() local 120 struct slot *slot = hotplug_slot->private; in disable_slot() local 165 cpci_get_power_status(struct slot *slot) in cpci_get_power_status() 177 struct slot *slot = hotplug_slot->private; in get_power_status() local 186 struct slot *slot = hotplug_slot->private; in get_attention_status() local 214 struct slot *slot = hotplug_slot->private; in release_slot() local 227 struct slot *slot; in cpci_hp_register_bus() local 310 struct slot *slot; in cpci_hp_unregister_bus() local 367 struct slot *slot; in init_slots() local 398 struct slot *slot; in check_slots() local [all …]
|
D | pciehp.h | 73 struct slot { struct 76 struct hotplug_slot *hotplug_slot; argument 85 struct slot *p_slot; argument 92 struct slot *slot; member 159 static inline const char *slot_name(struct slot *slot) in slot_name()
|
D | rpaphp_core.c | 68 struct slot *slot = (struct slot *)hotplug_slot->private; in set_attention_status() local 95 struct slot *slot = (struct slot *)hotplug_slot->private; in get_power_status() local 110 struct slot *slot = (struct slot *)hotplug_slot->private; in get_attention_status() local 117 struct slot *slot = (struct slot *)hotplug_slot->private; in get_adapter_status() local 134 static enum pci_bus_speed get_max_bus_speed(struct slot *slot) in get_max_bus_speed() 308 struct slot *slot; in rpaphp_add_slot() local 359 struct slot *slot, *next; in cleanup_slots() local 394 struct slot *slot = (struct slot *)hotplug_slot->private; in enable_slot() local 424 struct slot *slot = (struct slot *)hotplug_slot->private; in disable_slot() local
|
D | cpqphp.h | 261 struct slot { struct 262 struct slot *next; argument 274 u8 hp_slot; argument 276 void __iomem *p_sm_slot; argument 277 struct hotplug_slot *hotplug_slot; argument 303 struct slot *slot; member 460 static inline const char *slot_name(struct slot *slot) in slot_name() 489 static inline void amber_LED_on(struct controller *ctrl, u8 slot) in amber_LED_on() 499 static inline void amber_LED_off(struct controller *ctrl, u8 slot) in amber_LED_off() 509 static inline int read_amber_LED(struct controller *ctrl, u8 slot) in read_amber_LED() [all …]
|
/drivers/pci/ |
D | slot.c | 22 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show() local 30 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store() local 40 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file() 92 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file() 97 static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf) in cur_speed_read_file() 105 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release() local 179 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot() 199 struct pci_slot *slot; in pci_dev_assign_slot() local 210 struct pci_slot *slot; in get_slot() local 265 struct pci_slot *slot; in pci_create_slot() local [all …]
|
/drivers/media/pci/mantis/ |
D | mantis_ca.c | 40 static int mantis_ca_read_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr) in mantis_ca_read_attr_mem() 53 static int mantis_ca_write_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr, u8 data) in mantis_ca_write_attr_mem() 66 static int mantis_ca_read_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr) in mantis_ca_read_cam_ctl() 79 static int mantis_ca_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr, u8 data) in mantis_ca_write_cam_ctl() 92 static int mantis_ca_slot_reset(struct dvb_ca_en50221 *en50221, int slot) in mantis_ca_slot_reset() 108 static int mantis_ca_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) in mantis_ca_slot_shutdown() 118 static int mantis_ts_control(struct dvb_ca_en50221 *en50221, int slot) in mantis_ts_control() 129 static int mantis_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open) in mantis_slot_status()
|
/drivers/pcmcia/ |
D | vrc4171_card.c | 103 enum vrc4171_slot slot; member 171 static inline uint8_t exca_read_byte(int slot, uint8_t index) in exca_read_byte() 180 static inline uint16_t exca_read_word(int slot, uint8_t index) in exca_read_word() 196 static inline uint8_t exca_write_byte(int slot, uint8_t index, uint8_t data) in exca_write_byte() 207 static inline uint16_t exca_write_word(int slot, uint8_t index, uint16_t data) in exca_write_word() 238 unsigned int slot; in pccard_init() local 256 unsigned int slot; in pccard_get_status() local 321 unsigned int slot; in pccard_set_socket() local 382 unsigned int slot; in pccard_set_io_map() local 424 unsigned int slot; in pccard_set_mem_map() local [all …]
|
/drivers/media/dvb-frontends/ |
D | sp2.c | 101 static int sp2_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, u8 acs, in sp2_ci_op_cam() 156 int slot, int addr) in sp2_ci_read_attribute_mem() 163 int slot, int addr, u8 data) in sp2_ci_write_attribute_mem() 170 int slot, u8 addr) in sp2_ci_read_cam_control() 177 int slot, u8 addr, u8 data) in sp2_ci_write_cam_control() 183 int sp2_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot) in sp2_ci_slot_reset() 215 int sp2_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) in sp2_ci_slot_shutdown() 225 int sp2_ci_slot_ts_enable(struct dvb_ca_en50221 *en50221, int slot) in sp2_ci_slot_ts_enable() 243 int slot, int open) in sp2_ci_poll_slot_status()
|
/drivers/media/dvb-core/ |
D | dvb_ca_en50221.c | 232 static int dvb_ca_en50221_check_camstatus(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_check_camstatus() 282 static int dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot, in dvb_ca_en50221_wait_if_status() 330 static int dvb_ca_en50221_link_init(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_link_init() 406 static int dvb_ca_en50221_read_tuple(struct dvb_ca_private *ca, int slot, in dvb_ca_en50221_read_tuple() 460 static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_parse_attributes() 605 static int dvb_ca_en50221_set_configoption(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_set_configoption() 640 static int dvb_ca_en50221_read_data(struct dvb_ca_private *ca, int slot, in dvb_ca_en50221_read_data() 793 static int dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot, in dvb_ca_en50221_write_data() 914 static int dvb_ca_en50221_slot_shutdown(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_slot_shutdown() 940 void dvb_ca_en50221_camchange_irq(struct dvb_ca_en50221 *pubca, int slot, in dvb_ca_en50221_camchange_irq() [all …]
|