Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tty/serial/cpm_uart/
Dcpm_uart_cpm1.c65 unsigned long dp_offset; in cpm_uart_allocbuf() local
72 dp_offset = cpm_dpalloc(dpmemsz, 8); in cpm_uart_allocbuf()
73 if (IS_ERR_VALUE(dp_offset)) { in cpm_uart_allocbuf()
78 dp_mem = cpm_dpram_addr(dp_offset); in cpm_uart_allocbuf()
92 cpm_dpfree(dp_offset); in cpm_uart_allocbuf()
98 pinfo->dp_addr = dp_offset; in cpm_uart_allocbuf()
Dcpm_uart_cpm2.c100 unsigned long dp_offset; in cpm_uart_allocbuf() local
107 dp_offset = cpm_dpalloc(dpmemsz, 8); in cpm_uart_allocbuf()
108 if (IS_ERR_VALUE(dp_offset)) { in cpm_uart_allocbuf()
114 dp_mem = cpm_dpram_addr(dp_offset); in cpm_uart_allocbuf()
127 cpm_dpfree(dp_offset); in cpm_uart_allocbuf()
133 pinfo->dp_addr = dp_offset; in cpm_uart_allocbuf()
/Linux-v4.19/drivers/scsi/
Dgdth.c1360 u16 cp_count,dp_offset,cmd_no; in gdth_copy_command() local
1365 dp_offset= ha->cmd_offs_dpmem; in gdth_copy_command()
1382 writew(dp_offset + DPMEM_COMMAND_OFFSET, in gdth_copy_command()
1386 memcpy_toio(&dp2_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1389 writew(dp_offset + DPMEM_COMMAND_OFFSET, in gdth_copy_command()
1393 memcpy_toio(&dp6_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1396 writew(dp_offset + DPMEM_COMMAND_OFFSET, in gdth_copy_command()
1400 memcpy_toio(&dp6c_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1403 writew(dp_offset + DPMEM_COMMAND_OFFSET, in gdth_copy_command()
1407 memcpy_toio(&dp6m_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()