Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/rts5208/
Dxd.c35 static int xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff,
916 static void xd_set_unused_block(struct rtsx_chip *chip, u32 phy_blk) in xd_set_unused_block() argument
922 zone_no = (int)phy_blk >> 10; in xd_set_unused_block()
945 zone->free_table[zone->set_index++] = (u16) (phy_blk & 0x3ff); in xd_set_unused_block()
955 u32 phy_blk; in xd_get_unused_block() local
979 phy_blk = zone->free_table[zone->get_index]; in xd_get_unused_block()
985 phy_blk += ((u32)(zone_no) << 10); in xd_get_unused_block()
986 return phy_blk; in xd_get_unused_block()
1007 u32 phy_blk = 0; in xd_get_l2p_tbl() local
1024 phy_blk = xd_get_unused_block(chip, zone_no); in xd_get_l2p_tbl()
[all …]
Dms.c1672 static int ms_set_bad_block(struct rtsx_chip *chip, u16 phy_blk) in ms_set_bad_block() argument
1678 retval = ms_read_extra_data(chip, phy_blk, 0, extra, MS_EXTRA_SIZE); in ms_set_bad_block()
1699 data[2] = (u8)(phy_blk >> 8); in ms_set_bad_block()
1700 data[3] = (u8)phy_blk; in ms_set_bad_block()
1743 static int ms_erase_block(struct rtsx_chip *chip, u16 phy_blk) in ms_erase_block() argument
1764 data[2] = (u8)(phy_blk >> 8); in ms_erase_block()
1765 data[3] = (u8)phy_blk; in ms_erase_block()
1796 ms_set_bad_block(chip, phy_blk); in ms_erase_block()
1832 static int ms_init_page(struct rtsx_chip *chip, u16 phy_blk, u16 log_blk, in ms_init_page() argument
1852 retval = ms_write_extra_data(chip, phy_blk, i, in ms_init_page()
[all …]
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c12903 struct bnx2x_phy *phy_blk[PORT_MAX]; in bnx2x_8073_common_init_phy() local
12959 phy_blk[PORT_0] = &(phy[PORT_1]); in bnx2x_8073_common_init_phy()
12960 phy_blk[PORT_1] = &(phy[PORT_0]); in bnx2x_8073_common_init_phy()
12962 phy_blk[PORT_0] = &(phy[PORT_0]); in bnx2x_8073_common_init_phy()
12963 phy_blk[PORT_1] = &(phy[PORT_1]); in bnx2x_8073_common_init_phy()
12974 phy_blk[port]->addr); in bnx2x_8073_common_init_phy()
12975 if (bnx2x_8073_8727_external_rom_boot(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
12980 bnx2x_cl45_read(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
12985 bnx2x_cl45_write(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
13000 bnx2x_cl45_read(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
[all …]