Lines Matching refs:kobj
211 static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj, in read_cc_table_bin() argument
217 container_of(kobj, struct qib_pportdata, pport_cc_kobj); in read_cc_table_bin()
241 static void qib_port_release(struct kobject *kobj) in qib_port_release() argument
261 static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj, in read_cc_setting_bin() argument
267 container_of(kobj, struct qib_pportdata, pport_cc_kobj); in read_cc_setting_bin()
296 static ssize_t qib_portattr_show(struct kobject *kobj, in qib_portattr_show() argument
302 container_of(kobj, struct qib_pportdata, pport_kobj); in qib_portattr_show()
307 static ssize_t qib_portattr_store(struct kobject *kobj, in qib_portattr_store() argument
313 container_of(kobj, struct qib_pportdata, pport_kobj); in qib_portattr_store()
380 static ssize_t sl2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sl2vl_attr_show() argument
386 container_of(kobj, struct qib_pportdata, sl2vl_kobj); in sl2vl_attr_show()
452 static ssize_t diagc_attr_show(struct kobject *kobj, struct attribute *attr, in diagc_attr_show() argument
458 container_of(kobj, struct qib_pportdata, diagc_kobj); in diagc_attr_show()
464 static ssize_t diagc_attr_store(struct kobject *kobj, struct attribute *attr, in diagc_attr_store() argument
470 container_of(kobj, struct qib_pportdata, diagc_kobj); in diagc_attr_store()
679 struct kobject *kobj) in qib_create_port_files() argument
694 ret = kobject_init_and_add(&ppd->pport_kobj, &qib_port_ktype, kobj, in qib_create_port_files()
704 ret = kobject_init_and_add(&ppd->sl2vl_kobj, &qib_sl2vl_ktype, kobj, in qib_create_port_files()
714 ret = kobject_init_and_add(&ppd->diagc_kobj, &qib_diagc_ktype, kobj, in qib_create_port_files()
728 kobj, "CCMgtA"); in qib_create_port_files()