Home
last modified time | relevance | path

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

/drivers/tty/serial/cpm_uart/
Dcpm_uart_cpm1.c79 unsigned long dp_offset; in cpm_uart_allocbuf() local
86 dp_offset = cpm_dpalloc(dpmemsz, 8); in cpm_uart_allocbuf()
87 if (IS_ERR_VALUE(dp_offset)) { in cpm_uart_allocbuf()
92 dp_mem = cpm_dpram_addr(dp_offset); in cpm_uart_allocbuf()
106 cpm_dpfree(dp_offset); in cpm_uart_allocbuf()
112 pinfo->dp_addr = dp_offset; in cpm_uart_allocbuf()
Dcpm_uart_cpm2.c114 unsigned long dp_offset; in cpm_uart_allocbuf() local
121 dp_offset = cpm_dpalloc(dpmemsz, 8); in cpm_uart_allocbuf()
122 if (IS_ERR_VALUE(dp_offset)) { in cpm_uart_allocbuf()
128 dp_mem = cpm_dpram_addr(dp_offset); in cpm_uart_allocbuf()
141 cpm_dpfree(dp_offset); in cpm_uart_allocbuf()
147 pinfo->dp_addr = dp_offset; in cpm_uart_allocbuf()
/drivers/scsi/
Dgdth.c1359 u16 cp_count,dp_offset,cmd_no; in gdth_copy_command() local
1364 dp_offset= ha->cmd_offs_dpmem; in gdth_copy_command()
1381 writew(dp_offset + DPMEM_COMMAND_OFFSET, in gdth_copy_command()
1385 memcpy_toio(&dp2_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1388 writew(dp_offset + DPMEM_COMMAND_OFFSET, in gdth_copy_command()
1392 memcpy_toio(&dp6_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1395 writew(dp_offset + DPMEM_COMMAND_OFFSET, in gdth_copy_command()
1399 memcpy_toio(&dp6c_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1402 writew(dp_offset + DPMEM_COMMAND_OFFSET, in gdth_copy_command()
1406 memcpy_toio(&dp6m_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()