Home
last modified time | relevance | path

Searched refs:sec_len (Results 1 – 5 of 5) sorted by relevance

/drivers/lightnvm/
Dpblk-init.c225 dst->sec_len = src->sec_len; in pblk_set_addrf_12()
228 dst->pln_offset = dst->sec_len; in pblk_set_addrf_12()
234 dst->sec_mask = ((1ULL << dst->sec_len) - 1) << dst->sec_offset; in pblk_set_addrf_12()
252 adst->sec_len = src->sec_len; in pblk_set_addrf_20()
255 adst->ch_offset = adst->sec_len; in pblk_set_addrf_20()
259 adst->sec_mask = ((1ULL << adst->sec_len) - 1) << adst->sec_offset; in pblk_set_addrf_20()
Dpblk-sysfs.c131 ppaf->sec_offset, ppaf->sec_len); in pblk_sysfs_ppaf()
140 gppaf->sec_offset, gppaf->sec_len); in pblk_sysfs_ppaf()
151 ppaf->sec_offset, ppaf->sec_len); in pblk_sysfs_ppaf()
158 gppaf->sec_offset, gppaf->sec_len); in pblk_sysfs_ppaf()
/drivers/nvme/host/
Dlightnvm.c146 __u8 sec_len; member
268 dst->sec_len = src->sec_len; in nvme_nvm_set_addr_12()
282 dst->sec_mask = ((1ULL << dst->sec_len) - 1) << dst->sec_offset; in nvme_nvm_set_addr_12()
381 dst->sec_len = src->lba_len; in nvme_nvm_set_addr_20()
384 dst->chk_offset = dst->sec_len; in nvme_nvm_set_addr_20()
391 dst->sec_mask = ((1ULL << dst->sec_len) - 1) << dst->sec_offset; in nvme_nvm_set_addr_20()
1028 ppaf->sec_offset, ppaf->sec_len); in nvm_dev_attr_show_ppaf()
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c1133 char sec_len; in rtw_wx_set_scan() local
1146 sec_len = *(pos++); len -= 1; in rtw_wx_set_scan()
1147 if (sec_len > 0 && in rtw_wx_set_scan()
1148 sec_len <= len && in rtw_wx_set_scan()
1149 sec_len <= 32) { in rtw_wx_set_scan()
1150 ssid[ssid_index].ssid_length = sec_len; in rtw_wx_set_scan()
1151 memcpy(ssid[ssid_index].ssid, pos, sec_len); in rtw_wx_set_scan()
1154 pos += sec_len; in rtw_wx_set_scan()
1155 len -= sec_len; in rtw_wx_set_scan()
/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c1336 char sec_len; in rtw_wx_set_scan() local
1352 sec_len = *(pos++); len -= 1; in rtw_wx_set_scan()
1354 if (sec_len > 0 && in rtw_wx_set_scan()
1355 sec_len <= len && in rtw_wx_set_scan()
1356 sec_len <= 32) { in rtw_wx_set_scan()
1357 ssid[ssid_index].SsidLength = sec_len; in rtw_wx_set_scan()
1358 memcpy(ssid[ssid_index].Ssid, pos, sec_len); in rtw_wx_set_scan()
1364 pos += sec_len; len -= sec_len; in rtw_wx_set_scan()