Home
last modified time | relevance | path

Searched refs:subclass (Results 1 – 25 of 69) sorted by relevance

123

/linux/arch/arm/mach-omap2/
H A Dsoc.h108 #define IS_OMAP_SUBCLASS(subclass, id) \ argument
109 static inline int is_omap ##subclass (void) \
114 #define IS_TI_SUBCLASS(subclass, id) \ argument
115 static inline int is_ti ##subclass (void) \
120 #define IS_AM_SUBCLASS(subclass, id) \ argument
121 static inline int is_am ##subclass (void) \
126 #define IS_DRA_SUBCLASS(subclass, id) \ argument
127 static inline int is_dra ##subclass (void) \
134 #define IS_DRA_SUBCLASS_PACKAGE(subclass, package, id) \ argument
135 static inline int is_dra ##subclass ##_ ##package (void) \
[all …]
/linux/include/linux/
H A Dspinlock.h220 # define raw_spin_lock_nested(lock, subclass) \ argument
221 _raw_spin_lock_nested(lock, subclass)
230 * Always evaluate the 'subclass' argument to avoid that the compiler
234 # define raw_spin_lock_nested(lock, subclass) \ argument
235 _raw_spin_lock(((void)(subclass), (lock)))
248 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
251 flags = _raw_spin_lock_irqsave_nested(lock, subclass); \
254 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
269 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
356 #define spin_lock_nested(lock, subclass) \ in spin_lock_bh()
364 spin_lock_nested(lock,subclass) global() argument
384 spin_lock_irqsave_nested(lock,flags,subclass) global() argument
[all...]
H A Dxarray.h546 #define xa_lock_nested(xa, subclass) \ argument
547 spin_lock_nested(&(xa)->xa_lock, subclass)
548 #define xa_lock_bh_nested(xa, subclass) \ argument
549 spin_lock_bh_nested(&(xa)->xa_lock, subclass)
550 #define xa_lock_irq_nested(xa, subclass) \ argument
551 spin_lock_irq_nested(&(xa)->xa_lock, subclass)
552 #define xa_lock_irqsave_nested(xa, flags, subclass) \ argument
553 spin_lock_irqsave_nested(&(xa)->xa_lock, flags, subclass)
H A Dspinlock_api_up.h65 #define _raw_spin_lock_nested(lock, subclass) __LOCK(lock)
68 #define _raw_write_lock_nested(lock, subclass) __LOCK(lock)
59 _raw_spin_lock_nested(lock,subclass) global() argument
62 _raw_write_lock_nested(lock,subclass) global() argument
H A Dspinlock_api_smp.h23 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass)
35 _raw_spin_lock_irqsave_nested(raw_spinlock_t *lock, int subclass)
/linux/arch/s390/kernel/
H A Dirq.c393 void irq_subclass_register(enum irq_subclass subclass) in irq_subclass_register() argument
396 if (!irq_subclass_refcount[subclass]) in irq_subclass_register()
397 system_ctl_set_bit(0, subclass); in irq_subclass_register()
398 irq_subclass_refcount[subclass]++; in irq_subclass_register()
403 void irq_subclass_unregister(enum irq_subclass subclass) in irq_subclass_unregister() argument
406 irq_subclass_refcount[subclass]--; in irq_subclass_unregister()
407 if (!irq_subclass_refcount[subclass]) in irq_subclass_unregister()
408 system_ctl_clear_bit(0, subclass); in irq_subclass_unregister()
/linux/tools/usb/usbip/libsrc/
H A Dusbip_common.c296 uint8_t subclass, uint8_t protocol) in usbip_names_get_class() argument
300 if (class == 0 && subclass == 0 && protocol == 0) { in usbip_names_get_class()
301 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); in usbip_names_get_class()
305 p = names_protocol(class, subclass, protocol); in usbip_names_get_class()
309 s = names_subclass(class, subclass); in usbip_names_get_class()
317 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); in usbip_names_get_class()
H A Dnames.c43 struct subclass { struct
44 struct subclass *next; argument
80 static struct subclass *subclasses[HASHSZ] = { NULL, };
118 struct subclass *s; in names_subclass()
249 struct subclass *s; in new_subclass()
256 s = my_malloc(sizeof(struct subclass) + strlen(name)); in new_subclass()
/linux/fs/jfs/
H A Djfs_incore.h108 #define IREAD_LOCK(ip, subclass) \ argument
109 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass)
111 #define IWRITE_LOCK(ip, subclass) \ argument
112 down_write_nested(&JFS_IP(ip)->rdwrlock, subclass)
/linux/rust/kernel/
H A Dusb.rs154 pub const fn from_device_info(class: u8, subclass: u8, protocol: u8) -> Self { in from_device_info()
158 bDeviceSubClass: subclass, in from_device_info()
166 pub const fn from_interface_info(class: u8, subclass: u8, protocol: u8) -> Self { in from_interface_info()
170 bInterfaceSubClass: subclass, in from_interface_info()
221 subclass: u8, in from_device_and_interface_info()
230 bInterfaceSubClass: subclass, in from_device_and_interface_info()
/linux/Documentation/usb/
H A Dfunctionfs-desc.rst19 Standard USB interface descriptors may be written. The class/subclass of the
26 Class-specific descriptors are accepted only for the class/subclass of the
33 When the interface class is USB_CLASS_APP_SPEC and the interface subclass
/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-hid12 subclass HID device subclass to use
H A Dconfigfs-usb-gadget-rndis17 subclass USB interface subclass, default is 06 (hex)
/linux/tools/include/linux/
H A Drwsem.h41 #define down_read_nested(sem, subclass) down_read(sem) argument
42 #define down_write_nested(sem, subclass) down_write(sem) argument
/linux/arch/s390/include/asm/
H A Dirq.h118 void irq_subclass_register(enum irq_subclass subclass);
119 void irq_subclass_unregister(enum irq_subclass subclass);
/linux/include/linux/soc/ti/
H A Domap1-soc.h69 #define IS_OMAP_SUBCLASS(subclass, id) \ argument
70 static inline int is_omap ##subclass (void) \
/linux/kernel/locking/
H A Dlockdep.c730 if (class->subclass) in __print_lock_name()
731 printk(KERN_CONT "/%d", class->subclass); in __print_lock_name()
876 if (new_class->key - new_class->subclass == class->key) in count_matching_names()
887 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class() argument
893 if (unlikely(subclass >= MAX_LOCKDEP_SUBCLASSES)) { in look_up_lock_class()
898 "BUG: looking up invalid subclass: %u\n", subclass); in look_up_lock_class()
923 key = lock->key->subkeys + subclass; in look_up_lock_class()
1285 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class() argument
1294 class = look_up_lock_class(lock, subclass); in register_lock_class()
1305 key = lock->key->subkeys + subclass; in register_lock_class()
[all …]
H A Drwsem.c1659 void down_read_nested(struct rw_semaphore *sem, int subclass) in down_read_nested() argument
1662 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in down_read_nested()
1667 int down_read_killable_nested(struct rw_semaphore *sem, int subclass) in down_read_killable_nested() argument
1670 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in down_read_killable_nested()
1703 void down_write_nested(struct rw_semaphore *sem, int subclass) in down_write_nested() argument
1706 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in down_write_nested()
1711 int __sched down_write_killable_nested(struct rw_semaphore *sem, int subclass) in down_write_killable_nested() argument
1714 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in down_write_killable_nested()
H A Dlockdep_proc.c72 if (class->subclass) in print_name()
73 seq_printf(m, "/%d", class->subclass); in print_name()
475 if (class->subclass) in seq_stats()
502 if (class->subclass) { in seq_stats()
503 snprintf(name+namelen, 3, "/%d", class->subclass); in seq_stats()
/linux/tools/usb/usbip/
H A DREADME201 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
206 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
211 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
212 : 0 - Vendor Specific Class / unknown subclass / unknown protocol (ff/00/00)
216 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
217 : 0 - Data / unknown subclass / unknown protocol (0a/ff/00)
/linux/Documentation/translations/zh_CN/locking/
H A Dmutex-design.rst112 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
118 unsigned int subclass);
/linux/include/trace/events/
H A Dlock.h26 TP_PROTO(struct lockdep_map *lock, unsigned int subclass,
30 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
/linux/net/bluetooth/hidp/
H A Dsock.c139 __u8 subclass; member
190 ca.subclass = ca32.subclass; in hidp_sock_compat_ioctl()
/linux/drivers/nvdimm/
H A Dsecurity.c91 key_serial_t id, int subclass) in nvdimm_lookup_user_key() argument
110 down_read_nested(&key->sem, subclass); in nvdimm_lookup_user_key()
121 key_serial_t id, int subclass, struct key **key) in nvdimm_get_user_key_payload() argument
125 if (subclass == NVDIMM_BASE_KEY) in nvdimm_get_user_key_payload()
131 *key = nvdimm_lookup_user_key(nvdimm, id, subclass); in nvdimm_get_user_key_payload()
/linux/include/linux/usb/
H A Dg_hid.h12 unsigned char subclass; member

123