Lines Matching refs:kernel_data
1078 if (((unsigned long)raw_cmd->kernel_data) % 512) { in setup_DMA()
1079 pr_info("non aligned address: %p\n", raw_cmd->kernel_data); in setup_DMA()
1087 if (fd_dma_setup(raw_cmd->kernel_data, raw_cmd->length, in setup_DMA()
1099 fd_cacheflush(raw_cmd->kernel_data, raw_cmd->length); in setup_DMA()
1102 fd_set_dma_addr(raw_cmd->kernel_data); in setup_DMA()
1947 fd_chose_dma_mode(raw_cmd->kernel_data, raw_cmd->length); in floppy_ready()
2163 raw_cmd->kernel_data = floppy_track_buffer; in setup_format_params()
2682 raw_cmd->kernel_data = floppy_track_buffer + in make_raw_rw_request()
2714 (int)((raw_cmd->kernel_data - in make_raw_rw_request()
2730 if (raw_cmd->kernel_data < floppy_track_buffer || in make_raw_rw_request()
2733 raw_cmd->kernel_data + raw_cmd->length > in make_raw_rw_request()
3042 cmd.kernel_data = NULL; in raw_cmd_copyout()
3051 ret = fd_copyout(ptr->data, ptr->kernel_data, in raw_cmd_copyout()
3072 fd_dma_mem_free((unsigned long)this->kernel_data, in raw_cmd_free()
3100 ptr->kernel_data = NULL; in raw_cmd_copyin()
3113 ptr->kernel_data = (char *)fd_dma_mem_alloc(ptr->length); in raw_cmd_copyin()
3114 fallback_on_nodma_alloc(&ptr->kernel_data, ptr->length); in raw_cmd_copyin()
3115 if (!ptr->kernel_data) in raw_cmd_copyin()
3120 ret = fd_copyin(ptr->data, ptr->kernel_data, ptr->length); in raw_cmd_copyin()