| /linux/drivers/pci/hotplug/ |
| H A D | cpci_hotplug_pci.c | 33 u8 cpci_get_attention_status(struct slot *slot) in cpci_get_attention_status() argument 38 hs_cap = pci_bus_find_capability(slot->bus, in cpci_get_attention_status() 39 slot->devfn, in cpci_get_attention_status() 44 if (pci_bus_read_config_word(slot->bus, in cpci_get_attention_status() 45 slot->devfn, in cpci_get_attention_status() 53 int cpci_set_attention_status(struct slot *slot, int status) in cpci_set_attention_status() argument 58 hs_cap = pci_bus_find_capability(slot->bus, in cpci_set_attention_status() 59 slot->devfn, in cpci_set_attention_status() 63 if (pci_bus_read_config_word(slot->bus, in cpci_set_attention_status() 64 slot->devfn, in cpci_set_attention_status() [all …]
|
| H A D | cpci_hotplug_core.c | 52 static int enable_slot(struct hotplug_slot *slot); 53 static int disable_slot(struct hotplug_slot *slot); 54 static int set_attention_status(struct hotplug_slot *slot, u8 value); 55 static int get_power_status(struct hotplug_slot *slot, u8 *value); 56 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 57 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 58 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 73 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 75 dbg("%s - physical_slot = %s", __func__, slot_name(slot)); in enable_slot() 83 struct slot *slot = to_slot(hotplug_slot); in disable_slot() local [all …]
|
| H A D | shpchp_core.c | 42 static int set_attention_status(struct hotplug_slot *slot, u8 value); 43 static int enable_slot(struct hotplug_slot *slot); 44 static int disable_slot(struct hotplug_slot *slot); 45 static int get_power_status(struct hotplug_slot *slot, u8 *value); 46 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 47 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 48 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 62 struct slot *slot; in init_slots() local 69 slot = kzalloc_obj(*slot); in init_slots() 70 if (!slot) { in init_slots() [all …]
|
| H A D | rpaphp_slot.c | 23 void dealloc_slot_struct(struct slot *slot) in dealloc_slot_struct() argument 25 of_node_put(slot->dn); in dealloc_slot_struct() 26 kfree(slot->name); in dealloc_slot_struct() 27 kfree(slot); in dealloc_slot_struct() 30 struct slot *alloc_slot_struct(struct device_node *dn, in alloc_slot_struct() 33 struct slot *slot; in alloc_slot_struct() local 35 slot = kzalloc_obj(struct slot); in alloc_slot_struct() 36 if (!slot) in alloc_slot_struct() 38 slot->name = kstrdup(drc_name, GFP_KERNEL); in alloc_slot_struct() 39 if (!slot->name) in alloc_slot_struct() [all …]
|
| H A D | acpiphp_core.c | 51 static int enable_slot(struct hotplug_slot *slot); 52 static int disable_slot(struct hotplug_slot *slot); 53 static int set_attention_status(struct hotplug_slot *slot, u8 value); 54 static int get_power_status(struct hotplug_slot *slot, u8 *value); 55 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 56 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 57 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 119 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 121 pr_debug("%s - physical_slot = %s\n", __func__, slot_name(slot)); in enable_slot() 124 return acpiphp_enable_slot(slot->acpi_slot); in enable_slot() [all …]
|
| H A D | pci_hotplug_core.c | 41 static int get_##name(struct hotplug_slot *slot, type *value) \ 43 const struct hotplug_slot_ops *ops = slot->ops; \ 46 retval = ops->get_##name(slot, value); \ 70 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file() local 81 if (slot->ops->disable_slot) in power_write_file() 82 retval = slot->ops->disable_slot(slot); in power_write_file() 86 if (slot->ops->enable_slot) in power_write_file() 87 retval = slot->ops->enable_slot(slot); in power_write_file() 121 struct hotplug_slot *slot = pci_slot->hotplug; in attention_write_file() local 122 const struct hotplug_slot_ops *ops = slot->ops; in attention_write_file() [all …]
|
| H A D | rpaphp_core.c | 57 struct slot *slot = to_slot(hotplug_slot); in set_attention_status() local 69 rc = rtas_set_indicator(DR_INDICATOR, slot->index, value); in set_attention_status() 71 slot->attention_status = value; in set_attention_status() 84 struct slot *slot = to_slot(hotplug_slot); in get_power_status() local 86 retval = rtas_get_power_level(slot->power_domain, &level); in get_power_status() 99 struct slot *slot = to_slot(hotplug_slot); in get_attention_status() local 100 *value = slot->attention_status; in get_attention_status() 106 struct slot *slot = to_slot(hotplug_slot); in get_adapter_status() local 109 rc = rpaphp_get_sensor_state(slot, &state); in get_adapter_status() 118 *value = slot->state; in get_adapter_status() [all …]
|
| H A D | acpiphp_glue.c | 153 struct acpiphp_slot *slot, *next; in free_bridge() local 160 list_for_each_entry_safe(slot, next, &bridge->slots, node) { in free_bridge() 161 list_for_each_entry_safe(func, tmp, &slot->funcs, sibling) in free_bridge() 164 kfree(slot); in free_bridge() 198 bus = context->func.slot->bus; in acpiphp_post_dock_fixup() 232 struct acpiphp_slot *slot; in acpiphp_add_context() local 278 list_for_each_entry(slot, &bridge->slots, node) in acpiphp_add_context() 279 if (slot->device == device) in acpiphp_add_context() 282 slot = kzalloc_obj(struct acpiphp_slot); in acpiphp_add_context() 283 if (!slot) { in acpiphp_add_context() [all …]
|
| H A D | rpaphp_pci.c | 72 static int __rpaphp_get_sensor_state(struct slot *slot, int *state) in __rpaphp_get_sensor_state() argument 78 struct pci_controller *phb = PCI_DN(slot->dn)->phb; in __rpaphp_get_sensor_state() 95 slot->index); in __rpaphp_get_sensor_state() 99 return rtas_get_sensor(DR_ENTITY_SENSE, slot->index, state); in __rpaphp_get_sensor_state() 102 int rpaphp_get_sensor_state(struct slot *slot, int *state) in rpaphp_get_sensor_state() argument 107 rc = __rpaphp_get_sensor_state(slot, state); in rpaphp_get_sensor_state() 117 rc = rtas_set_power_level(slot->power_domain, POWER_ON, in rpaphp_get_sensor_state() 121 __func__, slot->name, rc); in rpaphp_get_sensor_state() 123 rc = __rpaphp_get_sensor_state(slot, state); in rpaphp_get_sensor_state() 141 int rpaphp_enable_slot(struct slot *slot) in rpaphp_enable_slot() argument [all …]
|
| H A D | shpchp_hpc.c | 287 static int shpc_write_cmd(struct slot *slot, u8 t_slot, u8 cmd) in shpc_write_cmd() argument 289 struct controller *ctrl = slot->ctrl; in shpc_write_cmd() 294 mutex_lock(&slot->ctrl->cmd_lock); in shpc_write_cmd() 315 retval = shpc_wait_cmd(slot->ctrl); in shpc_write_cmd() 319 cmd_status = shpchp_check_cmd_status(slot->ctrl); in shpc_write_cmd() 326 mutex_unlock(&slot->ctrl->cmd_lock); in shpc_write_cmd() 359 int shpchp_get_attention_status(struct slot *slot, u8 *status) in shpchp_get_attention_status() argument 361 struct controller *ctrl = slot->ctrl; in shpchp_get_attention_status() 362 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_attention_status() 383 int shpchp_get_power_status(struct slot *slot, u8 *status) in shpchp_get_power_status() argument [all …]
|
| H A D | acpiphp.h | 35 struct slot { struct 41 static inline const char *slot_name(struct slot *slot) in slot_name() argument 43 return hotplug_slot_name(&slot->hotplug_slot); in slot_name() 46 static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot) in to_slot() 48 return container_of(hotplug_slot, struct slot, hotplug_slot); in to_slot() 85 struct slot *slot; member 100 struct acpiphp_slot *slot; member 152 int (*set_attn)(struct hotplug_slot *slot, u8 status); 153 int (*get_attn)(struct hotplug_slot *slot, u8 *status); 175 int acpiphp_register_hotplug_slot(struct acpiphp_slot *slot, unsigned int sun); [all …]
|
| H A D | cpqphp_core.c | 66 static inline int is_slot64bit(struct slot *slot) in is_slot64bit() argument 68 return (readb(slot->p_sm_slot + SMBIOS_SLOT_WIDTH) == 0x06) ? 1 : 0; in is_slot64bit() 71 static inline int is_slot66mhz(struct slot *slot) in is_slot66mhz() argument 73 return (readb(slot->p_sm_slot + SMBIOS_SLOT_TYPE) == 0x0E) ? 1 : 0; in is_slot66mhz() 172 tslot = cpqhp_routing_table->slots[loop].slot; in pci_print_IRQ_route() 268 struct slot *old_slot, *next_slot; in ctrl_slot_cleanup() 270 old_slot = ctrl->slot; in ctrl_slot_cleanup() 271 ctrl->slot = NULL; in ctrl_slot_cleanup() 307 get_slot_mapping(struct pci_bus *bus, u8 bus_num, u8 dev_num, u8 *slot) in get_slot_mapping() argument 315 dbg("%s: %p, %d, %d, %p\n", __func__, bus, bus_num, dev_num, slot); in get_slot_mapping() [all …]
|
| H A D | rpaphp.h | 60 struct slot { struct 77 static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot) in to_slot() argument 79 return container_of(hotplug_slot, struct slot, hotplug_slot); in to_slot() 85 int rpaphp_enable_slot(struct slot *slot); 86 int rpaphp_get_sensor_state(struct slot *slot, int *state); 94 void dealloc_slot_struct(struct slot *slot); 95 struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_dom… 96 int rpaphp_register_slot(struct slot *slot); 97 int rpaphp_deregister_slot(struct slot *slot);
|
| /linux/drivers/pci/ |
| H A D | slot.c | 20 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show() local 22 return attribute->show ? attribute->show(slot, buf) : -EIO; in pci_slot_attr_show() 28 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store() local 30 return attribute->store ? attribute->store(slot, buf, len) : -EIO; in pci_slot_attr_store() 38 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file() argument 40 if (slot->number == PCI_SLOT_PLACEHOLDER) in address_read_file() 42 pci_domain_nr(slot->bus), in address_read_file() 43 slot->bus->number); in address_read_file() 49 if (slot->number == PCI_SLOT_ALL_DEVICES) in address_read_file() 51 pci_domain_nr(slot->bus), in address_read_file() [all …]
|
| /linux/drivers/pci/pwrctrl/ |
| H A D | generic.c | 27 struct slot_pwrctrl *slot = container_of(pwrctrl, in slot_pwrctrl_power_on() local 31 if (slot->pwrseq) { in slot_pwrctrl_power_on() 32 pwrseq_enable(slot->pwrseq); in slot_pwrctrl_power_on() 36 ret = regulator_bulk_enable(slot->num_supplies, slot->supplies); in slot_pwrctrl_power_on() 38 dev_err(slot->pwrctrl.dev, "Failed to enable slot regulators\n"); in slot_pwrctrl_power_on() 42 return clk_prepare_enable(slot->clk); in slot_pwrctrl_power_on() 47 struct slot_pwrctrl *slot = container_of(pwrctrl, in slot_pwrctrl_power_off() local 50 if (slot in slot_pwrctrl_power_off() 63 struct slot_pwrctrl *slot = data; devm_slot_pwrctrl_release() local 70 struct slot_pwrctrl *slot; slot_pwrctrl_probe() local [all...] |
| /linux/fs/btrfs/ |
| H A D | tree-checker.c | 51 * Append generic "corrupt leaf/node root=%llu block=%llu slot=%d: " to @fmt. 56 static void generic_err(const struct extent_buffer *eb, int slot, in generic_err() argument 70 "corrupt %s: root=%llu block=%llu slot=%d, %pV", in generic_err() 72 btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot, &vaf); in generic_err() 82 static void file_extent_err(const struct extent_buffer *eb, int slot, in file_extent_err() argument 90 btrfs_item_key_to_cpu(eb, &key, slot); in file_extent_err() 98 "corrupt %s: root=%llu block=%llu slot=%d ino=%llu file_offset=%llu, %pV", in file_extent_err() 100 btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot, in file_extent_err() 109 #define CHECK_FE_ALIGNED(leaf, slot, fi, name, alignment) \ argument 115 file_extent_err((leaf), (slot), \ 143 dir_item_err(const struct extent_buffer * eb,int slot,const char * fmt,...) dir_item_err() argument 176 check_prev_ino(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_prev_ino() argument 208 check_extent_data_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_extent_data_item() argument 393 check_csum_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_csum_item() argument 435 inode_item_err(eb,slot,fmt,...) global() argument 439 check_inode_key(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_inode_key() argument 491 check_root_key(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_root_key() argument 550 check_dir_item(struct extent_buffer * leaf,struct btrfs_key * key,struct btrfs_key * prev_key,int slot) check_dir_item() argument 686 block_group_err(const struct extent_buffer * eb,int slot,const char * fmt,...) block_group_err() argument 710 check_block_group_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_block_group_item() argument 862 int slot = -1; chunk_err() local 1105 check_leaf_chunk_item(struct extent_buffer * leaf,struct btrfs_chunk * chunk,struct btrfs_key * key,int slot) check_leaf_chunk_item() argument 1139 dev_item_err(const struct extent_buffer * eb,int slot,const char * fmt,...) dev_item_err() argument 1162 check_dev_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_dev_item() argument 1209 check_inode_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_inode_item() argument 1298 check_root_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_root_item() argument 1401 check_root_ref(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_root_ref() argument 1434 extent_err(const struct extent_buffer * eb,int slot,const char * fmt,...) extent_err() argument 1478 check_extent_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_extent_item() argument 1790 check_simple_keyed_refs(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_simple_keyed_refs() argument 1831 check_extent_data_ref(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_extent_data_ref() argument 1891 inode_ref_err(eb,slot,fmt,args...) global() argument 1895 check_inode_ref(struct extent_buffer * leaf,struct btrfs_key * key,struct btrfs_key * prev_key,int slot) check_inode_ref() argument 1961 check_inode_extref(struct extent_buffer * leaf,struct btrfs_key * key,struct btrfs_key * prev_key,int slot) check_inode_extref() argument 2012 check_raid_stripe_extent(const struct extent_buffer * leaf,const struct btrfs_key * key,int slot) check_raid_stripe_extent() argument 2031 check_remap_key(const struct extent_buffer * leaf,const struct btrfs_key * key,int slot) check_remap_key() argument 2097 check_dev_extent_item(const struct extent_buffer * leaf,const struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_dev_extent_item() argument 2162 check_free_space_info(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_free_space_info() argument 2215 check_free_space_common_key(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_free_space_common_key() argument 2298 check_free_space_extent(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_free_space_extent() argument 2317 check_free_space_bitmap(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_free_space_bitmap() argument 2350 check_leaf_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_leaf_item() argument 2440 int slot; __btrfs_check_leaf() local 2599 int slot; __btrfs_check_node() local [all...] |
| /linux/arch/x86/kvm/mmu/ |
| H A D | page_track.c | 44 void kvm_page_track_free_memslot(struct kvm_memory_slot *slot) in kvm_page_track_free_memslot() 46 vfree(slot->arch.gfn_write_track); in kvm_page_track_free_memslot() 47 slot->arch.gfn_write_track = NULL; 50 static int __kvm_page_track_write_tracking_alloc(struct kvm_memory_slot *slot, in __kvm_page_track_write_tracking_alloc() 53 const size_t size = sizeof(*slot->arch.gfn_write_track); in __kvm_page_track_write_tracking_alloc() 55 if (!slot->arch.gfn_write_track) in __kvm_page_track_write_tracking_alloc() 56 slot->arch.gfn_write_track = __vcalloc(npages, size, in __kvm_page_track_write_tracking_alloc() 59 return slot->arch.gfn_write_track ? 0 : -ENOMEM; 63 struct kvm_memory_slot *slot, in kvm_page_track_create_memslot() 69 return __kvm_page_track_write_tracking_alloc(slot, npage in kvm_page_track_create_memslot() 42 kvm_page_track_free_memslot(struct kvm_memory_slot * slot) kvm_page_track_free_memslot() argument 48 __kvm_page_track_write_tracking_alloc(struct kvm_memory_slot * slot,unsigned long npages) __kvm_page_track_write_tracking_alloc() argument 61 kvm_page_track_create_memslot(struct kvm * kvm,struct kvm_memory_slot * slot,unsigned long npages) kvm_page_track_create_memslot() argument 70 kvm_page_track_write_tracking_alloc(struct kvm_memory_slot * slot) kvm_page_track_write_tracking_alloc() argument 75 update_gfn_write_track(struct kvm_memory_slot * slot,gfn_t gfn,short count) update_gfn_write_track() argument 90 __kvm_write_track_add_gfn(struct kvm * kvm,struct kvm_memory_slot * slot,gfn_t gfn) __kvm_write_track_add_gfn() argument 114 __kvm_write_track_remove_gfn(struct kvm * kvm,struct kvm_memory_slot * slot,gfn_t gfn) __kvm_write_track_remove_gfn() argument 133 __kvm_gfn_is_write_tracked(const struct kvm_memory_slot * slot,gfn_t gfn) __kvm_gfn_is_write_tracked() argument 147 kvm_gfn_is_write_tracked(struct kvm * kvm,const struct kvm_memory_slot * slot,gfn_t gfn) kvm_gfn_is_write_tracked() argument 192 struct kvm_memory_slot *slot; kvm_enable_external_write_tracking() local 316 kvm_page_track_delete_slot(struct kvm * kvm,struct kvm_memory_slot * slot) kvm_page_track_delete_slot() argument 344 struct kvm_memory_slot *slot; kvm_write_track_add_gfn() local 374 struct kvm_memory_slot *slot; kvm_write_track_remove_gfn() local [all...] |
| /linux/drivers/xen/xen-pciback/ |
| H A D | vpci.c | 73 int err = 0, slot, func = PCI_FUNC(dev->devfn); in __xen_pcibk_add_pci_dev() local 103 for (slot = 0; slot < PCI_SLOT_MAX; slot++) { in __xen_pcibk_add_pci_dev() 104 if (list_empty(&vpci_dev->dev_list[slot])) in __xen_pcibk_add_pci_dev() 107 t = list_entry(list_first(&vpci_dev->dev_list[slot]), in __xen_pcibk_add_pci_dev() 114 slot, func); in __xen_pcibk_add_pci_dev() 116 &vpci_dev->dev_list[slot]); in __xen_pcibk_add_pci_dev() 123 for (slot = 0; slot < PCI_SLOT_MAX; slot++) { in __xen_pcibk_add_pci_dev() 124 if (list_empty(&vpci_dev->dev_list[slot])) { in __xen_pcibk_add_pci_dev() 126 slot); in __xen_pcibk_add_pci_dev() 128 &vpci_dev->dev_list[slot]); in __xen_pcibk_add_pci_dev() [all …]
|
| /linux/net/sched/ |
| H A D | sch_sfq.c | 199 struct sfq_slot *slot = &q->slots[x]; in sfq_link() local 200 int qlen = slot->qlen; in sfq_link() 205 slot->dep.next = n; in sfq_link() 206 slot->dep.prev = p; in sfq_link() 252 static inline struct sk_buff *slot_dequeue_tail(struct sfq_slot *slot) in slot_dequeue_tail() argument 254 struct sk_buff *skb = slot->skblist_prev; in slot_dequeue_tail() 256 slot->skblist_prev = skb->prev; in slot_dequeue_tail() 257 skb->prev->next = (struct sk_buff *)slot; in slot_dequeue_tail() 263 static inline struct sk_buff *slot_dequeue_head(struct sfq_slot *slot) in slot_dequeue_head() argument 265 struct sk_buff *skb = slot->skblist_next; in slot_dequeue_head() [all …]
|
| /linux/include/linux/ |
| H A D | pci_hotplug.h | 39 int (*enable_slot) (struct hotplug_slot *slot); 40 int (*disable_slot) (struct hotplug_slot *slot); 41 int (*set_attention_status) (struct hotplug_slot *slot, u8 value); 42 int (*hardware_test) (struct hotplug_slot *slot, u32 value); 43 int (*get_power_status) (struct hotplug_slot *slot, u8 *value); 44 int (*get_attention_status) (struct hotplug_slot *slot, u8 *value); 45 int (*get_latch_status) (struct hotplug_slot *slot, u8 *value); 46 int (*get_adapter_status) (struct hotplug_slot *slot, u8 *value); 47 int (*reset_slot) (struct hotplug_slot *slot, bool probe); 66 static inline const char *hotplug_slot_name(const struct hotplug_slot *slot) in hotplug_slot_name() argument [all …]
|
| /linux/drivers/media/dvb-core/ |
| H A D | dvb_ca_en50221.c | 193 static int dvb_ca_en50221_read_data(struct dvb_ca_private *ca, int slot, 195 static int dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot, 228 static int dvb_ca_en50221_check_camstatus(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_check_camstatus() argument 230 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_check_camstatus() 240 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus() 278 static int dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot, in dvb_ca_en50221_wait_if_status() argument 293 res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_wait_if_status() 326 static int dvb_ca_en50221_link_init(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_link_init() argument 328 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_link_init() 345 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, in dvb_ca_en50221_link_init() [all …]
|
| /linux/sound/core/oss/ |
| H A D | mixer_oss.c | 249 static int snd_mixer_oss_get_volume(struct snd_mixer_oss_file *fmixer, int slot) in snd_mixer_oss_get_volume() argument 255 if (mixer == NULL || slot > 30) in snd_mixer_oss_get_volume() 258 pslot = &mixer->slots[slot]; in snd_mixer_oss_get_volume() 278 int slot, int volume) in snd_mixer_oss_set_volume() argument 284 if (mixer == NULL || slot > 30) in snd_mixer_oss_set_volume() 287 pslot = &mixer->slots[slot]; in snd_mixer_oss_set_volume() 444 static void snd_mixer_oss_recsrce_set(struct snd_card *card, int slot) 448 mixer->mask_recsrc |= 1 << slot; 451 static int snd_mixer_oss_recsrce_get(struct snd_card *card, int slot) 454 if (mixer && (mixer->mask_recsrc & (1 << slot))) 488 struct slot { global() struct 489 signatureslot global() argument 513 allocatedslot snd_mixer_oss_get_volume1_vol() argument 588 struct slot *slot = pslot->private_data; snd_mixer_oss_get_volume1() local 697 struct slot *slot = pslot->private_data; snd_mixer_oss_put_volume1() local 746 struct slot *slot = pslot->private_data; snd_mixer_oss_get_recsrc1_sw() local 759 struct slot *slot = pslot->private_data; snd_mixer_oss_get_recsrc1_route() local 772 struct slot *slot = pslot->private_data; snd_mixer_oss_put_recsrc1_sw() local 782 struct slot *slot = pslot->private_data; snd_mixer_oss_put_recsrc1_route() local 794 struct slot *slot; snd_mixer_oss_get_recsrc2() local 838 struct slot *slot = NULL; snd_mixer_oss_put_recsrc2() local 886 snd_mixer_oss_build_test(struct snd_mixer_oss * mixer,struct slot * slot,const char * name,int index,int item) snd_mixer_oss_build_test() argument 938 snd_mixer_oss_build_test_all(struct snd_mixer_oss * mixer,const struct snd_mixer_oss_assign_table * ptr,struct slot * slot) snd_mixer_oss_build_test_all() argument 1005 struct slot slot; snd_mixer_oss_build_input() local 1152 struct slot *slot; snd_mixer_oss_proc_write() local [all...] |
| /linux/tools/testing/radix-tree/ |
| H A D | regression3.c | 35 void **slot; in regression3_test() local 44 radix_tree_for_each_tagged(slot, &root, &iter, 0, 0) { in regression3_test() 45 printv(2, "tagged %ld %p\n", iter.index, *slot); in regression3_test() 51 if (radix_tree_deref_retry(*slot)) { in regression3_test() 53 slot = radix_tree_iter_retry(&iter); in regression3_test() 60 radix_tree_for_each_slot(slot, &root, &iter, 0) { in regression3_test() 61 printv(2, "slot %ld %p\n", iter.index, *slot); in regression3_test() 66 if (radix_tree_deref_retry(*slot)) { in regression3_test() 68 slot = radix_tree_iter_retry(&iter); in regression3_test() 73 radix_tree_for_each_slot(slot, &root, &iter, 0) { in regression3_test() [all …]
|
| /linux/lib/ |
| H A D | assoc_array.c | 29 int slot, ret; in assoc_array_subtree_iterate() local 41 slot = 0; in assoc_array_subtree_iterate() 51 for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_subtree_iterate() 52 ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ in assoc_array_subtree_iterate() 70 * We are guaranteed to make progress, however, as the slot number for in assoc_array_subtree_iterate() 76 slot = 0; in assoc_array_subtree_iterate() 80 for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) { in assoc_array_subtree_iterate() 81 ptr = READ_ONCE(node->slots[slot]); /* Addres in assoc_array_subtree_iterate() 155 int slot; global() member 181 int slot; assoc_array_walk() local 313 int slot; assoc_array_find() local 350 int slot = -1; assoc_array_destroy_subtree() local 487 int slot, next_slot, free_slot, i, j; assoc_array_insert_into_terminal_node() local 1038 int slot; global() member 1087 int slot, i; assoc_array_delete() local 1464 int keylen, slot, nr_free, next_slot, i; assoc_array_gc() local [all...] |
| /linux/fs/nfs/ |
| H A D | nfs4session.c | 49 struct nfs4_slot *slot = *p; in nfs4_shrink_slot_table() local 51 *p = slot->next; in nfs4_shrink_slot_table() 52 kfree(slot); in nfs4_shrink_slot_table() 83 void nfs4_free_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot) in nfs4_free_slot() argument 85 u32 slotid = slot->slot_nr; in nfs4_free_slot() 107 struct nfs4_slot *slot; in nfs4_new_slot() local 109 slot = kzalloc_obj(*slot, gfp_mask); in nfs4_new_slot() 110 if (slot) { in nfs4_new_slot() 111 slot->table = tbl; in nfs4_new_slot() 112 slot->slot_nr = slotid; in nfs4_new_slot() [all …]
|