/linux-4.1.27/net/ieee802154/ |
H A D | sysfs.h | 7 extern struct class wpan_phy_class;
|
/linux-4.1.27/net/wireless/ |
H A D | sysfs.h | 7 extern struct class ieee80211_class;
|
/linux-4.1.27/drivers/base/ |
H A D | class.c | 2 * class.c - basic device class management 34 ret = class_attr->show(cp->class, class_attr, buf); class_attr_show() 46 ret = class_attr->store(cp->class, class_attr, buf, count); class_attr_store() 53 struct class *class = cp->class; class_release() local 55 pr_debug("class '%s': release.\n", class->name); class_release() 57 if (class->class_release) class_release() 58 class->class_release(class); class_release() 60 pr_debug("class '%s' does not have a release() function, " class_release() 61 "be careful\n", class->name); class_release() 69 struct class *class = cp->class; class_child_ns_type() local 71 return class->ns_type; class_child_ns_type() 85 /* Hotplug events for classes go to the class subsys */ 89 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, class_create_file_ns() 102 void class_remove_file_ns(struct class *cls, const struct class_attribute *attr, class_remove_file_ns() 109 static struct class *class_get(struct class *cls) class_get() 116 static void class_put(struct class *cls) class_put() 122 static int add_class_attrs(struct class *cls) add_class_attrs() 142 static void remove_class_attrs(struct class *cls) remove_class_attrs() 166 int __class_register(struct class *cls, struct lock_class_key *key) __class_register() 171 pr_debug("device class '%s': registering\n", cls->name); __class_register() 186 /* set the default /sys/dev directory for devices of this class */ __class_register() 191 /* let the block class directory show up in the root of sysfs */ __class_register() 198 cp->class = cls; __class_register() 212 void class_unregister(struct class *cls) class_unregister() 214 pr_debug("device class '%s': unregistering\n", cls->name); class_unregister() 219 static void class_create_release(struct class *cls) class_create_release() 226 * class_create - create a struct class structure 227 * @owner: pointer to the module that is to "own" this struct class 228 * @name: pointer to a string for the name of this class. 229 * @key: the lock_class_key for this class; used by mutex lock debugging 231 * This is used to create a struct class pointer that can then be used 234 * Returns &struct class pointer on success, or ERR_PTR() on error. 239 struct class *__class_create(struct module *owner, const char *name, __class_create() 242 struct class *cls; __class_create() 268 * class_destroy - destroys a struct class structure 269 * @cls: pointer to the struct class that is to be destroyed 274 void class_destroy(struct class *cls) class_destroy() 283 * class_dev_iter_init - initialize class device iterator 284 * @iter: class iterator to initialize 285 * @class: the class we wanna iterate over 289 * Initialize class iterator @iter such that it iterates over devices 290 * of @class. If @start is set, the list iteration will start there, 294 void class_dev_iter_init(struct class_dev_iter *iter, struct class *class, class_dev_iter_init() argument 301 klist_iter_init_node(&class->p->klist_devices, &iter->ki, start_knode); class_dev_iter_init() 308 * @iter: class iterator to proceed 316 * calling back into class code. 336 * @iter: class iterator to finish 349 * @class: the class we're iterating 354 * Iterate over @class's list of devices, and call @fn for each, 362 * @fn is allowed to do anything including calling back into class 365 int class_for_each_device(struct class *class, struct device *start, class_for_each_device() argument 372 if (!class) class_for_each_device() 374 if (!class->p) { class_for_each_device() 375 WARN(1, "%s called for class '%s' before it was initialized", class_for_each_device() 376 __func__, class->name); class_for_each_device() 380 class_dev_iter_init(&iter, class, start, NULL); class_for_each_device() 394 * @class: the class we're iterating 409 * @fn is allowed to do anything including calling back into class 412 struct device *class_find_device(struct class *class, struct device *start, class_find_device() argument 419 if (!class) class_find_device() 421 if (!class->p) { class_find_device() 422 WARN(1, "%s called for class '%s' before it was initialized", class_find_device() 423 __func__, class->name); class_find_device() 427 class_dev_iter_init(&iter, class, start, NULL); class_find_device() 442 struct class *parent; class_interface_register() 446 if (!class_intf || !class_intf->class) class_interface_register() 449 parent = class_get(class_intf->class); class_interface_register() 468 struct class *parent = class_intf->class; class_interface_unregister() 488 ssize_t show_class_attr_string(struct class *class, show_class_attr_string() argument 504 * class_compat_register - register a compatibility class 505 * @name: the name of the class 507 * Compatibility class are meant as a temporary user-space compatibility 508 * workaround when converting a family of class devices to a bus devices. 527 * class_compat_unregister - unregister a compatibility class 528 * @cls: the class to unregister 538 * class_compat_create_link - create a compatibility class device link to 540 * @cls: the compatibility class 555 * class device would have one and we want to provide as much class_compat_create_link() 570 * class_compat_remove_link - remove a compatibility class device link to 572 * @cls: the compatibility class 588 class_kset = kset_create_and_add("class", NULL, NULL); classes_init()
|
H A D | transport_class.c | 22 * transport class<-----attribute container<----class device 27 * transport class is framed entirely in terms of generic devices to 35 * transport_class_register - register an initial transport class 37 * @tclass: a pointer to the transport class structure to be initialised 39 * The transport class contains an embedded class which is used to 41 * zeros and then generic class must have been initialised with the 42 * actual transport class unique name. There's a macro 50 return class_register(&tclass->class); transport_class_register() 55 * transport_class_unregister - unregister a previously registered class 57 * @tclass: The transport class to unregister 60 * class. 64 class_unregister(&tclass->class); transport_class_unregister() 77 * anon_transport_class_register - register an anonymous class 79 * @atc: The anon transport class to register 81 * The anonymous transport class contains both a transport class and a 82 * container. The idea of an anonymous class is that it never 86 * initialise the anon transport class storage. 91 atc->container.class = &atc->tclass.class; anon_transport_class_register() 103 * anon_transport_class_unregister - unregister an anon class 105 * @atc: Pointer to the anon transport class to unregister 108 * transport class. 121 struct transport_class *tclass = class_to_transport_class(cont->class); transport_setup_classdev() 131 * transport_setup_device - declare a new dev for transport class association but don't make it visible yet. 138 * storage for the class device and initialises it, but does not yet 167 * transport_add_device - declare a new dev for transport class association 187 struct transport_class *tclass = class_to_transport_class(cont->class); transport_configure() 202 * process to allow the transport class to extract information from a 220 struct transport_class *tclass = class_to_transport_class(cont->class); transport_remove_classdev() 257 struct transport_class *tclass = class_to_transport_class(cont->class); transport_destroy_classdev() 267 * @dev: device to eliminate from the transport class. 274 * transport class device remains around.
|
H A D | core.c | 101 * so be careful about accessing it. dev->bus and dev->class should dev_driver_string() 107 (dev->class ? dev->class->name : "")); dev_driver_string() 246 else if (dev->class && dev->class->dev_release) device_release() 247 dev->class->dev_release(dev); device_release() 260 if (dev->class && dev->class->ns_type) device_namespace() 261 ns = dev->class->namespace(dev); device_namespace() 281 if (dev->class) dev_uevent_filter() 293 if (dev->class) dev_uevent_name() 294 return dev->class->name; dev_uevent_name() 344 /* have the class specific function add its stuff */ dev_uevent() 345 if (dev->class && dev->class->dev_uevent) { dev_uevent() 346 retval = dev->class->dev_uevent(dev, env); dev_uevent() 348 pr_debug("device: '%s': %s: class uevent() " dev_uevent() 471 struct class *class = dev->class; device_add_attrs() local 475 if (class) { device_add_attrs() 476 error = device_add_groups(dev, class->dev_groups); device_add_attrs() 505 if (class) device_add_attrs() 506 device_remove_groups(dev, class->dev_groups); device_add_attrs() 513 struct class *class = dev->class; device_remove_attrs() local 522 if (class) device_remove_attrs() 523 device_remove_groups(dev, class->dev_groups); device_remove_attrs() 681 struct class *class; member in struct:class_dir 696 return dir->class->ns_type; class_dir_child_ns_type() 706 class_dir_create_and_add(struct class *class, struct kobject *parent_kobj) class_dir_create_and_add() argument 715 dir->class = class; class_dir_create_and_add() 718 dir->kobj.kset = &class->p->glue_dirs; class_dir_create_and_add() 720 retval = kobject_add(&dir->kobj, parent_kobj, "%s", class->name); class_dir_create_and_add() 733 if (dev->class) { get_device_parent() 740 if (sysfs_deprecated && dev->class == &block_class) { get_device_parent() 741 if (parent && parent->class == &block_class) get_device_parent() 749 * Class-devices with a non class-device as parent, live get_device_parent() 754 else if (parent->class && !dev->class->ns_type) get_device_parent() 761 /* find our class-directory at the parent and reference it */ get_device_parent() 762 spin_lock(&dev->class->p->glue_dirs.list_lock); get_device_parent() 763 list_for_each_entry(k, &dev->class->p->glue_dirs.list, entry) get_device_parent() 768 spin_unlock(&dev->class->p->glue_dirs.list_lock); get_device_parent() 774 /* or create a new class-directory at the parent device */ get_device_parent() 775 k = class_dir_create_and_add(dev->class, parent_kobj); get_device_parent() 793 if (!glue_dir || !dev->class || cleanup_glue_dir() 794 glue_dir->kset != &dev->class->p->glue_dirs) cleanup_glue_dir() 819 if (!dev->class) device_add_class_symlinks() 823 &dev->class->p->subsys.kobj, device_add_class_symlinks() 837 if (sysfs_deprecated && dev->class == &block_class) device_add_class_symlinks() 841 /* link in the class directory pointing to the device */ device_add_class_symlinks() 842 error = sysfs_create_link(&dev->class->p->subsys.kobj, device_add_class_symlinks() 864 if (!dev->class) device_remove_class_symlinks() 871 if (sysfs_deprecated && dev->class == &block_class) device_remove_class_symlinks() 874 sysfs_delete_link(&dev->class->p->subsys.kobj, &dev->kobj, dev_name(dev)); device_remove_class_symlinks() 898 * By default we select char/ for new entries. Setting class->dev_obj 899 * to NULL prevents an entry from being created. class->dev_kobj must 900 * be set (or cleared) before any devices are registered to the class 909 if (dev->class) device_to_dev_kobj() 910 kobj = dev->class->dev_kobj; device_to_dev_kobj() 1076 if (dev->class) { device_add() 1077 mutex_lock(&dev->class->p->mutex); device_add() 1078 /* tie the class to the device */ device_add() 1080 &dev->class->p->klist_devices); device_add() 1084 &dev->class->p->interfaces, node) device_add() 1087 mutex_unlock(&dev->class->p->mutex); device_add() 1202 if (dev->class) { device_del() 1205 mutex_lock(&dev->class->p->mutex); device_del() 1208 &dev->class->p->interfaces, node) device_del() 1211 /* remove the device from the class list */ device_del() 1213 mutex_unlock(&dev->class->p->mutex); device_del() 1295 /* the class may provide a specific name */ device_get_devnode() 1296 if (dev->class && dev->class->devnode) device_get_devnode() 1297 *tmp = dev->class->devnode(dev, mode); device_get_devnode() 1589 device_create_groups_vargs(struct class *class, struct device *parent, device_create_groups_vargs() argument 1597 if (class == NULL || IS_ERR(class)) device_create_groups_vargs() 1608 dev->class = class; device_create_groups_vargs() 1631 * @class: pointer to the struct class that this device should be registered to 1639 * will be created in sysfs, registered to the specified class. 1651 * Note: the struct class passed to this function must have previously 1654 struct device *device_create_vargs(struct class *class, struct device *parent, device_create_vargs() argument 1658 return device_create_groups_vargs(class, parent, devt, drvdata, NULL, device_create_vargs() 1665 * @class: pointer to the struct class that this device should be registered to 1672 * will be created in sysfs, registered to the specified class. 1684 * Note: the struct class passed to this function must have previously 1687 struct device *device_create(struct class *class, struct device *parent, device_create() argument 1694 dev = device_create_vargs(class, parent, devt, drvdata, fmt, vargs); device_create() 1702 * @class: pointer to the struct class that this device should be registered to 1710 * will be created in sysfs, registered to the specified class. 1724 * Note: the struct class passed to this function must have previously 1727 struct device *device_create_with_groups(struct class *class, device_create_with_groups() argument 1737 dev = device_create_groups_vargs(class, parent, devt, drvdata, groups, device_create_with_groups() 1753 * @class: pointer to the struct class that this device was registered with 1759 void device_destroy(struct class *class, dev_t devt) device_destroy() argument 1763 dev = class_find_device(class, NULL, &devt, __match_devt); device_destroy() 1828 if (dev->class) { device_rename() 1829 error = sysfs_rename_link_ns(&dev->class->p->subsys.kobj, device_rename() 1902 if (dev->class) { device_move() 2017 if (dev->class) create_syslog_header() 2018 subsys = dev->class->name; create_syslog_header()
|
H A D | attribute_container.c | 50 * @classdev: the class device created by attribute_container_add_device. 112 /* private function used as class release */ attribute_container_release() 127 * @fn: function to trigger addition of class device. 129 * This function allocates storage for the class device(s) to be 131 * fn is provided, the code will simply register the class device via 133 * the class device at the appropriate time. One of the things that 138 * it. Note: after this, the class device contains a reference to dev 161 dev_err(dev, "failed to allocate class container\n"); attribute_container_add_device() 168 ic->classdev.class = cont->class; attribute_container_add_device() 169 cont->class->dev_release = attribute_container_release; attribute_container_add_device() 309 * @classdev: The class device 311 * This simply creates all the class device sysfs files from the 343 * @classdev: the class device to add 376 * @classdev: The class device to remove the files from 402 * @classdev: the class device 420 * Looks up the device in the container's list of class devices and returns
|
H A D | Makefile | 4 driver.o class.o platform.o \
|
H A D | base.h | 4 * struct subsys_private - structure to hold the private to the driver core portions of the bus_type/class structure. 21 * @class - pointer back to the struct class that this structure is associated 25 * bus_type/class to be statically allocated safely. Nothing outside of the 42 struct class *class; 66 * @device - pointer back to the struct class that this structure is
|
H A D | devcoredump.c | 34 static struct class devcd_class; 137 static ssize_t disabled_show(struct class *class, struct class_attribute *attr, disabled_show() argument 143 static ssize_t disabled_store(struct class *class, struct class_attribute *attr, disabled_store() argument 168 static struct class devcd_class = { 268 devcd->devcd_dev.class = &devcd_class; dev_coredumpm()
|
/linux-4.1.27/tools/build/feature/ |
H A D | test-libbabeltrace.c | 3 #include <babeltrace/ctf-ir/stream-class.h>
|
/linux-4.1.27/kernel/locking/ |
H A D | lockdep_proc.c | 40 static void print_name(struct seq_file *m, struct lock_class *class) print_name() argument 43 const char *name = class->name; print_name() 46 name = __get_key_name(class->key, str); print_name() 50 if (class->name_version > 1) print_name() 51 seq_printf(m, "#%d", class->name_version); print_name() 52 if (class->subclass) print_name() 53 seq_printf(m, "/%d", class->subclass); print_name() 59 struct lock_class *class = list_entry(v, struct lock_class, lock_entry); l_show() local 68 seq_printf(m, "%p", class->key); l_show() 70 seq_printf(m, " OPS:%8ld", class->ops); l_show() 73 seq_printf(m, " FD:%5ld", lockdep_count_forward_deps(class)); l_show() 74 seq_printf(m, " BD:%5ld", lockdep_count_backward_deps(class)); l_show() 77 get_usage_chars(class, usage); l_show() 81 print_name(m, class); l_show() 84 list_for_each_entry(entry, &class->locks_after, entry) { l_show() 86 seq_printf(m, " -> [%p] ", entry->class->key); l_show() 87 print_name(m, entry->class); l_show() 140 struct lock_class *class; lc_show() local 151 class = lock_chain_get_class(chain, i); lc_show() 152 if (!class->key) lc_show() 155 seq_printf(m, "[%p] ", class->key); lc_show() 156 print_name(m, class); lc_show() 220 struct lock_class *class; lockdep_stats_show() local 230 list_for_each_entry(class, &all_lock_classes, lock_entry) { lockdep_stats_show() 232 if (class->usage_mask == 0) lockdep_stats_show() 234 if (class->usage_mask == LOCKF_USED) lockdep_stats_show() 236 if (class->usage_mask & LOCKF_USED_IN_IRQ) lockdep_stats_show() 238 if (class->usage_mask & LOCKF_ENABLED_IRQ) lockdep_stats_show() 240 if (class->usage_mask & LOCKF_USED_IN_SOFTIRQ) lockdep_stats_show() 242 if (class->usage_mask & LOCKF_ENABLED_SOFTIRQ) lockdep_stats_show() 244 if (class->usage_mask & LOCKF_USED_IN_HARDIRQ) lockdep_stats_show() 246 if (class->usage_mask & LOCKF_ENABLED_HARDIRQ) lockdep_stats_show() 248 if (class->usage_mask & LOCKF_USED_IN_IRQ_READ) lockdep_stats_show() 250 if (class->usage_mask & LOCKF_ENABLED_IRQ_READ) lockdep_stats_show() 252 if (class->usage_mask & LOCKF_USED_IN_SOFTIRQ_READ) lockdep_stats_show() 254 if (class->usage_mask & LOCKF_ENABLED_SOFTIRQ_READ) lockdep_stats_show() 256 if (class->usage_mask & LOCKF_USED_IN_HARDIRQ_READ) lockdep_stats_show() 258 if (class->usage_mask & LOCKF_ENABLED_HARDIRQ_READ) lockdep_stats_show() 262 sum_forward_deps += lockdep_count_forward_deps(class); lockdep_stats_show() 366 struct lock_class *class; member in struct:lock_stat_data 431 struct lock_class *class; seq_stats() local 436 class = data->class; seq_stats() 440 if (class->name_version > 1) seq_stats() 442 if (class->subclass) seq_stats() 446 cname = rcu_dereference_sched(class->name); seq_stats() 447 ckey = rcu_dereference_sched(class->key); seq_stats() 465 if (class->name_version > 1) { seq_stats() 466 snprintf(name+namelen, 3, "#%d", class->name_version); seq_stats() 469 if (class->subclass) { seq_stats() 470 snprintf(name+namelen, 3, "/%d", class->subclass); seq_stats() 505 if (class->contention_point[i] == 0) seq_stats() 512 (void *)class->contention_point[i]); seq_stats() 515 ip, (void *)class->contention_point[i]); seq_stats() 520 if (class->contending_point[i] == 0) seq_stats() 527 (void *)class->contending_point[i]); seq_stats() 530 ip, (void *)class->contending_point[i]); seq_stats() 549 "class name", seq_header() 611 struct lock_class *class; lock_stat_open() local 622 list_for_each_entry(class, &all_lock_classes, lock_entry) { lock_stat_open() 623 iter->class = class; lock_stat_open() 624 iter->stats = lock_stats(class); lock_stat_open() 643 struct lock_class *class; lock_stat_write() local 653 list_for_each_entry(class, &all_lock_classes, lock_entry) lock_stat_write() 654 clear_lock_stats(class); lock_stat_write()
|
H A D | lockdep.c | 23 * locks (but of the same class as this lock), this code will detect it. 72 * class/list/hash allocators. 204 struct lock_class_stats lock_stats(struct lock_class *class) lock_stats() argument 212 &per_cpu(cpu_lock_stats, cpu)[class - lock_classes]; for_each_possible_cpu() 233 void clear_lock_stats(struct lock_class *class) clear_lock_stats() argument 239 &per_cpu(cpu_lock_stats, cpu)[class - lock_classes]; for_each_possible_cpu() 243 memset(class->contention_point, 0, sizeof(class->contention_point)); 244 memset(class->contending_point, 0, sizeof(class->contending_point)); 247 static struct lock_class_stats *get_lock_stats(struct lock_class *class) get_lock_stats() argument 249 return &get_cpu_var(cpu_lock_stats)[class - lock_classes]; get_lock_stats() 352 static int class_filter(struct lock_class *class) class_filter() argument 356 if (class->name_version == 1 && class_filter() 357 !strcmp(class->name, "lockname")) class_filter() 359 if (class->name_version == 1 && class_filter() 360 !strcmp(class->name, "&struct->lockfield")) class_filter() 368 static int verbose(struct lock_class *class) verbose() argument 371 return class_filter(class); verbose() 483 static char get_usage_char(struct lock_class *class, enum lock_usage_bit bit) get_usage_char() argument 487 if (class->usage_mask & lock_flag(bit + 2)) get_usage_char() 489 if (class->usage_mask & lock_flag(bit)) { get_usage_char() 491 if (class->usage_mask & lock_flag(bit + 2)) get_usage_char() 498 void get_usage_chars(struct lock_class *class, char usage[LOCK_USAGE_CHARS]) get_usage_chars() argument 503 usage[i++] = get_usage_char(class, LOCK_USED_IN_##__STATE); \ get_usage_chars() 504 usage[i++] = get_usage_char(class, LOCK_USED_IN_##__STATE##_READ); get_usage_chars() 511 static void __print_lock_name(struct lock_class *class) __print_lock_name() argument 516 name = class->name; __print_lock_name() 518 name = __get_key_name(class->key, str); __print_lock_name() 522 if (class->name_version > 1) __print_lock_name() 523 printk("#%d", class->name_version); __print_lock_name() 524 if (class->subclass) __print_lock_name() 525 printk("/%d", class->subclass); __print_lock_name() 529 static void print_lock_name(struct lock_class *class) print_lock_name() argument 533 get_usage_chars(class, usage); print_lock_name() 536 __print_lock_name(class); print_lock_name() 598 static int very_verbose(struct lock_class *class) very_verbose() argument 601 return class_filter(class); very_verbose() 640 * class->name_version generation counter: 644 struct lock_class *class; count_matching_names() local 650 list_for_each_entry_rcu(class, &all_lock_classes, lock_entry) { count_matching_names() 651 if (new_class->key - new_class->subclass == class->key) count_matching_names() 652 return class->name_version; count_matching_names() 653 if (class->name && !strcmp(class->name, new_class->name)) count_matching_names() 654 count = max(count, class->name_version); count_matching_names() 661 * Register a lock's class in the hash-table, if the class is not present 670 struct lock_class *class; look_up_lock_class() local 697 * Static locks do not have their class-keys yet - for them the key look_up_lock_class() 704 * NOTE: the class-key must be unique. For dynamic locks, a static look_up_lock_class() 722 list_for_each_entry_rcu(class, hash_head, hash_entry) { list_for_each_entry_rcu() 723 if (class->key == key) { list_for_each_entry_rcu() 728 WARN_ON_ONCE(class->name != lock->name); list_for_each_entry_rcu() 729 return class; list_for_each_entry_rcu() 737 * Register a lock's class in the hash-table, if the class is not present 746 struct lock_class *class; register_lock_class() local 750 class = look_up_lock_class(lock, subclass); register_lock_class() 751 if (likely(class)) register_lock_class() 777 list_for_each_entry_rcu(class, hash_head, hash_entry) { list_for_each_entry_rcu() 778 if (class->key == key) list_for_each_entry_rcu() 795 class = lock_classes + nr_lock_classes++; 797 class->key = key; 798 class->name = lock->name; 799 class->subclass = subclass; 800 INIT_LIST_HEAD(&class->lock_entry); 801 INIT_LIST_HEAD(&class->locks_before); 802 INIT_LIST_HEAD(&class->locks_after); 803 class->name_version = count_matching_names(class); 808 list_add_tail_rcu(&class->hash_entry, hash_head); 812 list_add_tail_rcu(&class->lock_entry, &all_lock_classes); 814 if (verbose(class)) { 817 printk("\nnew class %p: %s", class->key, class->name); 818 if (class->name_version > 1) 819 printk("#%d", class->name_version); 832 lock->class_cache[0] = class; 834 lock->class_cache[subclass] = class; 837 * Hash collision, did we smoke some? We found a class with a matching 840 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass)) 843 return class; 867 static int add_lock_to_list(struct lock_class *class, struct lock_class *this, add_lock_to_list() argument 880 entry->class = this; add_lock_to_list() 965 lock->class->dep_gen_id = lockdep_dependency_gen_id; mark_lock_accessed() 974 return lock->class->dep_gen_id == lockdep_dependency_gen_id; lock_accessed() 1012 head = &source_entry->class->locks_after; __bfs() 1014 head = &source_entry->class->locks_before; __bfs() 1027 if (!lock->class) { __bfs() 1033 head = &lock->class->locks_after; __bfs() 1035 head = &lock->class->locks_before; __bfs() 1097 print_lock_name(target->class); print_circular_bug_entry() 1111 struct lock_class *parent = prt->class; print_circular_lock_scenario() 1188 return entry->class == data; class_equal() 1259 unsigned long lockdep_count_forward_deps(struct lock_class *class) lockdep_count_forward_deps() argument 1265 this.class = class; lockdep_count_forward_deps() 1286 unsigned long lockdep_count_backward_deps(struct lock_class *class) lockdep_count_backward_deps() argument 1292 this.class = class; lockdep_count_backward_deps() 1329 return entry->class->usage_mask & (1 << (enum lock_usage_bit)bit); usage_match() 1336 * at @root->class that matches @bit. 1359 * at @root->class that matches @bit. 1380 static void print_lock_class_header(struct lock_class *class, int depth) print_lock_class_header() argument 1385 print_lock_name(class); print_lock_class_header() 1386 printk(" ops: %lu", class->ops); print_lock_class_header() 1390 if (class->usage_mask & (1 << bit)) { print_lock_class_header() 1395 print_stack_trace(class->usage_traces + bit, len); print_lock_class_header() 1401 print_ip_sym((unsigned long)class->key); print_lock_class_header() 1418 print_lock_class_header(entry->class, depth); print_shortest_lock_dependencies() 1441 struct lock_class *safe_class = safe_entry->class; print_irq_lock_scenario() 1442 struct lock_class *unsafe_class = unsafe_entry->class; print_irq_lock_scenario() 1530 print_lock_name(backwards_entry->class); print_bad_irq_dependency() 1533 print_stack_trace(backwards_entry->class->usage_traces + bit1, 1); print_bad_irq_dependency() 1536 print_lock_name(forwards_entry->class); print_bad_irq_dependency() 1540 print_stack_trace(forwards_entry->class->usage_traces + bit2, 1); print_bad_irq_dependency() 1578 this.class = hlock_class(prev); check_usage() 1586 that.class = hlock_class(next); check_usage() 1758 * Check whether we are holding such a class already. 1784 * lock class (i.e. read_lock(lock)+read_lock(lock)): check_deadlock() 1849 this.class = hlock_class(next); check_prev_add() 1879 if (entry->class == hlock_class(next)) { check_prev_add() 2019 struct lock_class *class = hlock_class(hlock); lookup_chain_cache() local 2040 if (very_verbose(class)) list_for_each_entry_rcu() 2042 "%016Lx tail class: [%p] %s\n", list_for_each_entry_rcu() 2044 class->key, class->name); list_for_each_entry_rcu() 2048 if (very_verbose(class)) 2049 printk("\nnew hash chain, key: %016Lx tail class: [%p] %s\n", 2050 (unsigned long long)chain_key, class->key, class->name); 2092 chain_hlocks[chain->base + j] = class - lock_classes; 2218 struct lock_class *class = hlock_class(lock); print_usage_bug_scenario() local 2224 __print_lock_name(class); print_usage_bug_scenario() 2228 __print_lock_name(class); print_usage_bug_scenario() 2317 print_lock_name(other->class); print_irq_inversion_bug() 2335 middle ? middle->class : root->class, other->class); print_irq_inversion_bug() 2338 middle ? middle->class : other->class, root->class); print_irq_inversion_bug() 2366 root.class = hlock_class(this); check_usage_forwards() 2390 root.class = hlock_class(this); check_usage_backwards() 2414 static int HARDIRQ_verbose(struct lock_class *class) HARDIRQ_verbose() argument 2417 return class_filter(class); HARDIRQ_verbose() 2422 static int SOFTIRQ_verbose(struct lock_class *class) SOFTIRQ_verbose() argument 2425 return class_filter(class); SOFTIRQ_verbose() 2430 static int RECLAIM_FS_verbose(struct lock_class *class) RECLAIM_FS_verbose() argument 2433 return class_filter(class); RECLAIM_FS_verbose() 2440 static int (*state_verbose_f[])(struct lock_class *class) = { 2448 struct lock_class *class) state_verbose() 2450 return state_verbose_f[bit >> 2](class); state_verbose() 2963 * Initialize a lock instance's lock-class mapping info: 2995 * Sanity check, the lock-class key must be persistent: lockdep_init_map() 3074 struct lock_class *class = NULL; __lock_acquire() local 3096 class = lock->class_cache[subclass]; __lock_acquire() 3100 if (unlikely(!class)) { __lock_acquire() 3101 class = register_lock_class(lock, subclass, 0); __lock_acquire() 3102 if (!class) __lock_acquire() 3105 atomic_inc((atomic_t *)&class->ops); __lock_acquire() 3106 if (very_verbose(class)) { __lock_acquire() 3107 printk("\nacquire class [%p] %s", class->key, class->name); __lock_acquire() 3108 if (class->name_version > 1) __lock_acquire() 3109 printk("#%d", class->name_version); __lock_acquire() 3126 class_idx = class - lock_classes + 1; __lock_acquire() 3145 if (DEBUG_LOCKS_WARN_ON(!class)) __lock_acquire() 3176 * the hash, not class->key. __lock_acquire() 3178 id = class - lock_classes; __lock_acquire() 3289 struct lock_class *class = lock->class_cache[0]; match_held_lock() local 3291 if (!class) match_held_lock() 3292 class = look_up_lock_class(lock, 0); match_held_lock() 3295 * If look_up_lock_class() failed to find a class, we're trying match_held_lock() 3300 if (!class) match_held_lock() 3311 if (hlock->class_idx == class - lock_classes + 1) match_held_lock() 3325 struct lock_class *class; __lock_set_class() local 3331 * This function is about (re)setting the class of a held lock, __lock_set_class() 3353 class = register_lock_class(lock, subclass, 0); __lock_set_class() 3354 hlock->class_idx = class - lock_classes + 1; __lock_set_class() 3885 static void zap_class(struct lock_class *class) zap_class() argument 3894 if (list_entries[i].class == class) zap_class() 3898 * Unhash the class and remove it from the all_lock_classes list: zap_class() 3900 list_del_rcu(&class->hash_entry); zap_class() 3901 list_del_rcu(&class->lock_entry); zap_class() 3903 RCU_INIT_POINTER(class->key, NULL); zap_class() 3904 RCU_INIT_POINTER(class->name, NULL); zap_class() 3922 struct lock_class *class; lockdep_free_key_range() local 3938 list_for_each_entry_rcu(class, head, hash_entry) { list_for_each_entry_rcu() 3939 if (within(class->key, start, size)) list_for_each_entry_rcu() 3940 zap_class(class); list_for_each_entry_rcu() 3941 else if (within(class->name, start, size)) list_for_each_entry_rcu() 3942 zap_class(class); list_for_each_entry_rcu() 3967 struct lock_class *class; lockdep_reset_lock() local 3980 * If the class exists we look it up and zap it: lockdep_reset_lock() 3982 class = look_up_lock_class(lock, j); lockdep_reset_lock() 3983 if (class) lockdep_reset_lock() 3984 zap_class(class); lockdep_reset_lock() 3995 list_for_each_entry_rcu(class, head, hash_entry) { list_for_each_entry_rcu() 3999 match |= class == lock->class_cache[j]; list_for_each_entry_rcu() 2447 state_verbose(enum lock_usage_bit bit, struct lock_class *class) state_verbose() argument
|
H A D | lockdep_internals.h | 10 * Lock-class usage-state bits: 75 extern void get_usage_chars(struct lock_class *class, 101 lockdep_count_forward_deps(struct lock_class *class) lockdep_count_forward_deps() argument 106 lockdep_count_backward_deps(struct lock_class *class) lockdep_count_backward_deps() argument
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | omap_hwmod_33xx_43xx_ipblock_data.c | 34 * 'l3' class 43 .class = &am33xx_l3_hwmod_class, 57 .class = &am33xx_l3_hwmod_class, 64 .class = &am33xx_l3_hwmod_class, 76 * 'l4' class 86 .class = &am33xx_l4_hwmod_class, 100 .class = &am33xx_l4_hwmod_class, 111 * 'mpu' class 119 .class = &am33xx_mpu_hwmod_class, 131 * 'wakeup m3' class 139 * 'pru-icss' class 154 .class = &am33xx_pruss_hwmod_class, 178 .class = &am33xx_gfx_hwmod_class, 191 * 'prcm' class 201 .class = &am33xx_prcm_hwmod_class, 206 * 'aes0' class 222 .class = &am33xx_aes0_hwmod_class, 247 .class = &am33xx_sha0_hwmod_class, 264 .class = &am33xx_ocmcram_hwmod_class, 275 /* 'smartreflex' class */ 283 .class = &am33xx_smartreflex_hwmod_class, 296 .class = &am33xx_smartreflex_hwmod_class, 307 * 'control' module class 314 * 'cpgmac' class 335 .class = &am33xx_cpgmac0_hwmod_class, 348 * mdio class 356 .class = &am33xx_mdio_hwmod_class, 362 * dcan class 371 .class = &am33xx_dcan_hwmod_class, 384 .class = &am33xx_dcan_hwmod_class, 413 .class = &am33xx_elm_hwmod_class, 454 .class = &am33xx_epwmss_hwmod_class, 467 .class = &am33xx_ecap_hwmod_class, 475 .class = &am33xx_eqep_hwmod_class, 483 .class = &am33xx_ehrpwm_hwmod_class, 491 .class = &am33xx_epwmss_hwmod_class, 504 .class = &am33xx_ecap_hwmod_class, 512 .class = &am33xx_eqep_hwmod_class, 520 .class = &am33xx_ehrpwm_hwmod_class, 528 .class = &am33xx_epwmss_hwmod_class, 541 .class = &am33xx_ecap_hwmod_class, 549 .class = &am33xx_eqep_hwmod_class, 557 .class = &am33xx_ehrpwm_hwmod_class, 563 * 'gpio' class: for gpio 0,1,2,3 595 .class = &am33xx_gpio_hwmod_class, 616 .class = &am33xx_gpio_hwmod_class, 637 .class = &am33xx_gpio_hwmod_class, 669 .class = &am33xx_gpmc_hwmod_class, 680 /* 'i2c' class */ 706 .class = &i2c_class, 721 .class = &i2c_class, 736 .class = &i2c_class, 749 * 'mailbox' class 769 .class = &am33xx_mailbox_hwmod_class, 780 * 'mcasp' class 798 .class = &am33xx_mcasp_hwmod_class, 811 .class = &am33xx_mcasp_hwmod_class, 821 /* 'mmc' class */ 845 .class = &am33xx_mmc_hwmod_class, 863 .class = &am33xx_mmc_hwmod_class, 880 .class = &am33xx_mmc_hwmod_class, 892 * 'rtc' class 911 .class = &am33xx_rtc_hwmod_class, 921 /* 'spi' class */ 945 .class = &am33xx_spi_hwmod_class, 959 .class = &am33xx_spi_hwmod_class, 971 * 'spinlock' class 994 .class = &am33xx_spinlock_hwmod_class, 1004 /* 'timer 2-7' class */ 1039 .class = &am33xx_timer1ms_hwmod_class, 1051 .class = &am33xx_timer_hwmod_class, 1063 .class = &am33xx_timer_hwmod_class, 1075 .class = &am33xx_timer_hwmod_class, 1087 .class = &am33xx_timer_hwmod_class, 1099 .class = &am33xx_timer_hwmod_class, 1111 .class = &am33xx_timer_hwmod_class, 1128 .class = &am33xx_tpcc_hwmod_class, 1147 /* 'tptc' class */ 1156 .class = &am33xx_tptc_hwmod_class, 1170 .class = &am33xx_tptc_hwmod_class, 1184 .class = &am33xx_tptc_hwmod_class, 1195 /* 'uart' class */ 1214 .class = &uart_class, 1227 .class = &uart_class, 1241 .class = &uart_class, 1254 .class = &uart_class, 1267 .class = &uart_class, 1280 .class = &uart_class, 1291 /* 'wd_timer' class */ 1315 .class = &am33xx_wd_timer_hwmod_class,
|
H A D | omap_hwmod_2xxx_ipblock_data.c | 29 * 'dispc' class 68 * 'wd_timer' class 90 * 'gpio' class 128 * 'mailbox' class 149 * 'mcspi' class 172 * 'gpmc' class 198 .class = &l3_hwmod_class, 205 .class = &l4_hwmod_class, 212 .class = &l4_hwmod_class, 219 .class = &mpu_hwmod_class, 226 .class = &iva_hwmod_class, 259 .class = &omap2xxx_timer_hwmod_class, 277 .class = &omap2xxx_timer_hwmod_class, 295 .class = &omap2xxx_timer_hwmod_class, 313 .class = &omap2xxx_timer_hwmod_class, 332 .class = &omap2xxx_timer_hwmod_class, 351 .class = &omap2xxx_timer_hwmod_class, 370 .class = &omap2xxx_timer_hwmod_class, 389 .class = &omap2xxx_timer_hwmod_class, 408 .class = &omap2xxx_timer_hwmod_class, 427 .class = &omap2xxx_timer_hwmod_class, 446 .class = &omap2xxx_timer_hwmod_class, 465 .class = &omap2xxx_timer_hwmod_class, 472 .class = &omap2xxx_wd_timer_hwmod_class, 500 .class = &omap2_uart_class, 518 .class = &omap2_uart_class, 536 .class = &omap2_uart_class, 552 .class = &omap2_dss_hwmod_class, 571 .class = &omap2_dispc_hwmod_class, 593 .class = &omap2_rfbi_hwmod_class, 609 .class = &omap2_venc_hwmod_class, 641 .class = &omap2xxx_gpio_hwmod_class, 659 .class = &omap2xxx_gpio_hwmod_class, 677 .class = &omap2xxx_gpio_hwmod_class, 695 .class = &omap2xxx_gpio_hwmod_class, 716 .class = &omap2xxx_mcspi_class, 737 .class = &omap2xxx_mcspi_class, 757 .class = &omap2xxx_counter_hwmod_class, 763 .class = &omap2xxx_gpmc_hwmod_class, 819 .class = &omap2_rng_hwmod_class, 850 .class = &omap2xxx_sham_class, 881 .class = &omap2xxx_aes_class,
|
H A D | omap_hwmod_54xx_data.c | 51 * 'dmm' class 61 .class = &omap54xx_dmm_hwmod_class, 72 * 'l3' class 82 .class = &omap54xx_l3_hwmod_class, 96 .class = &omap54xx_l3_hwmod_class, 109 .class = &omap54xx_l3_hwmod_class, 122 .class = &omap54xx_l3_hwmod_class, 134 * 'l4' class 144 .class = &omap54xx_l4_hwmod_class, 157 .class = &omap54xx_l4_hwmod_class, 170 .class = &omap54xx_l4_hwmod_class, 183 .class = &omap54xx_l4_hwmod_class, 194 * 'mpu_bus' class 204 .class = &omap54xx_mpu_bus_hwmod_class, 214 * 'counter' class 234 .class = &omap54xx_counter_hwmod_class, 247 * 'dma' class 288 .class = &omap54xx_dma_hwmod_class, 303 * 'dmic' class 325 .class = &omap54xx_dmic_hwmod_class, 338 * 'dss' class 362 .class = &omap54xx_dss_hwmod_class, 378 * 'dispc' class 413 .class = &omap54xx_dispc_hwmod_class, 429 * 'dsi1' class 456 .class = &omap54xx_dsi1_hwmod_class, 477 .class = &omap54xx_dsi1_hwmod_class, 492 * 'hdmi' class 517 .class = &omap54xx_hdmi_hwmod_class, 532 * 'rfbi' class 558 .class = &omap54xx_rfbi_hwmod_class, 572 * 'emif' class 588 .class = &omap54xx_emif_hwmod_class, 604 .class = &omap54xx_emif_hwmod_class, 618 * 'gpio' class 653 .class = &omap54xx_gpio_hwmod_class, 675 .class = &omap54xx_gpio_hwmod_class, 698 .class = &omap54xx_gpio_hwmod_class, 721 .class = &omap54xx_gpio_hwmod_class, 744 .class = &omap54xx_gpio_hwmod_class, 767 .class = &omap54xx_gpio_hwmod_class, 790 .class = &omap54xx_gpio_hwmod_class, 813 .class = &omap54xx_gpio_hwmod_class, 830 * 'i2c' class 861 .class = &omap54xx_i2c_hwmod_class, 878 .class = &omap54xx_i2c_hwmod_class, 895 .class = &omap54xx_i2c_hwmod_class, 912 .class = &omap54xx_i2c_hwmod_class, 929 .class = &omap54xx_i2c_hwmod_class, 944 * 'kbd' class 965 .class = &omap54xx_kbd_hwmod_class, 978 * 'mailbox' class 1000 .class = &omap54xx_mailbox_hwmod_class, 1011 * 'mcbsp' class 1037 .class = &omap54xx_mcbsp_hwmod_class, 1059 .class = &omap54xx_mcbsp_hwmod_class, 1081 .class = &omap54xx_mcbsp_hwmod_class, 1096 * 'mcpdm' class 1119 .class = &omap54xx_mcpdm_hwmod_class, 1145 * 'mcspi' class 1174 .class = &omap54xx_mcspi_hwmod_class, 1195 .class = &omap54xx_mcspi_hwmod_class, 1216 .class = &omap54xx_mcspi_hwmod_class, 1237 .class = &omap54xx_mcspi_hwmod_class, 1251 * 'mmc' class 1284 .class = &omap54xx_mmc_hwmod_class, 1302 .class = &omap54xx_mmc_hwmod_class, 1317 .class = &omap54xx_mmc_hwmod_class, 1332 .class = &omap54xx_mmc_hwmod_class, 1347 .class = &omap54xx_mmc_hwmod_class, 1360 * 'mmu' class 1387 .class = &omap54xx_mmu_hwmod_class, 1409 .class = &omap54xx_mmu_hwmod_class, 1425 * 'mpu' class 1436 .class = &omap54xx_mpu_hwmod_class, 1449 * 'spinlock' class 1473 .class = &omap54xx_spinlock_hwmod_class, 1484 * 'ocp2scp' class 1507 .class = &omap54xx_ocp2scp_hwmod_class, 1520 * 'timer' class 1522 * This class contains several variants: ['timer_1ms', 'timer'] 1559 .class = &omap54xx_timer_1ms_hwmod_class, 1575 .class = &omap54xx_timer_1ms_hwmod_class, 1591 .class = &omap54xx_timer_hwmod_class, 1606 .class = &omap54xx_timer_hwmod_class, 1621 .class = &omap54xx_timer_hwmod_class, 1636 .class = &omap54xx_timer_hwmod_class, 1651 .class = &omap54xx_timer_hwmod_class, 1666 .class = &omap54xx_timer_hwmod_class, 1681 .class = &omap54xx_timer_hwmod_class, 1696 .class = &omap54xx_timer_1ms_hwmod_class, 1712 .class = &omap54xx_timer_hwmod_class, 1725 * 'uart' class 1749 .class = &omap54xx_uart_hwmod_class, 1764 .class = &omap54xx_uart_hwmod_class, 1779 .class = &omap54xx_uart_hwmod_class, 1795 .class = &omap54xx_uart_hwmod_class, 1811 .class = &omap54xx_uart_hwmod_class, 1826 .class = &omap54xx_uart_hwmod_class, 1839 * 'usb_host_hs' class 1862 .class = &omap54xx_usb_host_hs_hwmod_class, 1914 * 'usb_tll_hs' class 1936 .class = &omap54xx_usb_tll_hs_hwmod_class, 1949 * 'usb_otg_ss' class 1976 .class = &omap54xx_usb_otg_ss_hwmod_class, 1992 * 'wd_timer' class 2017 .class = &omap54xx_wd_timer_hwmod_class, 2030 * 'ocp2scp' class 2046 .class = &omap54xx_ocp2scp_hwmod_class, 2058 * 'sata' class 2079 .class = &omap54xx_sata_hwmod_class,
|
H A D | omap_hwmod_7xx_data.c | 52 * 'l3' class 62 .class = &dra7xx_l3_hwmod_class, 76 .class = &dra7xx_l3_hwmod_class, 89 .class = &dra7xx_l3_hwmod_class, 101 * 'l4' class 111 .class = &dra7xx_l4_hwmod_class, 124 .class = &dra7xx_l4_hwmod_class, 137 .class = &dra7xx_l4_hwmod_class, 150 .class = &dra7xx_l4_hwmod_class, 163 .class = &dra7xx_l4_hwmod_class, 174 * 'atl' class 185 .class = &dra7xx_atl_hwmod_class, 198 * 'bb2d' class 209 .class = &dra7xx_bb2d_hwmod_class, 222 * 'counter' class 243 .class = &dra7xx_counter_hwmod_class, 256 * 'ctrl_module' class 267 .class = &dra7xx_ctrl_module_hwmod_class, 277 * 'gmac' class 298 .class = &dra7xx_gmac_hwmod_class, 313 * 'mdio' class 321 .class = &dra7xx_mdio_hwmod_class, 327 * 'dcan' class 338 .class = &dra7xx_dcan_hwmod_class, 353 .class = &dra7xx_dcan_hwmod_class, 366 * 'dma' class 399 .class = &dra7xx_dma_hwmod_class, 412 * 'dss' class 445 .class = &dra7xx_dss_hwmod_class, 462 * 'dispc' class 493 .class = &dra7xx_dispc_hwmod_class, 506 * 'hdmi' class 533 .class = &dra7xx_hdmi_hwmod_class, 547 * 'elm' class 572 .class = &dra7xx_elm_hwmod_class, 584 * 'gpio' class 619 .class = &dra7xx_gpio_hwmod_class, 641 .class = &dra7xx_gpio_hwmod_class, 664 .class = &dra7xx_gpio_hwmod_class, 687 .class = &dra7xx_gpio_hwmod_class, 710 .class = &dra7xx_gpio_hwmod_class, 733 .class = &dra7xx_gpio_hwmod_class, 756 .class = &dra7xx_gpio_hwmod_class, 779 .class = &dra7xx_gpio_hwmod_class, 796 * 'gpmc' class 820 .class = &dra7xx_gpmc_hwmod_class, 835 * 'hdq1w' class 857 .class = &dra7xx_hdq1w_hwmod_class, 871 * 'i2c' class 902 .class = &dra7xx_i2c_hwmod_class, 919 .class = &dra7xx_i2c_hwmod_class, 936 .class = &dra7xx_i2c_hwmod_class, 953 .class = &dra7xx_i2c_hwmod_class, 970 .class = &dra7xx_i2c_hwmod_class, 985 * 'mailbox' class 1006 .class = &dra7xx_mailbox_hwmod_class, 1019 .class = &dra7xx_mailbox_hwmod_class, 1032 .class = &dra7xx_mailbox_hwmod_class, 1045 .class = &dra7xx_mailbox_hwmod_class, 1058 .class = &dra7xx_mailbox_hwmod_class, 1071 .class = &dra7xx_mailbox_hwmod_class, 1084 .class = &dra7xx_mailbox_hwmod_class, 1097 .class = &dra7xx_mailbox_hwmod_class, 1110 .class = &dra7xx_mailbox_hwmod_class, 1123 .class = &dra7xx_mailbox_hwmod_class, 1136 .class = &dra7xx_mailbox_hwmod_class, 1149 .class = &dra7xx_mailbox_hwmod_class, 1162 .class = &dra7xx_mailbox_hwmod_class, 1173 * 'mcspi' class 1201 .class = &dra7xx_mcspi_hwmod_class, 1222 .class = &dra7xx_mcspi_hwmod_class, 1243 .class = &dra7xx_mcspi_hwmod_class, 1264 .class = &dra7xx_mcspi_hwmod_class, 1278 * 'mmc' class 1311 .class = &dra7xx_mmc_hwmod_class, 1333 .class = &dra7xx_mmc_hwmod_class, 1354 .class = &dra7xx_mmc_hwmod_class, 1375 .class = &dra7xx_mmc_hwmod_class, 1390 * 'mpu' class 1401 .class = &dra7xx_mpu_hwmod_class, 1414 * 'ocp2scp' class 1437 .class = &dra7xx_ocp2scp_hwmod_class, 1452 .class = &dra7xx_ocp2scp_hwmod_class, 1465 * 'PCIE' class 1476 .class = &dra7xx_pciess_hwmod_class, 1491 .class = &dra7xx_pciess_hwmod_class, 1504 * 'qspi' class 1524 .class = &dra7xx_qspi_hwmod_class, 1537 * 'rtcss' class 1556 .class = &dra7xx_rtcss_hwmod_class, 1569 * 'sata' class 1591 .class = &dra7xx_sata_hwmod_class, 1606 * 'smartreflex' class 1638 .class = &dra7xx_smartreflex_hwmod_class, 1659 .class = &dra7xx_smartreflex_hwmod_class, 1673 * 'spinlock' class 1696 .class = &dra7xx_spinlock_hwmod_class, 1708 * 'timer' class 1710 * This class contains several variants: ['timer_1ms', 'timer_secure', 1747 .class = &dra7xx_timer_1ms_hwmod_class, 1762 .class = &dra7xx_timer_1ms_hwmod_class, 1777 .class = &dra7xx_timer_hwmod_class, 1792 .class = &dra7xx_timer_hwmod_class, 1807 .class = &dra7xx_timer_hwmod_class, 1822 .class = &dra7xx_timer_hwmod_class, 1837 .class = &dra7xx_timer_hwmod_class, 1852 .class = &dra7xx_timer_hwmod_class, 1867 .class = &dra7xx_timer_hwmod_class, 1882 .class = &dra7xx_timer_1ms_hwmod_class, 1897 .class = &dra7xx_timer_hwmod_class, 1912 .class = &dra7xx_timer_hwmod_class, 1927 .class = &dra7xx_timer_hwmod_class, 1942 .class = &dra7xx_timer_hwmod_class, 1957 .class = &dra7xx_timer_hwmod_class, 1970 * 'uart' class 1994 .class = &dra7xx_uart_hwmod_class, 2010 .class = &dra7xx_uart_hwmod_class, 2026 .class = &dra7xx_uart_hwmod_class, 2042 .class = &dra7xx_uart_hwmod_class, 2058 .class = &dra7xx_uart_hwmod_class, 2074 .class = &dra7xx_uart_hwmod_class, 2090 .class = &dra7xx_uart_hwmod_class, 2106 .class = &dra7xx_uart_hwmod_class, 2122 .class = &dra7xx_uart_hwmod_class, 2138 .class = &dra7xx_uart_hwmod_class, 2152 * 'usb_otg_ss' class 2179 .class = &dra7xx_usb_otg_ss_hwmod_class, 2200 .class = &dra7xx_usb_otg_ss_hwmod_class, 2217 .class = &dra7xx_usb_otg_ss_hwmod_class, 2232 .class = &dra7xx_usb_otg_ss_hwmod_class, 2245 * 'vcp' class 2256 .class = &dra7xx_vcp_hwmod_class, 2270 .class = &dra7xx_vcp_hwmod_class, 2282 * 'wd_timer' class 2307 .class = &dra7xx_wd_timer_hwmod_class,
|
H A D | omap_hwmod_43xx_data.c | 29 .class = &am33xx_l4_hwmod_class, 47 .class = &am33xx_wkup_m3_hwmod_class, 66 .class = &am33xx_control_hwmod_class, 84 .class = &am33xx_gpio_hwmod_class, 114 .class = &am43xx_synctimer_hwmod_class, 128 .class = &am33xx_timer_hwmod_class, 141 .class = &am33xx_timer_hwmod_class, 154 .class = &am33xx_timer_hwmod_class, 167 .class = &am33xx_timer_hwmod_class, 180 .class = &am33xx_epwmss_hwmod_class, 193 .class = &am33xx_ehrpwm_hwmod_class, 200 .class = &am33xx_epwmss_hwmod_class, 213 .class = &am33xx_ehrpwm_hwmod_class, 220 .class = &am33xx_epwmss_hwmod_class, 233 .class = &am33xx_ehrpwm_hwmod_class, 240 .class = &am33xx_spi_hwmod_class, 254 .class = &am33xx_spi_hwmod_class, 268 .class = &am33xx_spi_hwmod_class, 286 .class = &am33xx_gpio_hwmod_class, 307 .class = &am33xx_gpio_hwmod_class, 328 .class = &am43xx_ocp2scp_hwmod_class, 341 .class = &am43xx_ocp2scp_hwmod_class, 371 .class = &am43xx_usb_otg_ss_hwmod_class, 384 .class = &am43xx_usb_otg_ss_hwmod_class, 410 .class = &am43xx_qspi_hwmod_class, 422 * 'adc/tsc' class 441 .class = &am43xx_adc_tsc_hwmod_class, 456 .class = &omap2_dss_hwmod_class, 493 .class = &am43xx_dispc_hwmod_class, 509 .class = &omap2_rfbi_hwmod_class, 537 .class = &am43xx_hdq1w_hwmod_class, 563 .class = &am43xx_vpfe_hwmod_class, 575 .class = &am43xx_vpfe_hwmod_class,
|
H A D | omap_hwmod_common_ipblock_data.c | 17 * 'dss' class 37 * 'rfbi' class
|
H A D | omap_hwmod_44xx_data.c | 56 * 'dmm' class 66 .class = &omap44xx_dmm_hwmod_class, 77 * 'l3' class 87 .class = &omap44xx_l3_hwmod_class, 101 .class = &omap44xx_l3_hwmod_class, 114 .class = &omap44xx_l3_hwmod_class, 127 .class = &omap44xx_l3_hwmod_class, 139 * 'l4' class 149 .class = &omap44xx_l4_hwmod_class, 164 .class = &omap44xx_l4_hwmod_class, 177 .class = &omap44xx_l4_hwmod_class, 190 .class = &omap44xx_l4_hwmod_class, 201 * 'mpu_bus' class 211 .class = &omap44xx_mpu_bus_hwmod_class, 221 * 'ocp_wp_noc' class 231 .class = &omap44xx_ocp_wp_noc_hwmod_class, 254 * 'aess' class 277 .class = &omap44xx_aess_hwmod_class, 291 * 'c2c' class 303 .class = &omap44xx_c2c_hwmod_class, 314 * 'counter' class 334 .class = &omap44xx_counter_hwmod_class, 347 * 'ctrl_module' class 369 .class = &omap44xx_ctrl_module_hwmod_class, 381 .class = &omap44xx_ctrl_module_hwmod_class, 393 .class = &omap44xx_ctrl_module_hwmod_class, 405 .class = &omap44xx_ctrl_module_hwmod_class, 415 * 'debugss' class 426 .class = &omap44xx_debugss_hwmod_class, 438 * 'dma' class 479 .class = &omap44xx_dma_hwmod_class, 494 * 'dmic' class 516 .class = &omap44xx_dmic_hwmod_class, 529 * 'dsp' class 544 .class = &omap44xx_dsp_hwmod_class, 560 * 'dss' class 586 .class = &omap44xx_dss_hwmod_class, 601 * 'dispc' class 641 .class = &omap44xx_dispc_hwmod_class, 658 * 'dsi' class 695 .class = &omap44xx_dsi_hwmod_class, 729 .class = &omap44xx_dsi_hwmod_class, 747 * 'hdmi' class 783 .class = &omap44xx_hdmi_hwmod_class, 806 * 'rfbi' class 837 .class = &omap44xx_rfbi_hwmod_class, 853 * 'venc' class 864 .class = &omap44xx_venc_hwmod_class, 877 * 'elm' class 900 .class = &omap44xx_elm_hwmod_class, 911 * 'emif' class 927 .class = &omap44xx_emif_hwmod_class, 943 .class = &omap44xx_emif_hwmod_class, 957 * 'fdif' class 988 .class = &omap44xx_fdif_hwmod_class, 1001 * 'gpio' class 1036 .class = &omap44xx_gpio_hwmod_class, 1058 .class = &omap44xx_gpio_hwmod_class, 1081 .class = &omap44xx_gpio_hwmod_class, 1104 .class = &omap44xx_gpio_hwmod_class, 1127 .class = &omap44xx_gpio_hwmod_class, 1150 .class = &omap44xx_gpio_hwmod_class, 1167 * 'gpmc' class 1189 .class = &omap44xx_gpmc_hwmod_class, 1210 * 'gpu' class 1232 .class = &omap44xx_gpu_hwmod_class, 1245 * 'hdq1w' class 1266 .class = &omap44xx_hdq1w_hwmod_class, 1280 * 'hsi' class 1306 .class = &omap44xx_hsi_hwmod_class, 1319 * 'i2c' class 1349 .class = &omap44xx_i2c_hwmod_class, 1366 .class = &omap44xx_i2c_hwmod_class, 1383 .class = &omap44xx_i2c_hwmod_class, 1400 .class = &omap44xx_i2c_hwmod_class, 1415 * 'ipu' class 1431 .class = &omap44xx_ipu_hwmod_class, 1447 * 'iss' class 1483 .class = &omap44xx_iss_hwmod_class, 1498 * 'iva' class 1515 .class = &omap44xx_iva_hwmod_class, 1531 * 'kbd' class 1555 .class = &omap44xx_kbd_hwmod_class, 1568 * 'mailbox' class 1590 .class = &omap44xx_mailbox_hwmod_class, 1601 * 'mcasp' class 1626 .class = &omap44xx_mcasp_hwmod_class, 1639 * 'mcbsp' class 1665 .class = &omap44xx_mcbsp_hwmod_class, 1687 .class = &omap44xx_mcbsp_hwmod_class, 1709 .class = &omap44xx_mcbsp_hwmod_class, 1731 .class = &omap44xx_mcbsp_hwmod_class, 1746 * 'mcpdm' class 1769 .class = &omap44xx_mcpdm_hwmod_class, 1794 * 'mcspi' class 1835 .class = &omap44xx_mcspi_hwmod_class, 1865 .class = &omap44xx_mcspi_hwmod_class, 1895 .class = &omap44xx_mcspi_hwmod_class, 1923 .class = &omap44xx_mcspi_hwmod_class, 1938 * 'mmc' class 1973 .class = &omap44xx_mmc_hwmod_class, 1996 .class = &omap44xx_mmc_hwmod_class, 2018 .class = &omap44xx_mmc_hwmod_class, 2040 .class = &omap44xx_mmc_hwmod_class, 2062 .class = &omap44xx_mmc_hwmod_class, 2076 * 'mmu' class 2127 .class = &omap44xx_mmu_hwmod_class, 2174 .class = &omap44xx_mmu_hwmod_class, 2191 * 'mpu' class 2202 .class = &omap44xx_mpu_hwmod_class, 2215 * 'ocmc_ram' class 2226 .class = &omap44xx_ocmc_ram_hwmod_class, 2237 * 'ocp2scp' class 2260 .class = &omap44xx_ocp2scp_hwmod_class, 2283 * 'prcm' class 2295 .class = &omap44xx_prcm_hwmod_class, 2308 .class = &omap44xx_prcm_hwmod_class, 2320 .class = &omap44xx_prcm_hwmod_class, 2337 .class = &omap44xx_prcm_hwmod_class, 2343 * 'scrm' class 2354 .class = &omap44xx_scrm_hwmod_class, 2364 * 'sl2if' class 2375 .class = &omap44xx_sl2if_hwmod_class, 2387 * 'slimbus' class 2417 .class = &omap44xx_slimbus_hwmod_class, 2439 .class = &omap44xx_slimbus_hwmod_class, 2453 * 'smartreflex' class 2485 .class = &omap44xx_smartreflex_hwmod_class, 2506 .class = &omap44xx_smartreflex_hwmod_class, 2526 .class = &omap44xx_smartreflex_hwmod_class, 2540 * 'spinlock' class 2564 .class = &omap44xx_spinlock_hwmod_class, 2575 * 'timer' class 2577 * This class contains several variants: ['timer_1ms', 'timer'] 2636 .class = &omap44xx_timer_1ms_hwmod_class, 2653 .class = &omap44xx_timer_1ms_hwmod_class, 2669 .class = &omap44xx_timer_hwmod_class, 2684 .class = &omap44xx_timer_hwmod_class, 2699 .class = &omap44xx_timer_hwmod_class, 2715 .class = &omap44xx_timer_hwmod_class, 2731 .class = &omap44xx_timer_hwmod_class, 2747 .class = &omap44xx_timer_hwmod_class, 2763 .class = &omap44xx_timer_hwmod_class, 2779 .class = &omap44xx_timer_1ms_hwmod_class, 2796 .class = &omap44xx_timer_hwmod_class, 2810 * 'uart' class 2834 .class = &omap44xx_uart_hwmod_class, 2850 .class = &omap44xx_uart_hwmod_class, 2866 .class = &omap44xx_uart_hwmod_class, 2882 .class = &omap44xx_uart_hwmod_class, 2896 * 'usb_host_fs' class 2925 .class = &omap44xx_usb_host_fs_hwmod_class, 2938 * 'usb_host_hs' class 2962 .class = &omap44xx_usb_host_hs_hwmod_class, 3015 * 'usb_otg_hs' class 3044 .class = &omap44xx_usb_otg_hs_hwmod_class, 3060 * 'usb_tll_hs' class 3082 .class = &omap44xx_usb_tll_hs_hwmod_class, 3095 * 'wd_timer' class 3121 .class = &omap44xx_wd_timer_hwmod_class, 3136 .class = &omap44xx_wd_timer_hwmod_class,
|
H A D | omap_hwmod_33xx_data.c | 38 * 'emif' class 53 .class = &am33xx_emif_hwmod_class, 68 .class = &am33xx_l4_hwmod_class, 87 .class = &am33xx_wkup_m3_hwmod_class, 105 * 'adc/tsc' class 124 .class = &am33xx_adc_tsc_hwmod_class, 149 * 'cefuse' class 157 .class = &am33xx_cefuse_hwmod_class, 169 * 'clkdiv32k' class 177 .class = &am33xx_clkdiv32k_hwmod_class, 195 .class = &am33xx_ocpwp_hwmod_class, 208 * 'debugss' class 222 .class = &am33xx_debugss_hwmod_class, 237 .class = &am33xx_control_hwmod_class, 256 .class = &am33xx_gpio_hwmod_class, 287 .class = &am33xx_lcdc_hwmod_class, 300 * 'usb_otg' class 319 .class = &am33xx_usbotg_class, 535 .class = &am33xx_rng_hwmod_class,
|
H A D | omap_hwmod_81xx_data.c | 94 .class = &l3_hwmod_class, 101 .class = &l3_hwmod_class, 108 .class = &l3_hwmod_class, 115 .class = &l3_hwmod_class, 126 .class = &l4_hwmod_class, 137 .class = &l4_hwmod_class, 158 .class = &mpu_hwmod_class, 210 .class = &uart_class, 231 .class = &uart_class, 252 .class = &uart_class, 290 .class = &wd_timer_class, 327 .class = &i2c_class, 347 .class = &i2c_class, 376 .class = &dm81xx_elm_hwmod_class, 416 .class = &dm81xx_gpio_hwmod_class, 442 .class = &dm81xx_gpio_hwmod_class, 479 .class = &dm81xx_gpmc_hwmod_class, 519 .class = &dm81xx_usbotg_class, 559 .class = &dm816x_timer_hwmod_class, 580 .class = &dm816x_timer_hwmod_class, 601 .class = &dm816x_timer_hwmod_class, 622 .class = &dm816x_timer_hwmod_class, 643 .class = &dm816x_timer_hwmod_class, 664 .class = &dm816x_timer_hwmod_class, 685 .class = &dm816x_timer_hwmod_class, 715 .class = &dm816x_emac_hwmod_class, 732 .class = &dm816x_mdio_hwmod_class, 765 .class = &dm816x_emac_hwmod_class, 812 .class = &dm816x_mmc_class, 854 .class = &dm816x_mcspi_class, 883 .class = &dm816x_mailbox_hwmod_class, 905 .class = &dm816x_tpcc_hwmod_class, 938 .class = &dm816x_tptc0_hwmod_class, 980 .class = &dm816x_tptc1_hwmod_class, 1022 .class = &dm816x_tptc2_hwmod_class, 1064 .class = &dm816x_tptc3_hwmod_class,
|
H A D | omap_hwmod_3xxx_data.c | 66 .class = &l3_hwmod_class, 74 .class = &l4_hwmod_class, 81 .class = &l4_hwmod_class, 88 .class = &l4_hwmod_class, 95 .class = &l4_hwmod_class, 108 .class = &mpu_hwmod_class, 121 .class = &iva_hwmod_class, 138 * 'debugss' class 149 .class = &omap3xxx_debugss_hwmod_class, 155 /* timer class */ 214 .class = &omap3xxx_timer_hwmod_class, 232 .class = &omap3xxx_timer_hwmod_class, 250 .class = &omap3xxx_timer_hwmod_class, 268 .class = &omap3xxx_timer_hwmod_class, 287 .class = &omap3xxx_timer_hwmod_class, 306 .class = &omap3xxx_timer_hwmod_class, 325 .class = &omap3xxx_timer_hwmod_class, 344 .class = &omap3xxx_timer_hwmod_class, 363 .class = &omap3xxx_timer_hwmod_class, 382 .class = &omap3xxx_timer_hwmod_class, 401 .class = &omap3xxx_timer_hwmod_class, 425 .class = &omap3xxx_timer_hwmod_class, 430 * 'wd_timer' class 469 .class = &omap3xxx_wd_timer_hwmod_class, 503 .class = &omap2_uart_class, 522 .class = &omap2_uart_class, 542 .class = &omap2_uart_class, 572 .class = &omap2_uart_class, 617 .class = &omap2_uart_class, 647 .class = &omap2_dss_hwmod_class, 667 .class = &omap2_dss_hwmod_class, 685 * 'dispc' class 708 .class = &omap3_dispc_hwmod_class, 723 * 'dsi' class 743 .class = &omap3xxx_dsi_hwmod_class, 764 .class = &omap2_rfbi_hwmod_class, 785 .class = &omap2_venc_hwmod_class, 820 .class = &i2c_class, 845 .class = &i2c_class, 881 .class = &i2c_class, 886 * 'gpio' class 934 .class = &omap3xxx_gpio_hwmod_class, 959 .class = &omap3xxx_gpio_hwmod_class, 984 .class = &omap3xxx_gpio_hwmod_class, 1009 .class = &omap3xxx_gpio_hwmod_class, 1039 .class = &omap3xxx_gpio_hwmod_class, 1069 .class = &omap3xxx_gpio_hwmod_class, 1101 .class = &omap3xxx_dma_hwmod_class, 1118 * 'mcbsp' class 1158 .class = &omap3xxx_mcbsp_hwmod_class, 1189 .class = &omap3xxx_mcbsp_hwmod_class, 1221 .class = &omap3xxx_mcbsp_hwmod_class, 1255 .class = &omap3xxx_mcbsp_hwmod_class, 1288 .class = &omap3xxx_mcbsp_hwmod_class, 1305 /* 'mcbsp sidetone' class */ 1325 .class = &omap3xxx_mcbsp_sidetone_hwmod_class, 1347 .class = &omap3xxx_mcbsp_sidetone_hwmod_class, 1410 .class = &omap34xx_smartreflex_hwmod_class, 1428 .class = &omap36xx_smartreflex_hwmod_class, 1455 .class = &omap34xx_smartreflex_hwmod_class, 1473 .class = &omap36xx_smartreflex_hwmod_class, 1489 * 'mailbox' class 1527 .class = &omap3xxx_mailbox_hwmod_class, 1543 * 'mcspi' class 1584 .class = &omap34xx_mcspi_class, 1607 .class = &omap34xx_mcspi_class, 1643 .class = &omap34xx_mcspi_class, 1677 .class = &omap34xx_mcspi_class, 1721 .class = &usbotg_class, 1751 .class = &am35xx_usbotg_class, 1816 .class = &omap34xx_mmc_class, 1836 .class = &omap34xx_mmc_class, 1878 .class = &omap34xx_mmc_class, 1897 .class = &omap34xx_mmc_class, 1932 .class = &omap34xx_mmc_class, 1936 * 'usb_host_hs' class 1966 .class = &omap3xxx_usb_host_hs_hwmod_class, 2023 * 'usb_tll_hs' class 2049 .class = &omap3xxx_usb_tll_hs_hwmod_class, 2077 .class = &omap2_hdq1w_class, 2104 .class = &omap3xxx_sad2d_class, 2108 * '32K sync counter' class 2126 .class = &omap3xxx_counter_hwmod_class, 2142 * 'gpmc' class 2168 .class = &omap3xxx_gpmc_hwmod_class, 2966 * 'mmu' class 3017 .class = &omap3xxx_mmu_hwmod_class, 3059 .class = &omap3xxx_mmu_hwmod_class, 3446 .class = &am35xx_mdio_class, 3481 .class = &am35xx_emac_class, 3569 .class = &omap3xxx_sham_class, 3630 .class = &omap3xxx_aes_class, 3651 * 'ssi' class 3672 .class = &omap34xx_ssi_hwmod_class,
|
H A D | omap_hwmod_2430_data.c | 54 .class = &iva_hwmod_class, 106 .class = &i2c_class, 124 .class = &i2c_class, 142 .class = &omap2xxx_gpio_hwmod_class, 155 .class = &omap2xxx_dma_hwmod_class, 165 .class = &omap2xxx_mailbox_hwmod_class, 195 .class = &omap2xxx_mcspi_class, 230 .class = &usbotg_class, 241 * 'mcbsp' class 266 .class = &omap2430_mcbsp_hwmod_class, 284 .class = &omap2430_mcbsp_hwmod_class, 302 .class = &omap2430_mcbsp_hwmod_class, 320 .class = &omap2430_mcbsp_hwmod_class, 338 .class = &omap2430_mcbsp_hwmod_class, 395 .class = &omap2430_mmc_class, 418 .class = &omap2430_mmc_class, 434 .class = &omap2_hdq1w_class,
|
H A D | mcbsp.c | 69 if (oh->class->rev < MCBSP_CONFIG_TYPE2) { omap_init_mcbsp() 76 if (oh->class->rev == MCBSP_CONFIG_TYPE2) { omap_init_mcbsp() 79 } else if (oh->class->rev == MCBSP_CONFIG_TYPE3) { omap_init_mcbsp() 86 } else if (oh->class->rev == MCBSP_CONFIG_TYPE4) { omap_init_mcbsp() 91 if (oh->class->rev >= MCBSP_CONFIG_TYPE3) omap_init_mcbsp()
|
H A D | omap_hwmod_2420_data.c | 58 .class = &iva1_hwmod_class, 77 .class = &dsp_hwmod_class, 120 .class = &i2c_class, 143 .class = &i2c_class, 157 .class = &omap2xxx_dma_hwmod_class, 167 .class = &omap2xxx_mailbox_hwmod_class, 181 * 'mcbsp' class 197 .class = &omap2420_mcbsp_hwmod_class, 215 .class = &omap2420_mcbsp_hwmod_class, 247 .class = &omap2420_msdi_hwmod_class, 274 .class = &omap2_hdq1w_class,
|
H A D | i2c.c | 72 if (oh->class->rev == OMAP_I2C_IP_VERSION_2) { omap_i2c_reset() 74 } else if (oh->class->rev == OMAP_I2C_IP_VERSION_1) { omap_i2c_reset() 97 oh->class->sysc->syss_offs) omap_i2c_reset() 162 * pass the hwmod class's CPU-specific knowledge of I2C IP revision in omap_i2c_add_bus() 166 pdata->rev = oh->class->rev; omap_i2c_add_bus()
|
H A D | wd_timer.c | 88 oh->class->sysc->syss_offs) omap2_wd_timer_reset() 92 if (oh->class->sysc->srst_udelay) omap2_wd_timer_reset() 93 udelay(oh->class->sysc->srst_udelay); omap2_wd_timer_reset()
|
H A D | omap_hwmod.c | 268 if (!oh->class->sysc) { _update_sysc_cache() 269 WARN(1, "omap_hwmod: %s: cannot read OCP_SYSCONFIG: not defined on hwmod's class\n", oh->name); _update_sysc_cache() 275 oh->_sysc_cache = omap_hwmod_read(oh, oh->class->sysc->sysc_offs); _update_sysc_cache() 277 if (!(oh->class->sysc->sysc_flags & SYSC_NO_CACHE)) _update_sysc_cache() 288 * Write @v into the module class' OCP_SYSCONFIG register, if it has 293 if (!oh->class->sysc) { _write_sysconfig() 294 WARN(1, "omap_hwmod: %s: cannot write OCP_SYSCONFIG: not defined on hwmod's class\n", oh->name); _write_sysconfig() 302 omap_hwmod_write(v, oh, oh->class->sysc->sysc_offs); _write_sysconfig() 321 if (!oh->class->sysc || _set_master_standbymode() 322 !(oh->class->sysc->sysc_flags & SYSC_HAS_MIDLEMODE)) _set_master_standbymode() 325 if (!oh->class->sysc->sysc_fields) { _set_master_standbymode() 326 WARN(1, "omap_hwmod: %s: offset struct for sysconfig not provided in class\n", oh->name); _set_master_standbymode() 330 mstandby_shift = oh->class->sysc->sysc_fields->midle_shift; _set_master_standbymode() 354 if (!oh->class->sysc || _set_slave_idlemode() 355 !(oh->class->sysc->sysc_flags & SYSC_HAS_SIDLEMODE)) _set_slave_idlemode() 358 if (!oh->class->sysc->sysc_fields) { _set_slave_idlemode() 359 WARN(1, "omap_hwmod: %s: offset struct for sysconfig not provided in class\n", oh->name); _set_slave_idlemode() 363 sidle_shift = oh->class->sysc->sysc_fields->sidle_shift; _set_slave_idlemode() 388 if (!oh->class->sysc || _set_clockactivity() 389 !(oh->class->sysc->sysc_flags & SYSC_HAS_CLOCKACTIVITY)) _set_clockactivity() 392 if (!oh->class->sysc->sysc_fields) { _set_clockactivity() 393 WARN(1, "omap_hwmod: %s: offset struct for sysconfig not provided in class\n", oh->name); _set_clockactivity() 397 clkact_shift = oh->class->sysc->sysc_fields->clkact_shift; _set_clockactivity() 418 if (!oh->class->sysc || _set_softreset() 419 !(oh->class->sysc->sysc_flags & SYSC_HAS_SOFTRESET)) _set_softreset() 422 if (!oh->class->sysc->sysc_fields) { _set_softreset() 423 WARN(1, "omap_hwmod: %s: offset struct for sysconfig not provided in class\n", oh->name); _set_softreset() 427 softrst_mask = (0x1 << oh->class->sysc->sysc_fields->srst_shift); _set_softreset() 446 if (!oh->class->sysc || _clear_softreset() 447 !(oh->class->sysc->sysc_flags & SYSC_HAS_SOFTRESET)) _clear_softreset() 450 if (!oh->class->sysc->sysc_fields) { _clear_softreset() 452 "omap_hwmod: %s: sysc_fields absent for sysconfig class\n", _clear_softreset() 457 softrst_mask = (0x1 << oh->class->sysc->sysc_fields->srst_shift); _clear_softreset() 480 sysc = oh->class->sysc; _wait_softreset_complete() 513 if (!oh->class->sysc || _set_dmadisable() 514 !(oh->class->sysc->sysc_flags & SYSC_HAS_DMADISABLE)) _set_dmadisable() 517 if (!oh->class->sysc->sysc_fields) { _set_dmadisable() 518 WARN(1, "omap_hwmod: %s: offset struct for sysconfig not provided in class\n", oh->name); _set_dmadisable() 532 (0x1 << oh->class->sysc->sysc_fields->dmadisable_shift); _set_dmadisable() 558 if (!oh->class->sysc || _set_module_autoidle() 559 !(oh->class->sysc->sysc_flags & SYSC_HAS_AUTOIDLE)) _set_module_autoidle() 562 if (!oh->class->sysc->sysc_fields) { _set_module_autoidle() 563 WARN(1, "omap_hwmod: %s: offset struct for sysconfig not provided in class\n", oh->name); _set_module_autoidle() 567 autoidle_shift = oh->class->sysc->sysc_fields->autoidle_shift; _set_module_autoidle() 630 if (!oh->class->sysc || _enable_wakeup() 631 !((oh->class->sysc->sysc_flags & SYSC_HAS_ENAWAKEUP) || _enable_wakeup() 632 (oh->class->sysc->idlemodes & SIDLE_SMART_WKUP) || _enable_wakeup() 633 (oh->class->sysc->idlemodes & MSTANDBY_SMART_WKUP))) _enable_wakeup() 636 if (!oh->class->sysc->sysc_fields) { _enable_wakeup() 637 WARN(1, "omap_hwmod: %s: offset struct for sysconfig not provided in class\n", oh->name); _enable_wakeup() 641 if (oh->class->sysc->sysc_flags & SYSC_HAS_ENAWAKEUP) _enable_wakeup() 642 *v |= 0x1 << oh->class->sysc->sysc_fields->enwkup_shift; _enable_wakeup() 644 if (oh->class->sysc->idlemodes & SIDLE_SMART_WKUP) _enable_wakeup() 646 if (oh->class->sysc->idlemodes & MSTANDBY_SMART_WKUP) _enable_wakeup() 663 if (!oh->class->sysc || _disable_wakeup() 664 !((oh->class->sysc->sysc_flags & SYSC_HAS_ENAWAKEUP) || _disable_wakeup() 665 (oh->class->sysc->idlemodes & SIDLE_SMART_WKUP) || _disable_wakeup() 666 (oh->class->sysc->idlemodes & MSTANDBY_SMART_WKUP))) _disable_wakeup() 669 if (!oh->class->sysc->sysc_fields) { _disable_wakeup() 670 WARN(1, "omap_hwmod: %s: offset struct for sysconfig not provided in class\n", oh->name); _disable_wakeup() 674 if (oh->class->sysc->sysc_flags & SYSC_HAS_ENAWAKEUP) _disable_wakeup() 675 *v &= ~(0x1 << oh->class->sysc->sysc_fields->enwkup_shift); _disable_wakeup() 677 if (oh->class->sysc->idlemodes & SIDLE_SMART_WKUP) _disable_wakeup() 679 if (oh->class->sysc->idlemodes & MSTANDBY_SMART_WKUP) _disable_wakeup() 1336 if (!oh->class->sysc) _enable_sysc() 1352 sf = oh->class->sysc->sysc_flags; _enable_sysc() 1362 if (oh->class->sysc->idlemodes & SIDLE_SMART_WKUP) _enable_sysc() 1373 if (clkdm_act && !(oh->class->sysc->idlemodes & _enable_sysc() 1388 if (oh->class->sysc->idlemodes & MSTANDBY_SMART_WKUP) _enable_sysc() 1403 _set_clockactivity(oh, oh->class->sysc->clockact, &v); _enable_sysc() 1433 if (!oh->class->sysc) _idle_sysc() 1437 sf = oh->class->sysc->sysc_flags; _idle_sysc() 1445 if (oh->class->sysc->idlemodes & SIDLE_SMART_WKUP) _idle_sysc() 1460 if (oh->class->sysc->idlemodes & MSTANDBY_SMART_WKUP) _idle_sysc() 1485 if (!oh->class->sysc) _shutdown_sysc() 1489 sf = oh->class->sysc->sysc_flags; _shutdown_sysc() 1857 if (!oh->class->sysc || _ocp_softreset() 1858 !(oh->class->sysc->sysc_flags & SYSC_HAS_SOFTRESET)) _ocp_softreset() 1881 if (oh->class->sysc->srst_udelay) _ocp_softreset() 1882 udelay(oh->class->sysc->srst_udelay); _ocp_softreset() 1951 if (oh->class->reset) { _reset() 1952 r = oh->class->reset(oh); _reset() 1972 if (oh->class->sysc) { _reset() 2050 if (!oh->class->enable_preprogram) _enable_preprogram() 2053 return oh->class->enable_preprogram(oh); _enable_preprogram() 2159 if (oh->class->sysc) { _enable() 2205 if (oh->class->sysc) _idle() 2263 if (oh->class->pre_shutdown) { _shutdown() 2267 ret = oh->class->pre_shutdown(oh); _shutdown() 2275 if (oh->class->sysc) { _shutdown() 2405 if (!oh->class->sysc) _init_mpu_rt_base() 2701 * omap_hwmod's class field is NULL; if the omap_hwmod is missing a 2702 * name, or if the omap_hwmod's class is missing a name; or 0 upon 2713 if (!oh || !oh->name || !oh->class || !oh->class->name || _register() 3661 if (oh->class->sysc && omap_hwmod_enable_wakeup() 3662 (oh->class->sysc->sysc_flags & SYSC_HAS_ENAWAKEUP)) { omap_hwmod_enable_wakeup() 3694 if (oh->class->sysc && omap_hwmod_disable_wakeup() 3695 (oh->class->sysc->sysc_flags & SYSC_HAS_ENAWAKEUP)) { omap_hwmod_disable_wakeup() 3762 * omap_hwmod_for_each_by_class - call @fn for each hwmod of class @classname 3764 * @fn: callback function pointer to call for each hwmod in class @classname 3767 * For each omap_hwmod of class @classname, call @fn. 3784 pr_debug("omap_hwmod: %s: looking for modules of class %s\n", omap_hwmod_for_each_by_class() 3788 if (!strcmp(temp_oh->class->name, classname)) { omap_hwmod_for_each_by_class()
|
/linux-4.1.27/mm/ |
H A D | zsmalloc.c | 37 * zspage (class->zspage_order * PAGE_SIZE / class->size) 40 * page->mapping: class index and fullness group of the zspage 148 * determined). NOTE: all those class sizes must be set as multiple of 209 * Size of objects stored in this class. Must be multiple 264 * A zspage's class index and fullness group 436 * class maintains a list of zspages where each zspage is divided 439 * size class which has chunk size big enough to hold the give size. 454 static inline void zs_stat_inc(struct size_class *class, zs_stat_inc() argument 457 class->stats.objs[type] += cnt; zs_stat_inc() 460 static inline void zs_stat_dec(struct size_class *class, zs_stat_dec() argument 463 class->stats.objs[type] -= cnt; zs_stat_dec() 466 static inline unsigned long zs_stat_get(struct size_class *class, zs_stat_get() argument 469 return class->stats.objs[type]; zs_stat_get() 493 struct size_class *class; zs_stats_size_show() local 501 "class", "size", "almost_full", "almost_empty", zs_stats_size_show() 506 class = pool->size_class[i]; zs_stats_size_show() 508 if (class->index != i) zs_stats_size_show() 511 spin_lock(&class->lock); zs_stats_size_show() 512 class_almost_full = zs_stat_get(class, CLASS_ALMOST_FULL); zs_stats_size_show() 513 class_almost_empty = zs_stat_get(class, CLASS_ALMOST_EMPTY); zs_stats_size_show() 514 obj_allocated = zs_stat_get(class, OBJ_ALLOCATED); zs_stats_size_show() 515 obj_used = zs_stat_get(class, OBJ_USED); zs_stats_size_show() 516 spin_unlock(&class->lock); zs_stats_size_show() 518 objs_per_zspage = get_maxobj_per_zspage(class->size, zs_stats_size_show() 519 class->pages_per_zspage); zs_stats_size_show() 521 class->pages_per_zspage; zs_stats_size_show() 524 i, class->size, class_almost_full, class_almost_empty, zs_stats_size_show() 526 class->pages_per_zspage); zs_stats_size_show() 588 static inline void zs_stat_inc(struct size_class *class, zs_stat_inc() argument 593 static inline void zs_stat_dec(struct size_class *class, zs_stat_dec() argument 598 static inline unsigned long zs_stat_get(struct size_class *class, zs_stat_get() argument 626 * For each size class, zspages are divided into different groups 654 * Each size class maintains various freelists and zspages are assigned 657 * identified by <class, fullness_group>. 659 static void insert_zspage(struct page *page, struct size_class *class, insert_zspage() argument 669 head = &class->fullness_list[fullness]; insert_zspage() 674 zs_stat_inc(class, fullness == ZS_ALMOST_EMPTY ? insert_zspage() 680 * by <class, fullness_group>. 682 static void remove_zspage(struct page *page, struct size_class *class, remove_zspage() argument 692 head = &class->fullness_list[fullness]; remove_zspage() 701 zs_stat_dec(class, fullness == ZS_ALMOST_EMPTY ? remove_zspage() 706 * Each size class maintains zspages in different fullness groups depending 714 static enum fullness_group fix_fullness_group(struct size_class *class, fix_fullness_group() argument 727 remove_zspage(page, class, currfg); fix_fullness_group() 728 insert_zspage(page, class, newfg); fix_fullness_group() 737 * to form a zspage for each size class. This is important 744 * For example, for size class of 3/8 * PAGE_SIZE, we should 836 static unsigned long obj_to_head(struct size_class *class, struct page *page, obj_to_head() argument 839 if (class->huge) { obj_to_head() 912 static void init_zspage(struct page *first_page, struct size_class *class) init_zspage() argument 936 while ((off += class->size) < PAGE_SIZE) { init_zspage() 938 link += class->size / sizeof(*link); init_zspage() 955 * Allocate a zspage for the given size class 957 static struct page *alloc_zspage(struct size_class *class, gfp_t flags) alloc_zspage() argument 968 * For each size class, First/Head pages are linked together using alloc_zspage() 974 for (i = 0; i < class->pages_per_zspage; i++) { alloc_zspage() 994 if (i == class->pages_per_zspage - 1) /* last page */ alloc_zspage() 999 init_zspage(first_page, class); alloc_zspage() 1003 first_page->objects = class->pages_per_zspage * PAGE_SIZE / class->size; alloc_zspage() 1016 static struct page *find_get_zspage(struct size_class *class) find_get_zspage() argument 1022 page = class->fullness_list[i]; find_get_zspage() 1269 struct size_class *class; zs_map_object() local 1289 class = pool->size_class[class_idx]; zs_map_object() 1290 off = obj_idx_to_offset(page, obj_idx, class->size); zs_map_object() 1294 if (off + class->size <= PAGE_SIZE) { zs_map_object() 1306 ret = __zs_map_object(area, pages, off, class->size); zs_map_object() 1308 if (!class->huge) zs_map_object() 1322 struct size_class *class; zs_unmap_object() local 1330 class = pool->size_class[class_idx]; zs_unmap_object() 1331 off = obj_idx_to_offset(page, obj_idx, class->size); zs_unmap_object() 1334 if (off + class->size <= PAGE_SIZE) zs_unmap_object() 1343 __zs_unmap_object(area, pages, off, class->size); zs_unmap_object() 1351 struct size_class *class, unsigned long handle) obj_malloc() 1363 m_offset = obj_idx_to_offset(m_page, m_objidx, class->size); obj_malloc() 1368 if (!class->huge) obj_malloc() 1376 zs_stat_inc(class, OBJ_USED, 1); obj_malloc() 1394 struct size_class *class; zs_malloc() local 1406 class = pool->size_class[get_size_class_index(size)]; zs_malloc() 1408 spin_lock(&class->lock); zs_malloc() 1409 first_page = find_get_zspage(class); zs_malloc() 1412 spin_unlock(&class->lock); zs_malloc() 1413 first_page = alloc_zspage(class, pool->flags); zs_malloc() 1419 set_zspage_mapping(first_page, class->index, ZS_EMPTY); zs_malloc() 1420 atomic_long_add(class->pages_per_zspage, zs_malloc() 1423 spin_lock(&class->lock); zs_malloc() 1424 zs_stat_inc(class, OBJ_ALLOCATED, get_maxobj_per_zspage( zs_malloc() 1425 class->size, class->pages_per_zspage)); zs_malloc() 1428 obj = obj_malloc(first_page, class, handle); zs_malloc() 1430 fix_fullness_group(class, first_page); zs_malloc() 1432 spin_unlock(&class->lock); zs_malloc() 1438 static void obj_free(struct zs_pool *pool, struct size_class *class, obj_free() argument 1455 f_offset = obj_idx_to_offset(f_page, f_objidx, class->size); obj_free() 1462 if (class->huge) obj_free() 1467 zs_stat_dec(class, OBJ_USED, 1); obj_free() 1475 struct size_class *class; zs_free() local 1487 class = pool->size_class[class_idx]; zs_free() 1489 spin_lock(&class->lock); zs_free() 1490 obj_free(pool, class, obj); zs_free() 1491 fullness = fix_fullness_group(class, first_page); zs_free() 1493 zs_stat_dec(class, OBJ_ALLOCATED, get_maxobj_per_zspage( zs_free() 1494 class->size, class->pages_per_zspage)); zs_free() 1495 atomic_long_sub(class->pages_per_zspage, zs_free() 1499 spin_unlock(&class->lock); zs_free() 1507 struct size_class *class) zs_object_copy() 1516 s_size = d_size = class->size; zs_object_copy() 1521 s_off = obj_idx_to_offset(s_page, s_objidx, class->size); zs_object_copy() 1522 d_off = obj_idx_to_offset(d_page, d_objidx, class->size); zs_object_copy() 1524 if (s_off + class->size > PAGE_SIZE) zs_object_copy() 1527 if (d_off + class->size > PAGE_SIZE) zs_object_copy() 1538 if (written == class->size) zs_object_copy() 1553 s_size = class->size - written; zs_object_copy() 1562 d_size = class->size - written; zs_object_copy() 1576 struct size_class *class) find_alloced_obj() 1585 offset += class->size * index; find_alloced_obj() 1588 head = obj_to_head(class, page, addr + offset); find_alloced_obj() 1596 offset += class->size; find_alloced_obj() 1617 static int migrate_zspage(struct zs_pool *pool, struct size_class *class, migrate_zspage() argument 1629 handle = find_alloced_obj(s_page, index, class); migrate_zspage() 1646 free_obj = obj_malloc(d_page, class, handle); migrate_zspage() 1647 zs_object_copy(used_obj, free_obj, class); migrate_zspage() 1658 obj_free(pool, class, used_obj); migrate_zspage() 1670 static struct page *alloc_target_page(struct size_class *class) alloc_target_page() argument 1676 page = class->fullness_list[i]; alloc_target_page() 1678 remove_zspage(page, class, i); alloc_target_page() 1686 static void putback_zspage(struct zs_pool *pool, struct size_class *class, putback_zspage() argument 1694 insert_zspage(first_page, class, fullness); putback_zspage() 1695 set_zspage_mapping(first_page, class->index, fullness); putback_zspage() 1698 zs_stat_dec(class, OBJ_ALLOCATED, get_maxobj_per_zspage( putback_zspage() 1699 class->size, class->pages_per_zspage)); putback_zspage() 1700 atomic_long_sub(class->pages_per_zspage, putback_zspage() 1707 static struct page *isolate_source_page(struct size_class *class) isolate_source_page() argument 1711 page = class->fullness_list[ZS_ALMOST_EMPTY]; isolate_source_page() 1713 remove_zspage(page, class, ZS_ALMOST_EMPTY); isolate_source_page() 1719 struct size_class *class) __zs_compact() 1727 spin_lock(&class->lock); __zs_compact() 1728 while ((src_page = isolate_source_page(class))) { __zs_compact() 1737 while ((dst_page = alloc_target_page(class))) { __zs_compact() 1743 if (!migrate_zspage(pool, class, &cc)) __zs_compact() 1746 putback_zspage(pool, class, dst_page); __zs_compact() 1755 putback_zspage(pool, class, dst_page); __zs_compact() 1756 putback_zspage(pool, class, src_page); __zs_compact() 1757 spin_unlock(&class->lock); __zs_compact() 1760 spin_lock(&class->lock); __zs_compact() 1764 putback_zspage(pool, class, src_page); __zs_compact() 1766 spin_unlock(&class->lock); __zs_compact() 1775 struct size_class *class; zs_compact() local 1778 class = pool->size_class[i]; zs_compact() 1779 if (!class) zs_compact() 1781 if (class->index != i) zs_compact() 1783 nr_migrated += __zs_compact(pool, class); zs_compact() 1831 struct size_class *class; zs_create_pool() local 1854 class = kzalloc(sizeof(struct size_class), GFP_KERNEL); zs_create_pool() 1855 if (!class) zs_create_pool() 1858 class->size = size; zs_create_pool() 1859 class->index = i; zs_create_pool() 1860 class->pages_per_zspage = pages_per_zspage; zs_create_pool() 1863 class->huge = true; zs_create_pool() 1864 spin_lock_init(&class->lock); zs_create_pool() 1865 pool->size_class[i] = class; zs_create_pool() 1867 prev_class = class; zs_create_pool() 1891 struct size_class *class = pool->size_class[i]; zs_destroy_pool() local 1893 if (!class) zs_destroy_pool() 1896 if (class->index != i) zs_destroy_pool() 1900 if (class->fullness_list[fg]) { zs_destroy_pool() 1901 pr_info("Freeing non-empty class with size %db, fullness group %d\n", zs_destroy_pool() 1902 class->size, fg); zs_destroy_pool() 1905 kfree(class); zs_destroy_pool() 1350 obj_malloc(struct page *first_page, struct size_class *class, unsigned long handle) obj_malloc() argument 1506 zs_object_copy(unsigned long src, unsigned long dst, struct size_class *class) zs_object_copy() argument 1575 find_alloced_obj(struct page *page, int index, struct size_class *class) find_alloced_obj() argument 1718 __zs_compact(struct zs_pool *pool, struct size_class *class) __zs_compact() argument
|
/linux-4.1.27/include/linux/ |
H A D | ioprio.h | 8 * Gives us 8 prio classes with 13-bits of data for each class 16 #define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data) 22 * class, it always gets premium service. BE is the best-effort scheduling 23 * class, the default for any process. IDLE is the idle scheduling class, it 59 * This is for the case where the task hasn't asked for a specific IO class. 60 * Check for idle and rt task process, and return appropriate IO class.
|
H A D | transport_class.h | 19 struct class class; 30 .class = { \ 55 container_of(x, struct transport_class, class)
|
H A D | device.h | 37 struct class; 94 * @lock_key: Lock class key for use by the lock validator 307 * a specific functionality of a subsystem/class of devices. 326 * struct class - device classes 327 * @name: Name of the class. 329 * @class_attrs: Default attributes of this class. 330 * @dev_groups: Default attributes of the devices that belong to the class. 331 * @dev_kobj: The kobject that represents this class and links it into the hierarchy. 332 * @dev_uevent: Called when a device is added, removed from this class, or a 336 * @class_release: Called to release this class. 342 * @namespace: Namespace of the device belongs to this class. 343 * @pm: The default device power management operations of this class. 347 * A class is a higher-level view of a device that abstracts out low-level 349 * at the class level, they are all simply disks. Classes allow user space 353 struct class { 364 void (*class_release)(struct class *class); 385 extern int __must_check __class_register(struct class *class, 387 extern void class_unregister(struct class *class); 391 #define class_register(class) \ 394 __class_register(class, &__key); \ 406 struct class *class, 412 extern int class_for_each_device(struct class *class, struct device *start, 415 extern struct device *class_find_device(struct class *class, 421 ssize_t (*show)(struct class *class, struct class_attribute *attr, 423 ssize_t (*store)(struct class *class, struct class_attribute *attr, 434 extern int __must_check class_create_file_ns(struct class *class, 437 extern void class_remove_file_ns(struct class *class, 441 static inline int __must_check class_create_file(struct class *class, class_create_file() argument 444 return class_create_file_ns(class, attr, NULL); class_create_file() 447 static inline void class_remove_file(struct class *class, class_remove_file() argument 450 return class_remove_file_ns(class, attr, NULL); class_remove_file() 453 /* Simple class attribute that is just a static string */ 466 extern ssize_t show_class_attr_string(struct class *class, struct class_attribute *attr, 471 struct class *class; 480 extern struct class * __must_check __class_create(struct module *owner, 483 extern void class_destroy(struct class *cls); 494 * The type of device, "struct device" is embedded in. A class 662 * @kobj: A top-level, abstract class from which other classes are derived. 704 * @knode_class: The node used to add the device to the class list. 705 * @class: The class of the device. 784 struct class *class; 983 extern struct device *device_create_vargs(struct class *cls, 990 struct device *device_create(struct class *cls, struct device *parent, 994 struct device *device_create_with_groups(struct class *cls, 998 extern void device_destroy(struct class *cls, dev_t devt);
|
H A D | hid-roccat.h | 22 int roccat_connect(struct class *klass, struct hid_device *hid,
|
H A D | attribute_container.h | 20 struct class *class;
|
H A D | lockdep.h | 38 * Currently main class (subclass == 0) and signle depth subclass 63 * The lock-class itself: 67 * class-hash: 142 struct lock_class_stats lock_stats(struct lock_class *class); 143 void clear_lock_stats(struct lock_class *class); 147 * Map the lock object (the lock instance) to the lock-class object. 167 * Since the class cache can be modified concurrently we could observe lockdep_copy_map() 184 struct lock_class *class; 209 * to make 0 mean no class. This avoids overflowing the class_idx 292 * of dependencies wrong: they are either too broad (they need a class-split) 293 * or they are too narrow (they suffer from a false class-split): 412 * The class key takes no space if lockdep is disabled: 475 * For trivial one-depth nesting of a lock-class, the following 483 * on the per lock-class debug mode:
|
H A D | led-class-flash.h | 2 * LED Flash class interface 70 /* led class device */ 82 /* LED Flash class sysfs groups */ 93 * led_classdev_flash_register - register a new object of led_classdev class 104 * led_classdev_flash_unregister - unregisters an object of led_classdev class
|
H A D | ww_mutex.h | 65 #define __WW_MUTEX_INITIALIZER(lockname, class) \ 67 __WW_CLASS_MUTEX_INITIALIZER(lockname, class) } 78 * @ww_class: the w/w class the mutex should belong to 81 * class. 98 * @ww_class: w/w class of the context 100 * Initializes an context to acquire multiple mutexes of the given w/w class. 103 * a given lock class. Deadlocks will be detected and handled with the 108 * for the same w/w class when acquiring mutexes can also result in undetected 201 * Deadlocks within a given w/w class of locks are detected and handled with the 219 * of the same w/w lock class as was used to initialize the acquire context. 239 * Deadlocks within a given w/w class of locks are detected and handled with the 258 * of the same w/w lock class as was used to initialize the acquire context.
|
H A D | hwmon.h | 4 This file declares helper functions for the sysfs class "hwmon",
|
H A D | i2c-omap.h | 12 * code using these constants in the hwmod class definition.
|
H A D | leds-regulator.h | 42 char *name; /* LED name as expected by LED class */
|
H A D | power_supply.h | 2 * Universal power supply monitor class 26 * this class operates. 198 * Functions for drivers implementing power supply class. 266 * class itself does not use it, but that's what implementing most platform 336 extern struct class *power_supply_class; power_supply_is_system_supplied()
|
/linux-4.1.27/arch/avr32/boards/merisc/ |
H A D | merisc_sysfs.c | 21 static ssize_t merisc_model_show(struct class *class, char *buf) merisc_model_show() argument 31 static ssize_t merisc_revision_show(struct class *class, char *buf) merisc_revision_show() argument 47 struct class merisc_class = {
|
H A D | merisc.h | 16 extern struct class merisc_class;
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | err_ev7.h | 5 * Data for el packet class PAL (14), type LOGOUT_FRAME (1) 20 * Data for el packet class PAL (14), type EV7_PROCESSOR (4) 51 * Data for el packet class PAL (14), type EV7_ZBOX (5) 84 * Data for el packet class PAL (14), type EV7_RBOX (6) 107 * Data for el packet class PAL (14), type EV7_IO (7) 142 * class PAL (14), type AMBIENT_TEMPERATURE (10) 143 * class PAL (14), type AIRMOVER_FAN (11) 144 * class PAL (14), type VOLTAGE (12) 145 * class PAL (14), type INTRUSION (13) 146 * class PAL (14), type POWER_SUPPLY (14) 147 * class PAL (14), type LAN (15) 148 * class PAL (14), type HOT_PLUG (16) 172 * Data for generic el packet class PAL.
|
H A D | err_common.h | 82 u16 class; /* header class and type... */
|
/linux-4.1.27/arch/powerpc/perf/ |
H A D | mpc7450-pmu.c | 148 { 0x00000000, 0x00000000 }, /* class 0: no constraint */ 149 { 0x00800000, 0x00100000 }, /* class 1: G4 */ 150 { 0x00040000, 0x00010000 }, /* class 2: G3 */ 151 { 0x00004000, 0x00001000 }, /* class 3: G2 */ 157 int pmc, class; mpc7450_get_constraint() local 161 class = mpc7450_classify_event(event); mpc7450_get_constraint() 162 if (class < 0) mpc7450_get_constraint() 164 if (class == 4) { mpc7450_get_constraint() 169 mask = classbits[class][0]; mpc7450_get_constraint() 170 value = classbits[class][1]; mpc7450_get_constraint() 245 * Bitmaps of which PMCs each class can use for classes 0 - 3. 269 int i, j, class, tuse; mpc7450_compute_mmcr() local 277 /* First pass: count usage in each class */ mpc7450_compute_mmcr() 281 class = mpc7450_classify_event(event[i]); mpc7450_compute_mmcr() 282 if (class < 0) mpc7450_compute_mmcr() 284 j = n_classevent[class]++; mpc7450_compute_mmcr() 285 event_index[class][j] = i; mpc7450_compute_mmcr() 289 for (class = N_CLASSES - 1; class >= 0; --class) { mpc7450_compute_mmcr() 290 for (i = 0; i < n_classevent[class]; ++i) { mpc7450_compute_mmcr() 291 ev = event[event_index[class][i]]; mpc7450_compute_mmcr() 292 if (class == 4) { mpc7450_compute_mmcr() 298 pmc_avail = classmap[class] & ~pmc_inuse; mpc7450_compute_mmcr() 318 hwc[event_index[class][i]] = pmc - 1; mpc7450_compute_mmcr()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | mips_mt.h | 27 struct class; 28 extern struct class *mt_class;
|
H A D | cpu.h | 271 * R2000 class processors 277 * R6000 class processors 282 * R4000 class processors 292 * R8000 class processors 297 * TX3900 class processors 302 * MIPS32 class processors 310 * MIPS64 class processors
|
/linux-4.1.27/drivers/char/agp/ |
H A D | sis-agp.c | 242 .class = (PCI_CLASS_BRIDGE_HOST << 8), 250 .class = (PCI_CLASS_BRIDGE_HOST << 8), 258 .class = (PCI_CLASS_BRIDGE_HOST << 8), 266 .class = (PCI_CLASS_BRIDGE_HOST << 8), 274 .class = (PCI_CLASS_BRIDGE_HOST << 8), 282 .class = (PCI_CLASS_BRIDGE_HOST << 8), 290 .class = (PCI_CLASS_BRIDGE_HOST << 8), 298 .class = (PCI_CLASS_BRIDGE_HOST << 8), 306 .class = (PCI_CLASS_BRIDGE_HOST << 8), 314 .class = (PCI_CLASS_BRIDGE_HOST << 8), 322 .class = (PCI_CLASS_BRIDGE_HOST << 8), 330 .class = (PCI_CLASS_BRIDGE_HOST << 8), 338 .class = (PCI_CLASS_BRIDGE_HOST << 8), 346 .class = (PCI_CLASS_BRIDGE_HOST << 8), 354 .class = (PCI_CLASS_BRIDGE_HOST << 8), 362 .class = (PCI_CLASS_BRIDGE_HOST << 8), 370 .class = (PCI_CLASS_BRIDGE_HOST << 8), 378 .class = (PCI_CLASS_BRIDGE_HOST << 8), 386 .class = (PCI_CLASS_BRIDGE_HOST << 8), 394 .class = (PCI_CLASS_BRIDGE_HOST << 8), 402 .class = (PCI_CLASS_BRIDGE_HOST << 8), 410 .class = (PCI_CLASS_BRIDGE_HOST << 8),
|
H A D | amd64-agp.c | 615 .class = (PCI_CLASS_BRIDGE_HOST << 8), 624 .class = (PCI_CLASS_BRIDGE_HOST << 8), 633 .class = (PCI_CLASS_BRIDGE_HOST << 8), 642 .class = (PCI_CLASS_BRIDGE_HOST << 8), 651 .class = (PCI_CLASS_BRIDGE_HOST << 8), 660 .class = (PCI_CLASS_BRIDGE_HOST << 8), 669 .class = (PCI_CLASS_BRIDGE_HOST << 8), 678 .class = (PCI_CLASS_BRIDGE_HOST << 8), 687 .class = (PCI_CLASS_BRIDGE_HOST << 8), 695 .class = (PCI_CLASS_BRIDGE_HOST << 8), 704 .class = (PCI_CLASS_BRIDGE_HOST << 8), 713 .class = (PCI_CLASS_BRIDGE_HOST << 8), 722 .class = (PCI_CLASS_BRIDGE_HOST << 8),
|
/linux-4.1.27/drivers/net/fddi/skfp/ |
H A D | queue.c | 42 void queue_event(struct s_smc *smc, int class, int event) queue_event() argument 44 PRINTF("queue class %d event %d\n",class,event) ; queue_event() 45 smc->q.ev_put->class = class ; queue_event() 60 PRINTF("timer event class %d token %d\n", timer_event() 76 int class ; ev_dispatcher() local 81 PRINTF("dispatch class %d event %d\n",ev->class,ev->event) ; ev_dispatcher() 82 switch(class = ev->class) { ev_dispatcher() 103 if (class >= EVENT_PCMA && ev_dispatcher() 104 class < EVENT_PCMA + NUMPHYS) { ev_dispatcher() 105 pcm(smc,class - EVENT_PCMA,(int)ev->event) ; ev_dispatcher()
|
/linux-4.1.27/include/scsi/fc/ |
H A D | fc_encaps.h | 73 FC_SOF_I4 = 0x29, /* initiate class 4 */ 74 FC_SOF_I2 = 0x2d, /* initiate class 2 */ 75 FC_SOF_I3 = 0x2e, /* initiate class 3 */ 76 FC_SOF_N4 = 0x31, /* normal class 4 */ 77 FC_SOF_N2 = 0x35, /* normal class 2 */ 78 FC_SOF_N3 = 0x36, /* normal class 3 */ 79 FC_SOF_C4 = 0x39, /* activate class 4 */ 86 FC_EOF_DT = 0x46, /* disconnect-terminate class-1 */ 93 #define FC_SOF_CLASS_MASK 0x06 /* mask for class of service in SOF */ 99 FC_CLASS_NONE = 0, /* software value indicating no class */ 111 return (~sof) & 0x02; /* true for class 1, 2, 4, 6, or F */ fc_sof_needs_ack() 117 static inline enum fc_sof fc_sof_normal(enum fc_class class) fc_sof_normal() argument 119 return class + FC_SOF_N3 - FC_SOF_I3; /* diff is always 8 */ fc_sof_normal() 123 * Compute class from SOF value.
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
H A D | spu_priv1_mmio.c | 39 static void int_mask_and(struct spu *spu, int class, u64 mask) int_mask_and() argument 43 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); int_mask_and() 44 out_be64(&spu->priv1->int_mask_RW[class], old_mask & mask); int_mask_and() 47 static void int_mask_or(struct spu *spu, int class, u64 mask) int_mask_or() argument 51 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); int_mask_or() 52 out_be64(&spu->priv1->int_mask_RW[class], old_mask | mask); int_mask_or() 55 static void int_mask_set(struct spu *spu, int class, u64 mask) int_mask_set() argument 57 out_be64(&spu->priv1->int_mask_RW[class], mask); int_mask_set() 60 static u64 int_mask_get(struct spu *spu, int class) int_mask_get() argument 62 return in_be64(&spu->priv1->int_mask_RW[class]); int_mask_get() 65 static void int_stat_clear(struct spu *spu, int class, u64 stat) int_stat_clear() argument 67 out_be64(&spu->priv1->int_stat_RW[class], stat); int_stat_clear() 70 static u64 int_stat_get(struct spu *spu, int class) int_stat_get() argument 72 return in_be64(&spu->priv1->int_stat_RW[class]); int_stat_get()
|
H A D | interrupt.c | 66 unsigned char class = bits.class & 3; iic_pending_to_hwnum() local 72 return (node << IIC_IRQ_NODE_SHIFT) | (class << 4) | unit; iic_pending_to_hwnum() 253 unsigned int node, ext, unit, class; iic_host_xlate() local 267 class = (intspec[0] >> 8) & 0xff; iic_host_xlate() 276 if (unit == IIC_UNIT_IIC && class == 1) iic_host_xlate() 280 (class << IIC_IRQ_CLASS_SHIFT) | unit; iic_host_xlate()
|
/linux-4.1.27/drivers/s390/char/ |
H A D | tape_class.h | 4 * Tape class device support 7 * Based on simple class device code by Greg K-H 31 * Register a tape device and return a pointer to the tape class device 43 * of the cdev). This can also be called the name of the tape class 47 * name from the physical device to the logical device (class).
|
H A D | tape_class.c | 4 * Tape class device support 7 * Based on simple class device code by Greg K-H 24 static struct class *tape_class;
|
H A D | vmur.h | 14 #define DEV_CLASS_UR_I 0x20 /* diag210 unit record input device class */ 15 #define DEV_CLASS_UR_O 0x10 /* diag210 unit record output device class */ 70 int class; /* VM device class */
|
H A D | hmcdrv_dev.c | 34 * separated device class (and dynamically assigns a major number). If not 35 * defined then the HMC device is assigned to the "misc" class devices. 80 static struct class *hmcdrv_dev_class; /* device class pointer */ 308 * we have to create an associated class (see /sys/class). hmcdrv_dev_init()
|
/linux-4.1.27/scripts/kconfig/ |
H A D | qconf.h | 27 class ConfigView; 28 class ConfigList; 29 class ConfigItem; 30 class ConfigLineEdit; 31 class ConfigMainWindow; 33 class ConfigSettings : public QSettings { 50 class ConfigList : public Q3ListView { 52 typedef class Q3ListView Parent; 122 template <class P> 144 class ConfigItem : public Q3ListViewItem { 145 typedef class Q3ListViewItem Parent; 203 class ConfigLineEdit : public QLineEdit { 205 typedef class QLineEdit Parent; 219 class ConfigView : public Q3VBox { 221 typedef class Q3VBox Parent; 252 class ConfigInfoView : public Q3TextBrowser { 254 typedef class Q3TextBrowser Parent; 282 class ConfigSearchWindow : public QDialog { 284 typedef class QDialog Parent; 302 class ConfigMainWindow : public Q3MainWindow {
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_82599.c | 37 * @refill: refill credits index by traffic class 38 * @max: max credits index by traffic class 39 * @bwg_id: bandwidth grouping indexed by traffic class 40 * @prio_type: priority type indexed by traffic class 42 * Configure Rx Packet Arbiter and credits for each traffic class. 69 /* Configure traffic class credits and priority */ ixgbe_dcb_config_rx_arbiter_82599() 96 * @refill: refill credits index by traffic class 97 * @max: max credits index by traffic class 98 * @bwg_id: bandwidth grouping indexed by traffic class 99 * @prio_type: priority type indexed by traffic class 101 * Configure Tx Descriptor Arbiter and credits for each traffic class. 118 /* Configure traffic class credits and priority */ ixgbe_dcb_config_tx_desc_arbiter_82599() 147 * @refill: refill credits index by traffic class 148 * @max: max credits index by traffic class 149 * @bwg_id: bandwidth grouping indexed by traffic class 150 * @prio_type: priority type indexed by traffic class 152 * Configure Tx Packet Arbiter and credits for each traffic class. 179 /* Configure traffic class credits and priority */ ixgbe_dcb_config_tx_data_arbiter_82599() 211 * Configure Priority Flow Control (PFC) for each traffic class. 286 * ixgbe_dcb_config_tc_stats_82599 - Config traffic class statistics 290 * class uses a single set of queue statistics counters. 341 * @refill: refill credits index by traffic class 342 * @max: max credits index by traffic class 343 * @bwg_id: bandwidth grouping indexed by traffic class 344 * @prio_type: priority type indexed by traffic class
|
H A D | ixgbe_dcb.h | 53 /* Error in traffic class bandwidth allocation */ 55 /* Traffic class has both link strict and group strict enabled */ 57 /* Link strict traffic class has non zero bandwidth */ 61 /* Traffic class has zero bandwidth */ 98 /* Traffic class bandwidth allocation per direction */ 117 /* Traffic class configuration */ 123 u8 tc; /* Traffic class (TC) */
|
H A D | ixgbe_dcb_82598.c | 39 * Configure Rx Data Arbiter and credits for each traffic class. 64 /* Configure traffic class credits and priority */ ixgbe_dcb_config_rx_arbiter_82598() 96 * Configure Tx Descriptor Arbiter and credits for each traffic class. 118 /* Configure traffic class credits and priority */ ixgbe_dcb_config_tx_desc_arbiter_82598() 142 * Configure Tx Data Arbiter and credits for each traffic class. 161 /* Configure traffic class credits and priority */ ixgbe_dcb_config_tx_data_arbiter_82598() 189 * Configure Priority Flow Control for each traffic class. 238 * ixgbe_dcb_config_tc_stats_82598 - Configure traffic class statistics 242 * class uses a single set of queue statistics counters.
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | spu_priv1.h | 32 void (*int_mask_and) (struct spu *spu, int class, u64 mask); 33 void (*int_mask_or) (struct spu *spu, int class, u64 mask); 34 void (*int_mask_set) (struct spu *spu, int class, u64 mask); 35 u64 (*int_mask_get) (struct spu *spu, int class); 36 void (*int_stat_clear) (struct spu *spu, int class, u64 stat); 37 u64 (*int_stat_get) (struct spu *spu, int class); 57 spu_int_mask_and (struct spu *spu, int class, u64 mask) spu_int_mask_and() argument 59 spu_priv1_ops->int_mask_and(spu, class, mask); spu_int_mask_and() 63 spu_int_mask_or (struct spu *spu, int class, u64 mask) spu_int_mask_or() argument 65 spu_priv1_ops->int_mask_or(spu, class, mask); spu_int_mask_or() 69 spu_int_mask_set (struct spu *spu, int class, u64 mask) spu_int_mask_set() argument 71 spu_priv1_ops->int_mask_set(spu, class, mask); spu_int_mask_set() 75 spu_int_mask_get (struct spu *spu, int class) spu_int_mask_get() argument 77 return spu_priv1_ops->int_mask_get(spu, class); spu_int_mask_get() 81 spu_int_stat_clear (struct spu *spu, int class, u64 stat) spu_int_stat_clear() argument 83 spu_priv1_ops->int_stat_clear(spu, class, stat); spu_int_stat_clear() 87 spu_int_stat_get (struct spu *spu, int class) spu_int_stat_get() argument 89 return spu_priv1_ops->int_stat_get (spu, class); spu_int_stat_get()
|
H A D | reg_a2.h | 57 #define MMUCR1_ICTID 0x00080000 /* IERAT class field as TID */ 59 #define MMUCR1_DCTID 0x00020000 /* DERAT class field as TID */ 61 #define MMUCR1_DCCD 0x00008000 /* DERAT class ignore */
|
/linux-4.1.27/drivers/isdn/sc/ |
H A D | message.c | 61 "cnt:%d (type,class,code):(%d,%d,%d) " receivemessage() 70 rspmsg->class, receivemessage() 86 unsigned int class, sendmessage() 120 sndmsg.class = class; sendmessage() 153 "cnt:%d (type,class,code):(%d,%d,%d) " sendmessage() 161 sndmsg.class, sendmessage() 171 unsigned char class, send_and_receive() 188 retval = sendmessage(card, procid, type, class, code, link, send_and_receive() 209 (sc_adapter[card]->async_msg.class == class) && send_and_receive() 83 sendmessage(int card, unsigned int procid, unsigned int type, unsigned int class, unsigned int code, unsigned int link, unsigned int data_len, unsigned int *data) sendmessage() argument 168 send_and_receive(int card, unsigned int procid, unsigned char type, unsigned char class, unsigned char code, unsigned char link, unsigned char data_len, unsigned char *data, RspMessage *mesgdata, int timeout) send_and_receive() argument
|
H A D | message.h | 40 && (mesg.class == cmRspClass##cx) \ 48 && (mesg.class == ceRspClass##cx) \ 214 unsigned char class;
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | ioctl.h | 51 /* these class numbers are made up by us, and not nvidia-assigned */ 55 __u8 data[]; /* class data (class.h) */ 125 __u8 data[]; /* method data (class.h) */
|
/linux-4.1.27/include/uapi/linux/netfilter/ |
H A D | xt_LED.h | 7 char id[27]; /* Unique ID for this trigger in the LED class */
|
/linux-4.1.27/drivers/pci/ |
H A D | pci-stub.c | 26 "\"vendor:device[:subvendor[:subdevice[:class[:class_mask]]]]\"" 58 subdevice = PCI_ANY_ID, class = 0, class_mask = 0; pci_stub_init() local 66 &class, &class_mask); pci_stub_init() 76 vendor, device, subvendor, subdevice, class, class_mask); pci_stub_init() 79 subvendor, subdevice, class, class_mask, 0); pci_stub_init()
|
H A D | pci-driver.c | 37 * @class: PCI class 38 * @class_mask: PCI class mask 54 unsigned int class, unsigned int class_mask, pci_add_dynid() 67 dynid->id.class = class; pci_add_dynid() 105 subdevice = PCI_ANY_ID, class = 0, class_mask = 0; store_new_id() local 112 &class, &class_mask, &driver_data); store_new_id() 125 pdev->class = class; store_new_id() 152 class, class_mask, driver_data); store_new_id() 173 subdevice = PCI_ANY_ID, class = 0, class_mask = 0; store_remove_id() local 179 &class, &class_mask); store_remove_id() 190 !((id->class ^ class) & class_mask)) { store_remove_id() 776 if (pci_dev->class == PCI_CLASS_SERIAL_USB_EHCI) pci_pm_suspend_noirq() 1027 if (pci_dev->class == PCI_CLASS_SERIAL_USB_EHCI) pci_pm_poweroff_noirq() 1374 if (add_uevent_var(env, "PCI_CLASS=%04X", pdev->class)) pci_uevent() 1390 (u8)(pdev->class >> 16), (u8)(pdev->class >> 8), pci_uevent() 1391 (u8)(pdev->class))) pci_uevent() 51 pci_add_dynid(struct pci_driver *drv, unsigned int vendor, unsigned int device, unsigned int subvendor, unsigned int subdevice, unsigned int class, unsigned int class_mask, unsigned long driver_data) pci_add_dynid() argument
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | err_common.c | 97 if (header->class != EL_CLASS__HEADER) { el_process_header_subpacket() 100 header->class, header->type); el_process_header_subpacket() 135 header->class, header->type); el_process_header_subpacket() 143 header->class, header->type); el_process_header_subpacket() 163 for (; h && h->class != header->class; h = h->next); el_process_subpacket_reg() 200 switch(header->class) { el_process_subpacket() 212 header->class, header->type); el_process_subpacket() 227 if (a->class == header->class && el_annotate_subpacket() 253 for (err = 0; header && (header->class != EL_CLASS__TERMINATION); err++) cdl_process_console_data_log() 288 if ((a->class == new->class && a->type == new->type) || cdl_register_subpacket_annotation() 310 if (h->class == new->class || h == new) { cdl_register_subpacket_handler()
|
H A D | err_ev7.c | 30 * el_subpacket of class HEADER, type LOGOUT_FRAME. ev7_collect_logout_frame_subpackets() 32 if (el_ptr->class != EL_CLASS__HEADER || ev7_collect_logout_frame_subpackets() 43 * It has to be class PAL, type LOGOUT_FRAME. ev7_collect_logout_frame_subpackets() 45 if (el_ptr->class != EL_CLASS__PAL || ev7_collect_logout_frame_subpackets() 62 * All subpackets should be class PAL. ev7_collect_logout_frame_subpackets() 64 if (subpacket->class != EL_CLASS__PAL) { ev7_collect_logout_frame_subpackets() 67 err_print_prefix, subpacket->class, i); ev7_collect_logout_frame_subpackets() 238 if (header->class != EL_CLASS__PAL) { ev7_process_pal_subpacket() 241 header->class, header->type); ev7_process_pal_subpacket()
|
H A D | err_impl.h | 18 u16 class; 28 u16 class;
|
H A D | pci.c | 64 dev->class = PCI_CLASS_BRIDGE_ISA << 8; quirk_isa_bridge() 75 if (dev->class >> 8 == PCI_CLASS_STORAGE_IDE) { quirk_cypress() 93 if (dev->class >> 8 == PCI_CLASS_BRIDGE_ISA) { quirk_cypress() 109 unsigned int class = dev->class >> 8; pcibios_fixup_final() local 111 if (class == PCI_CLASS_BRIDGE_ISA || class == PCI_CLASS_BRIDGE_EISA) { pcibios_fixup_final() 248 (dev->class >> 8) == PCI_CLASS_BRIDGE_PCI) { pcibios_fixup_bus()
|
/linux-4.1.27/lib/ |
H A D | glob.c | 51 * Loop over each token (character or class) in pat, matching glob_match() 70 case '[': { /* Character class */ glob_match() 72 char const *class = pat + inverted; glob_match() local 73 unsigned char a = *class++; glob_match() 76 * Iterate over each span in the character class. glob_match() 86 if (class[0] == '-' && class[1] != ']') { glob_match() 87 b = class[1]; glob_match() 92 class += 2; glob_match() 96 } while ((a = *class++) != ']'); glob_match() 100 pat = class; glob_match() 186 /* Simple character class tests */ 197 /* Corner cases in character class parsing */
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_sysfs.c | 34 * __drm_class_suspend - internal DRM class suspend routine 56 * drm_class_suspend - internal DRM class suspend hook. Simply calls 66 * drm_class_freeze - internal DRM class freeze hook. Simply calls 76 * drm_class_resume - DRM class resume hook 117 * @name: pointer to a string for the name of this class. 119 * This is used to create DRM class pointer that can then be used 125 struct class *drm_sysfs_create(struct module *owner, char *name) drm_sysfs_create() 127 struct class *class; drm_sysfs_create() local 130 class = class_create(owner, name); drm_sysfs_create() 131 if (IS_ERR(class)) { drm_sysfs_create() 132 err = PTR_ERR(class); drm_sysfs_create() 136 class->pm = &drm_class_dev_pm_ops; drm_sysfs_create() 138 err = class_create_file(class, &class_attr_version.attr); drm_sysfs_create() 142 class->devnode = drm_devnode; drm_sysfs_create() 144 return class; drm_sysfs_create() 147 class_destroy(class); drm_sysfs_create() 153 * drm_sysfs_destroy - destroys DRM class 155 * Destroy the DRM device class. 570 kdev->class = drm_class; drm_sysfs_minor_alloc() 588 * drm_class_device_register - Register a struct device in the drm class. 593 * of the class member. In particular, the device_type member must 602 dev->class = drm_class; drm_class_device_register()
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-core.h | 52 extern void __init rtc_sysfs_init(struct class *); 58 static inline void rtc_sysfs_init(struct class *rtc) rtc_sysfs_init()
|
H A D | class.c | 2 * RTC subsystem, base class 7 * class skeleton from drivers/hwmon/hwmon.c 28 struct class *rtc_class; 155 * rtc_device_register - register w/ RTC class 158 * rtc_device_unregister() must be called when the class device is no 161 * Returns the pointer to the new struct class device. 204 rtc->dev.class = rtc_class; rtc_device_register() 265 * rtc_device_unregister - removes the previously registered RTC class device 267 * @rtc: the RTC class device to destroy 341 * @rtc: the RTC class device to unregister 361 pr_err("couldn't create class\n"); rtc_init() 381 MODULE_DESCRIPTION("RTC class support");
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | diag.h | 40 u8 vrdcvcla; /* virtual device class (output) */ 44 u8 vrdcrccl; /* real device class (output) */
|
/linux-4.1.27/tools/perf/util/ |
H A D | setup.py | 9 class build_ext(_build_ext): 15 class install_lib(_install_lib):
|
/linux-4.1.27/tools/usb/usbip/libsrc/ |
H A D | usbip_common.c | 262 void usbip_names_get_class(char *buff, size_t size, uint8_t class, usbip_names_get_class() argument 267 if (class == 0 && subclass == 0 && protocol == 0) { usbip_names_get_class() 268 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); usbip_names_get_class() 272 p = names_protocol(class, subclass, protocol); usbip_names_get_class() 276 s = names_subclass(class, subclass); usbip_names_get_class() 280 c = names_class(class); usbip_names_get_class() 282 c = "unknown class"; usbip_names_get_class() 284 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); usbip_names_get_class()
|
H A D | names.c | 55 struct class { struct 56 struct class *next; 97 static struct class *classes[HASHSZ] = { NULL, }; 125 struct class *c; names_class() 248 struct class *c; new_class() 255 c = my_malloc(sizeof(struct class) + strlen(name)); new_class() 356 /* class spec */ parse() 361 err("Invalid class spec at line %u", linectr); parse() 368 err("Invalid class spec at line %u", linectr); parse() 372 err("Duplicate class spec at line %u class %04x %s", parse() 374 dbg("line %5u class %02x %s", linectr, u, cp); parse() 425 err("Duplicate subclass spec at line %u class %02x:%02x %s", parse() 457 err("Duplicate protocol spec at line %u class %02x:%02x:%02x %s", parse()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv40.h | 8 /* returns 1 if device is one of the nv4x using the 0x4497 object class,
|
/linux-4.1.27/tools/testing/selftests/firmware/ |
H A D | fw_userhelper.sh | 12 OLD_TIMEOUT=$(cat /sys/class/firmware/timeout) 19 echo "$OLD_TIMEOUT" >/sys/class/firmware/timeout 58 echo 1 >/sys/class/firmware/timeout 69 echo 4 >/sys/class/firmware/timeout
|
H A D | fw_filesystem.sh | 12 OLD_TIMEOUT=$(cat /sys/class/firmware/timeout) 20 echo "$OLD_TIMEOUT" >/sys/class/firmware/timeout 29 echo 1 >/sys/class/firmware/timeout
|
/linux-4.1.27/include/linux/extcon/ |
H A D | extcon-gpio.h | 2 * External connector (extcon) class generic GPIO driver 7 * based on switch class driver 36 * If NULL, default method of extcon class is used. 38 * If NUll, default method of extcon class is used.
|
/linux-4.1.27/drivers/usb/core/ |
H A D | file.c | 58 struct class *class; member in struct:usb_class 87 usb_class->class = class_create(THIS_MODULE, "usbmisc"); init_usb_class() 88 if (IS_ERR(usb_class->class)) { init_usb_class() 89 result = PTR_ERR(usb_class->class); init_usb_class() 95 usb_class->class->devnode = usb_devnode; init_usb_class() 104 class_destroy(usb_class->class); release_usb_class() 143 * This function also creates a usb class device in the sysfs tree. 193 /* create a usb class device for this usb interface */ usb_register_dev() 200 intf->usb_dev = device_create(usb_class->class, &intf->dev, usb_register_dev() 224 * This function also removes the usb class device from the sysfs tree. 240 device_destroy(usb_class->class, MKDEV(USB_MAJOR, intf->minor)); usb_deregister_dev()
|
/linux-4.1.27/include/linux/power/ |
H A D | smartreflex.h | 213 * The smartreflex class driver should pass the class type. 222 * struct omap_sr_class_data - Smartreflex class driver info 224 * @enable: API to enable a particular class smaartreflex. 225 * @disable: API to disable a particular class smartreflex. 226 * @configure: API to configure a particular class smartreflex. 227 * @notify: API to notify the class driver about an event in SR. 229 * @notify_flags: specify the events to be notified to the class driver 230 * @class_type: specify which smartreflex class. 231 * Can be used by the SR driver to take any class 301 /* Smartreflex driver hooks to be called from Smartreflex class driver */ 308 /* API to register the smartreflex class driver with the smartreflex driver */
|
/linux-4.1.27/include/uapi/linux/ |
H A D | hid.h | 31 * USB HID (Human Interface Device) interface class code 45 * HID class requests 56 * HID class descriptor types
|
H A D | ip6_tunnel.h | 11 /* copy the traffic class field from the inner packet */ 28 __be32 flowinfo; /* traffic class and flowlabel for tunnel */ 40 __be32 flowinfo; /* traffic class and flowlabel for tunnel */
|
H A D | fib_rules.h | 45 FRA_FLOW, /* flow/class id */
|
H A D | dcbnl.h | 38 * @tc_tx_bw: tc tx bandwidth indexed by traffic class 39 * @tc_rx_bw: tc rx bandwidth indexed by traffic class 40 * @tc_tsa: TSA Assignment table, indexed by traffic class 41 * @prio_tc: priority assignment table mapping 8021Qp to traffic class 42 * @tc_reco_bw: recommended tc bandwidth indexed by traffic class for TLV 43 * @tc_reco_tsa: recommended tc bandwidth indexed by traffic class for TLV 44 * @reco_prio_tc: recommended tc tx bandwidth indexed by traffic class for TLV 75 * @tc_maxrate: maximal tc tx bandwidth indexed by traffic class 550 * @DCB_TC_ATTR_PARAM_PGID: (NLA_U8) Priority group the traffic class belongs to 552 * @DCB_TC_ATTR_PARAM_UP_MAPPING: (NLA_U8) Traffic class to user priority map 562 * priority group this traffic class belongs to 563 * @DCB_TC_ATTR_PARAM_ALL: (NLA_FLAG) all traffic class parameters 587 * traffic class mapping 652 * @DCB_NUMTCS_ATTR_ALL: (NLA_FLAG) all traffic class attributes
|
H A D | v4l2-controls.h | 55 #define V4L2_CTRL_CLASS_CAMERA 0x009a0000 /* Camera class controls */ 66 /* User-class control IDs */ 146 /* USER-class private control IDs */ 177 /* MPEG-class control IDs */ 544 * Although VP8 is not part of MPEG we add these controls to the MPEG class 545 * as that class is already handling other video compression standards 575 /* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */ 616 /* MPEG-class control IDs specific to the Samsung MFC 5.1 driver as defined by V4L2 */ 644 /* Camera class control IDs */ 756 /* FM Modulator class control IDs */ 842 /* JPEG-class control IDs */ 890 /* DV-class control IDs defined by V4L2 */ 944 /* Detection-class control IDs defined by V4L2 */
|
/linux-4.1.27/include/linux/mmc/ |
H A D | sd.h | 16 /* class 0 */ 22 /* class 10 */ 25 /* class 5 */
|
H A D | sdio_func.h | 44 unsigned char class; /* standard interface class */ 93 * specific device. The class field will be set to SDIO_ANY_ID. 96 .class = SDIO_ANY_ID, \ 100 * SDIO_DEVICE_CLASS - macro used to describe a specific SDIO device class 108 .class = (dev_class), \
|
H A D | mmc.h | 28 /* class 1 */ 49 /* class 2 */ 56 /* class 3 */ 59 /* class 4 */ 66 /* class 6 */ 71 /* class 5 */ 76 /* class 9 */ 80 /* class 7 */ 83 /* class 8 */
|
/linux-4.1.27/net/sched/ |
H A D | sch_htb.c | 17 * helped a lot to locate nasty class stall bug 48 it allows to assign priority to each class in hierarchy. 52 Each class is assigned level. Leaf has ALWAYS level 0 and root 72 /* used internaly to keep status of single class */ 74 HTB_CANT_SEND, /* class can't send and can't borrow */ 75 HTB_MAY_BORROW, /* class can't send but may borrow */ 76 HTB_CAN_SEND /* class can send */ 85 /* When class changes from state 1->2 and disconnects from 106 struct tcf_proto __rcu *filter_list; /* class attached filters */ 108 int refcnt; /* usage count of this class */ 112 struct htb_class *parent; /* parent class */ 140 enum htb_cmode cmode; /* current mode of the class */ 152 int defcls; /* class where unclassified flows go to */ 180 /* find class in global hash table using given handle */ htb_find() 193 * htb_classify - classify a packet into class 196 * should be passed directly thru. In all other cases leaf class is returned. 197 * We allow direct class selection by classid in priority. The we examine 215 /* allow to select class by setting skb->priority to valid classid; htb_classify() 225 /* Start with inner filter chain if a non-leaf class is selected */ htb_classify() 242 cl = (void *)res.class; htb_classify() 253 /* we have got inner class; apply inner filter chain */ htb_classify() 256 /* classification failed; try to use default class */ htb_classify() 264 * htb_add_to_id_tree - adds class to the round robin list 266 * Routine adds class to the list (actually tree) sorted by classid. 267 * Make sure that class is not already on such list for given prio. 289 * htb_add_to_wait_tree - adds class to the event queue with delay 291 * The class is added to priority event queue to indicate that class will 292 * change its mode in cl->pq_key microseconds. Make sure that class is not 333 * htb_add_class_to_row - add class to its row 335 * The class is added to row at priorities marked in mask. 362 * htb_remove_class_from_row - removes class from its row 364 * The class is removed from row at priorities marked in mask. 391 * The class is connected to ancestors and/or appropriate rows 424 * htb_deactivate_prios - remove class from feed chain 484 * htb_class_mode - computes and returns current class mode 489 * Also it is worth to note that class mode doesn't change simply 516 * and add class to the wait event queue if appropriate. New mode should 561 * with non-active leaf. It also removes class from the drop list. 642 * In such case we remove class from event queue first. 727 /* Returns class->node+prio from id-tree where classe's id is >= id. NULL 751 * htb_lookup_leaf - returns next leaf class in DRR order 810 * you are sure that there is active class at prio/level 820 /* look initial class up in the row */ htb_dequeue_tree() 828 /* class can be empty - it is unlikely but can be true if leaf htb_dequeue_tree() 831 * simply deactivate and skip such class htb_dequeue_tree() 944 /* try to drop from each class (by prio) until one succeed */ htb_drop() 1101 * no change can happen on the class parameters. htb_dump_class() 1204 /* the root class */ htb_parent_last_child() 1255 * because filter need its target class alive to be able to call htb_destroy() 1282 * tc subsys guarantee us that in htb_destroy it holds no class htb_delete() 1372 if (!cl) { /* new class */ htb_change_class() 1456 /* set class to be in HTB_CAN_SEND state */ htb_change_class() 1498 pr_warn("HTB: quantum of class %X is small. Consider r2q change.\n", htb_change_class() 1503 pr_warn("HTB: quantum of class %X is big. Consider r2q change.\n", htb_change_class() 1544 * leaves. But at least tc_index filter uses this just to get class htb_bind_filter() 1548 * another way to "lock" the class - unlike "get" this lock can htb_bind_filter() 1549 * be broken by class during destroy IIUC. htb_bind_filter()
|
H A D | sch_hfsc.c | 47 * when a class has an upperlimit, the fit-time is computed from the 49 * a class whose fit-time exceeds the current time. 118 unsigned int level; /* class level in hierarchy */ 123 struct hfsc_class *cl_parent; /* parent class */ 142 u64 cl_f; /* time when this class will fit for 145 class's own upperlimit curve) */ 176 u16 defcls; /* default class id */ 177 struct hfsc_class root; /* root class */ 178 struct Qdisc_class_hash clhash; /* class hash */ 180 struct list_head droplist; /* active leaf class list (for 225 /* find the class with the minimum deadline among the eligible classes */ 242 /* find the class with minimum eligible time among the eligible classes */ 256 * time. each intermediate class has one vttree. 305 * get the leaf class with the minimum vt in the hierarchy 310 /* if root-class's cfmin is bigger than cur_time nothing to do */ vttree_get_minvt() 695 * change, don't decrease vt of the class. init_vf() 741 /* class has upper limit curve */ init_vf() 787 /* update cvtmax of the parent class */ update_vf() 791 /* remove this class from the vt tree */ update_vf() 807 * if vt of the class is smaller than cvtmin, update_vf() 808 * the class was skipped in the past due to non-fit. update_vf() 831 * a rate-limited class from going greedy. update_vf() 874 * needs to be called explicitly to remove a class from vttree. set_passive() 1178 cl = (struct hfsc_class *)res.class; hfsc_classify() 1188 return cl; /* hit leaf class */ hfsc_classify() 1195 /* classification failed, try default class */ hfsc_classify() 1632 * find the class with the minimum deadline among hfsc_dequeue() 1641 * get the class with the minimum vt in the hierarchy hfsc_dequeue() 1672 /* the class becomes passive */ hfsc_dequeue()
|
H A D | sch_qfq.c | 51 number of groups. Which group a class belongs to depends on the 52 ratio between the maximum packet length for the class and the weight 53 of the class. Groups have their own S and F. In the end, QFQ+ 100 * Shifts used for aggregate<->group mapping. We allow class weights that are 158 u32 class_weight; /* Weight of each class in this aggregate. */ 322 /* Add class to aggregate. */ qfq_add_to_agg() 330 if (cl->qdisc->q.qlen > 0) { /* adding an active class */ qfq_add_to_agg() 353 /* Deschedule class from within its parent aggregate. */ qfq_deactivate_class() 364 /* Remove class from its parent aggregate. */ qfq_rm_from_agg() 377 /* Deschedule class and remove it from its parent aggregate. */ qfq_deact_rm_from_agg() 380 if (cl->qdisc->q.qlen > 0) /* class is active */ qfq_deact_rm_from_agg() 386 /* Move class to a new aggregate, matching the new class weight and/or lmax */ qfq_change_agg() 460 if (cl != NULL) { /* modify existing class */ qfq_change_class() 473 /* create and init new class */ qfq_change_class() 733 cl = (struct qfq_class *)res.class; qfq_classify() 864 * if the parameters of some class are changed. 885 * for agg is a recent change of the parameters of some class. If the 886 * weight of a class is increased or the lmax (max_pkt_size) of the 887 * class is decreased, then a new aggregate with smaller slot size 888 * than the original parent aggregate of the class may happen to be 890 * delayed to when the service of the class has finished in the ideal 900 * of a class. 999 /* Dequeue head packet of the head class in the DRR queue of the aggregate. */ agg_dequeue() 1121 * class, then choose the next aggregate to serve. qfq_dequeue() 1162 /* If lmax is lowered, through qfq_change_class, for a class qfq_dequeue() 1239 pr_debug("qfq: increasing maxpkt from %u to %u for class %u", qfq_enqueue() 1271 /* schedule class for service within the aggregate */ qfq_enqueue()
|
H A D | sch_cbq.c | 50 incomplete, delay may actually be estimated even if class 65 --- Linux has no EOI event, so that we cannot estimate true class 77 struct cbq_class *next_alive; /* next class with backlog in this priority band */ 80 unsigned char priority; /* class priority */ 108 struct cbq_class *share; /* Ptr to LS parent in the class tree */ 109 struct cbq_class *tparent; /* Ptr to tree parent in the class tree */ 110 struct cbq_class *borrow; /* NULL if class is bandwidth limited; 121 unsigned char level; /* level of the class in hierarchy: 247 cl = (void *)res.class; cbq_classify() 274 * Step 3+n. If classifier selected a link sharing class, cbq_classify() 296 * A packet has just been enqueued on the empty class. 297 * cbq_activate_class adds it to the tail of active class list 320 * Unlink class from active chain. 407 /* TC_CBQ_OVL_CLASSIC: (default) penalize leaf class by adding offtime */ 525 /* TC_CBQ_OVL_LOWPRIO: penalize class by lowering its priority band */ 541 /* TC_CBQ_OVL_DROP: penalize class by dropping */ 665 * We "regenerate" toplevel cutoff, if transmitting class 743 /* Calculate expected time, when this class cbq_update() 755 * To maintain the rate allocated to the class, cbq_update() 895 /* Was it the last class in this band? */ cbq_dequeue_prio() 973 * 3. Root class is overlimit. cbq_dequeue() 978 * an arbitrary class is appropriate for ancestor-only cbq_dequeue() 1006 /* CBQ class maintanance routines */ 1047 pr_warn("CBQ: class %08x has bad quantum==%ld, repaired.\n", cbq_normalize_quanta() 1771 /* Change class parameters */ cbq_change_class()
|
/linux-4.1.27/arch/powerpc/platforms/ps3/ |
H A D | spu.c | 95 * @masks[]: Array of cached spe interrupt masks, indexed by class. 479 static void int_mask_and(struct spu *spu, int class, u64 mask) int_mask_and() argument 484 old_mask = spu_int_mask_get(spu, class); int_mask_and() 485 spu_int_mask_set(spu, class, old_mask & mask); int_mask_and() 488 static void int_mask_or(struct spu *spu, int class, u64 mask) int_mask_or() argument 492 old_mask = spu_int_mask_get(spu, class); int_mask_or() 493 spu_int_mask_set(spu, class, old_mask | mask); int_mask_or() 496 static void int_mask_set(struct spu *spu, int class, u64 mask) int_mask_set() argument 498 spu_pdata(spu)->cache.masks[class] = mask; int_mask_set() 499 lv1_set_spe_interrupt_mask(spu_pdata(spu)->spe_id, class, int_mask_set() 500 spu_pdata(spu)->cache.masks[class]); int_mask_set() 503 static u64 int_mask_get(struct spu *spu, int class) int_mask_get() argument 505 return spu_pdata(spu)->cache.masks[class]; int_mask_get() 508 static void int_stat_clear(struct spu *spu, int class, u64 stat) int_stat_clear() argument 512 lv1_clear_spe_interrupt_status(spu_pdata(spu)->spe_id, class, int_stat_clear() 516 static u64 int_stat_get(struct spu *spu, int class) int_stat_get() argument 520 lv1_get_spe_interrupt_status(spu_pdata(spu)->spe_id, class, &stat); int_stat_get()
|
/linux-4.1.27/net/core/ |
H A D | ptp_classifier.c | 35 * ret a ; return PTP class 48 * ret a ; return PTP class 62 * ret a ; return PTP class 77 * ret a ; return PTP class 90 * ret a ; return PTP class 102 * ret a ; return PTP class
|
/linux-4.1.27/arch/x86/pci/ |
H A D | early.c | 91 u32 class; early_dump_pci_devices() local 94 class = read_pci_config(bus, slot, func, early_dump_pci_devices() 96 if (class == 0xffffffff) early_dump_pci_devices()
|
/linux-4.1.27/kernel/sched/ |
H A D | stop_task.c | 4 * stop-task scheduling class. 90 BUG(); /* its impossible to change to this class */ switched_to_stop() 110 * Simple, special scheduling class for the per-CPU stop tasks:
|
H A D | idle_task.c | 4 * idle-task scheduling class. 83 * Simple, special scheduling class for the per-CPU idle tasks:
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
H A D | conf_space_quirks.c | 24 !((id->class ^ dev->class) & id->class_mask)) match_one_device() 107 quirk->devid.class = 0; xen_pcibk_config_quirks_init()
|
/linux-4.1.27/drivers/iommu/ |
H A D | iommu-sysfs.c | 2 * IOMMU sysfs class support 18 * We provide a common class "devices" group which initially has no attributes. 40 static struct class iommu_class = { 71 dev->class = &iommu_class; iommu_device_create()
|
/linux-4.1.27/drivers/i2c/ |
H A D | i2c-mux.c | 94 unsigned int class = 0; i2c_mux_parent_classes() local 97 class |= parent->class; i2c_mux_parent_classes() 101 return class; i2c_mux_parent_classes() 107 unsigned int class, i2c_add_mux_adapter() 149 /* Sanity check on class */ i2c_add_mux_adapter() 150 if (i2c_mux_parent_classes(parent) & class) i2c_add_mux_adapter() 155 priv->adap.class = class; i2c_add_mux_adapter() 104 i2c_add_mux_adapter(struct i2c_adapter *parent, struct device *mux_dev, void *mux_priv, u32 force_nr, u32 chan_id, unsigned int class, int (*select) (struct i2c_adapter *, void *, u32), int (*deselect) (struct i2c_adapter *, void *, u32)) i2c_add_mux_adapter() argument
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | xo15-ebook.c | 93 char *name, *class; ebook_switch_add() local 109 class = acpi_device_class(device); ebook_switch_add() 118 sprintf(class, "%s/%s", XO15_EBOOK_CLASS, XO15_EBOOK_SUBCLASS); ebook_switch_add() 163 .class = XO15_EBOOK_CLASS,
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | glue.h | 13 * when we're only targeting one class of TLB, or indirect calls
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | rl6231.h | 2 * rl6231.h - RL6231 class device shared support
|
H A D | rl6231.c | 2 * rl6231.c - RL6231 class device shared support 131 MODULE_DESCRIPTION("RL6231 class device shared support");
|
/linux-4.1.27/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | EventClass.py | 7 # PerfEvent is the base class for all perf event sample, PebsEvent 34 class PerfEvent(object): 53 class PebsEvent(PerfEvent): 82 class PebsNHM(PebsEvent):
|
/linux-4.1.27/net/netfilter/ |
H A D | nf_conntrack_expect.c | 56 master_help->expecting[exp->class]--; nf_ct_unlink_expect_report() 229 return a->master == b->master && a->class == b->class && expect_matches() 264 void nf_ct_expect_init(struct nf_conntrack_expect *exp, unsigned int class, nf_ct_expect_init() argument 278 exp->class = class; nf_ct_expect_init() 348 master_help->expecting[exp->class]++; nf_ct_expect_insert() 359 helper->expect_policy[exp->class].timeout * HZ; nf_ct_expect_insert() 375 if (exp->class == new->class) evict_oldest_expect() 418 p = &helper->expect_policy[expect->class]; __nf_ct_expect_check() 420 master_help->expecting[expect->class] >= p->max_expected) { __nf_ct_expect_check() 422 if (master_help->expecting[expect->class] __nf_ct_expect_check() 560 if (helper->expect_policy[expect->class].name) exp_seq_show() 562 helper->expect_policy[expect->class].name); exp_seq_show()
|
/linux-4.1.27/arch/parisc/math-emu/ |
H A D | fpudispatch.c | 118 * extract the two bit class field from the FP instruction. The class is at bit 123 * extract the 3 bit subop field. For all but class 1 instructions, it is 128 * extract the 2 or 3 bit subop field from class 1 instructions. It is located 197 u_int class, subop; fpudispatch() local 207 class = get_class(ir); fpudispatch() 208 if (class == 1) { fpudispatch() 217 if (FPUDEBUG) printk("class %d subop %d\n", class, subop); fpudispatch() 222 return(decode_0c(ir,class,subop,fpregs)); fpudispatch() 224 return(decode_0e(ir,class,subop,fpregs)); fpudispatch() 252 u_int class, subop, major; emfpudispatch() local 261 class = get_class(ir); emfpudispatch() 262 if (class == 1) { emfpudispatch() 272 return(decode_0c(ir,class,subop,fpregs)); emfpudispatch() 274 return(decode_0e(ir,class,subop,fpregs)); emfpudispatch() 288 decode_0c(u_int ir, u_int class, u_int subop, u_int fpregs[]) decode_0c() argument 291 u_int fmt; /* also sf for class 1 conversions */ decode_0c() 292 u_int df; /* for class 1 conversions */ decode_0c() 307 if (t == 0 && class != 2) /* don't allow fr0 as a dest */ decode_0c() 311 switch (class) { decode_0c() 406 case 1: /* class 1 */ decode_0c() 529 case 2: /* class 2 */ decode_0c() 627 case 3: /* class 3 */ decode_0c() 697 } /* end of class 3 switch */ decode_0c() 698 } /* end of switch(class) */ decode_0c() 705 decode_0e(ir,class,subop,fpregs) decode_0e() 706 u_int ir,class,subop; decode_0e() 710 u_int fmt; /* also sf for class 1 conversions */ decode_0e() 711 u_int df; /* dest format for class 1 conversions */ decode_0e() 722 if (t == 0 && class != 2) decode_0e() 724 if (class < 2) /* class 0 or 1 has 2 bit fmt */ decode_0e() 726 else /* class 2 and 3 have 1 bit fmt */ decode_0e() 735 if (class != 1) decode_0e() 739 switch (class) { decode_0e() 815 case 1: /* class 1 */ decode_0e() 935 case 2: /* class 2 */ decode_0e() 1010 case 3: /* class 3 */ decode_0e() 1032 * Note that fmt is only 1 bit for class 3 */ decode_0e() 1105 } /* end of class 3 switch */ decode_0e() 1106 } /* end of switch(class) */ decode_0e()
|
/linux-4.1.27/drivers/hwmon/ |
H A D | hwmon.c | 4 * This file defines the sysfs class "hwmon", for use by sensors drivers. 74 static struct class hwmon_class = { 118 hwdev->dev.class = &hwmon_class; hwmon_device_register_with_groups() 154 * hwmon_device_unregister - removes the previously registered class device 156 * @dev: the class device to destroy 167 "hwmon_device_unregister() failed: bad class ID!\n"); hwmon_device_unregister() 270 pr_err("couldn't register hwmon sysfs class\n"); hwmon_init() 285 MODULE_DESCRIPTION("hardware monitoring sysfs/class support");
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | sdio_bus.c | 45 sdio_config_attr(class, "0x%02x\n"); 54 func->class, func->vendor, func->device); modalias_show() 70 if (id->class != (__u8)SDIO_ANY_ID && id->class != func->class) sdio_match_one() 87 while (ids->class || ids->vendor || ids->device) { sdio_match_device() 114 "SDIO_CLASS=%02X", func->class)) sdio_bus_uevent() 123 func->class, func->vendor, func->device)) sdio_bus_uevent()
|
/linux-4.1.27/drivers/parport/ |
H A D | probe.c | 45 printk (": %s", classes[info->class].descr); pretty_print() 46 if (info->class) pretty_print() 96 info->class = i; parse_data() 100 printk(KERN_WARNING "%s probe: warning, class '%s' not understood.\n", port->name, sep); parse_data() 101 info->class = PARPORT_CLASS_OTHER; parse_data() 122 /* If the device didn't tell us its class, maybe we have managed to parse_data() 124 if (info->class == PARPORT_CLASS_UNSPEC) parse_data() 125 info->class = guessed_class; parse_data()
|
/linux-4.1.27/kernel/trace/ |
H A D | trace_event_perf.c | 119 ret = tp_event->class->reg(tp_event, TRACE_REG_PERF_REGISTER, NULL); perf_trace_event_reg() 152 tp_event->class->reg(tp_event, TRACE_REG_PERF_UNREGISTER, NULL); perf_trace_event_unreg() 176 return tp_event->class->reg(tp_event, TRACE_REG_PERF_OPEN, p_event); perf_trace_event_open() 182 tp_event->class->reg(tp_event, TRACE_REG_PERF_CLOSE, p_event); perf_trace_event_close() 216 tp_event->class && tp_event->class->reg && perf_trace_init() 253 return tp_event->class->reg(tp_event, TRACE_REG_PERF_ADD, p_event); perf_trace_add() 260 tp_event->class->reg(tp_event, TRACE_REG_PERF_DEL, p_event); perf_trace_del()
|
H A D | trace_events.c | 73 if (!event_call->class->get_fields) trace_get_fields() 74 return &event_call->class->fields; trace_get_fields() 75 return event_call->class->get_fields(event_call); trace_get_fields() 138 if (WARN_ON(!call->class)) trace_define_field() 264 call->class->probe, ftrace_event_reg() 268 call->class->probe, ftrace_event_reg() 275 call->class->perf_probe, ftrace_event_reg() 279 call->class->perf_probe, ftrace_event_reg() 351 call->class->reg(call, TRACE_REG_UNREGISTER, file); __ftrace_event_enable_disable() 386 ret = call->class->reg(call, TRACE_REG_REGISTER, file); __ftrace_event_enable_disable() 528 if (!name || !call->class || !call->class->reg) __ftrace_set_clr_event_nolock() 536 strcmp(match, call->class->system) != 0) __ftrace_set_clr_event_nolock() 539 if (sub && strcmp(sub, call->class->system) != 0) __ftrace_set_clr_event_nolock() 686 if (call->class && call->class->reg && t_next() 749 if (strcmp(call->class->system, TRACE_SYSTEM) != 0) t_show() 750 seq_printf(m, "%s:", call->class->system); t_show() 844 if (!ftrace_event_name(call) || !call->class || !call->class->reg) system_enable_read() 847 if (system && strcmp(call->class->system, system->name) != 0) system_enable_read() 1588 if (strcmp(call->class->system, TRACE_SYSTEM) != 0) { event_create_dir() 1589 d_events = event_subsystem_dir(tr, call->class->system, file, parent); event_create_dir() 1602 if (call->class->reg && !(call->flags & TRACE_EVENT_FL_IGNORE_ENABLE)) event_create_dir() 1607 if (call->event.type && call->class->reg) event_create_dir() 1614 * Other events may have the same class. Only update event_create_dir() 1619 ret = call->class->define_fields(call); event_create_dir() 1696 if (call->class->raw_init) { event_init() 1697 ret = call->class->raw_init(call); event_init() 1828 if (!last_system || call->class->system != last_system) { trace_event_enum_update() 1830 last_system = call->class->system; trace_event_enum_update() 1834 if (call->class->system == map[i]->system) { trace_event_enum_update() 2087 if (!name || !call->class || !call->class->reg) find_event_file() 2094 strcmp(system, call->class->system) == 0) find_event_file() 2160 data->file->event_call->class->system, event_enable_print() 2781 if (!call->class || !call->class->probe) event_trace_self_tests() 2791 if (call->class->system && event_trace_self_tests() 2792 strcmp(call->class->system, "syscalls") == 0) event_trace_self_tests()
|
/linux-4.1.27/scripts/gdb/linux/ |
H A D | tasks.py | 48 class LxTaskByPidFunc(gdb.Function): 87 class LxThreadInfoFunc (gdb.Function):
|
H A D | modules.py | 41 class LxModule(gdb.Function): 62 class LxLsmod(gdb.Command):
|
/linux-4.1.27/include/linux/mfd/abx500/ |
H A D | ux500_chargalg.h | 33 * struct ux500_charger - power supply ux500 charger sub class 34 * @psy power supply base class
|
/linux-4.1.27/block/ |
H A D | ioprio.c | 8 * those. The prio argument is a composite of prio class and prio data, where 9 * the data argument has meaning within that class. The standard scheduling 13 * IOW, setting BE scheduling class with prio 2 is done ala: 63 int class = IOPRIO_PRIO_CLASS(ioprio); SYSCALL_DEFINE3() local 71 switch (class) { SYSCALL_DEFINE3()
|
/linux-4.1.27/drivers/uwb/ |
H A D | driver.c | 77 ssize_t beacon_timeout_ms_show(struct class *class, beacon_timeout_ms_show() argument 85 ssize_t beacon_timeout_ms_store(struct class *class, beacon_timeout_ms_store() argument 105 struct class uwb_rc_class = {
|
/linux-4.1.27/drivers/base/power/ |
H A D | main.c | 496 } else if (dev->class && dev->class->pm) { device_resume_noirq() 497 info = "noirq class "; device_resume_noirq() 498 callback = pm_noirq_op(dev->class->pm, state); device_resume_noirq() 625 } else if (dev->class && dev->class->pm) { device_resume_early() 626 info = "early class "; device_resume_early() 627 callback = pm_late_early_op(dev->class->pm, state); device_resume_early() 774 if (dev->class) { device_resume() 775 if (dev->class->pm) { device_resume() 776 info = "class "; device_resume() 777 callback = pm_op(dev->class->pm, state); device_resume() 779 } else if (dev->class->resume) { device_resume() 780 info = "legacy class "; device_resume() 781 callback = dev->class->resume; device_resume() 908 } else if (dev->class && dev->class->pm) { device_complete() 909 info = "completing class "; device_complete() 910 callback = dev->class->pm->complete; device_complete() 1042 } else if (dev->class && dev->class->pm) { __device_suspend_noirq() 1043 info = "noirq class "; __device_suspend_noirq() 1044 callback = pm_noirq_op(dev->class->pm, state); __device_suspend_noirq() 1188 } else if (dev->class && dev->class->pm) { __device_suspend_late() 1189 info = "late class "; __device_suspend_late() 1190 callback = pm_late_early_op(dev->class->pm, state); __device_suspend_late() 1312 * legacy_suspend - Execute a legacy (bus or class) suspend callback for device. 1401 if (dev->class) { __device_suspend() 1402 if (dev->class->pm) { __device_suspend() 1403 info = "class "; __device_suspend() 1404 callback = pm_op(dev->class->pm, state); __device_suspend() 1406 } else if (dev->class->suspend) { __device_suspend() 1407 pm_dev_dbg(dev, state, "legacy class "); __device_suspend() 1408 error = legacy_suspend(dev, state, dev->class->suspend, __device_suspend() 1409 "legacy class "); __device_suspend() 1576 } else if (dev->class && dev->class->pm) { device_prepare() 1577 info = "preparing class "; device_prepare() 1578 callback = dev->class->pm->prepare; device_prepare()
|
/linux-4.1.27/tools/perf/scripts/python/ |
H A D | sched-migration.py | 34 class RunqueueEventUnknown: 42 class RunqueueEventSleep: 53 class RunqueueEventWakeup: 64 class RunqueueEventFork: 75 class RunqueueMigrateIn: 86 class RunqueueMigrateOut: 97 class RunqueueSnapshot: 159 class TimeSlice: 226 class TimeSliceList(UserList): 326 class SchedEventProxy:
|
/linux-4.1.27/drivers/hwmon/pmbus/ |
H A D | pmbus_core.c | 64 enum pmbus_sensor_classes class; /* sensor class */ member in struct:pmbus_sensor 446 if (sensor->class == PSC_VOLTAGE_OUT) { /* LINEAR16 */ pmbus_reg2data_linear() 457 if (sensor->class != PSC_FAN) pmbus_reg2data_linear() 461 if (sensor->class == PSC_POWER) pmbus_reg2data_linear() 482 m = data->info->m[sensor->class]; pmbus_reg2data_direct() 483 b = data->info->b[sensor->class]; pmbus_reg2data_direct() 484 R = data->info->R[sensor->class]; pmbus_reg2data_direct() 492 if (sensor->class != PSC_FAN) { pmbus_reg2data_direct() 498 if (sensor->class == PSC_POWER) { pmbus_reg2data_direct() 534 switch (data->info->format[sensor->class]) { pmbus_reg2data() 562 if (sensor->class == PSC_VOLTAGE_OUT) { pmbus_data2reg_linear() 585 if (sensor->class == PSC_POWER) pmbus_data2reg_linear() 592 if (sensor->class == PSC_FAN) pmbus_data2reg_linear() 626 m = data->info->m[sensor->class]; pmbus_data2reg_direct() 627 b = data->info->b[sensor->class]; pmbus_data2reg_direct() 628 R = data->info->R[sensor->class]; pmbus_data2reg_direct() 631 if (sensor->class == PSC_POWER) { pmbus_data2reg_direct() 637 if (sensor->class != PSC_FAN) { pmbus_data2reg_direct() 668 switch (data->info->format[sensor->class]) { pmbus_data2reg() 879 enum pmbus_sensor_classes class, pmbus_add_sensor() 894 sensor->class = class; pmbus_add_sensor() 959 enum pmbus_sensor_classes class;/* sensor class */ member in struct:pmbus_sensor_attr 992 page, l->reg, attr->class, pmbus_add_limit_attrs() 1032 attr->class, true, true); pmbus_add_sensor_attrs_one() 1194 .class = PSC_VOLTAGE_IN, 1204 .class = PSC_VOLTAGE_IN, 1213 .class = PSC_VOLTAGE_IN, 1218 .class = PSC_VOLTAGE_OUT, 1298 .class = PSC_CURRENT_IN, 1307 .class = PSC_CURRENT_OUT, 1374 .class = PSC_POWER, 1383 .class = PSC_POWER, 1501 .class = PSC_TEMPERATURE, 1513 .class = PSC_TEMPERATURE, 1525 .class = PSC_TEMPERATURE, 876 pmbus_add_sensor(struct pmbus_data *data, const char *name, const char *type, int seq, int page, int reg, enum pmbus_sensor_classes class, bool update, bool readonly) pmbus_add_sensor() argument
|
/linux-4.1.27/drivers/scsi/ |
H A D | raid_class.c | 2 * raid_class.c - implementation of a simple raid visualisation class 8 * This class is designed to allow raid attributes to be visualised and 245 rc->dev.class = &raid_class.class; raid_component_add() 273 i->r.raid_attrs.ac.class = &raid_class.class; raid_class_attach() 312 MODULE_DESCRIPTION("RAID device class");
|
H A D | scsi_transport_sas.c | 5 * Serial Attached SCSI (SAS) transport class. 7 * The SAS transport class contains common code to deal with SAS HBAs, 12 * In addition to the basic SCSI core objects this transport class 324 if (shost->transportt->host_attrs.ac.class != sas_host_match() 325 &sas_host_class.class) sas_host_match() 684 if (shost->transportt->host_attrs.ac.class != sas_phy_match() 685 &sas_host_class.class) sas_phy_match() 850 if (shost->transportt->host_attrs.ac.class != sas_port_match() 851 &sas_host_class.class) sas_port_match() 944 * meansing, so the sas class should manage them. It will be added to 1380 if (shost->transportt->host_attrs.ac.class != sas_rphy_match() 1381 &sas_host_class.class) sas_rphy_match() 1402 if (shost->transportt->host_attrs.ac.class != sas_end_dev_match() 1403 &sas_host_class.class) sas_end_dev_match() 1425 if (shost->transportt->host_attrs.ac.class != sas_expander_match() 1426 &sas_host_class.class) sas_expander_match() 1790 * @ft: SAS transport class function template 1805 i->t.host_attrs.ac.class = &sas_host_class.class; sas_attach_transport() 1810 i->phy_attr_cont.ac.class = &sas_phy_class.class; sas_attach_transport() 1815 i->port_attr_cont.ac.class = &sas_port_class.class; sas_attach_transport() 1820 i->rphy_attr_cont.ac.class = &sas_rphy_class.class; sas_attach_transport() 1825 i->end_dev_attr_cont.ac.class = &sas_end_dev_class.class; sas_attach_transport() 1830 i->expander_attr_cont.ac.class = &sas_expander_class.class; sas_attach_transport()
|
/linux-4.1.27/drivers/video/backlight/ |
H A D | lcd.c | 181 static struct class *lcd_class; 198 * lcd_device_register - register a new object of lcd_device class. 223 new_ld->dev.class = lcd_class; lcd_device_register() 248 * lcd_device_unregister - unregisters a object of lcd_device class. 346 pr_warn("Unable to create backlight class; errno = %ld\n", lcd_class_init() 357 * class is registered before users of the class try to register lcd's
|
/linux-4.1.27/security/selinux/ss/ |
H A D | policydb.h | 57 u32 value; /* class value */ 60 struct symtab permissions; /* class-specific permission symbol table */ 61 struct constraint_node *constraints; /* constraints on class permissions */ 90 u32 tclass; /* process class, or new object class */ 98 u16 tclass; /* class of new object */ 192 u32 sclass; /* security class for genfs */ 245 /* class, role, and user attributes indexed by (value - 1) */ 307 extern int policydb_class_isvalid(struct policydb *p, unsigned int class);
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_mqd_manager.h | 52 * This structure is actually a base class for the different types of MQDs 54 * This base class is also contains all the MQD specific operations. 57 * Basically there are a instances of the mqd manager class per MQD type per
|
H A D | kfd_device_queue_manager.h | 126 * This struct is a base class for the kfd queues scheduler in the 127 * device level. The device base class should expose the basic operations 128 * for queue creation and queue destruction. This base class hides the 130 * concrete device. This class is the only class in the queues scheduler
|
/linux-4.1.27/drivers/block/ |
H A D | osdblk.c | 30 $ echo "1234 5678 /dev/osd1" > /sys/class/osdblk/add 38 $ cat /sys/class/osdblk/list 54 $ echo 1 > /sys/class/osdblk/remove 125 static struct class *class_osdblk; /* /sys/class/osdblk */ 460 * /sys/class/osdblk/ 466 static void class_osdblk_release(struct class *cls) class_osdblk_release() 471 static ssize_t class_osdblk_list(struct class *c, class_osdblk_list() 497 static ssize_t class_osdblk_add(struct class *c, class_osdblk_add() 591 static ssize_t class_osdblk_remove(struct class *c, class_osdblk_remove() 652 * /sys/class/osdblk/... osdblk_sysfs_init() 667 printk(PFX "failed to create class osdblk\n"); osdblk_sysfs_init()
|
/linux-4.1.27/include/net/iucv/ |
H A D | af_iucv.h | 134 u32 class; /* target class of message */ 147 #define SCM_IUCV_TRGCLS 0x0001 /* target class control message */
|
/linux-4.1.27/include/scsi/ |
H A D | scsi_bsg_iscsi.h | 43 /* define the class masks for the message codes */ 44 #define ISCSI_BSG_CLS_MASK 0xF0000000 /* find object class */ 45 #define ISCSI_BSG_HST_MASK 0x80000000 /* iscsi host class */
|
H A D | libsas.h | 167 unsigned int class; 280 enum sas_class class; 297 void *lldd_port; /* not touched by the sas class code */ 313 * The class only reads those fields. 329 /* The following are class:RO, driver:R/W */ 333 enum sas_class class; 343 u8 attached_sas_addr[SAS_ADDR_SIZE]; /* class:RO, driver: R/W */ 355 struct sas_ha_struct *ha; /* may be set; the class sets it anyway */ 417 /* LLDD calls these to notify the class of an event. */ 422 void *lldd_ha; /* not touched by sas class code */ 645 /* The class calls these to notify the LLDD of an event. */ 649 /* The class calls these when a device is found or gone. */
|
/linux-4.1.27/arch/ia64/include/asm/sn/ |
H A D | module.h | 19 * 31-16 Rack ID (encoded class, group, number - 16-bit unsigned int) 51 * class (0==CPU/mixed, 1==I/O), group, number 73 * class 1 bit, 0==CPU/mixed, 1==I/O
|
/linux-4.1.27/Documentation/laptops/ |
H A D | freefall.c | 78 write_int("/sys/class/leds/hp::hddprotect/brightness", on); set_led() 91 /* /sys/class/power_supply/AC0/online */ on_ac() 132 if (stat("/sys/class/leds/hp::hddprotect/brightness", &st)) main()
|
/linux-4.1.27/scripts/mod/ |
H A D | devicetable-offsets.c | 42 DEVID_FIELD(pci_device_id, class); main() 117 DEVID_FIELD(sdio_device_id, class); main() 130 DEVID_FIELD(bcma_device_id, class); main()
|
/linux-4.1.27/security/selinux/include/ |
H A D | objsec.h | 48 u16 sclass; /* security class of this object */ 77 u16 sclass; /* security class of this object */ 115 u16 sclass; /* sock security class */
|
/linux-4.1.27/drivers/power/avs/ |
H A D | smartreflex.c | 173 "%s: smartreflex class driver not registered\n", sr_start_vddautocomp() 186 "%s: smartreflex class driver not registered\n", sr_stop_vddautocomp() 199 * only when both sr device and class driver regiter has 200 * completed. This will be attempted to be called from both sr class 205 * if smartreflex class driver is already registered and has 344 * This API is to be called from the smartreflex class driver to 415 * This API is to be called from the smartreflex class driver to 467 * This API is to be called from the smartreflex class driver to 555 * This API is to be called from the smartreflex class driver to 612 * This API is to be called from the smartreflex class driver to 649 * sr_register_class() - API to register a smartreflex class parameters. 650 * @class_data: The structure containing various sr class specific data. 652 * This API is to be called by the smartreflex class driver to register itself 661 pr_warning("%s:, Smartreflex class data passed is NULL\n", sr_register_class() 667 pr_warning("%s: Smartreflex class driver already registered\n", sr_register_class() 676 * both sr driver and sr class driver to be initiallized. sr_register_class() 686 * registered smartreflex class enable API. 692 * into the registered smartreflex class enable API. 707 dev_warn(&sr->pdev->dev, "%s: smartreflex class driver not" omap_sr_enable() 722 * into the registered smartreflex class disable API. This API will tell 723 * the smartreflex class disable not to reset the VP voltage after 739 dev_warn(&sr->pdev->dev, "%s: smartreflex class driver not" omap_sr_disable() 754 * into the registered smartreflex class disable API. This API will tell 755 * the smartreflex class disable to reset the VP voltage after 771 dev_warn(&sr->pdev->dev, "%s: smartreflex class driver not" omap_sr_disable_reset_volt() 910 * both sr driver and sr class driver to be initiallized. omap_sr_probe()
|
/linux-4.1.27/scripts/ |
H A D | kernel-doc | 195 my %highlights_html5 = ( $type_constant, "<span class=\"const\">\$1</span>", 196 $type_func, "<span class=\"func\">\$1</span>", 197 $type_struct_xml, "<span class=\"struct\">\$1</span>", 198 $type_env, "<span class=\"env\">\$1</span>", 199 $type_param, "<span class=\"param\">\$1</span>" ); 212 my %highlights_gnome = ( $type_constant, "<replaceable class=\"option\">\$1</replaceable>", 699 print "<article class=\"enum\" id=\"enum:". $html5id . "\">"; 701 print "<ol class=\"code\">\n"; 703 print "<span class=\"keyword\">enum</span> "; 704 print "<span class=\"identifier\">" . $args{'enum'} . "</span> {"; 708 print "<li class=\"indent\">"; 709 print "<span class=\"param\">" . $parameter . "</span>"; 743 print "<article class=\"typedef\" id=\"typedef:" . $html5id . "\">\n"; 746 print "<ol class=\"code\">\n"; 748 print "<span class=\"keyword\">typedef</span> "; 749 print "<span class=\"identifier\">" . $args{'typedef'} . "</span>"; 764 print "<article class=\"struct\" id=\"struct:" . $html5id . "\">\n"; 769 print "<ol class=\"code\">\n"; 771 print "<span class=\"type\">" . $args{'type'} . "</span> "; 772 print "<span class=\"identifier\">" . $args{'struct'} . "</span> {"; 775 print "<li class=\"indent\">"; 777 print "<span class=\"param\">" . $parameter ."</span>\n"; 788 print "<span class=\"type\">$1</span> "; 789 print "<span class=\"param\">$parameter</span>"; 790 print "<span class=\"type\">)</span> "; 791 print "(<span class=\"args\">$2</span>);"; 794 print "<span class=\"type\">$1</span> "; 795 print "<span class=\"param\">$parameter</span>"; 796 print "<span class=\"bits\">$2</span>;"; 798 print "<span class=\"type\">$type</span> "; 799 print "<span class=\"param\">$parameter</span>;"; 836 print "<article class=\"function\" id=\"func:". $html5id . "\">\n"; 841 print "<ol class=\"code\">\n"; 843 print "<span class=\"type\">" . $args{'functiontype'} . "</span> "; 844 print "<span class=\"identifier\">" . $args{'function'} . "</span> ("; 848 print "<li class=\"indent\">"; 852 print "<span class=\"type\">$1</span> "; 853 print "<span class=\"param\">$parameter</span>"; 854 print "<span class=\"type\">)</span> "; 855 print "(<span class=\"args\">$2</span>)"; 857 print "<span class=\"type\">$type</span> "; 858 print "<span class=\"param\">$parameter</span>"; 899 print "<article class=\"doc\" id=\"doc:". $html5id . "\">\n"; 952 print " <refmiscinfo class=\"version\">" . $kernelversion . "</refmiscinfo>\n"; 1029 print " <refmiscinfo class=\"version\">" . $kernelversion . "</refmiscinfo>\n"; 1123 print " <refmiscinfo class=\"version\">" . $kernelversion . "</refmiscinfo>\n";
|
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/ |
H A D | leds.h | 44 /* The LED class device */
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | rtl8712_hal.h | 79 unsigned char regulatory_class_0; /*regulatory class bit map 0*/ 80 unsigned char regulatory_class_1; /*regulatory class bit map 1*/ 81 unsigned char regulatory_class_2; /*regulatory class bit map 2*/ 82 unsigned char regulatory_class_3; /*regulatory class bit map 3*/
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
H A D | leds.h | 16 /* The LED class device */
|
/linux-4.1.27/drivers/power/ |
H A D | power_supply.h | 2 * Functions private to power supply class
|
/linux-4.1.27/arch/mips/pci/ |
H A D | fixup-cobalt.c | 43 (dev->class >> 8) == PCI_CLASS_MEMORY_OTHER) { qube_raq_galileo_early_fixup() 45 dev->class = (PCI_CLASS_BRIDGE_HOST << 8) | (dev->class & 0xff); qube_raq_galileo_early_fixup() 47 printk(KERN_INFO "Galileo: fixed bridge class\n"); qube_raq_galileo_early_fixup()
|
H A D | fixup-sb1250.c | 29 dev->class = PCI_CLASS_BRIDGE_PCI << 8; quirk_sb1250_ht()
|
H A D | fixup-emma2rh.c | 75 dev->class &= 0xff; emma2rh_pci_host_fixup() 76 dev->class |= PCI_CLASS_BRIDGE_HOST << 8; emma2rh_pci_host_fixup()
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | mmzone.h | 21 * Stretch (N-class): 0-2, 4-32, 34-xxx
|
H A D | tlbflush.h | 12 * N class systems, only one PxTLB inter processor broadcast can be 15 * it on all systems not just the N class.
|
/linux-4.1.27/fs/ |
H A D | anon_inodes.c | 56 * anonymous inode, and a dentry that describe the "class" 59 * @name: [in] name of the "class" of the new file 125 * anonymous inode, and a dentry that describe the "class" 128 * @name: [in] name of the "class" of the new file
|
/linux-4.1.27/scripts/tracing/ |
H A D | draw_functrace.py | 27 class CallTree: 28 """ This class provides a tree representation of the functions 89 class BrokenLineException(Exception): 95 class CommentLineException(Exception):
|
/linux-4.1.27/drivers/scsi/libsas/ |
H A D | sas_dump.c | 64 SAS_DPRINTK("port%d: class:0x%x\n", port->id, port->class); sas_dump_port()
|
/linux-4.1.27/drivers/staging/android/ |
H A D | timed_output.c | 27 static struct class *timed_output_class; 119 MODULE_DESCRIPTION("timed output class driver");
|
/linux-4.1.27/arch/mips/fw/arc/ |
H A D | tree.c | 96 printk("[%p]:class<%s>type<%s>flags<%s>ver<%d>rev<%d>", dump_component() 97 p, classes[p->class], types[p->type], dump_component()
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | protocol.h | 13 * It is important to note that in a number of cases this class 14 * exhibits class-specific exemptions from the USB specification.
|
H A D | scsiglue.h | 13 * It is important to note that in a number of cases this class 14 * exhibits class-specific exemptions from the USB specification.
|
H A D | debug.h | 16 * It is important to note that in a number of cases this class 17 * exhibits class-specific exemptions from the USB specification.
|
/linux-4.1.27/fs/pstore/ |
H A D | pmsg.c | 70 static struct class *pmsg_class; 95 pr_err("device class file already in use\n"); pstore_register_pmsg()
|
/linux-4.1.27/include/net/netfilter/ |
H A D | nf_conntrack_expect.h | 42 /* Expectation class */ 43 unsigned int class;
|
/linux-4.1.27/include/uapi/rdma/ |
H A D | ib_user_mad.h | 68 * @traffic_class - Traffic class in GRH 111 * @traffic_class - Traffic class in GRH 174 * @mgmt_class - Indicates which management class of MADs should be receive 178 * management class to receive. 179 * @oui: Indicates IEEE OUI when mgmt_class is a vendor class 200 * @mgmt_class - Indicates which management class of MADs should be 205 * management class to receive. 212 * class in the range from 0x30 to 0x4f. Otherwise not
|
/linux-4.1.27/arch/mips/math-emu/ |
H A D | ieee754d.c | 68 printk("Illegal/Unknown IEEE754 value class"); ieee754dp_dump() 107 printk("Illegal/Unknown IEEE754 value class"); ieee754sp_dump()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | clk-fixup-mux.c | 22 * @mux: the parent class 23 * @ops: pointer to clk_ops of parent class
|
/linux-4.1.27/drivers/xen/ |
H A D | xen-stub.c | 44 .class = ACPI_MEMORY_DEVICE_CLASS, 79 .class = ACPI_PROCESSOR_CLASS,
|
/linux-4.1.27/drivers/i2c/muxes/ |
H A D | i2c-mux-pca954x.c | 193 int num, force, class; pca954x_probe() local 231 class = 0; /* no class by default */ pca954x_probe() 236 class = pdata->modes[num].class; pca954x_probe() 245 force, num, class, pca954x_select_chan, pca954x_probe()
|
/linux-4.1.27/arch/frv/mb93090-mb00/ |
H A D | pci-frv.c | 154 int class = dev->class >> 8; for_each_pci_dev() local 157 if (!class || class == PCI_CLASS_BRIDGE_HOST) for_each_pci_dev() 166 if ((class == PCI_CLASS_STORAGE_IDE && idx < 4) || for_each_pci_dev() 167 (class == PCI_CLASS_DISPLAY_VGA && (r->flags & IORESOURCE_IO))) for_each_pci_dev()
|
/linux-4.1.27/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 49 * @cdev: pointer to embedded class device 74 * @cdev: pointer to embedded class device 103 * @cdev: pointer to embedded class device 126 * @cdev: pointer to embedded class device 152 * @cdev: pointer to embedded class device 196 * @cdev: pointer to embedded class device 223 * @cdev: pointer to embedded class device 244 * @cdev: pointer to embedded class device 277 * @cdev: pointer to embedded class device 313 * @cdev:pointer to embedded class device 345 * @cdev:pointer to embedded class device 377 * @cdev:pointer to embedded class device 414 * @cdev: pointer to embedded class device 450 ** @cdev:pointer to embedded class device 470 ** @cdev:pointer to embedded class device
|
/linux-4.1.27/drivers/ata/ |
H A D | libata-transport.c | 5 * Libata transport class. 7 * The ATA transport class contains common code to deal with ATA HBAs, 12 * There are 3 objects defined in in this class: 149 ata_bitfield_name_search(class, ata_class_names) 467 ata_dev_attr(class, class); 530 if (ata_dev->class == ATA_DEV_PMP) show_ata_dev_id() 549 if (ata_dev->class != ATA_DEV_PMP) show_ata_dev_gscr() 722 i->t.host_attrs.ac.class = &ata_port_class.class; ata_attach_transport() 726 i->link_attr_cont.ac.class = &ata_link_class.class; ata_attach_transport() 731 i->dev_attr_cont.ac.class = &ata_dev_class.class; ata_attach_transport() 751 SETUP_DEV_ATTRIBUTE(class); ata_attach_transport()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | r600_dpm.c | 70 void r600_dpm_print_class_info(u32 class, u32 class2) r600_dpm_print_class_info() argument 72 printk("\tui class: "); r600_dpm_print_class_info() 73 switch (class & ATOM_PPLIB_CLASSIFICATION_UI_MASK) { r600_dpm_print_class_info() 88 printk("\tinternal class: "); r600_dpm_print_class_info() 89 if (((class & ~ATOM_PPLIB_CLASSIFICATION_UI_MASK) == 0) && r600_dpm_print_class_info() 93 if (class & ATOM_PPLIB_CLASSIFICATION_BOOT) r600_dpm_print_class_info() 95 if (class & ATOM_PPLIB_CLASSIFICATION_THERMAL) r600_dpm_print_class_info() 97 if (class & ATOM_PPLIB_CLASSIFICATION_LIMITEDPOWERSOURCE) r600_dpm_print_class_info() 99 if (class & ATOM_PPLIB_CLASSIFICATION_REST) r600_dpm_print_class_info() 101 if (class & ATOM_PPLIB_CLASSIFICATION_FORCED) r600_dpm_print_class_info() 103 if (class & ATOM_PPLIB_CLASSIFICATION_3DPERFORMANCE) r600_dpm_print_class_info() 105 if (class & ATOM_PPLIB_CLASSIFICATION_OVERDRIVETEMPLATE) r600_dpm_print_class_info() 107 if (class & ATOM_PPLIB_CLASSIFICATION_UVDSTATE) r600_dpm_print_class_info() 109 if (class & ATOM_PPLIB_CLASSIFICATION_3DLOW) r600_dpm_print_class_info() 111 if (class & ATOM_PPLIB_CLASSIFICATION_ACPI) r600_dpm_print_class_info() 113 if (class & ATOM_PPLIB_CLASSIFICATION_HD2STATE) r600_dpm_print_class_info() 115 if (class & ATOM_PPLIB_CLASSIFICATION_HDSTATE) r600_dpm_print_class_info() 117 if (class & ATOM_PPLIB_CLASSIFICATION_SDSTATE) r600_dpm_print_class_info() 721 bool r600_is_uvd_state(u32 class, u32 class2) r600_is_uvd_state() argument 723 if (class & ATOM_PPLIB_CLASSIFICATION_UVDSTATE) r600_is_uvd_state() 725 if (class & ATOM_PPLIB_CLASSIFICATION_HD2STATE) r600_is_uvd_state() 727 if (class & ATOM_PPLIB_CLASSIFICATION_HDSTATE) r600_is_uvd_state() 729 if (class & ATOM_PPLIB_CLASSIFICATION_SDSTATE) r600_is_uvd_state()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | mad.c | 208 struct ib_mad_mgmt_class_table *class; ib_register_mad_agent() local 267 * If class is in "new" vendor range, ib_register_mad_agent() 272 "ib_register_mad_agent: No OUI specified for class 0x%x\n", ib_register_mad_agent() 277 /* Make sure class supplied is consistent with RMPP */ ib_register_mad_agent() 281 "ib_register_mad_agent: RMPP version for non-RMPP class 0x%x\n", ib_register_mad_agent() 287 /* Make sure class supplied is consistent with QP type */ ib_register_mad_agent() 294 "ib_register_mad_agent: Invalid SM QP type: class 0x%x\n", ib_register_mad_agent() 304 "ib_register_mad_agent: Invalid GS QP type: class 0x%x\n", ib_register_mad_agent() 388 class = port_priv->version[mad_reg_req-> ib_register_mad_agent() 389 mgmt_class_version].class; ib_register_mad_agent() 390 if (class) { ib_register_mad_agent() 391 method = class->method_table[mgmt_class]; ib_register_mad_agent() 401 /* "New" vendor class range */ ib_register_mad_agent() 1304 * Check to see if there are any method tables for this class still in use 1306 static int check_class_table(struct ib_mad_mgmt_class_table *class) check_class_table() argument 1311 if (class->method_table[i]) check_class_table() 1332 /* Is there matching OUI for this vendor class ? */ find_vendor_oui() 1368 struct ib_mad_mgmt_class_table **class; add_nonoui_reg_req() local 1373 class = &port_priv->version[mad_reg_req->mgmt_class_version].class; add_nonoui_reg_req() 1374 if (!*class) { add_nonoui_reg_req() 1375 /* Allocate management class table for "new" class version */ add_nonoui_reg_req() 1376 *class = kzalloc(sizeof **class, GFP_ATOMIC); add_nonoui_reg_req() 1377 if (!*class) { add_nonoui_reg_req() 1384 /* Allocate method table for this management class */ add_nonoui_reg_req() 1385 method = &(*class)->method_table[mgmt_class]; add_nonoui_reg_req() 1389 method = &(*class)->method_table[mgmt_class]; add_nonoui_reg_req() 1391 /* Allocate method table for this management class */ add_nonoui_reg_req() 1419 kfree(*class); add_nonoui_reg_req() 1420 *class = NULL; add_nonoui_reg_req() 1436 /* "New" vendor (with OUI) class */ add_oui_reg_req() 1442 /* Allocate mgmt vendor class table for "new" class version */ add_oui_reg_req() 1453 /* Allocate table for this management vendor class */ add_oui_reg_req() 1464 /* Is there matching OUI for this vendor class ? */ add_oui_reg_req() 1529 struct ib_mad_mgmt_class_table *class; remove_mad_reg_req() local 1546 class = port_priv->version[ remove_mad_reg_req() 1547 agent_priv->reg_req->mgmt_class_version].class; remove_mad_reg_req() 1548 if (!class) remove_mad_reg_req() 1551 method = class->method_table[mgmt_class]; remove_mad_reg_req() 1559 class->method_table[mgmt_class] = NULL; remove_mad_reg_req() 1561 if (!check_class_table(class)) { remove_mad_reg_req() 1562 /* If not, release management class table */ remove_mad_reg_req() 1563 kfree(class); remove_mad_reg_req() 1566 mgmt_class_version].class = NULL; remove_mad_reg_req() 1603 /* If not, release vendor class table */ remove_mad_reg_req() 1647 struct ib_mad_mgmt_class_table *class; find_mad_agent() local 1655 * Routing is based on version, class, and method find_mad_agent() 1661 class = port_priv->version[ find_mad_agent() 1662 mad->mad_hdr.class_version].class; find_mad_agent() 1663 if (!class) find_mad_agent() 1668 method = class->method_table[convert_mgmt_class( find_mad_agent() 1808 static inline int is_direct(u8 class) is_direct() argument 1810 return (class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE); is_direct()
|
/linux-4.1.27/net/sunrpc/ |
H A D | svcauth_unix.c | 160 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, struct in6_addr *addr); 166 /* class ipaddress [domainname] */ ip_map_parse() 171 char class[8]; ip_map_parse() local 188 /* class */ ip_map_parse() 189 len = qword_get(&mesg, class, sizeof(class)); ip_map_parse() 230 ipmp = __ip_map_lookup(cd, class, &sin6.sin6_addr); ip_map_parse() 254 seq_puts(m, "#class IP domain\n"); ip_map_show() 258 /* class addr domain */ ip_map_show() 275 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, __ip_map_lookup() argument 281 strcpy(ip.m_class, class); __ip_map_lookup() 284 hash_str(class, IP_HASHBITS) ^ __ip_map_lookup() 293 static inline struct ip_map *ip_map_lookup(struct net *net, char *class, ip_map_lookup() argument 299 return __ip_map_lookup(sn->ip_map_cache, class, addr); ip_map_lookup()
|
/linux-4.1.27/include/uapi/scsi/fc/ |
H A D | fc_fs.h | 37 __u8 fh_cs_ctl; /* class of service control / pri */ 223 #define FC_FC_END_CONN (1 << 18) /* end of class 1 connection pending */ 236 #define FC_FC_UNI_TX (1 << 8) /* unidirectional transmit (class 1) */ 309 FC_RJT_CLS_UNSUP = 0x05, /* class not supported */ 325 FC_RJT_FAB_CLASS = 0x15, /* class unsupported by fabric entity */ 330 FC_RJT_VC_ID = 0x1b, /* invalid VC_ID (class 4) */ 333 FC_RJT_INVL_CLS = 0x1f, /* invalid class of service */
|
/linux-4.1.27/drivers/pci/hotplug/ |
H A D | ibmphp_pci.c | 84 u32 class; ibmphp_configure_card() local 130 pci_bus_read_config_dword (ibmphp_pci_bus, devfn, PCI_CLASS_REVISION, &class); ibmphp_configure_card() 132 class_code = class >> 24; ibmphp_configure_card() 133 debug ("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); ibmphp_configure_card() 134 class >>= 8; /* to take revision out, class = class.subclass.prog i/f */ ibmphp_configure_card() 135 if (class == PCI_CLASS_NOT_DEFINED_VGA) { ibmphp_configure_card() 139 } else if (class == PCI_CLASS_DISPLAY_VGA) { ibmphp_configure_card() 146 debug ("single device case.... vendor id = %x, hdr_type = %x, class = %x\n", vendor_id, hdr_type, class); ibmphp_configure_card() 182 class >>= 8; ibmphp_configure_card() 183 if (class != PCI_CLASS_BRIDGE_PCI) { ibmphp_configure_card() 249 class >>= 8; ibmphp_configure_card() 250 debug ("class now is %x\n", class); ibmphp_configure_card() 251 if (class != PCI_CLASS_BRIDGE_PCI) { ibmphp_configure_card() 1087 u32 bar[6], class; scan_behind_bridge() local 1119 pci_bus_read_config_dword (ibmphp_pci_bus, devfn, PCI_CLASS_REVISION, &class); scan_behind_bridge() 1128 class >>= 8; /* to take revision out, class = class.subclass.prog i/f */ scan_behind_bridge() 1129 if (class == PCI_CLASS_NOT_DEFINED_VGA) { scan_behind_bridge() 1133 } else if (class == PCI_CLASS_DISPLAY_VGA) { scan_behind_bridge() 1447 u32 class; unconfigure_boot_card() local 1481 pci_bus_read_config_dword (ibmphp_pci_bus, devfn, PCI_CLASS_REVISION, &class); unconfigure_boot_card() 1483 debug ("hdr_type %x, class %x\n", hdr_type, class); unconfigure_boot_card() 1484 class >>= 8; /* to take revision out, class = class.subclass.prog i/f */ unconfigure_boot_card() 1485 if (class == PCI_CLASS_NOT_DEFINED_VGA) { unconfigure_boot_card() 1488 } else if (class == PCI_CLASS_DISPLAY_VGA) { unconfigure_boot_card() 1512 class >>= 8; unconfigure_boot_card() 1513 if (class != PCI_CLASS_BRIDGE_PCI) { unconfigure_boot_card() 1526 class >>= 8; unconfigure_boot_card() 1527 if (class != PCI_CLASS_BRIDGE_PCI) { unconfigure_boot_card()
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-sysfs.c | 84 struct class class; member in struct:pvr2_sysfs_class 505 static void pvr2_sysfs_class_release(struct class *class) pvr2_sysfs_class_release() argument 508 clp = container_of(class,struct pvr2_sysfs_class,class); pvr2_sysfs_class_release() 646 class_dev->class = &class_ptr->class; class_dev_create() 794 clp->class.name = "pvrusb2"; pvr2_sysfs_class_create() 795 clp->class.class_release = pvr2_sysfs_class_release; pvr2_sysfs_class_create() 796 clp->class.dev_release = pvr2_sysfs_release; pvr2_sysfs_class_create() 797 if (class_register(&clp->class)) { pvr2_sysfs_class_create() 810 class_unregister(&clp->class); pvr2_sysfs_class_destroy()
|
/linux-4.1.27/sound/pci/trident/ |
H A D | trident_main.c | 246 Parameters: trident - pointer to target device class for 4DWave. 271 trident - pointer to target device class for 4DWave. 295 trident - pointer to target device class for 4DWave. 319 trident - pointer to target device class for 4DWave. 340 Parameters : trident - pointer to target device class for 4DWave. 367 Parameters : trident - pointer to target device class for 4DWave. 390 Parameters : trident - pointer to target device class for 4DWave. 415 Parameters : trident - pointer to target device class for 4DWave. 439 Parameters: trident - pointer to target device class for 4DWave. 522 Parameters: trident - pointer to target device class for 4DWave. 548 Parameters: trident - pointer to target device class for 4DWave. 574 Parameters: trident - pointer to target device class for 4DWave. 605 Parameters: trident - pointer to target device class for 4DWave. 627 Parameters: trident - pointer to target device class for 4DWave. 651 Parameters: trident - pointer to target device class for 4DWave. 674 Parameters: trident - pointer to target device class for 4DWave. 704 Parameters: trident - pointer to target device class for 4DWave. 734 Parameters: trident - pointer to target device class for 4DWave. 756 Parameters: trident - pointer to target device class for 4DWave. 789 Parameters: substream - PCM substream class 812 Parameters: substream - PCM substream class 846 Parameters: substream - PCM substream class 886 Parameters: substream - PCM substream class 909 Parameters: substream - PCM substream class 941 Parameters: substream - PCM substream class 1026 Parameters: substream - PCM substream class 1044 Parameters: substream - PCM substream class 1135 Parameters: substream - PCM substream class 1158 Parameters: substream - PCM substream class 1184 Parameters: substream - PCM substream class 1255 Parameters: substream - PCM substream class 1332 Parameters: substream - PCM substream class 1398 Parameters: substream - PCM substream class 1536 Parameters: substream - PCM substream class 1636 Parameters: substream - PCM substream class 1675 Parameters: pcm1 - PCM device class 1705 Parameters: substream - PCM substream class 1881 Parameters: substream - PCM substream class 1899 Parameters: substream - PCM substream class 1942 Parameters: substream - PCM substream class 1978 Parameters: substream - PCM substream class 2009 Parameters: substream - PCM substream class 2022 Parameters: substream - PCM substream class 2052 Parameters: substream - PCM substream class 2168 Parameters: trident - pointer to target device class for 4DWave. 2221 Parameters: trident - pointer to target device class for 4DWave. 2273 Parameters: trident - pointer to target device class for 4DWave-NX. 2954 Parameters: trident - pointer to target device class for 4DWave. 3344 Parameters: trident - pointer to target device class for 4DWave. 3520 Description: This routine will create the device specific class for 3529 Returns: 4DWave device class private data 3666 Description: This routine will free the device specific class for
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | memstick.c | 37 && (id->class == card->id.class)) memstick_dev_match() 74 if (add_uevent_var(env, "MEMSTICK_CLASS=%02X", card->id.class)) memstick_uevent() 161 MEMSTICK_ATTR(class, "%02X"); 189 static struct class memstick_host_class = { 343 card->id.class = id_reg.class; h_memstick_read_dev_id() 455 card->id.type, card->id.category, card->id.class); memstick_check() 499 host->dev.class = &memstick_host_class; memstick_alloc_host()
|
/linux-4.1.27/drivers/net/irda/ |
H A D | irda-usb.h | 70 /* Show the USB class descriptor */ 109 /* USB class definitions */ 130 /* class specific interface request to get the IrDA-USB class descriptor 131 * (6.2.5, USB-IrDA class spec 1.0) */
|
/linux-4.1.27/include/rdma/ |
H A D | ib_mad.h | 230 * class specific headers. 235 * includes the common MAD, RMPP, and class specific headers. 426 * @mgmt_class: Indicates which management class of MADs should be receive 430 * management class to receive. 431 * @oui: Indicates IEEE OUI when mgmt_class is a vendor class 521 * of the common MAD, RMPP, and class specific headers, followed by the class 522 * defined data. If the class defined data would not divide evenly into 524 * buffer for any required padding. To indicate the amount of class defined 526 * be set to the size of the class specific header plus the amount of class 615 * should include the common MAD header, RMPP header, plus any class 627 * The returned MAD header, class specific headers, and any padding will be 629 * any class specific header, and MAD data area. 639 * ib_is_mad_class_rmpp - returns whether given management class 641 * @mgmt_class: management class 643 * This routine returns whether the management class supports RMPP. 649 * management class. 650 * @mgmt_class: management class 653 * class requested.
|
/linux-4.1.27/drivers/net/fddi/skfp/h/ |
H A D | cmtdef.h | 164 #define EVENT_ECM 1 /* event class ECM */ 165 #define EVENT_CFM 2 /* event class CFM */ 166 #define EVENT_RMT 3 /* event class RMT */ 167 #define EVENT_SMT 4 /* event class SMT */ 168 #define EVENT_PCM 5 /* event class PCM */ 169 #define EVENT_PCMA 5 /* event class PCMA */ 170 #define EVENT_PCMB 6 /* event class PCMB */ 178 #define EV_TOKEN(class,event) (((u_long)(class)<<16L)|((u_long)(event))) 484 SMbuf *smt_build_frame(struct s_smc *smc, int class, int type, 494 void queue_event(struct s_smc *smc, int class, int event); 571 int smt_action(struct s_smc *smc, int class, int code, int index);
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 21 * /sys/class/gpio/gpioN... only for GPIOs that are exported 399 * /sys/class/gpio/gpiochipN/ 441 * /sys/class/gpio/export ... write-only 443 * /sys/class/gpio/unexport ... write-only 446 static ssize_t export_store(struct class *class, export_store() argument 488 static ssize_t unexport_store(struct class *class, unexport_store() argument 529 static struct class gpio_class = { 636 * Set up a symlink from /sys/.../dev/name to /sys/class/gpio/gpioN 680 * Set the polarity of /sys/class/gpio/gpioN/value sysfs attribute. 813 /* unregister gpiod class devices owned by sysfs */ gpiochip_unexport()
|
/linux-4.1.27/drivers/gpu/drm/msm/ |
H A D | msm_gpu.h | 36 * Which means that the eventual complete "class" hierarchy, once 131 * class that actually enables the perf counter.. but msm_gpu base class
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
H A D | gr2d.c | 87 static int gr2d_is_addr_reg(struct device *dev, u32 class, u32 offset) gr2d_is_addr_reg() argument 91 switch (class) { gr2d_is_addr_reg() 173 gr2d->client.base.class = HOST1X_CLASS_GR2D; gr2d_probe()
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
H A D | i2c-matroxfb.c | 103 int class) i2c_bus_reg() 114 b->adapter.class = class; i2c_bus_reg() 101 i2c_bus_reg(struct i2c_bit_adapter* b, struct matrox_fb_info* minfo, unsigned int data, unsigned int clock, const char *name, int class) i2c_bus_reg() argument
|
/linux-4.1.27/arch/arm/mach-omap1/include/mach/ |
H A D | soc.h | 78 * CPU class bits (15xx, 16xx, 24xx, 34xx...) [07:00] 96 #define IS_OMAP_CLASS(class, id) \ 97 static inline int is_omap ##class (void) \
|
/linux-4.1.27/net/bluetooth/ |
H A D | hci_sysfs.c | 8 static struct class *bt_class; 83 conn->dev.class = bt_class; hci_conn_init_sysfs() 198 dev->class = bt_class; hci_init_sysfs()
|
/linux-4.1.27/net/ipv6/ |
H A D | xfrm6_state.c | 63 int class[XFRM_MAX_DEPTH]; __xfrm6_sort() local 70 class[i] = c = cmp(src[i]); __xfrm6_sort() 78 dst[count[class[i] - 1]++] = src[i]; __xfrm6_sort()
|
/linux-4.1.27/scripts/selinux/mdp/ |
H A D | mdp.c | 73 fprintf(fout, "class %s\n", secclass_map[i].name); main() 82 /* print out the class permissions */ main() 85 fprintf(fout, "class %s\n", map->name); main()
|
/linux-4.1.27/drivers/bcma/ |
H A D | scan.c | 296 core->id.class = (cia & SCAN_CIA_CLASS) >> SCAN_CIA_CLASS_SHIFT; bcma_get_next_core() 340 (match->class != BCMA_ANY_CLASS && match->class != core->id.class) bcma_get_next_core() 511 bcma_info(bus, "Core %d found: %s (manuf 0x%03X, id 0x%03X, rev 0x%02X, class 0x%X)\n", bcma_bus_scan() 514 core->id.class); bcma_bus_scan()
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | exresolv.c | 154 ref_type = stack_desc->reference.class; acpi_ex_resolve_object_to_value() 390 switch (obj_desc->reference.class) { acpi_ex_resolve_multiple() 396 if (obj_desc->reference.class == ACPI_REFCLASS_REFOF) { acpi_ex_resolve_multiple() 470 class, acpi_ex_resolve_multiple() 484 class, acpi_ex_resolve_multiple() 513 obj_desc->reference.class)); acpi_ex_resolve_multiple()
|
/linux-4.1.27/drivers/acpi/ |
H A D | button.c | 92 .class = ACPI_BUTTON_CLASS, 352 char *name, *class; acpi_button_add() local 368 class = acpi_device_class(device); acpi_button_add() 374 sprintf(class, "%s/%s", acpi_button_add() 380 sprintf(class, "%s/%s", acpi_button_add() 385 sprintf(class, "%s/%s", acpi_button_add()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_cs.h | 31 /* oc - object class eg. bfa_ioc 55 /* oc - object class eg. bfa_ioc
|
/linux-4.1.27/drivers/clk/mxs/ |
H A D | clk-div.c | 20 * @divider: the parent class 21 * @ops: pointer to clk_ops of parent class
|
/linux-4.1.27/fs/jffs2/ |
H A D | xattr.h | 27 uint8_t class; 49 uint8_t class;
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | vpe-cmp.c | 81 static struct class vpe_class = { 120 vpe_device.class = &vpe_class, vpe_module_init()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | pci_dn.c | 298 /* vendor/device IDs and class code */ update_dn_pci_info() 303 regs = of_get_property(dn, "class-code", NULL); update_dn_pci_info() 334 * We use the class-code as an indicator. If we run into 347 u32 class = 0; traverse_pci_devices() local 350 classp = of_get_property(dn, "class-code", NULL); traverse_pci_devices() 352 class = of_read_number(classp, 1); traverse_pci_devices() 358 if (dn->child && ((class >> 8) == PCI_CLASS_BRIDGE_PCI || traverse_pci_devices() 359 (class >> 8) == PCI_CLASS_BRIDGE_CARDBUS)) traverse_pci_devices()
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | xcep.c | 145 * refuse to attach if the adapter doesn't support HWMON class of devices. */ 147 .class = I2C_CLASS_HWMON
|