Home
last modified time | relevance | path

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

/drivers/staging/rts_pstor/
Dxd.c35 static int xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff, u8 start_page, u8 end_page…
822 static void xd_set_unused_block(struct rtsx_chip *chip, u32 phy_blk) in xd_set_unused_block() argument
828 zone_no = (int)phy_blk >> 10; in xd_set_unused_block()
850 zone->free_table[zone->set_index++] = (u16) (phy_blk & 0x3ff); in xd_set_unused_block()
860 u32 phy_blk; in xd_get_unused_block() local
882 phy_blk = zone->free_table[zone->get_index]; in xd_get_unused_block()
888 phy_blk += ((u32)(zone_no) << 10); in xd_get_unused_block()
889 return phy_blk; in xd_get_unused_block()
909 u32 phy_blk = 0; in xd_get_l2p_tbl() local
926 phy_blk = xd_get_unused_block(chip, zone_no); in xd_get_l2p_tbl()
[all …]
Dms.c1421 static int ms_set_bad_block(struct rtsx_chip *chip, u16 phy_blk) in ms_set_bad_block() argument
1427 retval = ms_read_extra_data(chip, phy_blk, 0, extra, MS_EXTRA_SIZE); in ms_set_bad_block()
1445 data[2] = (u8)(phy_blk >> 8); in ms_set_bad_block()
1446 data[3] = (u8)phy_blk; in ms_set_bad_block()
1484 static int ms_erase_block(struct rtsx_chip *chip, u16 phy_blk) in ms_erase_block() argument
1503 data[2] = (u8)(phy_blk >> 8); in ms_erase_block()
1504 data[3] = (u8)phy_blk; in ms_erase_block()
1532 ms_set_bad_block(chip, phy_blk); in ms_erase_block()
1567 static int ms_init_page(struct rtsx_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_pag… in ms_init_page() argument
1585 retval = ms_write_extra_data(chip, phy_blk, i, extra, MS_EXTRA_SIZE); in ms_init_page()
[all …]
/drivers/staging/rts5139/
Dxd.c40 static int xd_init_page(struct rts51x_chip *chip, u32 phy_blk, u16 logoff,
781 static void xd_set_unused_block(struct rts51x_chip *chip, u32 phy_blk) in xd_set_unused_block() argument
787 zone_no = (int)phy_blk >> 10; in xd_set_unused_block()
810 zone->free_table[zone->set_index++] = (u16) (phy_blk & 0x3ff); in xd_set_unused_block()
820 u32 phy_blk; in xd_get_unused_block() local
845 phy_blk = zone->free_table[zone->get_index]; in xd_get_unused_block()
851 phy_blk += ((u32) (zone_no) << 10); in xd_get_unused_block()
852 return phy_blk; in xd_get_unused_block()
873 u32 phy_blk = 0; in xd_get_l2p_tbl() local
889 phy_blk = xd_get_unused_block(chip, zone_no); in xd_get_l2p_tbl()
[all …]
Dms.c1511 static int ms_set_bad_block(struct rts51x_chip *chip, u16 phy_blk) argument
1517 retval = ms_read_extra_data(chip, phy_blk, 0, extra, MS_EXTRA_SIZE);
1532 data[2] = (u8) (phy_blk >> 8);
1533 data[3] = (u8) phy_blk;
1564 static int ms_erase_block(struct rts51x_chip *chip, u16 phy_blk) argument
1587 data[2] = (u8) (phy_blk >> 8);
1588 data[3] = (u8) phy_blk;
1608 ms_set_bad_block(chip, phy_blk);
1638 static int ms_init_page(struct rts51x_chip *chip, u16 phy_blk, u16 log_blk, argument
1656 ms_write_extra_data(chip, phy_blk, i, extra, MS_EXTRA_SIZE);
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c12266 struct bnx2x_phy *phy_blk[PORT_MAX]; in bnx2x_8073_common_init_phy() local
12321 phy_blk[PORT_0] = &(phy[PORT_1]); in bnx2x_8073_common_init_phy()
12322 phy_blk[PORT_1] = &(phy[PORT_0]); in bnx2x_8073_common_init_phy()
12324 phy_blk[PORT_0] = &(phy[PORT_0]); in bnx2x_8073_common_init_phy()
12325 phy_blk[PORT_1] = &(phy[PORT_1]); in bnx2x_8073_common_init_phy()
12336 phy_blk[port]->addr); in bnx2x_8073_common_init_phy()
12337 if (bnx2x_8073_8727_external_rom_boot(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
12342 bnx2x_cl45_read(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
12347 bnx2x_cl45_write(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
12363 bnx2x_cl45_read(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
[all …]