Ejemplo n.º 1
0
static ssize_t mip_issigned_store(struct device *dev,
		struct device_attribute *attr, const char *buf, size_t size)
{
	mip_generic_store(buf, MIP_DBG_ISSIGNED, &mip_issigned);
	return size;
}
Ejemplo n.º 2
0
static ssize_t mip_offset_store(struct device *dev,
		struct device_attribute *attr, const char *buf, size_t size)
{
	mip_generic_store(buf, MIP_DBG_OFFSET, &mip_offset);
	return size;
}
Ejemplo n.º 3
0
static ssize_t mip_len_store(struct device *dev,
		struct device_attribute *attr, const char *buf, size_t size)
{
	mip_generic_store(buf, MIP_DBG_LEN, &mip_len);
	return size;
}
Ejemplo n.º 4
0
static ssize_t mip_data_store(struct device *dev,
		struct device_attribute *attr, const char *buf, size_t size)
{
	mip_generic_store(buf, MIP_DBG_DATA, NULL);
	return size;
}
static ssize_t mip_len_store(struct kobject *kobj,
		struct kobj_attribute *attr, const char *buf, size_t size)
{
	mip_generic_store(buf, MIP_DBG_LEN, &mip_len);
	return size;
}
static ssize_t mip_data_store(struct kobject *kobj,
		struct kobj_attribute *attr, const char *buf, size_t size)
{
	mip_generic_store(buf, MIP_DBG_DATA, NULL);
	return size;
}