• Home
  • Raw
  • Download

Lines Matching refs:kobj

67 static ssize_t state_read(struct file *filp, struct kobject *kobj,  in state_read()  argument
71 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in state_read()
73 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in state_read()
76 return _read_reg(kobj_to_w1_slave(kobj), W1_F29_REG_LOGIG_STATE, buf); in state_read()
79 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read() argument
83 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in output_read()
85 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in output_read()
88 return _read_reg(kobj_to_w1_slave(kobj), in output_read()
92 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read() argument
96 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in activity_read()
98 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in activity_read()
101 return _read_reg(kobj_to_w1_slave(kobj), in activity_read()
105 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read() argument
109 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in cond_search_mask_read()
111 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in cond_search_mask_read()
114 return _read_reg(kobj_to_w1_slave(kobj), in cond_search_mask_read()
119 struct kobject *kobj, in cond_search_polarity_read() argument
125 return _read_reg(kobj_to_w1_slave(kobj), in cond_search_polarity_read()
129 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read() argument
135 return _read_reg(kobj_to_w1_slave(kobj), in status_control_read()
162 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write() argument
166 struct w1_slave *sl = kobj_to_w1_slave(kobj); in output_write()
212 static ssize_t activity_write(struct file *filp, struct kobject *kobj, in activity_write() argument
216 struct w1_slave *sl = kobj_to_w1_slave(kobj); in activity_write()
242 static ssize_t status_control_write(struct file *filp, struct kobject *kobj, in status_control_write() argument
246 struct w1_slave *sl = kobj_to_w1_slave(kobj); in status_control_write()