Searched refs:s_mem (Results 1 – 5 of 5) sorted by relevance
320 struct cros_ec_readmem s_mem = { }; in cros_ec_chardev_ioctl_readmem() local327 if (copy_from_user(&s_mem, arg, sizeof(s_mem))) in cros_ec_chardev_ioctl_readmem()330 num = ec_dev->cmd_readmem(ec_dev, s_mem.offset, s_mem.bytes, in cros_ec_chardev_ioctl_readmem()331 s_mem.buffer); in cros_ec_chardev_ioctl_readmem()335 if (copy_to_user((void __user *)arg, &s_mem, sizeof(s_mem))) in cros_ec_chardev_ioctl_readmem()
92 void *object = x - (x - page->s_mem) % cache->size; in nearest_obj()93 void *last_object = page->s_mem + (cache->num - 1) * cache->size; in nearest_obj()110 u32 offset = (obj - page->s_mem); in obj_to_index()
124 void *s_mem; /* slab: first object */ member
645 s_mem_to_reg (unsigned long s_mem) in s_mem_to_reg() argument647 unsigned long frac = (s_mem >> 0) & 0x7fffff; in s_mem_to_reg()648 unsigned long sign = (s_mem >> 31) & 0x1; in s_mem_to_reg()649 unsigned long exp_msb = (s_mem >> 30) & 0x1; in s_mem_to_reg()650 unsigned long exp_low = (s_mem >> 23) & 0x7f; in s_mem_to_reg()
377 return page->s_mem + cache->size * idx; in index_to_obj()2298 page->s_mem = addr + colour_off; in alloc_slabmgmt()