Home
last modified time | relevance | path

Searched refs:slots (Results 1 – 200 of 362) sorted by relevance

12

/linux-4.1.27/drivers/gpu/ipu-v3/
Dipu-dmfc.c106 unsigned slots; member
175 static int ipu_dmfc_setup_channel(struct dmfc_channel *dmfc, int slots, in ipu_dmfc_setup_channel() argument
183 slots, segment, dmfc->data->ipu_channel); in ipu_dmfc_setup_channel()
185 switch (slots) { in ipu_dmfc_setup_channel()
226 dmfc->slots = slots; in ipu_dmfc_setup_channel()
229 dmfc->slotmask = ((1 << slots) - 1) << segment; in ipu_dmfc_setup_channel()
237 int slots = 1; in dmfc_bandwidth_to_slots() local
239 while (slots * priv->bandwidth_per_slot < bandwidth) in dmfc_bandwidth_to_slots()
240 slots *= 2; in dmfc_bandwidth_to_slots()
242 return slots; in dmfc_bandwidth_to_slots()
[all …]
/linux-4.1.27/sound/pci/ac97/
Dac97_pcm.c327 unsigned short slots = 0; in get_pslots() local
341 slots |= (1<<AC97_SLOT_PCM_LEFT)|(1<<AC97_SLOT_PCM_RIGHT); in get_pslots()
343 slots |= (1<<AC97_SLOT_PCM_SLEFT)|(1<<AC97_SLOT_PCM_SRIGHT); in get_pslots()
345 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots()
358 slots |= (1<<AC97_SLOT_PCM_SLEFT)|(1<<AC97_SLOT_PCM_SRIGHT); in get_pslots()
360 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots()
370 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots()
376 return slots; in get_pslots()
378 unsigned short slots; in get_pslots() local
379 slots = (1<<AC97_SLOT_PCM_LEFT)|(1<<AC97_SLOT_PCM_RIGHT); in get_pslots()
[all …]
/linux-4.1.27/drivers/input/
Dinput-mt.c52 mt = kzalloc(sizeof(*mt) + num_slots * sizeof(*mt->slots), GFP_KERNEL); in input_mt_init_slots()
93 input_mt_set_value(&mt->slots[i], ABS_MT_TRACKING_ID, -1); in input_mt_init_slots()
145 slot = &mt->slots[mt->slot]; in input_mt_report_slot_state()
208 struct input_mt_slot *ps = &mt->slots[i]; in input_mt_report_pointer_emulation()
247 if (!input_mt_is_used(mt, &mt->slots[i])) { in __input_mt_drop_unused()
353 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { in input_mt_set_matrix()
368 int *slots, int num_pos) in input_mt_set_slots() argument
374 slots[j] = -1; in input_mt_set_slots()
376 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { in input_mt_set_slots()
382 slots[j] = s - mt->slots; in input_mt_set_slots()
[all …]
/linux-4.1.27/arch/ia64/scripts/
Dunwcheck.py26 def check_func (func, slots, rlen_sum): argument
27 if slots != rlen_sum:
31 print "ERROR: %s: %lu slots, total region length = %lu" % (func, slots, rlen_sum)
37 slots = 0 variable
42 check_func(func, slots, rlen_sum)
47 slots = 3 * (end - start) / 16 variable
54 check_func(func, slots, rlen_sum)
/linux-4.1.27/lib/
Dassoc_array.c58 ptr = ACCESS_ONCE(node->slots[slot]); in assoc_array_subtree_iterate()
92 ptr = ACCESS_ONCE(node->slots[slot]); in assoc_array_subtree_iterate()
223 ptr = ACCESS_ONCE(node->slots[slot]); in assoc_array_walk()
340 ptr = ACCESS_ONCE(node->slots[slot]); in assoc_array_find()
399 struct assoc_array_ptr *ptr = node->slots[slot]; in assoc_array_destroy_subtree()
479 edit->leaf_p = &new_n0->slots[0]; in assoc_array_insert_in_empty_tree()
522 ptr = node->slots[i]; in assoc_array_insert_into_terminal_node()
531 edit->leaf_p = &node->slots[i]; in assoc_array_insert_into_terminal_node()
532 edit->dead_leaf = node->slots[i]; in assoc_array_insert_into_terminal_node()
543 edit->leaf_p = &node->slots[free_slot]; in assoc_array_insert_into_terminal_node()
[all …]
Dradix-tree.c231 node->slots[0] = NULL; in radix_tree_node_rcu_free()
360 node->slots[0] = slot; in radix_tree_extend()
413 rcu_assign_pointer(node->slots[offset], slot); in __radix_tree_create()
423 slot = node->slots[offset]; in __radix_tree_create()
431 *slotp = node ? node->slots + offset : (void **)&root->rnode; in __radix_tree_create()
517 slot = node->slots + ((index >> shift) & RADIX_TREE_MAP_MASK); in __radix_tree_lookup()
605 slot = slot->slots[offset]; in radix_tree_tag_set()
655 slot = slot->slots[offset]; in radix_tree_tag_clear()
732 node = rcu_dereference_raw(node->slots[offset]); in radix_tree_tag_get()
795 !node->slots[offset]) { in radix_tree_next_chunk()
[all …]
/linux-4.1.27/drivers/misc/mei/
Dinterrupt.c173 int slots; in mei_cl_irq_disconnect_rsp() local
176 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_disconnect_rsp()
179 if (slots < msg_slots) in mei_cl_irq_disconnect_rsp()
208 int slots; in mei_cl_irq_disconnect() local
211 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_disconnect()
213 if (slots < msg_slots) in mei_cl_irq_disconnect()
248 int slots; in mei_cl_irq_read() local
252 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_read()
254 if (slots < msg_slots) in mei_cl_irq_read()
285 int slots; in mei_cl_irq_connect() local
[all …]
Dhw-txe.c692 int slots = dev->hbuf_depth; in mei_txe_write() local
705 if (dw_cnt > slots) in mei_txe_write()
736 hw->slots = 0; in mei_txe_write()
767 return hw->slots; in mei_txe_hbuf_empty_slots()
1037 s32 slots; in mei_txe_irq_thread_handler() local
1102 slots = mei_count_full_read_slots(dev); in mei_txe_irq_thread_handler()
1105 rets = mei_irq_read_handler(dev, &complete_list, &slots); in mei_txe_irq_thread_handler()
1117 hw->slots = dev->hbuf_depth; in mei_txe_irq_thread_handler()
Dmei_dev.h628 static inline u32 mei_slots2data(int slots) in mei_slots2data() argument
630 return slots * 4; in mei_slots2data()
651 struct mei_cl_cb *cmpl_list, s32 *slots);
683 int mei_amthif_irq_read(struct mei_device *dev, s32 *slots);
Dhw-me.c791 s32 slots; in mei_me_irq_thread_handler() local
825 slots = mei_count_full_read_slots(dev); in mei_me_irq_thread_handler()
826 while (slots > 0) { in mei_me_irq_thread_handler()
827 dev_dbg(dev->dev, "slots to read = %08x\n", slots); in mei_me_irq_thread_handler()
828 rets = mei_irq_read_handler(dev, &complete_list, &slots); in mei_me_irq_thread_handler()
Dhw-txe.h51 u32 slots; member
Dclient.c1103 int slots; in mei_cl_irq_write() local
1122 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_write()
1131 if (slots >= msg_slots) { in mei_cl_irq_write()
1135 } else if (slots == dev->hbuf_depth) { in mei_cl_irq_write()
1136 msg_slots = slots; in mei_cl_irq_write()
1137 len = (slots * sizeof(u32)) - sizeof(struct mei_msg_hdr); in mei_cl_irq_write()
/linux-4.1.27/fs/btrfs/
Dfile-item.c67 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent()
110 if (path->slots[0] == 0) in btrfs_lookup_csum()
112 path->slots[0]--; in btrfs_lookup_csum()
113 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_lookup_csum()
119 csums_in_item = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_lookup_csum()
129 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum()
258 path->slots[0]); in __btrfs_lookup_bio_sums()
262 path->slots[0]); in __btrfs_lookup_bio_sums()
266 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in __btrfs_lookup_bio_sums()
342 if (ret > 0 && path->slots[0] > 0) { in btrfs_lookup_csums_range()
[all …]
Dinode-item.c37 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in find_name_in_backref()
38 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in find_name_in_backref()
67 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_find_name_in_ext_backref()
68 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_find_name_in_ext_backref()
166 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_del_inode_extref()
180 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_extref()
234 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_del_inode_ref()
245 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_ref()
307 item = btrfs_item_nr(path->slots[0]); in btrfs_insert_inode_extref()
308 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref()
[all …]
Dctree.c126 p->slots[i] = 0; in btrfs_release_path()
1891 int orig_slot = path->slots[level]; in balance_level()
1907 pslot = path->slots[level + 1]; in balance_level()
2066 path->slots[level + 1] -= 1; in balance_level()
2067 path->slots[level] = orig_slot; in balance_level()
2074 path->slots[level] = orig_slot; in balance_level()
2079 btrfs_node_blockptr(path->nodes[level], path->slots[level])) in balance_level()
2109 int orig_slot = path->slots[level]; in push_nodes_for_insert()
2119 pslot = path->slots[level + 1]; in push_nodes_for_insert()
2159 path->slots[level + 1] -= 1; in push_nodes_for_insert()
[all …]
Dtree-log.c371 path->slots[0]); in overwrite_item()
390 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in overwrite_item()
417 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item()
465 path->slots[0]); in overwrite_item()
475 path->slots[0]); in overwrite_item()
645 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent()
680 path->slots[0]); in replay_one_extent()
889 ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in backref_in_log()
899 item_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); in backref_in_log()
961 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref()
[all …]
Dfile.c733 if (ret > 0 && path->slots[0] > 0 && search_start == start) { in __btrfs_drop_extents()
735 btrfs_item_key_to_cpu(leaf, &key, path->slots[0] - 1); in __btrfs_drop_extents()
738 path->slots[0]--; in __btrfs_drop_extents()
744 if (path->slots[0] >= btrfs_header_nritems(leaf)) { in __btrfs_drop_extents()
758 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in __btrfs_drop_extents()
765 path->slots[0]++; in __btrfs_drop_extents()
771 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents()
785 path->slots[0], fi); in __btrfs_drop_extents()
804 path->slots[0]++; in __btrfs_drop_extents()
839 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in __btrfs_drop_extents()
[all …]
Ddir-item.c57 item = btrfs_item_nr(path->slots[0]); in insert_with_overflow()
58 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow()
262 slot = path->slots[0]; in btrfs_check_dir_item_collision()
330 if (path->slots[0] >= nritems) { in btrfs_search_dir_index_item()
341 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_search_dir_index_item()
349 path->slots[0]++; in btrfs_search_dir_index_item()
394 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_match_dir_item_name()
398 total_len = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_match_dir_item_name()
434 item_len = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
442 start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
Droot-tree.c99 if (path->slots[0] == 0) in btrfs_find_root()
101 path->slots[0]--; in btrfs_find_root()
106 slot = path->slots[0]; in btrfs_find_root()
164 slot = path->slots[0]; in btrfs_update_root()
195 slot = path->slots[0]; in btrfs_update_root()
255 if (path->slots[0] >= btrfs_header_nritems(leaf)) { in btrfs_find_orphan_roots()
264 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_find_orphan_roots()
374 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref()
448 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
Dexport.c184 if (path->slots[0] == 0) { in btrfs_get_parent()
189 path->slots[0]--; in btrfs_get_parent()
192 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_parent()
199 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent()
266 path->slots[0]--; in btrfs_get_name()
275 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
280 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
Drelocation.c740 ASSERT(path1->slots[0]);
742 path1->slots[0]--;
770 if (path1->slots[0] >= btrfs_header_nritems(eb)) {
781 btrfs_item_key_to_cpu(eb, &key, path1->slots[0]);
789 ret = find_inline_backref(eb, path1->slots[0],
820 ref0 = btrfs_item_ptr(eb, path1->slots[0],
920 if (ret > 0 && path2->slots[level] > 0)
921 path2->slots[level]--;
924 WARN_ON(btrfs_node_blockptr(eb, path2->slots[level]) !=
1014 path1->slots[0]++;
[all …]
Duuid-tree.c66 slot = path->slots[0]; in btrfs_uuid_tree_lookup()
127 slot = path->slots[0]; in btrfs_uuid_tree_add()
136 slot = path->slots[0]; in btrfs_uuid_tree_add()
197 slot = path->slots[0]; in btrfs_uuid_tree_rem()
292 slot = path->slots[0]; in btrfs_uuid_tree_iterate()
Dextent-tree.c436 if (path->slots[0] < nritems) { in caching_thread()
437 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in caching_thread()
474 path->slots[0]++; in caching_thread()
498 path->slots[0]++; in caching_thread()
790 if (path->slots[0]) { in btrfs_lookup_extent_info()
791 path->slots[0]--; in btrfs_lookup_extent_info()
793 path->slots[0]); in btrfs_lookup_extent_info()
803 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_lookup_extent_info()
805 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info()
813 ei0 = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info()
[all …]
Dbackref.c253 if (path->slots[0] >= btrfs_header_nritems(path->nodes[0])) in add_all_parents()
258 slot = path->slots[0]; in add_all_parents()
698 slot = path->slots[0]; in __add_inline_refs()
810 slot = path->slots[0]; in __add_keyed_refs()
976 if (path->slots[0]) {
980 path->slots[0]--;
982 slot = path->slots[0];
1288 slot = path->slots[0];
1323 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]);
1389 slot = path->slots[0];
[all …]
Dsend.c803 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in __get_inode_info()
862 int slot = path->slots[0]; in iterate_inode_ref()
1004 slot = path->slots[0]; in iterate_dir_item()
1125 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path()
1320 fi = btrfs_item_ptr(eb, path->slots[0], in find_extent_clone()
1481 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink()
1489 len = btrfs_file_extent_inline_len(path->nodes[0], path->slots[0], ei); in read_symlink()
1726 path->slots[0]); in get_first_ref()
1736 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1745 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
[all …]
Dinode.c176 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent()
1272 if (ret > 0 && path->slots[0] > 0 && check_prev) { in run_delalloc_nocow()
1275 path->slots[0] - 1); in run_delalloc_nocow()
1278 path->slots[0]--; in run_delalloc_nocow()
1283 if (path->slots[0] >= btrfs_header_nritems(leaf)) { in run_delalloc_nocow()
1295 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in run_delalloc_nocow()
1301 path->slots[0]++; in run_delalloc_nocow()
1314 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow()
1328 path->slots[0]++; in run_delalloc_nocow()
1368 path->slots[0], fi); in run_delalloc_nocow()
[all …]
Dinode-map.c69 slot = path->slots[0]; in caching_kthread()
114 path->slots[0]++; in caching_kthread()
538 if (path->slots[0] > 0) { in btrfs_find_highest_objectid()
539 slot = path->slots[0] - 1; in btrfs_find_highest_objectid()
Dxattr.c178 const int slot = path->slots[0]; in do_setxattr()
295 slot = path->slots[0]; in btrfs_listxattr()
344 path->slots[0]++; in btrfs_listxattr()
Ddelayed-inode.c804 slot = path->slots[0]; in btrfs_batch_insert_items()
845 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_delayed_item()
883 path->slots[0]++; in btrfs_insert_delayed_items()
914 i = path->slots[0]; in btrfs_batch_delete_items()
947 ret = btrfs_del_items(trans, root, path, path->slots[0], nitems); in btrfs_batch_delete_items()
1062 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_update_delayed_inode()
1071 path->slots[0]++; in __btrfs_update_delayed_inode()
1072 if (path->slots[0] >= btrfs_header_nritems(leaf)) in __btrfs_update_delayed_inode()
1075 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in __btrfs_update_delayed_inode()
1111 path->slots[0]--; in __btrfs_update_delayed_inode()
Dvolumes.c1009 slot = path->slots[0]; in btrfs_account_dev_extents_size()
1047 path->slots[0]++; in btrfs_account_dev_extents_size()
1168 slot = path->slots[0]; in find_free_dev_extent()
1233 path->slots[0]++; in find_free_dev_extent()
1298 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_free_dev_extent()
1299 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1308 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1356 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_alloc_dev_extent()
1420 path->slots[0]); in find_next_devid()
1460 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_device()
[all …]
Dtree-defrag.c105 path->slots[1] = btrfs_header_nritems(path->nodes[1]); in btrfs_defrag_leaves()
Dioctl.c949 extent = btrfs_item_ptr(leaf, path->slots[0], in find_new_extents()
961 path->slots[0]++; in find_new_extents()
962 if (path->slots[0] < btrfs_header_nritems(leaf)) { in find_new_extents()
963 btrfs_item_key_to_cpu(leaf, &min_key, path->slots[0]); in find_new_extents()
1891 if (path->slots[0] > 0) { in may_destroy_subvol()
1892 path->slots[0]--; in may_destroy_subvol()
1893 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in may_destroy_subvol()
1947 slot = path->slots[0]; in copy_to_sk()
2242 slot = path->slots[0]; in btrfs_search_path_in_tree()
3136 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_update_extent_map()
[all …]
Dqgroup.c311 slot = path->slots[0]; in btrfs_read_qgroup_config()
402 slot = path->slots[0]; in btrfs_read_qgroup_config()
565 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item()
584 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item()
673 slot = path->slots[0]; in update_qgroup_limit_item()
718 slot = path->slots[0]; in update_qgroup_info_item()
760 slot = path->slots[0]; in update_qgroup_status_item()
809 path->slots[0] = 0; in btrfs_clean_quota_tree()
875 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable()
899 slot = path->slots[0]; in btrfs_quota_enable()
[all …]
Dprops.c182 slot = path->slots[0]; in iterate_object_props()
258 path->slots[0]++; in iterate_object_props()
/linux-4.1.27/arch/arm64/kernel/
Dhw_breakpoint.c193 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument
201 slot = &slots[i]; in hw_breakpoint_slot_setup()
231 struct perf_event **slots; in hw_breakpoint_control() local
241 slots = this_cpu_ptr(bp_on_reg); in hw_breakpoint_control()
248 slots = this_cpu_ptr(wp_on_reg); in hw_breakpoint_control()
253 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
545 struct perf_event **slots; in toggle_bp_registers() local
549 slots = this_cpu_ptr(bp_on_reg); in toggle_bp_registers()
553 slots = this_cpu_ptr(wp_on_reg); in toggle_bp_registers()
561 if (!slots[i]) in toggle_bp_registers()
[all …]
/linux-4.1.27/drivers/input/touchscreen/
Dpenmount.c62 struct mt_slot slots[PM_MAX_MTSLOT]; member
77 pm->slots[i].active); in pm_mtevent()
78 if (pm->slots[i].active) { in pm_mtevent()
79 input_event(input, EV_ABS, ABS_MT_POSITION_X, pm->slots[i].x); in pm_mtevent()
80 input_event(input, EV_ABS, ABS_MT_POSITION_Y, pm->slots[i].y); in pm_mtevent()
140 pm->slots[slotnum].active = pm->data[0] & 0x30; in pm_parse_3000()
141 pm->slots[slotnum].x = pm->data[2] * 256 + pm->data[1]; in pm_parse_3000()
142 pm->slots[slotnum].y = pm->data[4] * 256 + pm->data[3]; in pm_parse_3000()
156 pm->slots[slotnum].active = pm->data[0] & 0x40; in pm_parse_6250()
157 pm->slots[slotnum].x = pm->data[2] * 256 + pm->data[1]; in pm_parse_6250()
[all …]
Dpixcir_i2c_ts.c112 int slots[PIXCIR_MAX_SLOTS]; in pixcir_ts_report() local
129 input_mt_assign_slots(ts->input, slots, pos, n, 0); in pixcir_ts_report()
143 slot = slots[i]; in pixcir_ts_report()
/linux-4.1.27/sound/soc/blackfin/
Dbf5xx-i2s.c54 unsigned int slots; member
219 unsigned int rx_mask, int slots, int width) in bf5xx_i2s_set_tdm_slot() argument
224 if (slots % 8 != 0 || slots > 8) in bf5xx_i2s_set_tdm_slot()
230 bf5xx_i2s->slots = slots; in bf5xx_i2s_set_tdm_slot()
234 bf5xx_i2s->tx_dma_data.tdm_mode = slots != 0; in bf5xx_i2s_set_tdm_slot()
235 bf5xx_i2s->rx_dma_data.tdm_mode = slots != 0; in bf5xx_i2s_set_tdm_slot()
237 return sport_set_multichannel(sport_handle, slots, tx_mask, rx_mask, 0); in bf5xx_i2s_set_tdm_slot()
276 return sport_set_multichannel(sport_handle, bf5xx_i2s->slots, in bf5xx_i2s_resume()
/linux-4.1.27/drivers/dma/ioat/
Ddca.c392 int slots = 0; in ioat2_dca_count_dca_slots() local
400 req = readl(iobase + global_req_table + (slots * sizeof(u32))); in ioat2_dca_count_dca_slots()
401 slots++; in ioat2_dca_count_dca_slots()
404 return slots; in ioat2_dca_count_dca_slots()
411 int slots; in ioat2_dca_init() local
427 slots = ioat2_dca_count_dca_slots(iobase, dca_offset); in ioat2_dca_init()
428 if (slots == 0) in ioat2_dca_init()
433 + (sizeof(struct ioat_dca_slot) * slots)); in ioat2_dca_init()
440 ioatdca->max_requesters = slots; in ioat2_dca_init()
588 int slots = 0; in ioat3_dca_count_dca_slots() local
[all …]
/linux-4.1.27/arch/blackfin/mach-common/
Dscb-init.c14 inline void scb_mi_write(unsigned long scb_mi_arbw, unsigned int slots, in scb_mi_write() argument
19 for (i = 0; i < slots; ++i) in scb_mi_write()
24 inline void scb_mi_read(unsigned long scb_mi_arbw, unsigned int slots, in scb_mi_read() argument
29 for (i = 0; i < slots; ++i) { in scb_mi_read()
/linux-4.1.27/kernel/events/
Dhw_breakpoint.c145 fetch_bp_busy_slots(struct bp_busy_slots *slots, struct perf_event *bp, in fetch_bp_busy_slots() argument
161 if (nr > slots->pinned) in fetch_bp_busy_slots()
162 slots->pinned = nr; in fetch_bp_busy_slots()
165 if (nr > slots->flexible) in fetch_bp_busy_slots()
166 slots->flexible = nr; in fetch_bp_busy_slots()
176 fetch_this_slot(struct bp_busy_slots *slots, int weight) in fetch_this_slot() argument
178 slots->pinned += weight; in fetch_this_slot()
282 struct bp_busy_slots slots = {0}; in __reserve_bp_slot() local
298 fetch_bp_busy_slots(&slots, bp, type); in __reserve_bp_slot()
303 fetch_this_slot(&slots, weight); in __reserve_bp_slot()
[all …]
/linux-4.1.27/arch/ia64/include/uapi/asm/
Drse.h47 unsigned long slots = (bsp - bspstore); in ia64_rse_num_regs() local
49 return slots - (ia64_rse_slot_num(bspstore) + slots)/0x40; in ia64_rse_num_regs()
/linux-4.1.27/arch/arm/kernel/
Dhw_breakpoint.c337 struct perf_event **slot, **slots; in arch_install_hw_breakpoint() local
348 slots = this_cpu_ptr(bp_on_reg); in arch_install_hw_breakpoint()
354 slots = this_cpu_ptr(wp_on_reg); in arch_install_hw_breakpoint()
359 slot = &slots[i]; in arch_install_hw_breakpoint()
394 struct perf_event **slot, **slots; in arch_uninstall_hw_breakpoint() local
400 slots = this_cpu_ptr(bp_on_reg); in arch_uninstall_hw_breakpoint()
405 slots = this_cpu_ptr(wp_on_reg); in arch_uninstall_hw_breakpoint()
411 slot = &slots[i]; in arch_uninstall_hw_breakpoint()
697 struct perf_event *wp, **slots; in watchpoint_handler() local
701 slots = this_cpu_ptr(wp_on_reg); in watchpoint_handler()
[all …]
Dprocess.c346 unsigned int slots; in sigpage_addr() local
360 slots = ((last - first) >> PAGE_SHIFT) + 1; in sigpage_addr()
362 offset = get_random_int() % slots; in sigpage_addr()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_layer.c74 slot = &upd->slots[id]; in atmel_hlcdc_layer_update_reset()
101 slot = &upd->slots[upd->pending]; in atmel_hlcdc_layer_update_apply()
370 slot = &upd->slots[upd->next]; in atmel_hlcdc_layer_update_start()
397 upd->slots[upd->pending].configs, in atmel_hlcdc_layer_update_start()
400 upd->slots[upd->pending].updated_configs, in atmel_hlcdc_layer_update_start()
404 slot->fb_flip->fb = upd->slots[upd->pending].fb_flip->fb; in atmel_hlcdc_layer_update_start()
405 if (upd->slots[upd->pending].fb_flip->fb) { in atmel_hlcdc_layer_update_start()
407 upd->slots[upd->pending].fb_flip->fb; in atmel_hlcdc_layer_update_start()
409 upd->slots[upd->pending].fb_flip->ngems; in atmel_hlcdc_layer_update_start()
416 upd->slots[upd->next].configs, in atmel_hlcdc_layer_update_start()
[all …]
/linux-4.1.27/net/sched/
Dsch_sfq.c130 struct sfq_slot *slots; /* Flows table ('maxflows' entries) */ member
155 return &q->slots[val].dep; in sfq_dep_head()
228 struct sfq_slot *slot = &q->slots[x]; in sfq_link()
243 n = q->slots[x].dep.next; \
244 p = q->slots[x].dep.prev; \
257 d = q->slots[x].qlen--; in sfq_dec()
270 d = ++q->slots[x].qlen; in sfq_inc()
326 slot = &q->slots[x]; in sfq_drop()
342 slot = &q->slots[x]; in sfq_drop()
389 slot = &q->slots[x]; in sfq_enqueue()
[all …]
Dsch_qfq.c180 struct hlist_head slots[QFQ_MAX_SLOTS]; member
918 hlist_add_head(&agg->next, &grp->slots[i]); in qfq_slot_insert()
925 return hlist_entry(grp->slots[grp->front].first, in qfq_slot_head()
938 if (hlist_empty(&grp->slots[grp->front])) in qfq_front_slot_remove()
1360 if (hlist_empty(&grp->slots[i])) in qfq_slot_remove()
1403 } else if (hlist_empty(&grp->slots[grp->front])) { in qfq_deactivate_agg()
1462 len = qfq_drop_from_slot(q, &grp->slots[j]); in qfq_drop()
1502 INIT_HLIST_HEAD(&grp->slots[j]); in qfq_init_qdisc()
/linux-4.1.27/arch/arm/mach-omap1/
Ddevices.c114 if (mmc_controller->slots[0].wires == 4 && !cpu_is_omap7xx()) { in omap1_mmc_mux()
117 if (!mmc_controller->slots[0].nomux) in omap1_mmc_mux()
125 if (!mmc_controller->slots[1].nomux) { in omap1_mmc_mux()
130 if (mmc_controller->slots[1].wires == 4) { in omap1_mmc_mux()
181 data->slots[0].features = MMC_OMAP7XX; in omap_mmc_add()
183 data->slots[0].features = MMC_OMAP15XX; in omap_mmc_add()
185 data->slots[0].features = MMC_OMAP16XX; in omap_mmc_add()
Dboard-h3-mmc.c38 .slots[0] = {
Dboard-sx1-mmc.c46 .slots[0] = {
Dboard-h2-mmc.c56 .slots[0] = {
Dboard-nokia770.c182 .slots[0] = {
/linux-4.1.27/drivers/pci/hotplug/
Dibmphp_ebda.c80 struct ebda_hpc_slot *slots; in alloc_ebda_hpc() local
87 slots = kcalloc(slot_count, sizeof(struct ebda_hpc_slot), GFP_KERNEL); in alloc_ebda_hpc()
88 if (!slots) in alloc_ebda_hpc()
90 controller->slots = slots; in alloc_ebda_hpc()
99 kfree(controller->slots); in alloc_ebda_hpc()
108 kfree (controller->slots); in free_ebda_hpc()
212 debug ("%s - physical slot#: %x\n", __func__, hpc_ptr->slots[index].slot_num); in print_ebda_hpc()
213 debug ("%s - pci bus# of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_bus_num); in print_ebda_hpc()
214 debug ("%s - index into ctlr addr: %x\n", __func__, hpc_ptr->slots[index].ctl_index); in print_ebda_hpc()
215 debug ("%s - cap of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_cap); in print_ebda_hpc()
[all …]
Dcpci_hotplug_core.c58 static int slots; variable
291 slots++; in cpci_hp_register_bus()
314 if (!slots) { in cpci_hp_unregister_bus()
321 slots--; in cpci_hp_unregister_bus()
371 if (!slots) { in init_slots()
403 if (!slots) { in check_slots()
634 if (!slots) in cleanup_slots()
Dibmphp_core.c157 if ((*cur_slot)->number == rtable->slots[loop].slot && in ibmphp_init_devno()
158 (*cur_slot)->bus == rtable->slots[loop].bus) { in ibmphp_init_devno()
159 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); in ibmphp_init_devno()
176 rtable->slots[loop].irq[0].bitmap); in ibmphp_init_devno()
178 rtable->slots[loop].irq[1].bitmap); in ibmphp_init_devno()
180 rtable->slots[loop].irq[2].bitmap); in ibmphp_init_devno()
182 rtable->slots[loop].irq[3].bitmap); in ibmphp_init_devno()
185 rtable->slots[loop].irq[0].link); in ibmphp_init_devno()
187 rtable->slots[loop].irq[1].link); in ibmphp_init_devno()
189 rtable->slots[loop].irq[2].link); in ibmphp_init_devno()
[all …]
Dacpiphp_glue.c166 list_for_each_entry_safe(slot, next, &bridge->slots, node) { in free_bridge()
312 list_for_each_entry(slot, &bridge->slots, node) in acpiphp_add_context()
328 list_add_tail(&slot->node, &bridge->slots); in acpiphp_add_context()
377 list_for_each_entry(slot, &bridge->slots, node) { in cleanup_bridge()
679 list_for_each_entry(slot, &bridge->slots, node) { in acpiphp_check_bridge()
846 INIT_LIST_HEAD(&bridge->slots); in acpiphp_enumerate_slots()
Dcpqphp_core.c186 tbus = cpqhp_routing_table->slots[loop].bus; in pci_print_IRQ_route()
187 tdevice = cpqhp_routing_table->slots[loop].devfn; in pci_print_IRQ_route()
188 tslot = cpqhp_routing_table->slots[loop].slot; in pci_print_IRQ_route()
348 tbus = cpqhp_routing_table->slots[loop].bus; in get_slot_mapping()
349 tdevice = cpqhp_routing_table->slots[loop].devfn >> 3; in get_slot_mapping()
350 tslot = cpqhp_routing_table->slots[loop].slot; in get_slot_mapping()
Dacpiphp.h68 struct list_head slots; member
DKconfig128 tristate "RPA Dynamic Logical Partitioning for I/O slots"
132 for I/O slots.
/linux-4.1.27/Documentation/devicetree/bindings/mmc/
Dsynopsys-dw-mshc.txt23 property is 0 to (num-slots -1), where num-slots is the value
24 specified by the num-slots property.
37 NOTE: This property is not required for slots known to always
58 * num-slots: specifies the number of slots supported by the controller.
59 The number of physical slots actually used could be equal or less than the
60 value specified by num-slots. If this property is not specified, the value
101 num-slots = <1>;
Dimg-dw-mshc.txt27 num-slots = <1>;
Dk3-dw-mshc.txt34 num-slots = <1>;
/linux-4.1.27/arch/x86/kvm/
Diommu.c154 struct kvm_memslots *slots; in kvm_iommu_map_memslots() local
161 slots = kvm_memslots(kvm); in kvm_iommu_map_memslots()
163 kvm_for_each_memslot(memslot, slots) { in kvm_iommu_map_memslots()
322 struct kvm_memslots *slots; in kvm_iommu_unmap_memslots() local
326 slots = kvm_memslots(kvm); in kvm_iommu_unmap_memslots()
328 kvm_for_each_memslot(memslot, slots) in kvm_iommu_unmap_memslots()
/linux-4.1.27/drivers/ipack/carriers/
Dtpci200.c156 slot_irq = rcu_dereference(tpci200->slots[i].irq); in tpci200_interrupt()
182 if (tpci200->slots[dev->slot].irq == NULL) { in tpci200_free_irq()
188 slot_irq = tpci200->slots[dev->slot].irq; in tpci200_free_irq()
190 RCU_INIT_POINTER(tpci200->slots[dev->slot].irq, NULL); in tpci200_free_irq()
211 if (tpci200->slots[dev->slot].irq != NULL) { in tpci200_request_irq()
239 rcu_assign_pointer(tpci200->slots[dev->slot].irq, slot_irq); in tpci200_request_irq()
443 kfree(tpci200->slots); in tpci200_uninstall()
460 tpci200->slots = kzalloc( in tpci200_install()
462 if (tpci200->slots == NULL) in tpci200_install()
467 kfree(tpci200->slots); in tpci200_install()
[all …]
Dtpci200.h162 struct tpci200_slot *slots; member
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_dp_mst.c65 int slots) in radeon_dp_mst_set_stream_attrib() argument
78 val = NI_DP_MSE_SAT_SLOT_COUNT0(slots) | NI_DP_MSE_SAT_SRC0(fe); in radeon_dp_mst_set_stream_attrib()
131 new_attribs[idx].slots = drm_dp_mst_get_vcpi_slots(&mst_conn->mst_mgr, mst_enc->port); in radeon_dp_mst_update_stream_attribs()
137 new_attribs[i].slots != mst_conn->cur_stream_attribs[i].slots) { in radeon_dp_mst_update_stream_attribs()
138 radeon_dp_mst_set_stream_attrib(primary, i, new_attribs[i].fe, new_attribs[i].slots); in radeon_dp_mst_update_stream_attribs()
140 mst_conn->cur_stream_attribs[i].slots = new_attribs[i].slots; in radeon_dp_mst_update_stream_attribs()
147 mst_conn->cur_stream_attribs[i].slots = 0; in radeon_dp_mst_update_stream_attribs()
391 int ret, slots; in radeon_mst_encoder_dpms() local
446 mst_enc->pbn, &slots); in radeon_mst_encoder_dpms()
454 radeon_dp_mst_set_vcp_size(radeon_encoder, slots, 0); in radeon_mst_encoder_dpms()
[all …]
/linux-4.1.27/drivers/misc/cb710/
Dcore.c77 for (nr = chip->slots; nr; ++slot, --nr) { in cb710_irq_handler()
102 int nr = chip->slots; in cb710_register_slot()
112 ++chip->slots; in cb710_register_slot()
133 --chip->slots; in cb710_register_slot()
145 int nr = chip->slots - 1; in cb710_unregister_slot()
157 --chip->slots; in cb710_unregister_slot()
/linux-4.1.27/drivers/mmc/host/
Dsdhci-pci.c524 jmicron_enable_mmc(chip->slots[i]->host, 0); in jmicron_suspend()
537 jmicron_enable_mmc(chip->slots[i]->host, 1); in jmicron_resume()
1238 slot = chip->slots[i]; in sdhci_pci_suspend()
1272 sdhci_resume_host(chip->slots[i]->host); in sdhci_pci_suspend()
1294 slot = chip->slots[i]; in sdhci_pci_resume()
1318 slot = chip->slots[i]; in sdhci_pci_runtime_suspend()
1338 sdhci_runtime_resume_host(chip->slots[i]->host); in sdhci_pci_runtime_suspend()
1360 slot = chip->slots[i]; in sdhci_pci_runtime_resume()
1588 u8 slots, first_bar; in sdhci_pci_probe() local
1597 ret = pci_read_config_byte(pdev, PCI_SLOT_INFO, &slots); in sdhci_pci_probe()
[all …]
Domap.c160 struct mmc_omap_slot *slots[OMAP_MMC_MAX_SLOTS]; member
280 if (host->slots[i] == NULL || host->slots[i]->mrq == NULL) in mmc_omap_release_slot()
284 new_slot = host->slots[i]; in mmc_omap_release_slot()
732 dev_info(mmc_dev(host->slots[0]->mmc), in mmc_omap_irq()
861 struct mmc_omap_slot *slot = host->slots[num]; in omap_mmc_notify_cover_event()
866 if (host->nr_slots == 0 || !host->slots[num]) in omap_mmc_notify_cover_event()
1235 slot->pdata = &host->pdata->slots[id]; in mmc_omap_new_slot()
1237 host->slots[id] = slot; in mmc_omap_new_slot()
1240 if (host->pdata->slots[id].wires >= 4) in mmc_omap_new_slot()
1366 host->features = host->pdata->slots[0].features; in mmc_omap_probe()
[all …]
Dsdhci-pci.h86 struct sdhci_pci_slot *slots[MAX_SLOTS]; /* Pointers to host slots */ member
/linux-4.1.27/sound/soc/ux500/
Dmop500_ab8500.c225 int channels, ret = 0, driver_mode, slots; in mop500_ab8500_hw_params() local
302 slots = 16; in mop500_ab8500_hw_params()
307 slots = 16; in mop500_ab8500_hw_params()
312 slots = 16; in mop500_ab8500_hw_params()
327 ret = snd_soc_dai_set_tdm_slot(cpu_dai, tx_slots, rx_slots, slots, in mop500_ab8500_hw_params()
334 ret = snd_soc_dai_set_tdm_slot(codec_dai, tx_slots, rx_slots, slots, in mop500_ab8500_hw_params()
Dux500_msp_dai.c40 if (drvdata->slots > 1) { in setup_pcm_multichan()
59 __func__, drvdata->slots, multi->tx_channel_0_enable, in setup_pcm_multichan()
71 switch (drvdata->slots) { in setup_frameper()
116 __func__, drvdata->slots); in setup_frameper()
138 switch (drvdata->slots) { in setup_pcm_framing()
157 __func__, drvdata->slots); in setup_pcm_framing()
584 int slots, int slot_width) in ux500_msp_dai_set_tdm_slot() argument
589 switch (slots) { in ux500_msp_dai_set_tdm_slot()
604 __func__, slots); in ux500_msp_dai_set_tdm_slot()
607 drvdata->slots = slots; in ux500_msp_dai_set_tdm_slot()
[all …]
Dux500_msp_dai.h57 int slots; member
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Dtcm.h73 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area);
163 static inline s32 tcm_reserve_1d(struct tcm *tcm, u32 slots, in tcm_reserve_1d() argument
168 (area == NULL || slots == 0) ? -EINVAL : in tcm_reserve_1d()
169 slots > (tcm->width * (u32) tcm->height) ? -ENOMEM : 0; in tcm_reserve_1d()
173 res = tcm->reserve_1d(tcm, slots, area); in tcm_reserve_1d()
Domap_gem.c402 int i, ret, slots; in fault_2d() local
431 slots = omap_obj->width >> usergart[fmt].slot_shift; in fault_2d()
445 base_pgoff = (base_pgoff >> n_shift) * slots; in fault_2d()
452 slots = min(slots - (off << n_shift), n); in fault_2d()
465 sizeof(struct page *) * slots); in fault_2d()
466 memset(pages + slots, 0, in fault_2d()
467 sizeof(struct page *) * (n - slots)); in fault_2d()
/linux-4.1.27/include/linux/
Dkvm_host.h437 #define kvm_for_each_memslot(memslot, slots) \ argument
438 for (memslot = &slots->memslots[0]; \
439 memslot < slots->memslots + KVM_MEM_SLOTS_NUM && memslot->npages;\
484 id_to_memslot(struct kvm_memslots *slots, int id) in id_to_memslot() argument
486 int index = slots->id_to_index[id]; in id_to_memslot()
489 slot = &slots->memslots[index]; in id_to_memslot()
813 search_memslots(struct kvm_memslots *slots, gfn_t gfn) in search_memslots() argument
815 int start = 0, end = slots->used_slots; in search_memslots()
816 int slot = atomic_read(&slots->lru_slot); in search_memslots()
817 struct kvm_memory_slot *memslots = slots->memslots; in search_memslots()
[all …]
Dipack.h177 int slots; member
192 struct ipack_bus_device *ipack_bus_register(struct device *parent, int slots,
Ddlm.h36 void (*recover_done) (void *ops_arg, struct dlm_slot *slots,
Deisa.h96 int slots; /* Max slot number */ member
Dassoc_array_priv.h59 struct assoc_array_ptr *slots[ASSOC_ARRAY_FAN_OUT]; member
Dcb710.h40 unsigned slots; member
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_dma.c137 nv50_dma_wait(struct nouveau_channel *chan, int slots, int count) in nv50_dma_wait() argument
142 ret = nv50_dma_push_wait(chan, slots + 1); in nv50_dma_wait()
180 nouveau_dma_wait(struct nouveau_channel *chan, int slots, int size) in nouveau_dma_wait() argument
186 return nv50_dma_wait(chan, slots, size); in nouveau_dma_wait()
Dnouveau_dma.h33 int nouveau_dma_wait(struct nouveau_channel *, int slots, int size);
/linux-4.1.27/sound/soc/fsl/
Dfsl_esai.c59 u32 slots; member
346 u32 rx_mask, int slots, int slot_width) in fsl_esai_set_dai_tdm_slot() argument
351 ESAI_xCCR_xDC_MASK, ESAI_xCCR_xDC(slots)); in fsl_esai_set_dai_tdm_slot()
359 ESAI_xCCR_xDC_MASK, ESAI_xCCR_xDC(slots)); in fsl_esai_set_dai_tdm_slot()
367 esai_priv->slots = slots; in fsl_esai_set_dai_tdm_slot()
515 u32 pins = DIV_ROUND_UP(channels, esai_priv->slots); in fsl_esai_hw_params()
524 bclk = params_rate(params) * slot_width * esai_priv->slots; in fsl_esai_hw_params()
576 u32 pins = DIV_ROUND_UP(channels, esai_priv->slots); in fsl_esai_trigger()
789 esai_priv->slots = 2; in fsl_esai_probe()
Dmpc5200_psc_ac97.c192 psc_dma->slots |= s->ac97_slot_bits; in psc_ac97_trigger()
193 out_be32(&psc_dma->psc_regs->ac97_slots, psc_dma->slots); in psc_ac97_trigger()
201 psc_dma->slots &= ~(s->ac97_slot_bits); in psc_ac97_trigger()
202 out_be32(&psc_dma->psc_regs->ac97_slots, psc_dma->slots); in psc_ac97_trigger()
Dmpc5200_dma.h62 unsigned int slots; member
Dimx-ssi.c62 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in imx_ssi_set_dai_tdm_slot() argument
69 sccr |= SSI_STCCR_DC(slots - 1); in imx_ssi_set_dai_tdm_slot()
74 sccr |= SSI_STCCR_DC(slots - 1); in imx_ssi_set_dai_tdm_slot()
Dfsl_ssi.c971 u32 rx_mask, int slots, int slot_width) in fsl_ssi_set_dai_tdm_slot() argument
980 if (val && slots < 2) { in fsl_ssi_set_dai_tdm_slot()
986 CCSR_SSI_SxCCR_DC(slots)); in fsl_ssi_set_dai_tdm_slot()
988 CCSR_SSI_SxCCR_DC(slots)); in fsl_ssi_set_dai_tdm_slot()
/linux-4.1.27/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c36 for (i = 0; i < buf_pool->slots; i++) { in xgene_enet_init_bufpool()
55 u32 slots = buf_pool->slots - 1; in xgene_enet_refill_bufpool() local
82 tail = (tail + 1) & slots; in xgene_enet_refill_bufpool()
119 u32 slots = buf_pool->slots - 1; in xgene_enet_delete_bufpool() local
126 tail = (tail - 1) & slots; in xgene_enet_delete_bufpool()
281 tx_ring->tail = (tx_ring->tail + 1) & (tx_ring->slots - 1); in xgene_enet_start_xmit()
368 u16 slots = ring->slots - 1; in xgene_enet_process_ring() local
384 head = (head + 1) & slots; in xgene_enet_process_ring()
675 ring->num, ring->size, ring->id, ring->slots); in xgene_enet_create_desc_ring()
725 buf_pool->rx_skb = devm_kcalloc(dev, buf_pool->slots, in xgene_enet_create_desc_rings()
[all …]
Dxgene_enet_main.h67 u16 slots; member
/linux-4.1.27/drivers/usb/isp1760/
Disp1760-hcd.c721 struct isp1760_slotinfo *slots, in start_bus_transfer() argument
730 WARN_ON(slots[slot].qtd); in start_bus_transfer()
731 WARN_ON(slots[slot].qh); in start_bus_transfer()
747 slots[slot].timestamp = jiffies; in start_bus_transfer()
748 slots[slot].qtd = qtd; in start_bus_transfer()
749 slots[slot].qh = qh; in start_bus_transfer()
836 struct isp1760_slotinfo *slots; in enqueue_qtds() local
854 slots = priv->int_slots; in enqueue_qtds()
857 slots = priv->atl_slots; in enqueue_qtds()
862 if ((free_slot == -1) && (slots[curr_slot].qtd == NULL)) in enqueue_qtds()
[all …]
/linux-4.1.27/virt/kvm/
Dkvm_main.c446 struct kvm_memslots *slots = kvm->memslots; in kvm_init_memslots_id() local
449 slots->id_to_index[i] = slots->memslots[i].id = i; in kvm_init_memslots_id()
569 struct kvm_memslots *slots = kvm->memslots; in kvm_free_physmem() local
572 kvm_for_each_memslot(memslot, slots) in kvm_free_physmem()
664 static void update_memslots(struct kvm_memslots *slots, in update_memslots() argument
668 int i = slots->id_to_index[id]; in update_memslots()
669 struct kvm_memory_slot *mslots = slots->memslots; in update_memslots()
677 slots->used_slots--; in update_memslots()
680 slots->used_slots++; in update_memslots()
688 slots->id_to_index[mslots[i].id] = i; in update_memslots()
[all …]
/linux-4.1.27/arch/arm/mach-omap2/
Dboard-n8x0.c448 .slots[0] = {
457 .slots[1] = {
483 mmc1_data.slots[0].name = "external"; in n8x0_mmc_init()
491 mmc1_data.slots[1].name = "internal"; in n8x0_mmc_init()
492 mmc1_data.slots[1].ban_openended = 1; in n8x0_mmc_init()
/linux-4.1.27/scripts/kconfig/
Dqconf.h71 public slots:
231 public slots:
259 public slots:
288 public slots:
309 public slots:
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dtdm-slot.txt6 dai-tdm-slot-num : Number of slots in use.
14 to specify a explicit mapping of the channels and the slots. If it's absent
Ddavinci-mcasp-audio.txt17 - tdm-slots : Slots for TDM operation. Indicates number of channels transmitted
52 tdm-slots = <2>;
/linux-4.1.27/mm/
Dworkingset.c349 if (node->slots[i]) { in shadow_lru_isolate()
350 BUG_ON(!radix_tree_exceptional_entry(node->slots[i])); in shadow_lru_isolate()
351 node->slots[i] = NULL; in shadow_lru_isolate()
/linux-4.1.27/security/selinux/
Davc.c60 struct hlist_head slots[AVC_CACHE_SLOTS]; /* head for avc_node->list */ member
166 INIT_HLIST_HEAD(&avc_cache.slots[i]); in avc_init()
189 head = &avc_cache.slots[i]; in avc_get_hash_stats()
246 head = &avc_cache.slots[hvalue]; in avc_reclaim_node()
303 head = &avc_cache.slots[hvalue]; in avc_search_node()
398 head = &avc_cache.slots[hvalue]; in avc_insert()
550 head = &avc_cache.slots[hvalue]; in avc_update_node()
617 head = &avc_cache.slots[i]; in avc_flush()
/linux-4.1.27/include/linux/input/
Dmt.h53 struct input_mt_slot slots[]; member
121 int input_mt_assign_slots(struct input_dev *dev, int *slots,
/linux-4.1.27/include/sound/
Dsoc-dai.h114 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width);
145 int (*xlate_tdm_slot_mask)(unsigned int slots,
149 int slots, int slot_width);
Dsimple_card.h20 int slots; member
Dmixer_oss.h56 struct snd_mixer_oss_slot slots[SNDRV_OSS_MAX_MIXERS]; /* OSS mixer slots */ member
Dac97_codec.h639 unsigned short slots; /* driver input: requested AC97 slot numbers */ member
651 enum ac97_pcm_cfg cfg, unsigned short slots);
/linux-4.1.27/sound/oss/
Duart401.c298 hw_config->slots[4] = -1; in probe_uart401()
377 hw_config->slots[4] = devc->my_dev; in probe_uart401()
398 int n=hw_config->slots[4]; in unload_uart401()
406 devc = midi_devs[hw_config->slots[4]]->devc; in unload_uart401()
420 sound_unload_mididev(hw_config->slots[4]); in unload_uart401()
Duart6850.c278 hw_config->slots[4] = my_dev; in attach_uart6850()
310 sound_unload_mididev(hw_config->slots[4]); in unload_uart6850()
Dsound_config.h77 int slots[6]; /* To remember driver slot ids */ member
Dsb_common.c850 hw_config->slots[0]=devc->dev; in sb_dsp_init()
865 hw_config->slots[0]=devc->dev; in sb_dsp_init()
881 devc = audio_devs[hw_config->slots[0]]->devc; in sb_dsp_unload()
1228 (void *)(long) hw_config->slots[1]; in probe_sbmpu()
1265 last_sb->midi_irq_cookie=midi_devs[hw_config->slots[4]]->devc; in probe_sbmpu()
Dtrix.c248 hw_config->slots[0] = ad1848_init("AudioTrix Pro", ports, in init_trix_wss()
386 sound_unload_audiodev(hw_config->slots[0]); in unload_trix_wss()
Dpss.c785 if (hw_config->slots[1] != -1) /* The MPU driver installed itself */ in probe_pss_mpu()
786 midi_devs[hw_config->slots[1]]->coproc = &pss_coproc_operations; in probe_pss_mpu()
1094 if (hw_config->slots[0] != -1) in probe_pss_mss()
1097 audio_devs[hw_config->slots[0]]->coproc = &pss_coproc_operations; in probe_pss_mss()
1101 devc->ad_mixer_dev = audio_devs[hw_config->slots[0]]->mixer_dev; in probe_pss_mss()
Dmpu401.c954 hw_config->slots[1] = -1; in attach_mpu401()
1092 hw_config->slots[2] = mpu_timer_init(m); in attach_mpu401()
1099 hw_config->slots[1] = m; in attach_mpu401()
1215 int n=hw_config->slots[1]; in unload_mpu401()
1223 sound_unload_timerdev(hw_config->slots[2]); in unload_mpu401()
/linux-4.1.27/sound/soc/codecs/
Dmc13783.c308 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_dac() argument
316 switch (slots) { in mc13783_set_tdm_slot_dac()
353 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_codec() argument
360 if (slots != 4) in mc13783_set_tdm_slot_codec()
375 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_sync() argument
380 ret = mc13783_set_tdm_slot_dac(dai, tx_mask, rx_mask, slots, in mc13783_set_tdm_slot_sync()
385 ret = mc13783_set_tdm_slot_codec(dai, tx_mask, rx_mask, slots, in mc13783_set_tdm_slot_sync()
Dssm2518.c530 unsigned int rx_mask, int slots, int width) in ssm2518_set_tdm_slot() argument
537 if (slots == 0) in ssm2518_set_tdm_slot()
545 if (slots == 1) { in ssm2518_set_tdm_slot()
562 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in ssm2518_set_tdm_slot()
579 switch (slots) { in ssm2518_set_tdm_slot()
Dwm9081.c1024 int slots = ((aif1 & WM9081_AIFDAC_TDM_MODE_MASK) >> in wm9081_hw_params() local
1027 wm9081->bclk = wm9081->fs * wm9081->tdm_width * slots; in wm9081_hw_params()
1193 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in wm9081_set_tdm_slot() argument
1201 if (slots < 0 || slots > 4) in wm9081_set_tdm_slot()
1206 if (slots == 0) in wm9081_set_tdm_slot()
1207 slots = 1; in wm9081_set_tdm_slot()
1209 aif1 |= (slots - 1) << WM9081_AIFDAC_TDM_MODE_SHIFT; in wm9081_set_tdm_slot()
Dadau17x1.c548 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in adau17x1_set_dai_tdm_slot() argument
555 if (slots == 0) { in adau17x1_set_dai_tdm_slot()
556 slots = 2; in adau17x1_set_dai_tdm_slot()
562 switch (slots) { in adau17x1_set_dai_tdm_slot()
579 switch (slot_width * slots) { in adau17x1_set_dai_tdm_slot()
Dadau1977.c505 unsigned int rx_mask, int slots, int width) in adau1977_set_tdm_slot() argument
513 if (slots == 0) { in adau1977_set_tdm_slot()
530 if (slot[i] >= slots) in adau1977_set_tdm_slot()
556 switch (slots) { in adau1977_set_tdm_slot()
606 adau1977->max_master_fs = min(192000, 24576000 / width / slots); in adau1977_set_tdm_slot()
Dad193x.c126 unsigned int rx_mask, int slots, int width) in ad193x_set_tdm_slot() argument
131 switch (slots) { in ad193x_set_tdm_slot()
/linux-4.1.27/fs/fat/
Dnamei_vfat.c581 struct msdos_dir_slot *slots, int *nr_slots) in vfat_build_slots() argument
615 de = (struct msdos_dir_entry *)slots; in vfat_build_slots()
624 for (ps = slots, i = *nr_slots; i > 0; i--, ps++) { in vfat_build_slots()
635 slots[0].id |= 0x40; in vfat_build_slots()
659 struct msdos_dir_slot *slots; in vfat_add_entry() local
667 slots = kmalloc(sizeof(*slots) * MSDOS_SLOTS, GFP_NOFS); in vfat_add_entry()
668 if (slots == NULL) in vfat_add_entry()
672 slots, &nr_slots); in vfat_add_entry()
676 err = fat_add_entries(dir, slots, nr_slots, sinfo); in vfat_add_entry()
687 kfree(slots); in vfat_add_entry()
Ddir.c284 unsigned char id, slot, slots, alias_checksum; in fat_parse_long() local
294 slots = 0; in fat_parse_long()
299 slots = id & ~0x40; in fat_parse_long()
300 if (slots > 20 || !slots) /* ceil(256 * 2 / 26) */ in fat_parse_long()
302 *nr_slots = slots; in fat_parse_long()
305 slot = slots; in fat_parse_long()
1189 static int fat_add_new_entries(struct inode *dir, void *slots, int nr_slots, in fat_add_new_entries() argument
1231 memcpy(bhs[n]->b_data, slots, copy); in fat_add_new_entries()
1232 slots += copy; in fat_add_new_entries()
1269 int fat_add_entries(struct inode *dir, void *slots, int nr_slots, in fat_add_entries() argument
[all …]
/linux-4.1.27/sound/arm/
Daaci.c388 unsigned int mask = 1 << 0, slots; in aaci_rule_channels() local
391 slots = aaci->ac97_bus->pcms[0].r[0].slots; in aaci_rule_channels()
392 if (slots & (1 << AC97_SLOT_PCM_SLEFT)) { in aaci_rule_channels()
394 if (slots & (1 << AC97_SLOT_LFE)) in aaci_rule_channels()
432 if (aacirun->pcm->r[1].slots) in aaci_pcm_open()
529 aacirun->pcm->r[dbl].slots); in aaci_pcm_hw_params()
794 .slots = (1 << AC97_SLOT_PCM_LEFT) |
802 .slots = (1 << AC97_SLOT_PCM_LEFT) |
814 .slots = (1 << AC97_SLOT_PCM_LEFT) |
824 .slots = (1 << AC97_SLOT_MIC),
/linux-4.1.27/sound/core/oss/
Dmixer_oss.c148 pslot = &mixer->slots[chn]; in snd_mixer_oss_devmask()
164 pslot = &mixer->slots[chn]; in snd_mixer_oss_stereodevs()
184 pslot = &mixer->slots[chn]; in snd_mixer_oss_recmask()
209 pslot = &mixer->slots[chn]; in snd_mixer_oss_get_recsrc()
239 pslot = &mixer->slots[chn]; in snd_mixer_oss_set_recsrc()
247 pslot = &mixer->slots[chn]; in snd_mixer_oss_set_recsrc()
267 pslot = &mixer->slots[slot]; in snd_mixer_oss_get_volume()
295 pslot = &mixer->slots[slot]; in snd_mixer_oss_set_volume()
827 pslot = &mixer->slots[idx]; in snd_mixer_oss_get_recsrc2()
876 pslot = &mixer->slots[idx]; in snd_mixer_oss_put_recsrc2()
[all …]
/linux-4.1.27/fs/efs/
Ddir.c60 for (; slot < dirblock->slots; slot++) { in efs_readdir()
75 __func__, block, slot, dirblock->slots-1, in efs_readdir()
Defs.h103 unsigned char slots; member
Dnamei.c47 for (slot = 0; slot < dirblock->slots; slot++) { in efs_find_entry()
/linux-4.1.27/arch/arm/boot/dts/
Dexynos5410-smdk5410.dts42 num-slots = <1>;
54 num-slots = <1>;
Dexynos5260-xyref5260.dts69 num-slots = <1>;
85 num-slots = <1>;
Drk3066a-bqcurie2.dts154 num-slots = <1>;
164 num-slots = <1>;
Drk3288-evb.dtsi123 num-slots = <1>;
140 num-slots = <1>;
Dsocfpga_arria5.dtsi33 num-slots = <1>;
Dsocfpga_cyclone5.dtsi34 num-slots = <1>;
Dsocfpga_vt.dts45 num-slots = <1>;
Drk3066a-rayeager.dts177 num-slots = <1>;
328 num-slots = <1>;
340 num-slots = <1>;
Drk3288-firefly.dtsi174 num-slots = <1>;
434 num-slots = <1>;
447 num-slots = <1>;
Darmada-xp-db.dts112 * All 6 slots are physically present as
113 * standard PCIe slots on the board.
Darmada-xp-gp.dts131 * The 3 slots are physically present as
132 * standard PCIe slots on the board.
Darmada-370-db.dts176 * both standard PCIe slots and mini-PCIe
177 * slots on the board.
Dexynos5250-smdk5250.dts347 num-slots = <1>;
361 num-slots = <1>;
/linux-4.1.27/Documentation/devicetree/bindings/dma/
Dti-edma.txt21 - ti,edma-slots: Number of slots
/linux-4.1.27/drivers/scsi/
D53c700.c310 hostdata->slots = (struct NCR_700_command_slot *)(memory + SLOTS_OFFSET); in NCR_700_detect()
338 memset(hostdata->slots, 0, sizeof(struct NCR_700_command_slot) in NCR_700_detect()
341 dma_addr_t offset = (dma_addr_t)((unsigned long)&hostdata->slots[j].SG[0] in NCR_700_detect()
342 - (unsigned long)&hostdata->slots[0].SG[0]); in NCR_700_detect()
343 hostdata->slots[j].pSG = (struct NCR_700_SG_List *)((unsigned long)(pSlots + offset)); in NCR_700_detect()
345 hostdata->free_list = &hostdata->slots[j]; in NCR_700_detect()
347 hostdata->slots[j-1].ITL_forw = &hostdata->slots[j]; in NCR_700_detect()
348 hostdata->slots[j].state = NCR_700_SLOT_FREE; in NCR_700_detect()
1197 if(SG >= to32bit(&hostdata->slots[i].pSG[0]) in process_script_interrupt()
1198 && SG <= to32bit(&hostdata->slots[i].pSG[NCR_700_SG_SEGMENTS])) in process_script_interrupt()
[all …]
/linux-4.1.27/fs/dlm/
Dmember.c488 struct dlm_slot *slots; in dlm_lsop_recover_done() local
496 slots = kzalloc(num * sizeof(struct dlm_slot), GFP_KERNEL); in dlm_lsop_recover_done()
497 if (!slots) in dlm_lsop_recover_done()
506 slots[i].nodeid = memb->nodeid; in dlm_lsop_recover_done()
507 slots[i].slot = memb->slot; in dlm_lsop_recover_done()
511 ls->ls_ops->recover_done(ls->ls_ops_arg, slots, num, in dlm_lsop_recover_done()
514 kfree(slots); in dlm_lsop_recover_done()
Drecover.c170 struct dlm_slot *slots; in dlm_recover_members_wait() local
187 rv = dlm_slots_assign(ls, &num_slots, &slots_size, &slots, &gen); in dlm_recover_members_wait()
193 ls->ls_slots = slots; in dlm_recover_members_wait()
/linux-4.1.27/arch/arm64/boot/dts/exynos/
Dexynos7-espresso.dts57 num-slots = <1>;
73 num-slots = <1>;
/linux-4.1.27/drivers/mfd/
Ddln2.c90 struct dln2_rx_context slots[DLN2_MAX_RX_SLOTS]; member
202 rxc = &rxs->slots[rx_slot]; in dln2_transfer_complete()
368 struct dln2_rx_context *rxc = &rxs->slots[*slot]; in find_free_slot()
409 rxc = &rxs->slots[slot]; in free_rx_slot()
464 rxc = &rxs->slots[rx_slot]; in _dln2_transfer()
702 struct dln2_rx_context *rxc = &rxs->slots[j]; in dln2_stop()
756 init_completion(&dln2->mod_rx_slots[i].slots[j].done); in dln2_probe()
Drtsx_pcr.c863 if ((card_detect & SD_EXIST) && pcr->slots[RTSX_SD_CARD].card_event) in rtsx_pci_card_detect()
864 pcr->slots[RTSX_SD_CARD].card_event( in rtsx_pci_card_detect()
865 pcr->slots[RTSX_SD_CARD].p_dev); in rtsx_pci_card_detect()
866 if ((card_detect & MS_EXIST) && pcr->slots[RTSX_MS_CARD].card_event) in rtsx_pci_card_detect()
867 pcr->slots[RTSX_MS_CARD].card_event( in rtsx_pci_card_detect()
868 pcr->slots[RTSX_MS_CARD].p_dev); in rtsx_pci_card_detect()
1129 pcr->slots = kcalloc(pcr->num_slots, sizeof(struct rtsx_slot), in rtsx_pci_init_chip()
1131 if (!pcr->slots) in rtsx_pci_init_chip()
1149 kfree(pcr->slots); in rtsx_pci_init_chip()
1318 kfree(pcr->slots); in rtsx_pci_remove()
Drc5t583.c85 int id, int ext_pwr, int slots) in __rc5t583_set_ext_pwrreq1_control() argument
108 sleepseq_val |= ((slots & 0x7) << slot_bit); in __rc5t583_set_ext_pwrreq1_control()
/linux-4.1.27/fs/nfs/
Dnfs4session.c43 p = &tbl->slots; in nfs4_shrink_slot_table()
121 p = &tbl->slots; in nfs4_find_or_create_slot()
191 p = &tbl->slots; in nfs4_reset_slot_table()
228 tbl, tbl->slots, tbl->max_slots); in nfs4_realloc_slot_table()
459 if (status && tbl->slots == NULL) in nfs4_setup_session_slot_tables()
Dnfs4session.h35 struct nfs4_slot *slots; /* seqid per slot */ member
/linux-4.1.27/arch/x86/boot/compressed/
Daslr.c209 static unsigned long slots[CONFIG_RANDOMIZE_BASE_MAX_OFFSET / variable
220 slots[slot_max++] = addr; in slots_append()
229 return slots[get_random_long() % slot_max]; in slots_fetch_random()
/linux-4.1.27/fs/f2fs/
Ddir.c453 int room_for_filename(const void *bitmap, int slots, int max_slots) in room_for_filename() argument
463 if (zero_end - zero_start >= slots) in room_for_filename()
478 int slots = GET_DENTRY_SLOTS(name->len); in f2fs_update_dentry() local
487 for (i = 0; i < slots; i++) in f2fs_update_dentry()
508 int slots = GET_DENTRY_SLOTS(namelen); in __f2fs_add_link() local
549 slots, NR_DENTRY_IN_BLOCK); in __f2fs_add_link()
657 int slots = GET_DENTRY_SLOTS(le16_to_cpu(dentry->name_len)); in f2fs_delete_entry() local
668 for (i = 0; i < slots; i++) in f2fs_delete_entry()
Dinline.c402 int slots = GET_DENTRY_SLOTS(namelen); in f2fs_add_inline_entry() local
412 slots, NR_INLINE_DENTRY); in f2fs_add_inline_entry()
462 int slots = GET_DENTRY_SLOTS(le16_to_cpu(dentry->name_len)); in f2fs_delete_inline_entry() local
471 for (i = 0; i < slots; i++) in f2fs_delete_inline_entry()
/linux-4.1.27/Documentation/sound/alsa/
DSB-Live-mixer.txt59 The result samples are forwarded to the front DAC PCM slots of the AC97 codec.
94 The result samples are forwarded to the front DAC PCM slots of the AC97 codec.
133 This control is used to attenuate samples for left and right front ADC PCM slots
135 slots of the AC97 codec.
143 This control is used to attenuate samples for left and right front ADC PCM slots
155 forwarded to the front DAC PCM slots of the AC97 codec.
167 forwarded to the front DAC PCM slots of the AC97 codec.
178 digital input. The result samples are forwarded to the front DAC PCM slots
190 digital inputs. The result samples are forwarded to the front DAC PCM slots
204 DAC PCM slots of the AC97 codec.
DAudigy-mixer.txt45 slots of the Philips DAC.
52 slots of the Philips DAC.
70 stereo playback. The result samples are forwarded to the front DAC PCM slots
84 The result samples are forwarded to the front DAC PCM slots of the AC97 codec.
97 the front DAC PCM slots of the Philips DAC. Samples are forwarded to Mic
110 forwarded to the front DAC PCM slots of the Philips DAC.
121 digital input. The result samples are forwarded to the front DAC PCM slots
134 DAC PCM slots of the Philips DAC.
146 DAC PCM slots of the Philips DAC. This contains mix from analog sources
159 DAC PCM slots of the Philips DAC.
/linux-4.1.27/sound/core/
Dinit.c57 static char *slots[SNDRV_CARDS]; variable
58 module_param_array(slots, charp, NULL, 0444);
59 MODULE_PARM_DESC(slots, "Module names assigned to the slots.");
70 if (!module || !*module->name || !slots[idx]) in module_slot_match()
74 s2 = slots[idx]; in module_slot_match()
137 return !slots[slot] || !*slots[slot]; in check_empty_slot()
/linux-4.1.27/drivers/eisa/
DKconfig21 bridge. If your system have both PCI and EISA slots, you
35 (no PCI slots). The Alpha Jensen is an example of such
Dvirtual_root.c41 .slots = EISA_MAX_SLOTS,
Dpci_eisa.c56 pci_eisa_root.slots = EISA_MAX_SLOTS; in pci_eisa_init()
/linux-4.1.27/Documentation/arm/
DIXP4xx111 the platform has two mini-PCI slots used for 802.11[bga] cards.
117 The Avila platform is basically and IXDP425 with the 4 PCI slots
118 replaced with mini-PCI slots and a CF IDE interface hanging off
125 also known as the Richfield board. It contains 4 PCI slots, 16MB
137 added. One issue with this board is that the mini-PCI slots only
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_dp_mst.c41 int lane_count, slots, rate; in intel_dp_mst_compute_config() local
91 slots = drm_dp_find_vcpi_slots(&intel_dp->mst_mgr, mst_pbn); in intel_dp_mst_compute_config()
98 pipe_config->dp_m_n.tu = slots; in intel_dp_mst_compute_config()
154 int slots; in intel_mst_pre_enable_dp() local
191 intel_crtc->config->pbn, &slots); in intel_mst_pre_enable_dp()
/linux-4.1.27/arch/mips/sni/
Deisa.c28 .slots = EISA_MAX_SLOTS,
/linux-4.1.27/Documentation/
Deisa.txt52 int slots; /* Max slot number */
63 slots : max slot number to probe
161 A comma-separated list of slots to be enabled, even if the firmware
167 A comma-separated list of slots to be enabled, even if the firmware
173 Force the probing code to probe EISA slots even when it cannot find an
/linux-4.1.27/arch/sh/boards/mach-r2d/
DKconfig19 with two PCI slots.
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110_ca.c125 int slots, ca_slot_info_t *slot) in ci_ll_reset() argument
132 if (slots & (1 << i)) in ci_ll_reset()
140 if (slots & (1 << i)) { in ci_ll_reset()
/linux-4.1.27/drivers/usb/host/whci/
Dwusb.c127 int whc_set_num_dnts(struct wusbhc *wusbhc, u8 interval, u8 slots) in whc_set_num_dnts() argument
134 | WUSBDNTSCTRL_SLOTS(slots); in whc_set_num_dnts()
/linux-4.1.27/arch/m68k/
DKconfig.bus26 expansion cards that do not fit in the Zorro slots but fit in e.g.
42 Find out whether you have ISA slots on your motherboard. ISA is the
/linux-4.1.27/drivers/net/
Dxen-netfront.c521 int slots; in xennet_start_xmit() local
547 slots = xennet_count_skb_slots(skb); in xennet_start_xmit()
548 if (unlikely(slots > MAX_SKB_FRAGS + 1)) { in xennet_start_xmit()
550 slots, skb->len); in xennet_start_xmit()
562 (slots > 1 && !xennet_can_sg(dev)) || in xennet_start_xmit()
723 int slots = 1; in xennet_get_responses() local
767 if (cons + slots == rp) { in xennet_get_responses()
774 rx = RING_GET_RESPONSE(&queue->rx, cons + slots); in xennet_get_responses()
775 skb = xennet_get_rx_skb(queue, cons + slots); in xennet_get_responses()
776 ref = xennet_get_rx_ref(queue, cons + slots); in xennet_get_responses()
[all …]
/linux-4.1.27/arch/mn10300/unit-asb2305/
Dpci-asb2305.h66 struct irq_info slots[0]; member
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbgmac.c131 slot = &ring->slots[i]; in bgmac_dma_tx_add_buf()
146 struct bgmac_slot_info *slot = &ring->slots[index]; in bgmac_dma_tx_add()
187 slot = &ring->slots[index]; in bgmac_dma_tx_add()
224 struct bgmac_slot_info *slot = &ring->slots[index]; in bgmac_dma_tx_add()
257 struct bgmac_slot_info *slot = &ring->slots[slot_idx]; in bgmac_dma_tx_free()
393 dma_desc->addr_low = cpu_to_le32(lower_32_bits(ring->slots[desc_idx].dma_addr)); in bgmac_dma_rx_setup_desc()
394 dma_desc->addr_high = cpu_to_le32(upper_32_bits(ring->slots[desc_idx].dma_addr)); in bgmac_dma_rx_setup_desc()
428 struct bgmac_slot_info *slot = &ring->slots[ring->start]; in bgmac_dma_rx_read()
527 slot = &ring->slots[i]; in bgmac_dma_tx_ring_free()
550 slot = &ring->slots[i]; in bgmac_dma_rx_ring_free()
[all …]
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-devices-sun9 "The _SUN value is required to be unique among the slots of
/linux-4.1.27/Documentation/x86/i386/
DIO-APIC.txt45 PCI slot position. Usually PCI slots are 'daisy chained' before they are
90 note that this script won't work if you have skipped a few slots or if your
98 slots.]
/linux-4.1.27/fs/btrfs/tests/
Dqgroup-tests.c67 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in insert_normal_tree_ref()
116 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in add_tree_ref()
200 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in remove_extent_ref()
/linux-4.1.27/include/linux/platform_data/
Dmmc-omap.h120 } slots[OMAP_MMC_MAX_SLOTS]; member
/linux-4.1.27/Documentation/arm/SA1100/
DPangolin3 It has EISA slots for ease of configuration with SDRAM/Flash
/linux-4.1.27/arch/arm/kvm/
Dmmu.c378 struct kvm_memslots *slots; in stage2_flush_vm() local
385 slots = kvm_memslots(kvm); in stage2_flush_vm()
386 kvm_for_each_memslot(memslot, slots) in stage2_flush_vm()
794 struct kvm_memslots *slots; in stage2_unmap_vm() local
801 slots = kvm_memslots(kvm); in stage2_unmap_vm()
802 kvm_for_each_memslot(memslot, slots) in stage2_unmap_vm()
1472 struct kvm_memslots *slots; in handle_hva_to_gpa() local
1476 slots = kvm_memslots(kvm); in handle_hva_to_gpa()
1479 kvm_for_each_memslot(memslot, slots) { in handle_hva_to_gpa()
/linux-4.1.27/arch/powerpc/lib/
Drheap.c103 static int assure_empty(rh_info_t * info, int slots) in assure_empty() argument
108 if (slots >= 4) in assure_empty()
112 if (info->empty_slots >= slots) in assure_empty()
116 max_blocks = ((info->max_blocks + slots) + 15) & ~15; in assure_empty()
/linux-4.1.27/drivers/memstick/host/
Drtsx_pci_ms.c570 pcr->slots[RTSX_MS_CARD].p_dev = pdev; in rtsx_pci_ms_drv_probe()
571 pcr->slots[RTSX_MS_CARD].card_event = rtsx_pci_ms_card_event; in rtsx_pci_ms_drv_probe()
600 pcr->slots[RTSX_MS_CARD].p_dev = NULL; in rtsx_pci_ms_drv_remove()
601 pcr->slots[RTSX_MS_CARD].card_event = NULL; in rtsx_pci_ms_drv_remove()
/linux-4.1.27/Documentation/filesystems/
Dvfat.txt265 entries.) I call these extra entries slots. Basically, a slot is a
267 a file's extended name. Think of slots as additional labeling for the
285 If the layout of the slots looks a little odd, it's only
287 software. The slots must be disguised to prevent old software from
302 be taken to ensure the validity of slots. An extended FAT system can
310 entry and its corresponding long name slots for the file
319 Note that the slots are stored from last to first. Slots
/linux-4.1.27/drivers/net/xen-netback/
Dnetback.c685 int slots = 0; in xenvif_count_requests() local
695 if (slots >= work_to_do) { in xenvif_count_requests()
706 if (unlikely(slots >= fatal_skb_slots)) { in xenvif_count_requests()
709 slots, fatal_skb_slots); in xenvif_count_requests()
721 if (!drop_err && slots >= XEN_NETBK_LEGACY_SLOTS_MAX) { in xenvif_count_requests()
725 slots, XEN_NETBK_LEGACY_SLOTS_MAX); in xenvif_count_requests()
732 memcpy(txp, RING_GET_REQUEST(&queue->tx, cons + slots), in xenvif_count_requests()
753 slots++; in xenvif_count_requests()
770 xenvif_tx_err(queue, first, cons + slots); in xenvif_count_requests()
774 return slots; in xenvif_count_requests()
/linux-4.1.27/drivers/ipack/
Dipack.c208 struct ipack_bus_device *ipack_bus_register(struct device *parent, int slots, in ipack_bus_register() argument
227 bus->slots = slots; in ipack_bus_register()
/linux-4.1.27/drivers/net/ethernet/natsemi/
Dmacsonic.c458 static int slots; in mac_nubus_sonic_probe() local
471 if (slots & (1<<ndev->board->slot)) in mac_nubus_sonic_probe()
473 slots |= 1<<ndev->board->slot; in mac_nubus_sonic_probe()
/linux-4.1.27/drivers/pci/
Dslot.c200 list_for_each_entry(slot, &parent->slots, list) in get_slot()
302 list_add(&slot->list, &parent->slots); in pci_create_slot()
/linux-4.1.27/arch/alpha/
DKconfig167 slots, 4 PCI slots (one pair are on a shared slot), uses plug-in
181 ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is
182 shared with an ISA slot) and 2 32-bit PCI slots. Uses plus-in
312 # Most of these machines have ISA slots; not exactly sure which don't,
318 Find out whether you have ISA slots on your motherboard. ISA is the
358 5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
/linux-4.1.27/arch/sh/cchips/
DKconfig17 PCMCIA controller supporting 2 slots.
/linux-4.1.27/fs/ntfs/
Drunlist.c667 int slots = 0; in ntfs_runlists_merge() local
684 slots = 1; in ntfs_runlists_merge()
688 if (!slots) { in ntfs_runlists_merge()
691 slots = 2; in ntfs_runlists_merge()
695 if (slots != 1) in ntfs_runlists_merge()
700 slots--; in ntfs_runlists_merge()
705 if (!slots) in ntfs_runlists_merge()
/linux-4.1.27/sound/soc/generic/
Dsimple-card.c136 if (set->slots) { in __asoc_simple_card_dai_init()
138 set->slots, in __asoc_simple_card_dai_init()
229 ret = snd_soc_of_parse_tdm_slot(np, &dai->slots, &dai->slot_width); in asoc_simple_card_sub_parse_of()
/linux-4.1.27/fs/gfs2/
Dlock_dlm.c1005 static int set_recover_size(struct gfs2_sbd *sdp, struct dlm_slot *slots, in set_recover_size() argument
1022 if (max_jid < slots[i].slot - 1) in set_recover_size()
1023 max_jid = slots[i].slot - 1; in set_recover_size()
1110 static void gdlm_recover_done(void *arg, struct dlm_slot *slots, int num_slots, in gdlm_recover_done() argument
1117 set_recover_size(sdp, slots, num_slots); in gdlm_recover_done()
/linux-4.1.27/net/ipv4/
Dtcp_metrics.c1150 unsigned int slots; in tcp_net_metrics_init() local
1155 slots = tcpmhash_entries; in tcp_net_metrics_init()
1156 if (!slots) { in tcp_net_metrics_init()
1158 slots = 16 * 1024; in tcp_net_metrics_init()
1160 slots = 8 * 1024; in tcp_net_metrics_init()
1163 tcp_metrics_hash_log = order_base_2(slots); in tcp_net_metrics_init()
/linux-4.1.27/drivers/dma/
Dxgene-dma.c263 u16 slots; member
701 if (xgene_dma_ring_desc_cnt(ring) > (ring->slots - 2)) in xgene_chan_xfer_request()
711 if (++ring->head == ring->slots) in xgene_chan_xfer_request()
724 if (++ring->head == ring->slots) in xgene_chan_xfer_request()
814 if (++ring->head == ring->slots) in xgene_dma_cleanup_descriptors()
1322 ring->slots = ring->size / XGENE_DMA_RING_WQ_DESC_SIZE; in xgene_dma_setup_ring()
1360 for (i = 0; i < ring->slots; i++) { in xgene_dma_setup_ring()
1514 chan->max_outstanding = rx_ring->slots; in xgene_dma_create_chan_rings()
/linux-4.1.27/arch/powerpc/mm/
Dhash_native_64.c591 unsigned long slot, slots, flags; in native_hpte_clear() local
606 slots = pteg_count * HPTES_PER_GROUP; in native_hpte_clear()
608 for (slot = 0; slot < slots; slot++, hptep++) { in native_hpte_clear()
/linux-4.1.27/Documentation/scsi/
Dscsi-changer.txt41 None of these is limited to one: A huge Jukebox could have slots for
69 works fine with small (11 slots) and a huge (4 MOs, 88 slots)
/linux-4.1.27/drivers/memstick/core/
DKconfig11 cards stayed in their respective slots during the suspend. The
/linux-4.1.27/drivers/gpu/host1x/
Dcdma.c111 static void host1x_pushbuffer_pop(struct push_buffer *pb, unsigned int slots) in host1x_pushbuffer_pop() argument
114 pb->fence = (pb->fence + slots * 8) & (pb->size_bytes - 1); in host1x_pushbuffer_pop()
/linux-4.1.27/sound/soc/pxa/
Dpxa-ssp.c384 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in pxa_ssp_set_dai_tdm_slot() argument
399 if (slots > 1) { in pxa_ssp_set_dai_tdm_slot()
404 sscr0 |= SSCR0_SlotsPerFrm(slots); in pxa_ssp_set_dai_tdm_slot()
/linux-4.1.27/drivers/input/mouse/
Dcypress_ps2.c526 int slots[CYTP_MAX_MT_SLOTS]; in cypress_process_packet() local
541 input_mt_assign_slots(input, slots, pos, n, 0); in cypress_process_packet()
545 input_mt_slot(input, slots[i]); in cypress_process_packet()
/linux-4.1.27/sound/pci/
Datiixp.c985 pcm->r[0].slots); in snd_atiixp_pcm_hw_params()
1191 .slots = (1 << AC97_SLOT_PCM_LEFT) |
1205 .slots = (1 << AC97_SLOT_PCM_LEFT) |
1215 .slots = (1 << AC97_SLOT_SPDIF_LEFT2) |
1275 if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_PCM_SLEFT)) { in snd_atiixp_pcm_new()
1276 if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_LFE)) in snd_atiixp_pcm_new()
Dvia82xx.c1084 unsigned int slots; in snd_via8233_multi_prepare() local
1102 slots = 0; in snd_via8233_multi_prepare()
1109 case 1: slots = (1<<0) | (1<<4); break; in snd_via8233_multi_prepare()
1110 case 2: slots = (1<<0) | (2<<4); break; in snd_via8233_multi_prepare()
1111 case 3: slots = (1<<0) | (2<<4) | (5<<8); break; in snd_via8233_multi_prepare()
1112 case 4: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12); break; in snd_via8233_multi_prepare()
1113 case 5: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16); break; in snd_via8233_multi_prepare()
1114 case 6: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16) | (6<<20); break; in snd_via8233_multi_prepare()
1115 default: slots = 0; break; in snd_via8233_multi_prepare()
1119 outl(0xff000000 | slots, VIADEV_REG(viadev, OFFSET_STOP_IDX)); in snd_via8233_multi_prepare()
/linux-4.1.27/arch/x86/include/asm/
Dpci_x86.h86 struct irq_info slots[0]; member
/linux-4.1.27/drivers/net/ethernet/8390/
Dmac8390.c401 static unsigned int slots; in mac8390_probe() local
420 if (slots & (1 << ndev->board->slot)) in mac8390_probe()
422 slots |= 1 << ndev->board->slot; in mac8390_probe()
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c648 struct kvm_memslots *slots; in kvmppc_rmap_reset() local
653 slots = kvm->memslots; in kvmppc_rmap_reset()
654 kvm_for_each_memslot(memslot, slots) { in kvmppc_rmap_reset()
674 struct kvm_memslots *slots; in kvm_handle_hva_range() local
677 slots = kvm_memslots(kvm); in kvm_handle_hva_range()
678 kvm_for_each_memslot(memslot, slots) { in kvm_handle_hva_range()
/linux-4.1.27/arch/alpha/lib/
Dev67-strchr.S83 cmoveq t1, $31, v0 # E : Two mapping slots, latency = 2
/linux-4.1.27/Documentation/blockdev/
Dcpqarray.txt37 controllers, in EISA slots 1 and 2 you'd give it a boot argument like
/linux-4.1.27/sound/soc/
Dsoc-core.c2184 static int snd_soc_xlate_tdm_slot_mask(unsigned int slots, in snd_soc_xlate_tdm_slot_mask() argument
2191 if (!slots) in snd_soc_xlate_tdm_slot_mask()
2194 *tx_mask = (1 << slots) - 1; in snd_soc_xlate_tdm_slot_mask()
2195 *rx_mask = (1 << slots) - 1; in snd_soc_xlate_tdm_slot_mask()
2224 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in snd_soc_dai_set_tdm_slot() argument
2227 dai->driver->ops->xlate_tdm_slot_mask(slots, in snd_soc_dai_set_tdm_slot()
2230 snd_soc_xlate_tdm_slot_mask(slots, &tx_mask, &rx_mask); in snd_soc_dai_set_tdm_slot()
2237 slots, slot_width); in snd_soc_dai_set_tdm_slot()
3290 unsigned int *slots, in snd_soc_of_parse_tdm_slot() argument
3301 if (slots) in snd_soc_of_parse_tdm_slot()
[all …]

12