/openbmc/sdbusplus/include/sdbusplus/ |
H A D | slot.hpp | 12 namespace slot namespace 34 using slot = std::unique_ptr<sd_bus_slot, SlotDeleter>; typedef 43 struct slot struct 46 slot() : _slot(nullptr, details::SlotDeleter(&sdbus_impl)) {} in slot() function 47 explicit slot(std::nullptr_t) : slot() {} in slot() function 53 slot(slotp_t s, sdbusplus::SdBusInterface* intf) : in slot() function 58 slotp_t release() in release() 64 explicit operator bool() const in operator bool() 88 static slotp_t get_slotp(sdbusplus::slot::slot& s) noexcept in get_slotp()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | cb710-mmc.c | 29 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); in cb710_mmc_select_clock_divider() local 445 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); in cb710_mmc_command() local 485 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); in cb710_mmc_request() local 499 static int cb710_mmc_powerup(struct cb710_slot *slot) in cb710_mmc_powerup() 562 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); in cb710_mmc_set_ios() local 603 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); in cb710_mmc_get_ro() local 611 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); in cb710_mmc_get_cd() local 670 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); in cb710_mmc_suspend() local 678 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); in cb710_mmc_resume() local 688 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); in cb710_mmc_init() local [all …]
|
H A D | sdhci-pci-core.c | 54 struct sdhci_pci_slot *slot = chip->slots[i]; in sdhci_pci_init_wakeup() local 78 struct sdhci_pci_slot *slot = chip->slots[i]; in sdhci_pci_suspend_host() local 107 struct sdhci_pci_slot *slot; in sdhci_pci_resume_host() local 151 struct sdhci_pci_slot *slot; in sdhci_pci_runtime_suspend_host() local 181 struct sdhci_pci_slot *slot; in sdhci_pci_runtime_resume_host() local 559 struct sdhci_pci_slot *slot = sdhci_priv(host); in intel_select_drive_strength() local 756 struct sdhci_pci_slot *slot = chip->slots[0]; in intel_ltr_set() local 994 struct sdhci_pci_slot *slot = chip->slots[0]; in glk_rpm_retune_wa() local 1930 struct sdhci_pci_slot *slot; in sdhci_pci_enable_dma() local 2043 struct sdhci_pci_slot *slot; in sdhci_pci_probe_slot() local [all …]
|
H A D | cavium.c | 228 static bool switch_val_changed(struct cvm_mmc_slot *slot, u64 new_val) in switch_val_changed() 236 static void set_wdog(struct cvm_mmc_slot *slot, unsigned int ns) in set_wdog() 250 static void cvm_mmc_reset_bus(struct cvm_mmc_slot *slot) in cvm_mmc_reset_bus() 271 static void cvm_mmc_switch_to(struct cvm_mmc_slot *slot) in cvm_mmc_switch_to() 627 struct cvm_mmc_slot *slot = mmc_priv(mmc); in prepare_ext_dma() local 652 struct cvm_mmc_slot *slot = mmc_priv(mmc); in cvm_mmc_dma_request() local 752 struct cvm_mmc_slot *slot = mmc_priv(mmc); in cvm_mmc_request() local 824 struct cvm_mmc_slot *slot = mmc_priv(mmc); in cvm_mmc_set_ios() local 913 static int cvm_mmc_init_lowlevel(struct cvm_mmc_slot *slot) in cvm_mmc_init_lowlevel() 1011 struct cvm_mmc_slot *slot; in cvm_mmc_of_slot_probe() local [all …]
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | rpaphp.h | 60 struct slot { struct 61 struct list_head rpaphp_slot_list; argument 71 struct hotplug_slot hotplug_slot; argument 77 static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot) in to_slot() argument
|
H A D | cpci_hotplug.h | 30 struct slot { struct 38 struct hotplug_slot hotplug_slot; argument 39 struct list_head slot_list; argument 47 int (*hardware_test)(struct slot *slot, u32 value); argument 61 static inline const char *slot_name(struct slot *slot) in slot_name()
|
H A D | cpci_hotplug_pci.c | 33 u8 cpci_get_attention_status(struct slot *slot) in cpci_get_attention_status() 53 int cpci_set_attention_status(struct slot *slot, int status) in cpci_set_attention_status() 80 u16 cpci_get_hs_csr(struct slot *slot) in cpci_get_hs_csr() 98 int cpci_check_and_clear_ins(struct slot *slot) in cpci_check_and_clear_ins() 127 int cpci_check_ext(struct slot *slot) in cpci_check_ext() 148 int cpci_clear_ext(struct slot *slot) in cpci_clear_ext() 174 int cpci_led_on(struct slot *slot) in cpci_led_on() 202 int cpci_led_off(struct slot *slot) in cpci_led_off() 235 int cpci_configure_slot(struct slot *slot) in cpci_configure_slot() 286 int cpci_unconfigure_slot(struct slot *slot) in cpci_unconfigure_slot()
|
H A D | pci_hotplug_core.c | 82 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file() local 139 struct hotplug_slot *slot = pci_slot->hotplug; in attention_write_file() local 206 struct hotplug_slot *slot = pci_slot->hotplug; in test_write_file() local 236 struct hotplug_slot *slot = pci_slot->hotplug; in has_power_file() local 249 struct hotplug_slot *slot = pci_slot->hotplug; in has_attention_file() local 261 struct hotplug_slot *slot = pci_slot->hotplug; in has_latch_file() local 272 struct hotplug_slot *slot = pci_slot->hotplug; in has_adapter_file() local 283 struct hotplug_slot *slot = pci_slot->hotplug; in has_test_file() local 380 struct hotplug_slot *slot; in get_slot_from_name() local 477 int pci_hp_add(struct hotplug_slot *slot) in pci_hp_add() [all …]
|
H A D | cpci_hotplug_core.c | 73 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 86 struct slot *slot = to_slot(hotplug_slot); in disable_slot() local 130 cpci_get_power_status(struct slot *slot) in cpci_get_power_status() 142 struct slot *slot = to_slot(hotplug_slot); in get_power_status() local 151 struct slot *slot = to_slot(hotplug_slot); in get_attention_status() local 166 struct slot *slot = to_slot(hotplug_slot); in get_adapter_status() local 192 struct slot *slot; in cpci_hp_register_bus() local 244 struct slot *slot; in cpci_hp_unregister_bus() local 297 struct slot *slot; in init_slots() local 326 struct slot *slot; in check_slots() local [all …]
|
H A D | acpiphp_glue.c | 153 struct acpiphp_slot *slot, *next; in free_bridge() local 232 struct acpiphp_slot *slot; in acpiphp_add_context() local 341 struct acpiphp_slot *slot; in cleanup_bridge() local 553 static void disable_slot(struct acpiphp_slot *slot) in disable_slot() 575 static bool slot_no_hotplug(struct acpiphp_slot *slot) in slot_no_hotplug() 699 struct acpiphp_slot *slot; in acpiphp_check_bridge() local 787 struct acpiphp_slot *slot = func->slot; in hotplug_event() local 983 int acpiphp_enable_slot(struct acpiphp_slot *slot) in acpiphp_enable_slot() 1027 int acpiphp_disable_slot(struct acpiphp_slot *slot) in acpiphp_disable_slot() 1047 u8 acpiphp_get_power_status(struct acpiphp_slot *slot) in acpiphp_get_power_status() [all …]
|
H A D | shpchp_core.c | 65 struct slot *slot; in init_slots() local 131 struct slot *slot, *next; in cleanup_slots() local 147 struct slot *slot = get_slot(hotplug_slot); in set_attention_status() local 160 struct slot *slot = get_slot(hotplug_slot); in enable_slot() local 170 struct slot *slot = get_slot(hotplug_slot); in disable_slot() local 180 struct slot *slot = get_slot(hotplug_slot); in get_power_status() local 195 struct slot *slot = get_slot(hotplug_slot); in get_attention_status() local 210 struct slot *slot = get_slot(hotplug_slot); in get_latch_status() local 225 struct slot *slot = get_slot(hotplug_slot); in get_adapter_status() local
|
H A D | shpchp.h | 63 struct slot { struct 76 struct hotplug_slot hotplug_slot; argument 77 struct list_head slot_list; argument 81 u8 hp_slot; argument 86 struct slot *p_slot; argument 172 static inline const char *slot_name(struct slot *slot) in slot_name() 217 struct slot *slot; in shpchp_find_slot() local
|
H A D | rpaphp_slot.c | 23 void dealloc_slot_struct(struct slot *slot) in dealloc_slot_struct() 33 struct slot *slot; in alloc_slot_struct() local 54 static int is_registered(struct slot *slot) in is_registered() 65 int rpaphp_deregister_slot(struct slot *slot) in rpaphp_deregister_slot() 82 int rpaphp_register_slot(struct slot *slot) in rpaphp_register_slot()
|
H A D | acpiphp_core.c | 120 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 137 struct slot *slot = to_slot(hotplug_slot); in disable_slot() local 181 struct slot *slot = to_slot(hotplug_slot); in get_power_status() local 227 struct slot *slot = to_slot(hotplug_slot); in get_latch_status() local 247 struct slot *slot = to_slot(hotplug_slot); in get_adapter_status() local 260 struct slot *slot; in acpiphp_register_hotplug_slot() local 297 struct slot *slot = acpiphp_slot->slot; in acpiphp_unregister_hotplug_slot() local
|
/openbmc/linux/arch/x86/kernel/ |
H A D | early-quirks.c | 58 static void __init via_bugs(int num, int slot, int func) in via_bugs() 81 static void __init nvidia_bugs(int num, int slot, int func) in nvidia_bugs() 117 static u32 __init ati_ixp4x0_rev(int num, int slot, int func) in ati_ixp4x0_rev() 135 static void __init ati_bugs(int num, int slot, int func) in ati_bugs() 161 static u32 __init ati_sbx00_rev(int num, int slot, int func) in ati_sbx00_rev() 171 static void __init ati_bugs_contd(int num, int slot, int func) in ati_bugs_contd() 203 static void __init ati_bugs(int num, int slot, int func) in ati_bugs() 207 static void __init ati_bugs_contd(int num, int slot, int func) in ati_bugs_contd() 568 intel_graphics_stolen(int num, int slot, int func, in intel_graphics_stolen() 747 static int __init check_dev_quirk(int num, int slot, int func) in check_dev_quirk() [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | slot.c | 21 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show() local 29 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store() local 39 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file() 57 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file() 70 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release() local 145 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot() 165 struct pci_slot *slot; in pci_dev_assign_slot() local 176 struct pci_slot *slot; in get_slot() local 231 struct pci_slot *slot; in pci_create_slot() local 313 void pci_destroy_slot(struct pci_slot *slot) in pci_destroy_slot() [all …]
|
/openbmc/linux/arch/x86/kvm/mmu/ |
H A D | page_track.c | 29 void kvm_page_track_free_memslot(struct kvm_memory_slot *slot) in kvm_page_track_free_memslot() 35 static int __kvm_page_track_write_tracking_alloc(struct kvm_memory_slot *slot, in __kvm_page_track_write_tracking_alloc() 48 struct kvm_memory_slot *slot, in kvm_page_track_create_memslot() 57 int kvm_page_track_write_tracking_alloc(struct kvm_memory_slot *slot) in kvm_page_track_write_tracking_alloc() 62 static void update_gfn_write_track(struct kvm_memory_slot *slot, gfn_t gfn, in update_gfn_write_track() 77 void __kvm_write_track_add_gfn(struct kvm *kvm, struct kvm_memory_slot *slot, in __kvm_write_track_add_gfn() 101 struct kvm_memory_slot *slot, gfn_t gfn) in __kvm_write_track_remove_gfn() 124 const struct kvm_memory_slot *slot, gfn_t gfn) in kvm_gfn_is_write_tracked() 229 void kvm_page_track_delete_slot(struct kvm *kvm, struct kvm_memory_slot *slot) in kvm_page_track_delete_slot() 257 struct kvm_memory_slot *slot; in kvm_write_track_add_gfn() local [all …]
|
/openbmc/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-ci.c | 37 int slot, int address) in read_attribute_mem() 51 static int write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, in write_attribute_mem() 63 int slot, u8 address) in read_cam_control() 83 static int write_cam_control(struct dvb_ca_en50221 *ca, int slot, in write_cam_control() 94 static int slot_reset(struct dvb_ca_en50221 *ca, int slot) in slot_reset() 111 static int slot_shutdown(struct dvb_ca_en50221 *ca, int slot) in slot_shutdown() 120 static int slot_ts_enable(struct dvb_ca_en50221 *ca, int slot) in slot_ts_enable() 181 int slot, int address) in read_attribute_mem_xo2() 204 int slot, u8 address) in read_cam_control_xo2() 226 static int slot_reset_xo2(struct dvb_ca_en50221 *ca, int slot) in slot_reset_xo2() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | tree-checker.c | 173 struct btrfs_key *key, int slot, in check_prev_ino() 390 int slot) in check_inode_key() 442 int slot) in check_root_key() 501 int slot) in check_dir_item() 756 int slot = -1; in chunk_err() local 1152 int slot) in check_root_item() 1673 int slot) in check_inode_ref() 1723 int slot, in check_dev_extent_item() 1792 int slot, in check_leaf_item() 1858 int slot; in __btrfs_check_leaf() local [all …]
|
/openbmc/linux/drivers/media/pci/mantis/ |
H A D | mantis_ca.c | 28 static int mantis_ca_read_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr) in mantis_ca_read_attr_mem() 41 static int mantis_ca_write_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr, u8 data) in mantis_ca_write_attr_mem() 54 static int mantis_ca_read_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr) in mantis_ca_read_cam_ctl() 67 static int mantis_ca_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr, u8 data) in mantis_ca_write_cam_ctl() 80 static int mantis_ca_slot_reset(struct dvb_ca_en50221 *en50221, int slot) in mantis_ca_slot_reset() 96 static int mantis_ca_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) in mantis_ca_slot_shutdown() 106 static int mantis_ts_control(struct dvb_ca_en50221 *en50221, int slot) in mantis_ts_control() 116 static int mantis_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open) in mantis_slot_status()
|
/openbmc/linux/arch/x86/pci/ |
H A D | early.c | 11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config() 19 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte() 27 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16() 35 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config() 42 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) in write_pci_config_byte() 48 void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) in write_pci_config_16()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | sp2.c | 92 static int sp2_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, u8 acs, in sp2_ci_op_cam() 147 int slot, int addr) in sp2_ci_read_attribute_mem() 154 int slot, int addr, u8 data) in sp2_ci_write_attribute_mem() 161 int slot, u8 addr) in sp2_ci_read_cam_control() 168 int slot, u8 addr, u8 data) in sp2_ci_write_cam_control() 174 int sp2_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot) in sp2_ci_slot_reset() 206 int sp2_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) in sp2_ci_slot_shutdown() 216 int sp2_ci_slot_ts_enable(struct dvb_ca_en50221 *en50221, int slot) in sp2_ci_slot_ts_enable() 234 int slot, int open) in sp2_ci_poll_slot_status()
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | kprobes.c | 138 static uint __kprobes is_cmp_ctype_unc_inst(uint template, uint slot, in is_cmp_ctype_unc_inst() 174 static int __kprobes unsupported_inst(uint template, uint slot, in unsupported_inst() 285 static void __kprobes prepare_break_inst(uint template, uint slot, in prepare_break_inst() 321 static void __kprobes get_kprobe_inst(bundle_t *bundle, uint slot, in get_kprobe_inst() 354 static int __kprobes valid_kprobe_addr(int template, int slot, in valid_kprobe_addr() 452 static int __kprobes can_boost(bundle_t *bundle, uint slot, in can_boost() 475 unsigned int slot = (unsigned long)p->addr & 0xf; in prepare_booster() local 496 unsigned int slot = addr & 0xf, template, major_opcode = 0; in arch_prepare_kprobe() local 601 int slot = ((unsigned long)p->addr & 0xf); in resume_execution() local 667 unsigned long slot = (unsigned long)p->addr & 0xf; in prepare_ss() local [all …]
|
/openbmc/linux/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_ci.c | 53 int slot) in netup_unidvb_ci_slot_ts_ctl() 71 int slot) in netup_unidvb_ci_slot_shutdown() 81 int slot) in netup_unidvb_ci_slot_reset() 115 int slot, int open) in netup_unidvb_poll_ci_slot_status() 137 int slot, int addr) in netup_unidvb_ci_read_attribute_mem() 149 int slot, int addr, u8 data) in netup_unidvb_ci_write_attribute_mem() 161 int slot, u8 addr) in netup_unidvb_ci_read_cam_ctl() 173 int slot, u8 addr, u8 data) in netup_unidvb_ci_write_cam_ctl()
|
/openbmc/u-boot/drivers/dma/ |
H A D | ti-edma3.c | 18 #define EDMA3_SL_BASE(slot) (0x4000 + ((slot) << 5)) argument 91 void edma3_set_dest(u32 base, int slot, u32 dst, enum edma3_address_mode mode, in edma3_set_dest() 122 void edma3_set_dest_index(u32 base, unsigned slot, int bidx, int cidx) in edma3_set_dest_index() 142 void edma3_set_dest_addr(u32 base, int slot, u32 dst) in edma3_set_dest_addr() 162 void edma3_set_src(u32 base, int slot, u32 src, enum edma3_address_mode mode, in edma3_set_src() 193 void edma3_set_src_index(u32 base, unsigned slot, int bidx, int cidx) in edma3_set_src_index() 213 void edma3_set_src_addr(u32 base, int slot, u32 src) in edma3_set_src_addr() 251 void edma3_set_transfer_params(u32 base, int slot, int acnt, in edma3_set_transfer_params() 288 void edma3_write_slot(u32 base, int slot, struct edma3_slot_layout *param) in edma3_write_slot() 307 void edma3_read_slot(u32 base, int slot, struct edma3_slot_layout *param) in edma3_read_slot() [all …]
|