Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/base/
Dclass.c89 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, in class_create_file_ns() argument
94 if (cls) in class_create_file_ns()
95 error = sysfs_create_file_ns(&cls->p->subsys.kobj, in class_create_file_ns()
102 void class_remove_file_ns(struct class *cls, const struct class_attribute *attr, in class_remove_file_ns() argument
105 if (cls) in class_remove_file_ns()
106 sysfs_remove_file_ns(&cls->p->subsys.kobj, &attr->attr, ns); in class_remove_file_ns()
109 static struct class *class_get(struct class *cls) in class_get() argument
111 if (cls) in class_get()
112 kset_get(&cls->p->subsys); in class_get()
113 return cls; in class_get()
[all …]
/linux-4.1.27/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.1.27/net/ipv4/netfilter/
Dnf_nat_snmp_basic.c189 unsigned int *cls, in asn1_id_decode() argument
198 *cls = (ch & 0xC0) >> 6; in asn1_id_decode()
248 unsigned int *cls, in asn1_header_decode() argument
254 if (!asn1_id_decode(ctx, cls, con, tag)) in asn1_header_decode()
654 unsigned int cls, in snmp_tag_cls2syntax() argument
662 if (cnv->tag == tag && cnv->class == cls) { in snmp_tag_cls2syntax()
674 unsigned int cls, con, tag, len, idlen; in snmp_object_decode() local
684 if (!asn1_header_decode(ctx, &eoc, &cls, &con, &tag)) in snmp_object_decode()
687 if (cls != ASN1_UNI || con != ASN1_CON || tag != ASN1_SEQ) in snmp_object_decode()
690 if (!asn1_header_decode(ctx, &end, &cls, &con, &tag)) in snmp_object_decode()
[all …]
/linux-4.1.27/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.h399 void class_compat_unregister(struct class_compat *cls);
400 int class_compat_create_link(struct class_compat *cls, struct device *dev,
402 void class_compat_remove_link(struct class_compat *cls, struct device *dev,
483 extern void class_destroy(struct class *cls);
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);
/linux-4.1.27/drivers/hid/
Dhid-multitouch.c390 struct mt_class *cls = &td->mtclass; in mt_touch_input_mapping() local
422 cls->sn_move); in mt_touch_input_mapping()
427 cls->sn_move); in mt_touch_input_mapping()
437 cls->sn_move); in mt_touch_input_mapping()
442 cls->sn_move); in mt_touch_input_mapping()
453 if (cls->quirks & MT_QUIRK_HOVERING) { in mt_touch_input_mapping()
477 if (!(cls->quirks & MT_QUIRK_NO_AREA)) in mt_touch_input_mapping()
479 cls->sn_width); in mt_touch_input_mapping()
485 if (!(cls->quirks & MT_QUIRK_NO_AREA)) { in mt_touch_input_mapping()
487 cls->sn_height); in mt_touch_input_mapping()
[all …]
/linux-4.1.27/arch/arm64/kernel/
Dsetup.c241 int cls; in setup_processor() local
255 cls = cache_line_size(); in setup_processor()
258 cls); in setup_processor()
259 if (L1_CACHE_BYTES < cls) in setup_processor()
261 L1_CACHE_BYTES, cls); in setup_processor()
/linux-4.1.27/drivers/ata/
Dsata_sil.c666 u8 cls; in sil_init_controller() local
671 cls = sil_get_device_cache_line(pdev); in sil_init_controller()
672 if (cls) { in sil_init_controller()
673 cls >>= 3; in sil_init_controller()
674 cls++; /* cls = (line_size/8)+1 */ in sil_init_controller()
676 writew(cls << 8 | cls, in sil_init_controller()
Dsata_vsc.c350 u8 cls; in vsc_sata_init_one() local
401 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &cls); in vsc_sata_init_one()
402 if (cls == 0x00) in vsc_sata_init_one()
/linux-4.1.27/arch/mips/include/asm/mach-jz4740/
Djz4740_fb.h58 uint32_t cls; member
/linux-4.1.27/net/ceph/
Dosd_client.c149 return osd_req_op_data(osd_req, which, cls, response_data); in osd_req_op_cls_response_data()
207 osd_data = osd_req_op_data(osd_req, which, cls, request_info); in osd_req_op_cls_request_info_pagelist()
217 osd_data = osd_req_op_data(osd_req, which, cls, request_data); in osd_req_op_cls_request_data_pagelist()
228 osd_data = osd_req_op_data(osd_req, which, cls, request_data); in osd_req_op_cls_request_data_pages()
240 osd_data = osd_req_op_data(osd_req, which, cls, response_data); in osd_req_op_cls_response_data_pages()
291 ceph_osd_data_release(&op->cls.request_info); in osd_req_op_data_release()
292 ceph_osd_data_release(&op->cls.request_data); in osd_req_op_data_release()
293 ceph_osd_data_release(&op->cls.response_data); in osd_req_op_data_release()
529 op->cls.class_name = class; in osd_req_op_cls_init()
532 op->cls.class_len = size; in osd_req_op_cls_init()
[all …]
/linux-4.1.27/drivers/media/platform/ti-vpe/
Dvpdma_priv.h476 static inline u32 cfd_pkt_payload_len(bool direct, int cls, int dest, in cfd_pkt_payload_len() argument
481 (cls << CFD_CLASS_SHFT) | in cfd_pkt_payload_len()
/linux-4.1.27/Documentation/driver-model/
Dclass.txt45 int devclass_register(struct device_class * cls);
46 void devclass_unregister(struct device_class * cls);
/linux-4.1.27/drivers/block/
Dosdblk.c466 static void class_osdblk_release(struct class *cls) in class_osdblk_release() argument
468 kfree(cls); in class_osdblk_release()
Dpktcdvd.c346 static void class_pktcdvd_release(struct class *cls) in class_pktcdvd_release() argument
348 kfree(cls); in class_pktcdvd_release()
/linux-4.1.27/arch/mips/include/asm/txx9/
Dtx3927.h79 endian_def_b4(unused0, ht, mlt, cls);
/linux-4.1.27/drivers/pci/
Dquirks.c3333 u8 cls = 0; in pci_apply_final_quirks() local
3350 if (!cls) in pci_apply_final_quirks()
3351 cls = tmp; in pci_apply_final_quirks()
3352 if (!tmp || cls == tmp) in pci_apply_final_quirks()
3356 cls << 2, tmp << 2, in pci_apply_final_quirks()
3364 cls << 2, pci_dfl_cache_line_size << 2); in pci_apply_final_quirks()
3365 pci_cache_line_size = cls ? cls : pci_dfl_cache_line_size; in pci_apply_final_quirks()
/linux-4.1.27/drivers/net/bonding/
Dbond_sysfs.c51 static ssize_t bonding_show_bonds(struct class *cls, in bonding_show_bonds() argument
95 static ssize_t bonding_store_bonds(struct class *cls, in bonding_store_bonds() argument
/linux-4.1.27/include/linux/ceph/
Dosd_client.h105 } cls; member
Drados.h444 } __attribute__ ((packed)) cls; member
/linux-4.1.27/drivers/isdn/mISDN/
Dcore.c164 static void mISDN_class_release(struct class *cls) in mISDN_class_release() argument
/linux-4.1.27/drivers/hwmon/
Dasus_atk0110.c730 u8 cls; in atk_debugfs_ggrp_open() local
738 cls = (data->debugfs.id & 0xff000000) >> 24; in atk_debugfs_ggrp_open()
739 ret = atk_ggrp(data, cls); in atk_debugfs_ggrp_open()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h237 uint32_t cls:8; member
239 uint32_t cls:8;
1466 uint32_t cls:1; member
1472 uint32_t cls:1;
Dcvmx-pci-defs.h289 uint32_t cls:8; member
291 uint32_t cls:8;
Dcvmx-mio-defs.h4137 uint64_t cls:2; member
4139 uint64_t cls:2;
4890 uint64_t cls:2; member
4892 uint64_t cls:2;
/linux-4.1.27/drivers/video/fbdev/
Djz4740_fb.c449 writel(pdata->special_tft_config.cls, jzfb->base + JZ_REG_LCD_CLS); in jzfb_set_par()
/linux-4.1.27/Documentation/
Dparport-lowlevel.txt843 int parport_find_class (parport_device_class cls, int from);