Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 11 of 11) sorted by relevance

/linux-4.19.296/drivers/base/
Dclass.c87 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, in class_create_file_ns() argument
92 if (cls) in class_create_file_ns()
93 error = sysfs_create_file_ns(&cls->p->subsys.kobj, in class_create_file_ns()
100 void class_remove_file_ns(struct class *cls, const struct class_attribute *attr, in class_remove_file_ns() argument
103 if (cls) in class_remove_file_ns()
104 sysfs_remove_file_ns(&cls->p->subsys.kobj, &attr->attr, ns); in class_remove_file_ns()
107 static struct class *class_get(struct class *cls) in class_get() argument
109 if (cls) in class_get()
110 kset_get(&cls->p->subsys); in class_get()
111 return cls; in class_get()
[all …]
/linux-4.19.296/fs/cifs/
Dasn1.c168 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_id_decode() argument
175 *cls = (ch & 0xC0) >> 6; in asn1_id_decode()
225 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_header_decode() argument
230 if (!asn1_id_decode(ctx, cls, con, tag)) in asn1_header_decode()
501 unsigned int cls, con, tag, oidlen, rc; in decode_negTokenInit() local
508 if (asn1_header_decode(&ctx, &end, &cls, &con, &tag) == 0) { in decode_negTokenInit()
511 } else if ((cls != ASN1_APL) || (con != ASN1_CON) in decode_negTokenInit()
513 cifs_dbg(FYI, "cls = %d con = %d tag = %d\n", cls, con, tag); in decode_negTokenInit()
518 rc = asn1_header_decode(&ctx, &end, &cls, &con, &tag); in decode_negTokenInit()
521 (cls == ASN1_UNI)) { in decode_negTokenInit()
[all …]
/linux-4.19.296/include/linux/
Dtransport_class.h28 #define DECLARE_TRANSPORT_CLASS(cls, nm, su, rm, cfg) \ argument
29 struct transport_class cls = { \
44 #define DECLARE_ANON_TRANSPORT_CLASS(cls, mtch, cfg) \ argument
45 struct anon_transport_class cls = { \
Ddevice.h450 void class_compat_unregister(struct class_compat *cls);
451 int class_compat_create_link(struct class_compat *cls, struct device *dev,
453 void class_compat_remove_link(struct class_compat *cls, struct device *dev,
534 extern void class_destroy(struct class *cls);
1282 struct device *device_create_vargs(struct class *cls, struct device *parent,
1286 struct device *device_create(struct class *cls, struct device *parent,
1290 struct device *device_create_with_groups(struct class *cls,
1294 extern void device_destroy(struct class *cls, dev_t devt);
Dmod_devicetable.h194 __u32 cls; member
Dacpi.h94 #define ACPI_DEVICE_CLASS(_cls, _msk) .cls = (_cls), .cls_msk = (_msk),
653 #define ACPI_DEVICE_CLASS(_cls, _msk) .cls = (0), .cls_msk = (0),
/linux-4.19.296/drivers/hid/
Dhid-multitouch.c690 struct mt_class *cls = &td->mtclass; in mt_touch_input_mapping() local
723 set_abs(hi->input, code, field, cls->sn_move); in mt_touch_input_mapping()
748 set_abs(hi->input, code, field, cls->sn_move); in mt_touch_input_mapping()
764 if ((cls->name == MT_CLS_WIN_8 || in mt_touch_input_mapping()
765 cls->name == MT_CLS_WIN_8_DUAL) && in mt_touch_input_mapping()
791 cls->sn_width); in mt_touch_input_mapping()
797 cls->sn_height); in mt_touch_input_mapping()
812 cls->sn_pressure); in mt_touch_input_mapping()
833 cls->sn_move ? in mt_touch_input_mapping()
834 field->logical_maximum / cls->sn_move : 0, 0); in mt_touch_input_mapping()
[all …]
/linux-4.19.296/drivers/isdn/mISDN/
Dcore.c164 static void mISDN_class_release(struct class *cls) in mISDN_class_release() argument
/linux-4.19.296/include/linux/ceph/
Drados.h478 } __attribute__ ((packed)) cls; member
Dosd_client.h118 } cls; member
/linux-4.19.296/drivers/pci/
Dquirks.c159 u8 cls = 0; in pci_apply_final_quirks() local
176 if (!cls) in pci_apply_final_quirks()
177 cls = tmp; in pci_apply_final_quirks()
178 if (!tmp || cls == tmp) in pci_apply_final_quirks()
182 cls << 2, tmp << 2, in pci_apply_final_quirks()
190 cls << 2, pci_dfl_cache_line_size << 2); in pci_apply_final_quirks()
191 pci_cache_line_size = cls ? cls : pci_dfl_cache_line_size; in pci_apply_final_quirks()