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

/linux-master/drivers/staging/rts5208/
H A Dxd.c24 static int xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff,
824 static void xd_set_unused_block(struct rtsx_chip *chip, u32 phy_blk) argument
830 zone_no = (int)phy_blk >> 10;
853 zone->free_table[zone->set_index++] = (u16)(phy_blk & 0x3ff);
863 u32 phy_blk; local
887 phy_blk = zone->free_table[zone->get_index];
893 phy_blk += ((u32)(zone_no) << 10);
894 return phy_blk;
915 u32 phy_blk = 0; local
933 phy_blk
986 xd_mark_bad_block(struct rtsx_chip *chip, u32 phy_blk) argument
993 dev_dbg(rtsx_dev(chip), "mark block 0x%x as bad block\\n", phy_blk); local
1037 xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff, u8 start_page, u8 end_page) argument
1045 dev_dbg(rtsx_dev(chip), "Init block 0x%x\\n", phy_blk); local
1232 xd_erase_block(struct rtsx_chip *chip, u32 phy_blk) argument
1491 xd_read_multiple_pages(struct rtsx_chip *chip, u32 phy_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) argument
[all...]
H A 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,
2176 ms_set_l2p_tbl(struct rtsx_chip *chip, int seg_no, u16 log_off, u16 phy_blk) argument
2190 ms_set_unused_block(struct rtsx_chip *chip, u16 phy_blk) argument
2210 u16 phy_blk; local
2232 ms_arbitrate_l2p(struct rtsx_chip *chip, u16 phy_blk, u16 log_off, u8 us1, u8 us2) argument
2281 u16 start, end, phy_blk, log_blk, tmp_blk, idx; local
2954 ms_read_multiple_pages(struct rtsx_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) argument
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c13188 struct bnx2x_phy *phy_blk[PORT_MAX]; local
13244 phy_blk[PORT_0] = &(phy[PORT_1]);
13245 phy_blk[PORT_1] = &(phy[PORT_0]);
13247 phy_blk[PORT_0] = &(phy[PORT_0]);
13248 phy_blk[PORT_1] = &(phy[PORT_1]);
13259 phy_blk[port]->addr);
13260 if (bnx2x_8073_8727_external_rom_boot(bp, phy_blk[port],
13265 bnx2x_cl45_read(bp, phy_blk[port],
13270 bnx2x_cl45_write(bp, phy_blk[port],
13285 bnx2x_cl45_read(bp, phy_blk[por
13411 struct bnx2x_phy *phy_blk[PORT_MAX]; local
[all...]

Completed in 154 milliseconds