Searched refs:cls (Results 1 – 11 of 11) sorted by relevance
/drivers/base/ |
D | class.c | 102 int class_create_file(struct class *cls, const struct class_attribute *attr) in class_create_file() argument 105 if (cls) in class_create_file() 106 error = sysfs_create_file(&cls->p->subsys.kobj, in class_create_file() 113 void class_remove_file(struct class *cls, const struct class_attribute *attr) in class_remove_file() argument 115 if (cls) in class_remove_file() 116 sysfs_remove_file(&cls->p->subsys.kobj, &attr->attr); in class_remove_file() 119 static struct class *class_get(struct class *cls) in class_get() argument 121 if (cls) in class_get() 122 kset_get(&cls->p->subsys); in class_get() 123 return cls; in class_get() [all …]
|
/drivers/hid/ |
D | hid-multitouch.c | 432 struct mt_class *cls = &td->mtclass; in mt_touch_input_mapping() local 468 cls->sn_move); in mt_touch_input_mapping() 473 cls->sn_move); in mt_touch_input_mapping() 483 cls->sn_move); in mt_touch_input_mapping() 488 cls->sn_move); in mt_touch_input_mapping() 499 if (cls->quirks & MT_QUIRK_HOVERING) { in mt_touch_input_mapping() 523 if (!(cls->quirks & MT_QUIRK_NO_AREA)) in mt_touch_input_mapping() 525 cls->sn_width); in mt_touch_input_mapping() 531 if (!(cls->quirks & MT_QUIRK_NO_AREA)) { in mt_touch_input_mapping() 533 cls->sn_height); in mt_touch_input_mapping() [all …]
|
/drivers/ata/ |
D | sata_sil.c | 666 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()
|
D | sata_vsc.c | 351 u8 cls; in vsc_sata_init_one() local 402 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &cls); in vsc_sata_init_one() 403 if (cls == 0x00) in vsc_sata_init_one()
|
/drivers/block/ |
D | osdblk.c | 466 static void class_osdblk_release(struct class *cls) in class_osdblk_release() argument 468 kfree(cls); in class_osdblk_release()
|
D | pktcdvd.c | 340 static void class_pktcdvd_release(struct class *cls) in class_pktcdvd_release() argument 342 kfree(cls); in class_pktcdvd_release()
|
/drivers/pci/ |
D | quirks.c | 3035 u8 cls = 0; in pci_apply_final_quirks() local 3052 if (!cls) in pci_apply_final_quirks() 3053 cls = tmp; in pci_apply_final_quirks() 3054 if (!tmp || cls == tmp) in pci_apply_final_quirks() 3058 "using %u bytes\n", cls << 2, tmp << 2, in pci_apply_final_quirks() 3066 cls << 2, pci_dfl_cache_line_size << 2); in pci_apply_final_quirks() 3067 pci_cache_line_size = cls ? cls : pci_dfl_cache_line_size; in pci_apply_final_quirks()
|
/drivers/hwmon/ |
D | asus_atk0110.c | 735 u8 cls; in atk_debugfs_ggrp_open() local 743 cls = (data->debugfs.id & 0xff000000) >> 24; in atk_debugfs_ggrp_open() 744 ret = atk_ggrp(data, cls); in atk_debugfs_ggrp_open()
|
/drivers/isdn/mISDN/ |
D | core.c | 156 static void mISDN_class_release(struct class *cls) in mISDN_class_release() argument
|
/drivers/net/bonding/ |
D | bond_sysfs.c | 53 static ssize_t bonding_show_bonds(struct class *cls, in bonding_show_bonds() argument 100 static ssize_t bonding_store_bonds(struct class *cls, in bonding_store_bonds() argument 152 static const void *bonding_namespace(struct class *cls, in bonding_namespace() argument
|
/drivers/video/ |
D | jz4740_fb.c | 449 writel(pdata->special_tft_config.cls, jzfb->base + JZ_REG_LCD_CLS); in jzfb_set_par()
|