Searched refs:cnts (Results 1 – 5 of 5) sorted by relevance
/drivers/mfd/ |
D | mfd-core.c | 167 atomic_t *cnts; in mfd_add_devices() local 170 cnts = kcalloc(n_devs, sizeof(*cnts), GFP_KERNEL); in mfd_add_devices() 171 if (!cnts) in mfd_add_devices() 175 atomic_set(&cnts[i], 0); in mfd_add_devices() 176 cells[i].usage_count = &cnts[i]; in mfd_add_devices() 211 atomic_t *cnts = NULL; in mfd_remove_devices() local 213 device_for_each_child(parent, &cnts, mfd_remove_devices_fn); in mfd_remove_devices() 214 kfree(cnts); in mfd_remove_devices()
|
/drivers/staging/rtl8712/ |
D | rtl8712_efuse.c | 435 u16 cnts, u8 *data) in r8712_efuse_access() argument 442 if ((bRead == false) && ((start_addr + cnts) > in r8712_efuse_access() 448 for (i = 0; i < cnts; i++) { in r8712_efuse_access() 463 u8 r8712_efuse_map_read(struct _adapter *padapter, u16 addr, u16 cnts, u8 *data) in r8712_efuse_map_read() argument 469 if ((addr + cnts) > EFUSE_MAP_MAX_SIZE) in r8712_efuse_map_read() 473 for (i = 0; i < cnts; i++) in r8712_efuse_map_read() 485 if (idx == cnts) in r8712_efuse_map_read() 496 u8 r8712_efuse_map_write(struct _adapter *padapter, u16 addr, u16 cnts, in r8712_efuse_map_write() argument 503 if ((addr + cnts) > EFUSE_MAP_MAX_SIZE) in r8712_efuse_map_write() 536 if ((cnts - idx) == 1) { in r8712_efuse_map_write() [all …]
|
D | rtl8712_efuse.h | 38 u16 start_addr, u16 cnts, u8 *data); 40 u16 cnts, u8 *data); 42 u16 cnts, u8 *data);
|
D | rtl871x_mp_ioctl.c | 1159 u16 addr = 0, cnts = 0; in oid_rt_pro_read_efuse_hdl() local 1168 cnts = pefuse->cnts; in oid_rt_pro_read_efuse_hdl() 1170 memset(data, 0xFF, cnts); in oid_rt_pro_read_efuse_hdl() 1171 if ((addr > 511) || (cnts < 1) || (cnts > 512) || (addr + cnts) > in oid_rt_pro_read_efuse_hdl() 1174 if (r8712_efuse_access(Adapter, true, addr, cnts, data) == false) in oid_rt_pro_read_efuse_hdl() 1189 u16 addr = 0, cnts = 0; in oid_rt_pro_write_efuse_hdl() local 1196 cnts = pefuse->cnts; in oid_rt_pro_write_efuse_hdl() 1199 if ((addr > 511) || (cnts < 1) || (cnts > 512) || in oid_rt_pro_write_efuse_hdl() 1200 (addr + cnts) > r8712_efuse_get_max_size(Adapter)) in oid_rt_pro_write_efuse_hdl() 1202 if (r8712_efuse_access(Adapter, false, addr, cnts, data) == false) in oid_rt_pro_write_efuse_hdl()
|
D | rtl871x_mp_ioctl.h | 62 u16 cnts; member
|