Searched refs:sec_mask (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
D | qla_sup.c | 1275 uint32_t sec_mask, rest_addr, fdata; in qla24xx_write_flash_data() local 1303 sec_mask = ~rest_addr; in qla24xx_write_flash_data() 1305 fdata = (faddr & sec_mask) << 2; in qla24xx_write_flash_data() 2244 uint32_t sec_mask, uint8_t man_id, uint8_t flash_id) in qla2x00_erase_flash_sector() argument 2253 qla2x00_write_flash_byte(ha, addr & sec_mask, 0x10); in qla2x00_erase_flash_sector() 2255 qla2x00_write_flash_byte(ha, addr & sec_mask, 0x30); in qla2x00_erase_flash_sector() 2392 uint32_t addr, liter, sec_mask, rest_addr; in qla2x00_write_optrom_data() local 2414 sec_mask = 0x10000; in qla2x00_write_optrom_data() 2427 sec_mask = 0x10000; in qla2x00_write_optrom_data() 2435 sec_mask = 0x1c000; in qla2x00_write_optrom_data() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | lightnvm.h | 210 u64 sec_mask; member 229 u64 sec_mask; member 483 l.g.sec = (r.ppa & ppaf->sec_mask) >> ppaf->sec_offset; in dev_to_generic_addr() 490 l.m.sec = (r.ppa & lbaf->sec_mask) >> lbaf->sec_offset; in dev_to_generic_addr() 543 ppa64.g.sec = (ppa32 & ppaf->sec_mask) >> in nvm_ppa32_to_ppa64() 554 ppa64.m.sec = (ppa32 & lbaf->sec_mask) >> in nvm_ppa32_to_ppa64()
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | pblk-init.c | 234 dst->sec_mask = ((1ULL << dst->sec_len) - 1) << dst->sec_offset; in pblk_set_addrf_12() 259 adst->sec_mask = ((1ULL << adst->sec_len) - 1) << adst->sec_offset; in pblk_set_addrf_20()
|
D | pblk.h | 992 ppa.g.sec = (paddr & ppaf->sec_mask) >> ppaf->sec_offset; in addr_to_gen_ppa()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | lightnvm.c | 282 dst->sec_mask = ((1ULL << dst->sec_len) - 1) << dst->sec_offset; in nvme_nvm_set_addr_12() 391 dst->sec_mask = ((1ULL << dst->sec_len) - 1) << dst->sec_offset; in nvme_nvm_set_addr_20()
|