| /linux-4.4.14/drivers/gpu/ipu-v3/ |
| D | ipu-dmfc.c | 106 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.4.14/sound/pci/ac97/ |
| D | ac97_pcm.c | 327 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.4.14/drivers/input/ |
| D | input-mt.c | 52 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.4.14/arch/ia64/scripts/ |
| D | unwcheck.py | 26 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.4.14/lib/ |
| D | assoc_array.c | 58 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 …]
|
| D | radix-tree.c | 233 node->slots[0] = NULL; in radix_tree_node_rcu_free() 365 node->slots[0] = slot; in radix_tree_extend() 418 rcu_assign_pointer(node->slots[offset], slot); in __radix_tree_create() 428 slot = node->slots[offset]; in __radix_tree_create() 436 *slotp = node ? node->slots + offset : (void **)&root->rnode; in __radix_tree_create() 522 slot = node->slots + ((index >> shift) & RADIX_TREE_MAP_MASK); in __radix_tree_lookup() 610 slot = slot->slots[offset]; in radix_tree_tag_set() 660 slot = slot->slots[offset]; in radix_tree_tag_clear() 737 node = rcu_dereference_raw(node->slots[offset]); in radix_tree_tag_get() 800 !node->slots[offset]) { in radix_tree_next_chunk() [all …]
|
| /linux-4.4.14/fs/btrfs/ |
| D | file-item.c | 67 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 …]
|
| D | inode-item.c | 37 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 …]
|
| D | ctree.c | 126 p->slots[i] = 0; in btrfs_release_path() 1897 int orig_slot = path->slots[level]; in balance_level() 1913 pslot = path->slots[level + 1]; in balance_level() 2072 path->slots[level + 1] -= 1; in balance_level() 2073 path->slots[level] = orig_slot; in balance_level() 2080 path->slots[level] = orig_slot; in balance_level() 2085 btrfs_node_blockptr(path->nodes[level], path->slots[level])) in balance_level() 2115 int orig_slot = path->slots[level]; in push_nodes_for_insert() 2125 pslot = path->slots[level + 1]; in push_nodes_for_insert() 2165 path->slots[level + 1] -= 1; in push_nodes_for_insert() [all …]
|
| D | tree-log.c | 364 path->slots[0]); in overwrite_item() 383 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in overwrite_item() 410 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item() 458 path->slots[0]); in overwrite_item() 468 path->slots[0]); in overwrite_item() 638 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent() 673 path->slots[0]); in replay_one_extent() 936 ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in backref_in_log() 946 item_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); in backref_in_log() 1008 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref() [all …]
|
| D | dir-item.c | 57 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()
|
| D | root-tree.c | 100 if (path->slots[0] == 0) in btrfs_find_root() 102 path->slots[0]--; in btrfs_find_root() 107 slot = path->slots[0]; in btrfs_find_root() 165 slot = path->slots[0]; in btrfs_update_root() 196 slot = path->slots[0]; in btrfs_update_root() 256 if (path->slots[0] >= btrfs_header_nritems(leaf)) { in btrfs_find_orphan_roots() 265 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_find_orphan_roots() 383 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref() 457 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
|
| D | export.c | 184 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()
|
| D | file.c | 733 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 …]
|
| D | relocation.c | 740 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 …]
|
| D | uuid-tree.c | 66 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()
|
| D | extent-tree.c | 465 if (path->slots[0] < nritems) { in caching_thread() 466 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in caching_thread() 505 path->slots[0]++; in caching_thread() 530 path->slots[0]++; in caching_thread() 852 if (path->slots[0]) { in btrfs_lookup_extent_info() 853 path->slots[0]--; in btrfs_lookup_extent_info() 855 path->slots[0]); in btrfs_lookup_extent_info() 865 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_lookup_extent_info() 867 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info() 875 ei0 = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info() [all …]
|
| D | send.c | 804 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in __get_inode_info() 863 int slot = path->slots[0]; in iterate_inode_ref() 1005 slot = path->slots[0]; in iterate_dir_item() 1126 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path() 1324 fi = btrfs_item_ptr(eb, path->slots[0], in find_extent_clone() 1488 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink() 1496 len = btrfs_file_extent_inline_len(path->nodes[0], path->slots[0], ei); in read_symlink() 1733 path->slots[0]); in get_first_ref() 1743 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 1752 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() [all …]
|
| D | backref.c | 276 if (path->slots[0] >= btrfs_header_nritems(path->nodes[0])) { in add_all_parents() 285 slot = path->slots[0]; in add_all_parents() 734 slot = path->slots[0]; in __add_inline_refs() 846 slot = path->slots[0]; in __add_keyed_refs() 1021 if (path->slots[0]) { 1025 path->slots[0]--; 1027 slot = path->slots[0]; 1336 slot = path->slots[0]; 1371 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); 1437 slot = path->slots[0]; [all …]
|
| D | inode.c | 176 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent() 1282 if (ret > 0 && path->slots[0] > 0 && check_prev) { in run_delalloc_nocow() 1285 path->slots[0] - 1); in run_delalloc_nocow() 1288 path->slots[0]--; in run_delalloc_nocow() 1293 if (path->slots[0] >= btrfs_header_nritems(leaf)) { in run_delalloc_nocow() 1305 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in run_delalloc_nocow() 1311 path->slots[0]++; in run_delalloc_nocow() 1324 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow() 1338 path->slots[0]++; in run_delalloc_nocow() 1378 path->slots[0], fi); in run_delalloc_nocow() [all …]
|
| D | inode-map.c | 69 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()
|
| D | xattr.c | 178 const int slot = path->slots[0]; in do_setxattr() 295 slot = path->slots[0]; in btrfs_listxattr() 344 path->slots[0]++; in btrfs_listxattr()
|
| D | delayed-inode.c | 808 slot = path->slots[0]; in btrfs_batch_insert_items() 849 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_delayed_item() 887 path->slots[0]++; in btrfs_insert_delayed_items() 918 i = path->slots[0]; in btrfs_batch_delete_items() 951 ret = btrfs_del_items(trans, root, path, path->slots[0], nitems); in btrfs_batch_delete_items() 1066 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_update_delayed_inode() 1075 path->slots[0]++; in __btrfs_update_delayed_inode() 1076 if (path->slots[0] >= btrfs_header_nritems(leaf)) in __btrfs_update_delayed_inode() 1079 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in __btrfs_update_delayed_inode() 1115 path->slots[0]--; in __btrfs_update_delayed_inode()
|
| D | tree-defrag.c | 102 path->slots[1] = btrfs_header_nritems(path->nodes[1]); in btrfs_defrag_leaves()
|
| D | qgroup.c | 343 slot = path->slots[0]; in btrfs_read_qgroup_config() 434 slot = path->slots[0]; in btrfs_read_qgroup_config() 597 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 616 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 705 slot = path->slots[0]; in update_qgroup_limit_item() 750 slot = path->slots[0]; in update_qgroup_info_item() 792 slot = path->slots[0]; in update_qgroup_status_item() 841 path->slots[0] = 0; in btrfs_clean_quota_tree() 907 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable() 931 slot = path->slots[0]; in btrfs_quota_enable() [all …]
|
| D | volumes.c | 1123 slot = path->slots[0]; in btrfs_account_dev_extents_size() 1161 path->slots[0]++; in btrfs_account_dev_extents_size() 1303 slot = path->slots[0]; in find_free_dev_extent_start() 1368 path->slots[0]++; in find_free_dev_extent_start() 1442 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_free_dev_extent() 1443 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1452 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1500 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_alloc_dev_extent() 1564 path->slots[0]); in find_next_devid() 1604 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_device() [all …]
|
| D | props.c | 180 slot = path->slots[0]; in iterate_object_props() 256 path->slots[0]++; in iterate_object_props()
|
| D | ioctl.c | 950 extent = btrfs_item_ptr(leaf, path->slots[0], in find_new_extents() 962 path->slots[0]++; in find_new_extents() 963 if (path->slots[0] < btrfs_header_nritems(leaf)) { in find_new_extents() 964 btrfs_item_key_to_cpu(leaf, &min_key, path->slots[0]); in find_new_extents() 1900 if (path->slots[0] > 0) { in may_destroy_subvol() 1901 path->slots[0]--; in may_destroy_subvol() 1902 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in may_destroy_subvol() 1957 slot = path->slots[0]; in copy_to_sk() 2257 slot = path->slots[0]; in btrfs_search_path_in_tree() 3335 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_update_extent_map() [all …]
|
| /linux-4.4.14/arch/arm64/kernel/ |
| D | hw_breakpoint.c | 195 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument 203 slot = &slots[i]; in hw_breakpoint_slot_setup() 233 struct perf_event **slots; in hw_breakpoint_control() local 243 slots = this_cpu_ptr(bp_on_reg); in hw_breakpoint_control() 250 slots = this_cpu_ptr(wp_on_reg); in hw_breakpoint_control() 255 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control() 547 struct perf_event **slots; in toggle_bp_registers() local 551 slots = this_cpu_ptr(bp_on_reg); in toggle_bp_registers() 555 slots = this_cpu_ptr(wp_on_reg); in toggle_bp_registers() 563 if (!slots[i]) in toggle_bp_registers() [all …]
|
| /linux-4.4.14/drivers/misc/mei/ |
| D | interrupt.c | 176 int slots; in mei_cl_irq_disconnect_rsp() local 179 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_disconnect_rsp() 182 if (slots < msg_slots) in mei_cl_irq_disconnect_rsp() 206 int slots; in mei_cl_irq_read() local 210 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_read() 212 if (slots < msg_slots) in mei_cl_irq_read() 239 struct mei_cl_cb *cmpl_list, s32 *slots) in mei_irq_read_handler() argument 247 (*slots)--; in mei_irq_read_handler() 248 dev_dbg(dev->dev, "slots =%08x.\n", *slots); in mei_irq_read_handler() 260 if (mei_slots2data(*slots) < mei_hdr->length) { in mei_irq_read_handler() [all …]
|
| D | client.c | 824 int slots; in mei_cl_irq_disconnect() local 828 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_disconnect() 830 if (slots < msg_slots) in mei_cl_irq_disconnect() 1006 int slots; in mei_cl_irq_connect() local 1010 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_connect() 1015 if (slots < msg_slots) in mei_cl_irq_connect() 1253 int slots; in mei_cl_irq_notify() local 1258 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_notify() 1260 if (slots < msg_slots) in mei_cl_irq_notify() 1514 int slots; in mei_cl_irq_write() local [all …]
|
| D | hw-txe.c | 692 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()
|
| D | mei_dev.h | 595 static inline u32 mei_slots2data(int slots) in mei_slots2data() argument 597 return slots * 4; in mei_slots2data() 618 struct mei_cl_cb *cmpl_list, s32 *slots); 650 int mei_amthif_irq_read(struct mei_device *dev, s32 *slots);
|
| D | hw-txe.h | 51 u32 slots; member
|
| D | hw-me.c | 1147 s32 slots; in mei_me_irq_thread_handler() local 1176 slots = mei_count_full_read_slots(dev); in mei_me_irq_thread_handler() 1177 while (slots > 0) { in mei_me_irq_thread_handler() 1178 dev_dbg(dev->dev, "slots to read = %08x\n", slots); in mei_me_irq_thread_handler() 1179 rets = mei_irq_read_handler(dev, &complete_list, &slots); in mei_me_irq_thread_handler()
|
| /linux-4.4.14/drivers/input/touchscreen/ |
| D | penmount.c | 62 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 …]
|
| D | pixcir_i2c_ts.c | 115 int slots[PIXCIR_MAX_SLOTS]; in pixcir_ts_report() local 132 input_mt_assign_slots(ts->input, slots, pos, n, 0); in pixcir_ts_report() 146 slot = slots[i]; in pixcir_ts_report()
|
| /linux-4.4.14/sound/soc/blackfin/ |
| D | bf5xx-i2s.c | 54 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.4.14/arch/blackfin/mach-common/ |
| D | scb-init.c | 14 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.4.14/kernel/events/ |
| D | hw_breakpoint.c | 145 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.4.14/drivers/dma/ioat/ |
| D | dca.c | 236 int slots = 0; in ioat_dca_count_dca_slots() local 245 req = readl(iobase + global_req_table + (slots * sizeof(u32))); in ioat_dca_count_dca_slots() 246 slots++; in ioat_dca_count_dca_slots() 249 return slots; in ioat_dca_count_dca_slots() 273 int slots; in ioat_dca_init() local 296 slots = ioat_dca_count_dca_slots(iobase, dca_offset); in ioat_dca_init() 297 if (slots == 0) in ioat_dca_init() 302 + (sizeof(struct ioat_dca_slot) * slots)); in ioat_dca_init() 309 ioatdca->max_requesters = slots; in ioat_dca_init()
|
| /linux-4.4.14/arch/ia64/include/uapi/asm/ |
| D | rse.h | 47 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.4.14/arch/arm/kernel/ |
| D | hw_breakpoint.c | 336 struct perf_event **slot, **slots; in arch_install_hw_breakpoint() local 347 slots = this_cpu_ptr(bp_on_reg); in arch_install_hw_breakpoint() 353 slots = this_cpu_ptr(wp_on_reg); in arch_install_hw_breakpoint() 358 slot = &slots[i]; in arch_install_hw_breakpoint() 393 struct perf_event **slot, **slots; in arch_uninstall_hw_breakpoint() local 399 slots = this_cpu_ptr(bp_on_reg); in arch_uninstall_hw_breakpoint() 404 slots = this_cpu_ptr(wp_on_reg); in arch_uninstall_hw_breakpoint() 410 slot = &slots[i]; in arch_uninstall_hw_breakpoint() 696 struct perf_event *wp, **slots; in watchpoint_handler() local 700 slots = this_cpu_ptr(wp_on_reg); in watchpoint_handler() [all …]
|
| D | process.c | 375 unsigned int slots; in sigpage_addr() local 389 slots = ((last - first) >> PAGE_SHIFT) + 1; in sigpage_addr() 391 offset = get_random_int() % slots; in sigpage_addr()
|
| /linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/ |
| D | atmel_hlcdc_layer.c | 74 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.4.14/net/sched/ |
| D | sch_sfq.c | 129 struct sfq_slot *slots; /* Flows table ('maxflows' entries) */ member 154 return &q->slots[val].dep; in sfq_dep_head() 205 struct sfq_slot *slot = &q->slots[x]; in sfq_link() 220 n = q->slots[x].dep.next; \ 221 p = q->slots[x].dep.prev; \ 234 d = q->slots[x].qlen--; in sfq_dec() 247 d = ++q->slots[x].qlen; in sfq_inc() 303 slot = &q->slots[x]; in sfq_drop() 319 slot = &q->slots[x]; in sfq_drop() 366 slot = &q->slots[x]; in sfq_enqueue() [all …]
|
| D | sch_qfq.c | 180 struct hlist_head slots[QFQ_MAX_SLOTS]; member 913 hlist_add_head(&agg->next, &grp->slots[i]); in qfq_slot_insert() 920 return hlist_entry(grp->slots[grp->front].first, in qfq_slot_head() 933 if (hlist_empty(&grp->slots[grp->front])) in qfq_front_slot_remove() 1355 if (hlist_empty(&grp->slots[i])) in qfq_slot_remove() 1398 } else if (hlist_empty(&grp->slots[grp->front])) { in qfq_deactivate_agg() 1457 len = qfq_drop_from_slot(q, &grp->slots[j]); in qfq_drop() 1497 INIT_HLIST_HEAD(&grp->slots[j]); in qfq_init_qdisc()
|
| /linux-4.4.14/arch/arm/mach-omap1/ |
| D | devices.c | 114 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()
|
| D | board-h3-mmc.c | 39 .slots[0] = {
|
| D | board-sx1-mmc.c | 46 .slots[0] = {
|
| D | board-h2-mmc.c | 56 .slots[0] = {
|
| /linux-4.4.14/Documentation/devicetree/bindings/mmc/ |
| D | synopsys-dw-mshc.txt | 23 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 109 num-slots = <1>; 124 num-slots = <1>;
|
| D | k3-dw-mshc.txt | 38 num-slots = <1>; 54 num-slots = <0x1>;
|
| D | img-dw-mshc.txt | 27 num-slots = <1>;
|
| /linux-4.4.14/drivers/pci/hotplug/ |
| D | ibmphp_ebda.c | 80 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 …]
|
| D | cpci_hotplug_core.c | 58 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()
|
| D | ibmphp_core.c | 157 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 …]
|
| D | acpiphp_glue.c | 166 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() 678 list_for_each_entry(slot, &bridge->slots, node) { in acpiphp_check_bridge() 845 INIT_LIST_HEAD(&bridge->slots); in acpiphp_enumerate_slots()
|
| D | cpqphp_core.c | 186 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()
|
| D | acpiphp.h | 68 struct list_head slots; member
|
| D | Kconfig | 128 tristate "RPA Dynamic Logical Partitioning for I/O slots" 132 for I/O slots.
|
| /linux-4.4.14/arch/x86/kvm/ |
| D | iommu.c | 154 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() 324 struct kvm_memslots *slots; in kvm_iommu_unmap_memslots() local 328 slots = kvm_memslots(kvm); in kvm_iommu_unmap_memslots() 330 kvm_for_each_memslot(memslot, slots) in kvm_iommu_unmap_memslots()
|
| D | mmu_audit.c | 134 struct kvm_memslots *slots; in inspect_spte_has_rmap() local 141 slots = kvm_memslots_for_spte_role(kvm, rev_sp->role); in inspect_spte_has_rmap() 142 slot = __gfn_to_memslot(slots, gfn); in inspect_spte_has_rmap() 198 struct kvm_memslots *slots; in audit_write_protection() local 204 slots = kvm_memslots_for_spte_role(kvm, sp->role); in audit_write_protection() 205 slot = __gfn_to_memslot(slots, sp->gfn); in audit_write_protection()
|
| D | mmu.c | 786 struct kvm_memslots *slots; in account_shadowed() local 793 slots = kvm_memslots_for_spte_role(kvm, sp->role); in account_shadowed() 794 slot = __gfn_to_memslot(slots, gfn); in account_shadowed() 804 struct kvm_memslots *slots; in unaccount_shadowed() local 811 slots = kvm_memslots_for_spte_role(kvm, sp->role); in unaccount_shadowed() 812 slot = __gfn_to_memslot(slots, gfn); in unaccount_shadowed() 1049 struct kvm_memslots *slots; in gfn_to_rmap() local 1052 slots = kvm_memslots_for_spte_role(kvm, sp->role); in gfn_to_rmap() 1053 slot = __gfn_to_memslot(slots, gfn); in gfn_to_rmap() 1505 struct kvm_memslots *slots; in kvm_handle_hva_range() local [all …]
|
| /linux-4.4.14/drivers/ipack/carriers/ |
| D | tpci200.c | 156 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 …]
|
| D | tpci200.h | 162 struct tpci200_slot *slots; member
|
| /linux-4.4.14/virt/kvm/ |
| D | kvm_main.c | 489 struct kvm_memslots *slots; in kvm_alloc_memslots() local 491 slots = kvm_kvzalloc(sizeof(struct kvm_memslots)); in kvm_alloc_memslots() 492 if (!slots) in kvm_alloc_memslots() 499 slots->generation = -150; in kvm_alloc_memslots() 501 slots->id_to_index[i] = slots->memslots[i].id = i; in kvm_alloc_memslots() 503 return slots; in kvm_alloc_memslots() 529 static void kvm_free_memslots(struct kvm *kvm, struct kvm_memslots *slots) in kvm_free_memslots() argument 533 if (!slots) in kvm_free_memslots() 536 kvm_for_each_memslot(memslot, slots) in kvm_free_memslots() 539 kvfree(slots); in kvm_free_memslots() [all …]
|
| /linux-4.4.14/sound/soc/ux500/ |
| D | ux500_msp_dai.c | 40 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 …]
|
| D | mop500_ab8500.c | 225 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()
|
| D | ux500_msp_dai.h | 57 int slots; member
|
| /linux-4.4.14/drivers/gpu/drm/radeon/ |
| D | radeon_dp_mst.c | 65 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() 396 int ret, slots; in radeon_mst_encoder_dpms() local 451 mst_enc->pbn, &slots); in radeon_mst_encoder_dpms() 459 radeon_dp_mst_set_vcp_size(radeon_encoder, slots, 0); in radeon_mst_encoder_dpms() [all …]
|
| /linux-4.4.14/drivers/misc/cb710/ |
| D | core.c | 77 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.4.14/arch/arm/boot/dts/ |
| D | zx296702-ad1.dts | 21 num-slots = <1>; 34 num-slots = <1>;
|
| D | exynos5410-smdk5410.dts | 42 num-slots = <1>; 54 num-slots = <1>;
|
| D | exynos5260-xyref5260.dts | 69 num-slots = <1>; 85 num-slots = <1>;
|
| D | socfpga_arria10_socdk_sdmmc.dts | 23 num-slots = <1>;
|
| D | socfpga_arria5.dtsi | 33 num-slots = <1>;
|
| D | socfpga_cyclone5.dtsi | 34 num-slots = <1>;
|
| D | socfpga_vt.dts | 45 num-slots = <1>;
|
| D | rk3066a-bqcurie2.dts | 183 num-slots = <1>; 195 num-slots = <1>;
|
| D | rk3066a-rayeager.dts | 178 num-slots = <1>; 329 num-slots = <1>; 343 num-slots = <1>;
|
| D | armada-xp-db.dts | 114 * All 6 slots are physically present as 115 * standard PCIe slots on the board.
|
| D | rk3288-firefly.dtsi | 216 num-slots = <1>; 492 num-slots = <1>; 506 num-slots = <1>;
|
| D | rk3288-evb.dtsi | 169 num-slots = <1>; 186 num-slots = <1>;
|
| D | armada-370-db.dts | 177 * both standard PCIe slots and mini-PCIe 178 * slots on the board.
|
| /linux-4.4.14/drivers/gpu/drm/omapdrm/ |
| D | tcm.h | 73 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()
|
| D | omap_gem.c | 402 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.4.14/drivers/mmc/host/ |
| D | sdhci-pci-core.c | 618 jmicron_enable_mmc(chip->slots[i]->host, 0); in jmicron_suspend() 631 jmicron_enable_mmc(chip->slots[i]->host, 1); in jmicron_resume() 1450 slot = chip->slots[i]; in sdhci_pci_suspend() 1484 sdhci_resume_host(chip->slots[i]->host); in sdhci_pci_suspend() 1506 slot = chip->slots[i]; in sdhci_pci_resume() 1530 slot = chip->slots[i]; in sdhci_pci_runtime_suspend() 1550 sdhci_runtime_resume_host(chip->slots[i]->host); in sdhci_pci_runtime_suspend() 1572 slot = chip->slots[i]; in sdhci_pci_runtime_resume() 1800 u8 slots, first_bar; in sdhci_pci_probe() local 1809 ret = pci_read_config_byte(pdev, PCI_SLOT_INFO, &slots); in sdhci_pci_probe() [all …]
|
| D | omap.c | 160 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() 1236 slot->pdata = &host->pdata->slots[id]; in mmc_omap_new_slot() 1238 host->slots[id] = slot; in mmc_omap_new_slot() 1241 if (host->pdata->slots[id].wires >= 4) in mmc_omap_new_slot() 1367 host->features = host->pdata->slots[0].features; in mmc_omap_probe() [all …]
|
| D | sdhci-pci.h | 100 struct sdhci_pci_slot *slots[MAX_SLOTS]; /* Pointers to host slots */ member
|
| /linux-4.4.14/drivers/net/ethernet/apm/xgene/ |
| D | xgene_enet_main.c | 39 for (i = 0; i < buf_pool->slots; i++) { in xgene_enet_init_bufpool() 59 u32 slots = buf_pool->slots - 1; in xgene_enet_refill_bufpool() local 87 tail = (tail + 1) & slots; in xgene_enet_refill_bufpool() 114 u32 slots = buf_pool->slots - 1; in xgene_enet_delete_bufpool() local 121 tail = (tail - 1) & slots; in xgene_enet_delete_bufpool() 278 ring->exp_buf_tail = (ring->exp_buf_tail + 1) & ((ring->slots / 2) - 1); in xgene_enet_get_exp_bufs() 306 tail = (tail + 1) & (tx_ring->slots - 1); in xgene_enet_setup_tx_desc() 335 tail = (tail + 1) & (tx_ring->slots - 1); in xgene_enet_setup_tx_desc() 542 u16 slots = ring->slots - 1; in xgene_enet_process_ring() local 557 head = (head + 1) & slots; in xgene_enet_process_ring() [all …]
|
| D | xgene_enet_ring2.c | 148 ring->slots = xgene_enet_get_numslots(ring->id, ring->size); in xgene_enet_setup_ring() 157 for (i = 0; i < ring->slots; i++) in xgene_enet_setup_ring()
|
| /linux-4.4.14/include/linux/ |
| D | kvm_host.h | 474 #define kvm_for_each_memslot(memslot, slots) \ argument 475 for (memslot = &slots->memslots[0]; \ 476 memslot < slots->memslots + KVM_MEM_SLOTS_NUM && memslot->npages;\ 537 id_to_memslot(struct kvm_memslots *slots, int id) in id_to_memslot() argument 539 int index = slots->id_to_index[id]; in id_to_memslot() 542 slot = &slots->memslots[index]; in id_to_memslot() 574 void kvm_arch_memslots_updated(struct kvm *kvm, struct kvm_memslots *slots); 918 search_memslots(struct kvm_memslots *slots, gfn_t gfn) in search_memslots() argument 920 int start = 0, end = slots->used_slots; in search_memslots() 921 int slot = atomic_read(&slots->lru_slot); in search_memslots() [all …]
|
| D | ipack.h | 177 int slots; member 192 struct ipack_bus_device *ipack_bus_register(struct device *parent, int slots,
|
| D | dlm.h | 36 void (*recover_done) (void *ops_arg, struct dlm_slot *slots,
|
| D | eisa.h | 96 int slots; /* Max slot number */ member
|
| D | assoc_array_priv.h | 59 struct assoc_array_ptr *slots[ASSOC_ARRAY_FAN_OUT]; member
|
| D | cb710.h | 40 unsigned slots; member
|
| /linux-4.4.14/drivers/gpu/drm/nouveau/ |
| D | nouveau_dma.c | 137 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()
|
| D | nouveau_dma.h | 33 int nouveau_dma_wait(struct nouveau_channel *, int slots, int size);
|
| /linux-4.4.14/sound/soc/davinci/ |
| D | davinci-mcasp.c | 619 int slots = mcasp->tdm_slots; in davinci_mcasp_ch_constraint() local 623 slots = hweight32(mcasp->tdm_mask[stream]); in davinci_mcasp_ch_constraint() 625 for (i = 2; i <= slots; i++) in davinci_mcasp_ch_constraint() 629 list[count++] = i*slots; in davinci_mcasp_ch_constraint() 661 int slots, int slot_width) in davinci_mcasp_set_tdm_slot() argument 667 __func__, tx_mask, rx_mask, slots, slot_width); in davinci_mcasp_set_tdm_slot() 669 if (tx_mask >= (1<<slots) || rx_mask >= (1<<slots)) { in davinci_mcasp_set_tdm_slot() 672 tx_mask, rx_mask, slots); in davinci_mcasp_set_tdm_slot() 683 mcasp->tdm_slots = slots; in davinci_mcasp_set_tdm_slot() 753 u8 slots = mcasp->tdm_slots; in mcasp_common_hw_param() local [all …]
|
| /linux-4.4.14/drivers/usb/isp1760/ |
| D | isp1760-hcd.c | 721 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.4.14/scripts/kconfig/ |
| D | qconf.h | 63 public slots: 220 public slots: 248 public slots: 277 public slots: 298 public slots:
|
| /linux-4.4.14/arch/arm/mach-omap2/ |
| D | board-n8x0.c | 448 .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.4.14/sound/soc/fsl/ |
| D | fsl_esai.c | 59 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() 836 esai_priv->slots = 2; in fsl_esai_probe()
|
| D | mpc5200_psc_ac97.c | 192 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()
|
| D | mpc5200_dma.h | 62 unsigned int slots; member
|
| D | imx-ssi.c | 62 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()
|
| /linux-4.4.14/mm/ |
| D | workingset.c | 349 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.4.14/include/linux/input/ |
| D | mt.h | 53 struct input_mt_slot slots[]; member 121 int input_mt_assign_slots(struct input_dev *dev, int *slots,
|
| /linux-4.4.14/include/sound/ |
| D | soc-dai.h | 129 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width); 160 int (*xlate_tdm_slot_mask)(unsigned int slots, 164 int slots, int slot_width);
|
| D | simple_card.h | 20 int slots; member
|
| D | mixer_oss.h | 56 struct snd_mixer_oss_slot slots[SNDRV_OSS_MAX_MIXERS]; /* OSS mixer slots */ member
|
| D | ac97_codec.h | 641 unsigned short slots; /* driver input: requested AC97 slot numbers */ member 653 enum ac97_pcm_cfg cfg, unsigned short slots);
|
| /linux-4.4.14/sound/oss/ |
| D | uart401.c | 298 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()
|
| D | uart6850.c | 278 hw_config->slots[4] = my_dev; in attach_uart6850() 310 sound_unload_mididev(hw_config->slots[4]); in unload_uart6850()
|
| D | sound_config.h | 77 int slots[6]; /* To remember driver slot ids */ member
|
| D | sb_common.c | 850 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()
|
| D | trix.c | 248 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()
|
| D | pss.c | 785 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()
|
| D | mpu401.c | 954 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.4.14/sound/soc/codecs/ |
| D | mc13783.c | 308 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()
|
| D | ssm2518.c | 525 unsigned int rx_mask, int slots, int width) in ssm2518_set_tdm_slot() argument 532 if (slots == 0) in ssm2518_set_tdm_slot() 540 if (slots == 1) { in ssm2518_set_tdm_slot() 557 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in ssm2518_set_tdm_slot() 574 switch (slots) { in ssm2518_set_tdm_slot()
|
| D | wm9081.c | 1021 int slots = ((aif1 & WM9081_AIFDAC_TDM_MODE_MASK) >> in wm9081_hw_params() local 1024 wm9081->bclk = wm9081->fs * wm9081->tdm_width * slots; in wm9081_hw_params() 1190 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in wm9081_set_tdm_slot() argument 1198 if (slots < 0 || slots > 4) in wm9081_set_tdm_slot() 1203 if (slots == 0) in wm9081_set_tdm_slot() 1204 slots = 1; in wm9081_set_tdm_slot() 1206 aif1 |= (slots - 1) << WM9081_AIFDAC_TDM_MODE_SHIFT; in wm9081_set_tdm_slot()
|
| D | adau17x1.c | 549 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in adau17x1_set_dai_tdm_slot() argument 556 if (slots == 0) { in adau17x1_set_dai_tdm_slot() 557 slots = 2; in adau17x1_set_dai_tdm_slot() 563 switch (slots) { in adau17x1_set_dai_tdm_slot() 580 switch (slot_width * slots) { in adau17x1_set_dai_tdm_slot()
|
| D | adau1977.c | 500 unsigned int rx_mask, int slots, int width) in adau1977_set_tdm_slot() argument 508 if (slots == 0) { in adau1977_set_tdm_slot() 525 if (slot[i] >= slots) in adau1977_set_tdm_slot() 551 switch (slots) { in adau1977_set_tdm_slot() 601 adau1977->max_master_fs = min(192000, 24576000 / width / slots); in adau1977_set_tdm_slot()
|
| D | ad193x.c | 147 unsigned int rx_mask, int slots, int width) in ad193x_set_tdm_slot() argument 152 switch (slots) { in ad193x_set_tdm_slot()
|
| /linux-4.4.14/fs/fat/ |
| D | namei_vfat.c | 581 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()
|
| D | dir.c | 284 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() 1195 static int fat_add_new_entries(struct inode *dir, void *slots, int nr_slots, in fat_add_new_entries() argument 1237 memcpy(bhs[n]->b_data, slots, copy); in fat_add_new_entries() 1238 slots += copy; in fat_add_new_entries() 1275 int fat_add_entries(struct inode *dir, void *slots, int nr_slots, in fat_add_entries() argument [all …]
|
| /linux-4.4.14/sound/arm/ |
| D | aaci.c | 388 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.4.14/sound/core/oss/ |
| D | mixer_oss.c | 148 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.4.14/fs/efs/ |
| D | dir.c | 60 for (; slot < dirblock->slots; slot++) { in efs_readdir() 75 __func__, block, slot, dirblock->slots-1, in efs_readdir()
|
| D | efs.h | 103 unsigned char slots; member
|
| D | namei.c | 47 for (slot = 0; slot < dirblock->slots; slot++) { in efs_find_entry()
|
| /linux-4.4.14/drivers/scsi/ |
| D | 53c700.c | 310 hostdata->slots = (struct NCR_700_command_slot *)(memory + SLOTS_OFFSET); in NCR_700_detect() 337 memset(hostdata->slots, 0, sizeof(struct NCR_700_command_slot) in NCR_700_detect() 340 dma_addr_t offset = (dma_addr_t)((unsigned long)&hostdata->slots[j].SG[0] in NCR_700_detect() 341 - (unsigned long)&hostdata->slots[0].SG[0]); in NCR_700_detect() 342 hostdata->slots[j].pSG = (struct NCR_700_SG_List *)((unsigned long)(pSlots + offset)); in NCR_700_detect() 344 hostdata->free_list = &hostdata->slots[j]; in NCR_700_detect() 346 hostdata->slots[j-1].ITL_forw = &hostdata->slots[j]; in NCR_700_detect() 347 hostdata->slots[j].state = NCR_700_SLOT_FREE; in NCR_700_detect() 1200 if(SG >= to32bit(&hostdata->slots[i].pSG[0]) in process_script_interrupt() 1201 && SG <= to32bit(&hostdata->slots[i].pSG[NCR_700_SG_SEGMENTS])) in process_script_interrupt() [all …]
|
| /linux-4.4.14/fs/dlm/ |
| D | member.c | 488 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()
|
| D | recover.c | 170 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.4.14/Documentation/devicetree/bindings/sound/ |
| D | tdm-slot.txt | 6 dai-tdm-slot-num : Number of slots in use. 18 to specify a explicit mapping of the channels and the slots. If it's absent
|
| D | davinci-mcasp-audio.txt | 17 - tdm-slots : Slots for TDM operation. Indicates number of channels transmitted 52 tdm-slots = <2>;
|
| /linux-4.4.14/arch/arm64/boot/dts/exynos/ |
| D | exynos7-espresso.dts | 57 num-slots = <1>; 73 num-slots = <1>;
|
| /linux-4.4.14/fs/f2fs/ |
| D | dir.c | 474 int room_for_filename(const void *bitmap, int slots, int max_slots) in room_for_filename() argument 484 if (zero_end - zero_start >= slots) in room_for_filename() 499 int slots = GET_DENTRY_SLOTS(name->len); in f2fs_update_dentry() local 508 for (i = 0; i < slots; i++) in f2fs_update_dentry() 531 int slots, err; in __f2fs_add_link() local 549 slots = GET_DENTRY_SLOTS(new_name.len); in __f2fs_add_link() 583 slots, NR_DENTRY_IN_BLOCK); in __f2fs_add_link() 695 int slots = GET_DENTRY_SLOTS(le16_to_cpu(dentry->name_len)); in f2fs_delete_entry() local 706 for (i = 0; i < slots; i++) in f2fs_delete_entry()
|
| D | inline.c | 441 int slots = GET_DENTRY_SLOTS(namelen); in f2fs_add_inline_entry() local 451 slots, NR_INLINE_DENTRY); in f2fs_add_inline_entry() 502 int slots = GET_DENTRY_SLOTS(le16_to_cpu(dentry->name_len)); in f2fs_delete_inline_entry() local 511 for (i = 0; i < slots; i++) in f2fs_delete_inline_entry()
|
| /linux-4.4.14/drivers/mfd/ |
| D | dln2.c | 90 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()
|
| D | rtsx_pcr.c | 858 if ((card_detect & SD_EXIST) && pcr->slots[RTSX_SD_CARD].card_event) in rtsx_pci_card_detect() 859 pcr->slots[RTSX_SD_CARD].card_event( in rtsx_pci_card_detect() 860 pcr->slots[RTSX_SD_CARD].p_dev); in rtsx_pci_card_detect() 861 if ((card_detect & MS_EXIST) && pcr->slots[RTSX_MS_CARD].card_event) in rtsx_pci_card_detect() 862 pcr->slots[RTSX_MS_CARD].card_event( in rtsx_pci_card_detect() 863 pcr->slots[RTSX_MS_CARD].p_dev); in rtsx_pci_card_detect() 1128 pcr->slots = kcalloc(pcr->num_slots, sizeof(struct rtsx_slot), in rtsx_pci_init_chip() 1130 if (!pcr->slots) in rtsx_pci_init_chip() 1148 kfree(pcr->slots); in rtsx_pci_init_chip() 1317 kfree(pcr->slots); in rtsx_pci_remove()
|
| D | rc5t583.c | 85 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.4.14/fs/nfs/ |
| D | nfs4session.c | 43 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()
|
| D | nfs4session.h | 35 struct nfs4_slot *slots; /* seqid per slot */ member
|
| D | callback_proc.c | 329 slot = tbl->slots + args->csa_slotid; in validate_seqid() 405 tbl->slots[ref->rc_slotid].seq_nr == in referring_call_exists() 436 slot = tbl->slots + args->csa_slotid; in nfs4_callback_sequence()
|
| /linux-4.4.14/arch/x86/boot/compressed/ |
| D | aslr.c | 209 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.4.14/drivers/net/ |
| D | xen-netfront.c | 523 int slots; in xennet_count_skb_slots() local 525 slots = gnttab_count_grant(offset_in_page(skb->data), in xennet_count_skb_slots() 536 slots += gnttab_count_grant(offset, size); in xennet_count_skb_slots() 539 return slots; in xennet_count_skb_slots() 569 int slots; in xennet_start_xmit() local 595 slots = xennet_count_skb_slots(skb); in xennet_start_xmit() 596 if (unlikely(slots > MAX_XEN_SKB_FRAGS + 1)) { in xennet_start_xmit() 598 slots, skb->len); in xennet_start_xmit() 610 (slots > 1 && !xennet_can_sg(dev)) || in xennet_start_xmit() 774 int slots = 1; in xennet_get_responses() local [all …]
|
| /linux-4.4.14/Documentation/sound/alsa/ |
| D | Audigy-mixer.txt | 45 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.
|
| D | SB-Live-mixer.txt | 59 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.
|
| /linux-4.4.14/sound/core/ |
| D | init.c | 57 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() 130 return !slots[slot] || !*slots[slot]; in check_empty_slot()
|
| /linux-4.4.14/drivers/eisa/ |
| D | Kconfig | 21 bridge. If your system have both PCI and EISA slots, you 35 (no PCI slots). The Alpha Jensen is an example of such
|
| D | virtual_root.c | 41 .slots = EISA_MAX_SLOTS,
|
| D | pci_eisa.c | 56 pci_eisa_root.slots = EISA_MAX_SLOTS; in pci_eisa_init()
|
| /linux-4.4.14/Documentation/arm/ |
| D | IXP4xx | 111 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.4.14/arch/mips/sni/ |
| D | eisa.c | 28 .slots = EISA_MAX_SLOTS,
|
| /linux-4.4.14/arch/arm/kvm/ |
| D | mmu.c | 378 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() 1162 struct kvm_memslots *slots = kvm_memslots(kvm); in kvm_mmu_wp_memory_region() local 1163 struct kvm_memory_slot *memslot = id_to_memslot(slots, slot); in kvm_mmu_wp_memory_region() 1473 struct kvm_memslots *slots; in handle_hva_to_gpa() local 1477 slots = kvm_memslots(kvm); in handle_hva_to_gpa() [all …]
|
| /linux-4.4.14/drivers/pci/ |
| D | slot.c | 202 list_for_each_entry(slot, &dev->bus->slots, list) in pci_dev_assign_slot() 213 list_for_each_entry(slot, &parent->slots, list) in get_slot() 315 list_add(&slot->list, &parent->slots); in pci_create_slot()
|
| /linux-4.4.14/Documentation/ |
| D | eisa.txt | 52 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.4.14/drivers/gpu/drm/i915/ |
| D | intel_dp_mst.c | 42 int lane_count, slots; in intel_dp_mst_compute_config() local 84 slots = drm_dp_find_vcpi_slots(&intel_dp->mst_mgr, mst_pbn); in intel_dp_mst_compute_config() 91 pipe_config->dp_m_n.tu = slots; in intel_dp_mst_compute_config() 151 int slots; in intel_mst_pre_enable_dp() local 196 intel_crtc->config->pbn, &slots); in intel_mst_pre_enable_dp()
|
| /linux-4.4.14/arch/arc/kernel/ |
| D | entry-arcv2.S | 26 # Initial 16 slots are Exception Vectors 41 VECTOR reserved ; Reserved slots 42 VECTOR reserved ; Reserved slots
|
| /linux-4.4.14/Documentation/devicetree/bindings/dma/ |
| D | ti-edma.txt | 59 /* The following PaRAM slots are reserved: 35-44 and 100-109 */ 134 - ti,edma-slots: Number of slots
|
| /linux-4.4.14/security/selinux/ |
| D | avc.c | 72 struct hlist_head slots[AVC_CACHE_SLOTS]; /* head for avc_node->list */ member 182 INIT_HLIST_HEAD(&avc_cache.slots[i]); in avc_init() 215 head = &avc_cache.slots[i]; in avc_get_hash_stats() 525 head = &avc_cache.slots[hvalue]; in avc_reclaim_node() 582 head = &avc_cache.slots[hvalue]; in avc_search_node() 685 head = &avc_cache.slots[hvalue]; in avc_insert() 840 head = &avc_cache.slots[hvalue]; in avc_update_node() 920 head = &avc_cache.slots[i]; in avc_flush()
|
| /linux-4.4.14/drivers/media/pci/ttpci/ |
| D | av7110_ca.c | 125 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.4.14/arch/mn10300/unit-asb2305/ |
| D | pci-asb2305.h | 59 struct irq_info slots[0]; member
|
| /linux-4.4.14/arch/sh/boards/mach-r2d/ |
| D | Kconfig | 19 with two PCI slots.
|
| /linux-4.4.14/arch/m68k/ |
| D | Kconfig.bus | 26 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.4.14/drivers/usb/host/whci/ |
| D | wusb.c | 127 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.4.14/drivers/net/ethernet/broadcom/ |
| D | bgmac.c | 131 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.4.14/Documentation/ABI/testing/ |
| D | sysfs-devices-sun | 9 "The _SUN value is required to be unique among the slots of
|
| /linux-4.4.14/Documentation/x86/i386/ |
| D | IO-APIC.txt | 45 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.4.14/include/linux/platform_data/ |
| D | mmc-omap.h | 120 } slots[OMAP_MMC_MAX_SLOTS]; member
|
| /linux-4.4.14/Documentation/arm/SA1100/ |
| D | Pangolin | 3 It has EISA slots for ease of configuration with SDRAM/Flash
|
| /linux-4.4.14/fs/btrfs/tests/ |
| D | qgroup-tests.c | 68 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in insert_normal_tree_ref() 117 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in add_tree_ref() 201 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in remove_extent_ref()
|
| /linux-4.4.14/arch/powerpc/lib/ |
| D | rheap.c | 103 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.4.14/drivers/memstick/host/ |
| D | rtsx_pci_ms.c | 570 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.4.14/Documentation/filesystems/ |
| D | vfat.txt | 265 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.4.14/drivers/net/ethernet/natsemi/ |
| D | macsonic.c | 458 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.4.14/drivers/ipack/ |
| D | ipack.c | 208 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.4.14/arch/alpha/ |
| D | Kconfig | 168 slots, 4 PCI slots (one pair are on a shared slot), uses plug-in 182 ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is 183 shared with an ISA slot) and 2 32-bit PCI slots. Uses plus-in 313 # Most of these machines have ISA slots; not exactly sure which don't, 319 Find out whether you have ISA slots on your motherboard. ISA is the 359 5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
|
| /linux-4.4.14/arch/sh/cchips/ |
| D | Kconfig | 17 PCMCIA controller supporting 2 slots.
|
| /linux-4.4.14/drivers/net/xen-netback/ |
| D | netback.c | 732 int slots = 0; in xenvif_count_requests() local 742 if (slots >= work_to_do) { in xenvif_count_requests() 753 if (unlikely(slots >= fatal_skb_slots)) { in xenvif_count_requests() 756 slots, fatal_skb_slots); in xenvif_count_requests() 768 if (!drop_err && slots >= XEN_NETBK_LEGACY_SLOTS_MAX) { in xenvif_count_requests() 772 slots, XEN_NETBK_LEGACY_SLOTS_MAX); in xenvif_count_requests() 779 RING_COPY_REQUEST(&queue->tx, cons + slots, txp); in xenvif_count_requests() 799 slots++; in xenvif_count_requests() 816 xenvif_tx_err(queue, first, cons + slots); in xenvif_count_requests() 820 return slots; in xenvif_count_requests()
|
| /linux-4.4.14/net/ipv4/ |
| D | tcp_metrics.c | 1135 unsigned int slots; in tcp_net_metrics_init() local 1140 slots = tcpmhash_entries; in tcp_net_metrics_init() 1141 if (!slots) { in tcp_net_metrics_init() 1143 slots = 16 * 1024; in tcp_net_metrics_init() 1145 slots = 8 * 1024; in tcp_net_metrics_init() 1148 tcp_metrics_hash_log = order_base_2(slots); in tcp_net_metrics_init()
|
| /linux-4.4.14/fs/ntfs/ |
| D | runlist.c | 667 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.4.14/arch/powerpc/mm/ |
| D | hash_native_64.c | 599 unsigned long slot, slots; in native_hpte_clear() local 607 slots = pteg_count * HPTES_PER_GROUP; in native_hpte_clear() 609 for (slot = 0; slot < slots; slot++, hptep++) { in native_hpte_clear()
|
| /linux-4.4.14/arch/mips/ |
| D | Kconfig.debug | 126 force it to always emit branches with delay slots, and make no use 136 beneficial, and use branches with delay slots elsewhere. This is the 145 instructions with delay slots. This can result in more compact code
|
| /linux-4.4.14/fs/gfs2/ |
| D | lock_dlm.c | 1005 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.4.14/sound/soc/generic/ |
| D | simple-card.c | 153 if (set->slots) { in __asoc_simple_card_dai_init() 157 set->slots, in __asoc_simple_card_dai_init() 250 &dai->slots, &dai->slot_width); in asoc_simple_card_sub_parse_of()
|
| /linux-4.4.14/Documentation/scsi/ |
| D | scsi-changer.txt | 41 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.4.14/drivers/dma/ |
| D | xgene-dma.c | 233 u16 slots; member 665 if (++ring->head == ring->slots) in xgene_chan_xfer_request() 678 if (++ring->head == ring->slots) in xgene_chan_xfer_request() 770 if (++ring->head == ring->slots) in xgene_dma_cleanup_descriptors() 1221 ring->slots = ring->size / XGENE_DMA_RING_WQ_DESC_SIZE; in xgene_dma_setup_ring() 1259 for (i = 0; i < ring->slots; i++) { in xgene_dma_setup_ring() 1418 chan->max_outstanding = tx_ring->slots; in xgene_dma_create_chan_rings()
|
| /linux-4.4.14/drivers/memstick/core/ |
| D | Kconfig | 11 cards stayed in their respective slots during the suspend. The
|
| /linux-4.4.14/drivers/gpu/host1x/ |
| D | cdma.c | 111 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.4.14/sound/soc/pxa/ |
| D | pxa-ssp.c | 384 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.4.14/drivers/net/ethernet/8390/ |
| D | mac8390.c | 401 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.4.14/drivers/input/mouse/ |
| D | cypress_ps2.c | 526 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.4.14/sound/pci/ |
| D | atiixp.c | 985 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()
|
| D | via82xx.c | 1084 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.4.14/arch/x86/include/asm/ |
| D | pci_x86.h | 86 struct irq_info slots[0]; member
|