Lines Matching refs:kobj

75 static ssize_t state_read(struct file *filp, struct kobject *kobj,  in state_read()  argument
79 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in state_read()
81 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in state_read()
84 return _read_reg(kobj_to_w1_slave(kobj), W1_F29_REG_LOGIG_STATE, buf); in state_read()
87 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read() argument
91 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in output_read()
93 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in output_read()
96 return _read_reg(kobj_to_w1_slave(kobj), in output_read()
100 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read() argument
104 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in activity_read()
106 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in activity_read()
109 return _read_reg(kobj_to_w1_slave(kobj), in activity_read()
113 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read() argument
117 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in cond_search_mask_read()
119 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in cond_search_mask_read()
122 return _read_reg(kobj_to_w1_slave(kobj), in cond_search_mask_read()
127 struct kobject *kobj, in cond_search_polarity_read() argument
133 return _read_reg(kobj_to_w1_slave(kobj), in cond_search_polarity_read()
137 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read() argument
143 return _read_reg(kobj_to_w1_slave(kobj), in status_control_read()
147 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write() argument
151 struct w1_slave *sl = kobj_to_w1_slave(kobj); in output_write()
218 static ssize_t activity_write(struct file *filp, struct kobject *kobj, in activity_write() argument
222 struct w1_slave *sl = kobj_to_w1_slave(kobj); in activity_write()
248 static ssize_t status_control_write(struct file *filp, struct kobject *kobj, in status_control_write() argument
252 struct w1_slave *sl = kobj_to_w1_slave(kobj); in status_control_write()