Home
last modified time | relevance | path

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

/drivers/staging/rts_pstor/
Drtsx_chip.c1516 int rtsx_write_cfg_dw(struct rtsx_chip *chip, u8 func_no, u16 addr, u32 mask, u32 val) in rtsx_write_cfg_dw() argument
1536 0x80 | mode | ((func_no & 0x03) << 4)); in rtsx_write_cfg_dw()
1549 int rtsx_read_cfg_dw(struct rtsx_chip *chip, u8 func_no, u16 addr, u32 *val) in rtsx_read_cfg_dw() argument
1557 RTSX_WRITE_REG(chip, CFGRWCTL, 0xFF, 0x80 | ((func_no & 0x03) << 4)); in rtsx_read_cfg_dw()
1862 u8 func_no; in rtsx_handle_pm_dstate() local
1865 func_no = 2; in rtsx_handle_pm_dstate()
1867 func_no = 1; in rtsx_handle_pm_dstate()
1869 rtsx_read_cfg_dw(chip, func_no, 0x84, &ultmp); in rtsx_handle_pm_dstate()
1870 RTSX_DEBUGP("pm_dstate of function %d: 0x%x\n", (int)func_no, ultmp); in rtsx_handle_pm_dstate()
1871 rtsx_write_cfg_dw(chip, func_no, 0x84, 0xFF, dstate); in rtsx_handle_pm_dstate()
Drtsx_chip.h950 int rtsx_write_cfg_dw(struct rtsx_chip *chip, u8 func_no, u16 addr, u32 mask, u32 val);
951 int rtsx_read_cfg_dw(struct rtsx_chip *chip, u8 func_no, u16 addr, u32 *val);