Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/staging/rts5208/
Dxd.c24 static int xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff,
831 static void xd_set_unused_block(struct rtsx_chip *chip, u32 phy_blk) in xd_set_unused_block() argument
837 zone_no = (int)phy_blk >> 10; in xd_set_unused_block()
860 zone->free_table[zone->set_index++] = (u16)(phy_blk & 0x3ff); in xd_set_unused_block()
870 u32 phy_blk; in xd_get_unused_block() local
894 phy_blk = zone->free_table[zone->get_index]; in xd_get_unused_block()
900 phy_blk += ((u32)(zone_no) << 10); in xd_get_unused_block()
901 return phy_blk; in xd_get_unused_block()
922 u32 phy_blk = 0; in xd_get_l2p_tbl() local
940 phy_blk = xd_get_unused_block(chip, zone_no); in xd_get_l2p_tbl()
[all …]
Dms.c1458 static int ms_set_bad_block(struct rtsx_chip *chip, u16 phy_blk) argument
1464 retval = ms_read_extra_data(chip, phy_blk, 0, extra, MS_EXTRA_SIZE);
1481 data[2] = (u8)(phy_blk >> 8);
1482 data[3] = (u8)phy_blk;
1516 static int ms_erase_block(struct rtsx_chip *chip, u16 phy_blk) argument
1535 data[2] = (u8)(phy_blk >> 8);
1536 data[3] = (u8)phy_blk;
1561 ms_set_bad_block(chip, phy_blk);
1594 static int ms_init_page(struct rtsx_chip *chip, u16 phy_blk, u16 log_blk, argument
1613 retval = ms_write_extra_data(chip, phy_blk, i,
[all …]
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c13186 struct bnx2x_phy *phy_blk[PORT_MAX]; in bnx2x_8073_common_init_phy() local
13242 phy_blk[PORT_0] = &(phy[PORT_1]); in bnx2x_8073_common_init_phy()
13243 phy_blk[PORT_1] = &(phy[PORT_0]); in bnx2x_8073_common_init_phy()
13245 phy_blk[PORT_0] = &(phy[PORT_0]); in bnx2x_8073_common_init_phy()
13246 phy_blk[PORT_1] = &(phy[PORT_1]); in bnx2x_8073_common_init_phy()
13257 phy_blk[port]->addr); in bnx2x_8073_common_init_phy()
13258 if (bnx2x_8073_8727_external_rom_boot(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
13263 bnx2x_cl45_read(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
13268 bnx2x_cl45_write(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
13283 bnx2x_cl45_read(bp, phy_blk[port], in bnx2x_8073_common_init_phy()
[all …]