Searched refs:bits_per_chip (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/mtd/ |
H A D | pfow.h | 104 int bits_per_chip = map_bankwidth(map) * 8; in send_pfow_command() local 107 map_write(map, CMD(adr & ((1<<bits_per_chip) - 1)), in send_pfow_command() 109 map_write(map, CMD(adr>>bits_per_chip), in send_pfow_command() 112 map_write(map, CMD(len & ((1<<bits_per_chip) - 1)), in send_pfow_command() 114 map_write(map, CMD(len>>bits_per_chip), in send_pfow_command()
|
/openbmc/linux/drivers/mtd/lpddr/ |
H A D | qinfo_probe.c | 66 int bits_per_chip = map_bankwidth(map) * 8; in lpddr_info_query() local 73 map_write(map, CMD(adr & ((1 << bits_per_chip) - 1)), in lpddr_info_query() 75 map_write(map, CMD(adr >> bits_per_chip), in lpddr_info_query()
|