Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/spectra/
Dffsport.c163 struct spectra_indentfy_dev_tag IdentifyDeviceData; variable
197 buf = kmalloc(IdentifyDeviceData.PageDataSize, GFP_ATOMIC); in ioctl_read_page_data()
206 (u64)info.page * IdentifyDeviceData.PageDataSize); in ioctl_read_page_data()
210 IdentifyDeviceData.PageDataSize)) { in ioctl_read_page_data()
230 buf = kmalloc(IdentifyDeviceData.PageDataSize, GFP_ATOMIC); in ioctl_write_page_data()
238 IdentifyDeviceData.PageDataSize)) { in ioctl_write_page_data()
247 (u64)info.page * IdentifyDeviceData.PageDataSize); in ioctl_write_page_data()
257 return IdentifyDeviceData.wDataBlockNum / 10; in get_res_blk_num_bad_blk()
265 blk_size = IdentifyDeviceData.PageDataSize * in get_res_blk_num_os()
266 IdentifyDeviceData.PagesPerBlock; in get_res_blk_num_os()
[all …]