/drivers/staging/rts5139/ |
H A D | ms.c | 1511 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, 2281 ms_set_l2p_tbl(struct rts51x_chip *chip, int seg_no, u16 log_off, u16 phy_blk) argument 2295 ms_set_unused_block(struct rts51x_chip *chip, u16 phy_blk) argument 2314 u16 phy_blk; local 2335 ms_arbitrate_l2p(struct rts51x_chip *chip, u16 phy_blk, u16 log_off, u8 us1, u8 us2) argument 2379 u16 start, end, phy_blk, log_blk, tmp_blk; local 3046 ms_read_multiple_pages(struct rts51x_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, void **ptr, unsigned int *offset) argument 3343 ms_read_multiple_pages(struct rts51x_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, void **ptr, unsigned int *offset) argument [all...] |
H A D | xd.c | 40 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) argument 787 zone_no = (int)phy_blk >> 10; 810 zone->free_table[zone->set_index++] = (u16) (phy_blk & 0x3ff); 820 u32 phy_blk; local 845 phy_blk = zone->free_table[zone->get_index]; 851 phy_blk += ((u32) (zone_no) << 10); 852 return phy_blk; 873 u32 phy_blk = 0; local 889 phy_blk 946 xd_mark_bad_block(struct rts51x_chip *chip, u32 phy_blk) argument 1004 xd_init_page(struct rts51x_chip *chip, u32 phy_blk, u16 logoff, u8 start_page, u8 end_page) argument 1302 xd_erase_block(struct rts51x_chip *chip, u32 phy_blk) argument 1573 xd_read_multiple_pages(struct rts51x_chip *chip, u32 phy_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, void **ptr, unsigned int *offset) argument [all...] |
/drivers/staging/rts_pstor/ |
H A D | xd.c | 35 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) argument 828 zone_no = (int)phy_blk >> 10; 850 zone->free_table[zone->set_index++] = (u16) (phy_blk & 0x3ff); 860 u32 phy_blk; local 882 phy_blk = zone->free_table[zone->get_index]; 888 phy_blk += ((u32)(zone_no) << 10); 889 return phy_blk; 909 u32 phy_blk = 0; local 926 phy_blk 978 xd_mark_bad_block(struct rtsx_chip *chip, u32 phy_blk) argument 1026 xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff, u8 start_page, u8 end_page) argument 1196 xd_erase_block(struct rtsx_chip *chip, u32 phy_blk) argument 1444 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 D | ms.c | 1421 static int ms_set_bad_block(struct rtsx_chip *chip, u16 phy_blk) argument 1427 retval = ms_read_extra_data(chip, phy_blk, 0, extra, MS_EXTRA_SIZE); 1445 data[2] = (u8)(phy_blk >> 8); 1446 data[3] = (u8)phy_blk; 1484 static int ms_erase_block(struct rtsx_chip *chip, u16 phy_blk) argument 1503 data[2] = (u8)(phy_blk >> 8); 1504 data[3] = (u8)phy_blk; 1532 ms_set_bad_block(chip, phy_blk); 1567 static int ms_init_page(struct rtsx_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_page) argument 1585 retval = ms_write_extra_data(chip, phy_blk, 2135 ms_set_l2p_tbl(struct rtsx_chip *chip, int seg_no, u16 log_off, u16 phy_blk) argument 2149 ms_set_unused_block(struct rtsx_chip *chip, u16 phy_blk) argument 2169 u16 phy_blk; local 2189 ms_arbitrate_l2p(struct rtsx_chip *chip, u16 phy_blk, u16 log_off, u8 us1, u8 us2) argument 2236 u16 start, end, phy_blk, log_blk, tmp_blk; local 2916 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...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.c | 12266 struct bnx2x_phy *phy_blk[PORT_MAX]; local 12321 phy_blk[PORT_0] = &(phy[PORT_1]); 12322 phy_blk[PORT_1] = &(phy[PORT_0]); 12324 phy_blk[PORT_0] = &(phy[PORT_0]); 12325 phy_blk[PORT_1] = &(phy[PORT_1]); 12336 phy_blk[port]->addr); 12337 if (bnx2x_8073_8727_external_rom_boot(bp, phy_blk[port], 12342 bnx2x_cl45_read(bp, phy_blk[port], 12347 bnx2x_cl45_write(bp, phy_blk[port], 12363 bnx2x_cl45_read(bp, phy_blk[por 12489 struct bnx2x_phy *phy_blk[PORT_MAX]; local [all...] |