| /OK3568_Linux_fs/kernel/fs/xfs/ |
| H A D | xfs_mount.c | 56 struct xfs_mount *mp) in xfs_uuid_mount() argument 58 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_mount() 62 uuid_copy(&mp->m_super->s_uuid, uuid); in xfs_uuid_mount() 64 if (mp->m_flags & XFS_MOUNT_NOUUID) in xfs_uuid_mount() 68 xfs_warn(mp, "Filesystem has null UUID - can't mount"); in xfs_uuid_mount() 95 xfs_warn(mp, "Filesystem has duplicate UUID %pU - can't mount", uuid); in xfs_uuid_mount() 101 struct xfs_mount *mp) in xfs_uuid_unmount() argument 103 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_unmount() 106 if (mp->m_flags & XFS_MOUNT_NOUUID) in xfs_uuid_unmount() 138 xfs_mount_t *mp) in xfs_free_perag() argument [all …]
|
| H A D | xfs_super.c | 58 struct xfs_mount *mp, in xfs_mount_set_dax_mode() argument 63 mp->m_flags &= ~(XFS_MOUNT_DAX_ALWAYS | XFS_MOUNT_DAX_NEVER); in xfs_mount_set_dax_mode() 66 mp->m_flags |= XFS_MOUNT_DAX_ALWAYS; in xfs_mount_set_dax_mode() 67 mp->m_flags &= ~XFS_MOUNT_DAX_NEVER; in xfs_mount_set_dax_mode() 70 mp->m_flags |= XFS_MOUNT_DAX_NEVER; in xfs_mount_set_dax_mode() 71 mp->m_flags &= ~XFS_MOUNT_DAX_ALWAYS; in xfs_mount_set_dax_mode() 170 struct xfs_mount *mp = XFS_M(root->d_sb); in xfs_fs_show_options() local 174 if (mp->m_flags & xfs_infop->flag) in xfs_fs_show_options() 179 (mp->m_flags & XFS_MOUNT_SMALL_INUMS) ? 32 : 64); in xfs_fs_show_options() 181 if (mp->m_flags & XFS_MOUNT_ALLOCSIZE) in xfs_fs_show_options() [all …]
|
| H A D | xfs_fsops.c | 28 xfs_mount_t *mp, /* mount point for filesystem */ in xfs_growfs_data_private() argument 42 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private() 44 if ((error = xfs_sb_validate_fsb_count(&mp->m_sb, nb))) in xfs_growfs_data_private() 46 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private() 47 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private() 48 XFS_FSS_TO_BB(mp, 1), 0, &bp, NULL); in xfs_growfs_data_private() 54 nb_mod = do_div(new, mp->m_sb.sb_agblocks); in xfs_growfs_data_private() 58 nb = (xfs_rfsblock_t)nagcount * mp->m_sb.sb_agblocks; in xfs_growfs_data_private() 59 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private() 62 new = nb - mp->m_sb.sb_dblocks; in xfs_growfs_data_private() [all …]
|
| H A D | xfs_rtalloc.c | 31 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtget_summary() argument 39 return xfs_rtmodify_summary_int(mp, tp, log, bbno, 0, rbpp, rsb, sum); in xfs_rtget_summary() 48 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtany_summary() argument 62 if (mp->m_rsum_cache && low < mp->m_rsum_cache[bbno]) in xfs_rtany_summary() 63 low = mp->m_rsum_cache[bbno]; in xfs_rtany_summary() 72 error = xfs_rtget_summary(mp, tp, log, bbno, rbpp, rsb, &sum); in xfs_rtany_summary() 90 if (mp->m_rsum_cache && log > mp->m_rsum_cache[bbno]) in xfs_rtany_summary() 91 mp->m_rsum_cache[bbno] = log; in xfs_rtany_summary() 143 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_range() argument 161 error = xfs_rtfind_back(mp, tp, start, 0, &preblock); in xfs_rtallocate_range() [all …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_trans_resv.c | 68 struct xfs_mount *mp, in xfs_allocfree_log_count() argument 73 blocks = num_ops * 2 * (2 * mp->m_ag_maxlevels - 1); in xfs_allocfree_log_count() 74 if (xfs_sb_version_hasrmapbt(&mp->m_sb)) in xfs_allocfree_log_count() 75 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_log_count() 76 if (xfs_sb_version_hasreflink(&mp->m_sb)) in xfs_allocfree_log_count() 77 blocks += num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_allocfree_log_count() 113 struct xfs_mount *mp, in xfs_calc_inode_res() argument 119 mp->m_sb.sb_inodesize + in xfs_calc_inode_res() 120 2 * XFS_BMBT_BLOCK_LEN(mp)); in xfs_calc_inode_res() 135 struct xfs_mount *mp) in xfs_calc_inobt_res() argument [all …]
|
| H A D | xfs_trans_space.h | 14 #define XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) \ argument 15 (((mp)->m_rmap_mxr[0]) - ((mp)->m_rmap_mnr[0])) 18 #define XFS_RMAPADD_SPACE_RES(mp) ((mp)->m_rmap_maxlevels) argument 21 #define XFS_NRMAPADD_SPACE_RES(mp, b)\ argument 22 (((b + XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) - 1) / \ 23 XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp)) * \ 24 XFS_RMAPADD_SPACE_RES(mp)) 26 #define XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) \ argument 27 (((mp)->m_alloc_mxr[0]) - ((mp)->m_alloc_mnr[0])) 28 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument [all …]
|
| H A D | xfs_types.c | 18 struct xfs_mount *mp, in xfs_ag_block_count() argument 21 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_ag_block_count() 23 if (agno < mp->m_sb.sb_agcount - 1) in xfs_ag_block_count() 24 return mp->m_sb.sb_agblocks; in xfs_ag_block_count() 25 return mp->m_sb.sb_dblocks - (agno * mp->m_sb.sb_agblocks); in xfs_ag_block_count() 34 struct xfs_mount *mp, in xfs_verify_agbno() argument 40 eoag = xfs_ag_block_count(mp, agno); in xfs_verify_agbno() 43 if (agbno <= XFS_AGFL_BLOCK(mp)) in xfs_verify_agbno() 54 struct xfs_mount *mp, in xfs_verify_fsbno() argument 57 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); in xfs_verify_fsbno() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/test/mp/ |
| H A D | phl_test_mp_efuse.c | 22 struct mp_context *mp, struct mp_efuse_arg *arg) in phl_mp_efuse_wifi_shadow_read() argument 26 hal_status = rtw_hal_mp_efuse_wifi_shadow_read(mp, arg); in phl_mp_efuse_wifi_shadow_read() 33 mp->rpt = arg; in phl_mp_efuse_wifi_shadow_read() 34 mp->rpt_len = sizeof(struct mp_efuse_arg); in phl_mp_efuse_wifi_shadow_read() 35 mp->buf = NULL; in phl_mp_efuse_wifi_shadow_read() 36 mp->buf_len = 0; in phl_mp_efuse_wifi_shadow_read() 42 struct mp_context *mp, struct mp_efuse_arg *arg) in phl_mp_efuse_wifi_shadow_write() argument 46 hal_status = rtw_hal_mp_efuse_wifi_shadow_write(mp, arg); in phl_mp_efuse_wifi_shadow_write() 53 mp->rpt = arg; in phl_mp_efuse_wifi_shadow_write() 54 mp->rpt_len = sizeof(struct mp_efuse_arg); in phl_mp_efuse_wifi_shadow_write() [all …]
|
| H A D | phl_test_mp_config.c | 22 struct mp_context *mp, struct mp_config_arg *arg) in phl_mp_config_start_dut() argument 26 hal_status = rtw_hal_mp_config_start_dut(mp, arg); in phl_mp_config_start_dut() 33 mp->rpt = arg; in phl_mp_config_start_dut() 34 mp->rpt_len = sizeof(struct mp_config_arg); in phl_mp_config_start_dut() 35 mp->buf = NULL; in phl_mp_config_start_dut() 36 mp->buf_len = 0; in phl_mp_config_start_dut() 42 struct mp_context *mp, struct mp_config_arg *arg) in phl_mp_config_get_device_info() argument 46 hal_status = rtw_hal_mp_config_get_dev_info(mp, arg); in phl_mp_config_get_device_info() 53 mp->rpt = arg; in phl_mp_config_get_device_info() 54 mp->rpt_len = sizeof(struct mp_config_arg); in phl_mp_config_get_device_info() [all …]
|
| H A D | phl_test_mp_txpwr.c | 22 struct mp_context *mp, struct mp_txpwr_arg *arg) in phl_mp_txpwr_read_table() argument 26 hal_status = rtw_hal_mp_txpwr_read_table(mp, arg); in phl_mp_txpwr_read_table() 33 mp->rpt = arg; in phl_mp_txpwr_read_table() 34 mp->rpt_len = sizeof(struct mp_txpwr_arg); in phl_mp_txpwr_read_table() 35 mp->buf = NULL; in phl_mp_txpwr_read_table() 36 mp->buf_len = 0; in phl_mp_txpwr_read_table() 42 struct mp_context *mp, struct mp_txpwr_arg *arg) in phl_mp_txpwr_get_pwrtrack() argument 46 hal_status = rtw_hal_mp_txpwr_get_pwrtrack(mp, arg); in phl_mp_txpwr_get_pwrtrack() 53 mp->rpt = arg; in phl_mp_txpwr_get_pwrtrack() 54 mp->rpt_len = sizeof(struct mp_txpwr_arg); in phl_mp_txpwr_get_pwrtrack() [all …]
|
| H A D | phl_test_mp_rx.c | 22 struct mp_context *mp, struct mp_rx_arg *arg) in phl_mp_rx_phy_crc_ok() argument 26 hal_status = rtw_hal_mp_rx_phy_crc_ok(mp, arg); in phl_mp_rx_phy_crc_ok() 33 mp->rpt = arg; in phl_mp_rx_phy_crc_ok() 34 mp->rpt_len = sizeof(struct mp_rx_arg); in phl_mp_rx_phy_crc_ok() 35 mp->buf = NULL; in phl_mp_rx_phy_crc_ok() 36 mp->buf_len = 0; in phl_mp_rx_phy_crc_ok() 42 struct mp_context *mp, struct mp_rx_arg *arg) in phl_mp_rx_phy_crc_err() argument 46 hal_status = rtw_hal_mp_rx_phy_crc_err(mp, arg); in phl_mp_rx_phy_crc_err() 53 mp->rpt = arg; in phl_mp_rx_phy_crc_err() 54 mp->rpt_len = sizeof(struct mp_rx_arg); in phl_mp_rx_phy_crc_err() [all …]
|
| H A D | phl_test_mp_reg.c | 22 struct mp_context *mp, struct mp_reg_arg *arg) in phl_mp_reg_read_macreg() argument 26 hal_status = rtw_hal_mp_reg_read_macreg(mp, arg); in phl_mp_reg_read_macreg() 33 mp->rpt = arg; in phl_mp_reg_read_macreg() 34 mp->rpt_len = sizeof(struct mp_reg_arg); in phl_mp_reg_read_macreg() 35 mp->buf = NULL; in phl_mp_reg_read_macreg() 36 mp->buf_len = 0; in phl_mp_reg_read_macreg() 42 struct mp_context *mp, struct mp_reg_arg *arg) in phl_mp_reg_write_macreg() argument 46 hal_status = rtw_hal_mp_reg_write_macreg(mp, arg); in phl_mp_reg_write_macreg() 53 mp->rpt = arg; in phl_mp_reg_write_macreg() 54 mp->rpt_len = sizeof(struct mp_reg_arg); in phl_mp_reg_write_macreg() [all …]
|
| H A D | phl_test_mp_cal.c | 22 struct mp_context *mp, struct mp_cal_arg *arg) in phl_mp_cal_trigger() argument 26 hal_status = rtw_hal_mp_cal_trigger(mp, arg); in phl_mp_cal_trigger() 34 mp->rpt = arg; in phl_mp_cal_trigger() 35 mp->rpt_len = sizeof(struct mp_cal_arg); in phl_mp_cal_trigger() 36 mp->buf = NULL; in phl_mp_cal_trigger() 37 mp->buf_len = 0; in phl_mp_cal_trigger() 43 struct mp_context *mp, struct mp_cal_arg *arg) in phl_mp_cal_set_capability() argument 47 hal_status = rtw_hal_mp_cal_set_capability(mp, arg); in phl_mp_cal_set_capability() 55 mp->rpt = arg; in phl_mp_cal_set_capability() 56 mp->rpt_len = sizeof(struct mp_cal_arg); in phl_mp_cal_set_capability() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/mp/ |
| H A D | phl_test_mp_efuse.c | 22 struct mp_context *mp, struct mp_efuse_arg *arg) in phl_mp_efuse_wifi_shadow_read() argument 26 hal_status = rtw_hal_mp_efuse_wifi_shadow_read(mp, arg); in phl_mp_efuse_wifi_shadow_read() 33 mp->rpt = arg; in phl_mp_efuse_wifi_shadow_read() 34 mp->rpt_len = sizeof(struct mp_efuse_arg); in phl_mp_efuse_wifi_shadow_read() 35 mp->buf = NULL; in phl_mp_efuse_wifi_shadow_read() 36 mp->buf_len = 0; in phl_mp_efuse_wifi_shadow_read() 42 struct mp_context *mp, struct mp_efuse_arg *arg) in phl_mp_efuse_wifi_shadow_write() argument 46 hal_status = rtw_hal_mp_efuse_wifi_shadow_write(mp, arg); in phl_mp_efuse_wifi_shadow_write() 53 mp->rpt = arg; in phl_mp_efuse_wifi_shadow_write() 54 mp->rpt_len = sizeof(struct mp_efuse_arg); in phl_mp_efuse_wifi_shadow_write() [all …]
|
| H A D | phl_test_mp_txpwr.c | 22 struct mp_context *mp, struct mp_txpwr_arg *arg) in phl_mp_txpwr_read_table() argument 26 hal_status = rtw_hal_mp_txpwr_read_table(mp, arg); in phl_mp_txpwr_read_table() 33 mp->rpt = arg; in phl_mp_txpwr_read_table() 34 mp->rpt_len = sizeof(struct mp_txpwr_arg); in phl_mp_txpwr_read_table() 35 mp->buf = NULL; in phl_mp_txpwr_read_table() 36 mp->buf_len = 0; in phl_mp_txpwr_read_table() 42 struct mp_context *mp, struct mp_txpwr_arg *arg) in phl_mp_txpwr_get_pwrtrack() argument 46 hal_status = rtw_hal_mp_txpwr_get_pwrtrack(mp, arg); in phl_mp_txpwr_get_pwrtrack() 53 mp->rpt = arg; in phl_mp_txpwr_get_pwrtrack() 54 mp->rpt_len = sizeof(struct mp_txpwr_arg); in phl_mp_txpwr_get_pwrtrack() [all …]
|
| H A D | phl_test_mp_config.c | 22 struct mp_context *mp, struct mp_config_arg *arg) in phl_mp_config_start_dut() argument 26 hal_status = rtw_hal_mp_config_start_dut(mp, arg); in phl_mp_config_start_dut() 33 mp->rpt = arg; in phl_mp_config_start_dut() 34 mp->rpt_len = sizeof(struct mp_config_arg); in phl_mp_config_start_dut() 35 mp->buf = NULL; in phl_mp_config_start_dut() 36 mp->buf_len = 0; in phl_mp_config_start_dut() 42 struct mp_context *mp, struct mp_config_arg *arg) in phl_mp_config_get_device_info() argument 46 hal_status = rtw_hal_mp_config_get_dev_info(mp, arg); in phl_mp_config_get_device_info() 53 mp->rpt = arg; in phl_mp_config_get_device_info() 54 mp->rpt_len = sizeof(struct mp_config_arg); in phl_mp_config_get_device_info() [all …]
|
| H A D | phl_test_mp_rx.c | 22 struct mp_context *mp, struct mp_rx_arg *arg) in phl_mp_rx_phy_crc_ok() argument 26 hal_status = rtw_hal_mp_rx_phy_crc_ok(mp, arg); in phl_mp_rx_phy_crc_ok() 33 mp->rpt = arg; in phl_mp_rx_phy_crc_ok() 34 mp->rpt_len = sizeof(struct mp_rx_arg); in phl_mp_rx_phy_crc_ok() 35 mp->buf = NULL; in phl_mp_rx_phy_crc_ok() 36 mp->buf_len = 0; in phl_mp_rx_phy_crc_ok() 42 struct mp_context *mp, struct mp_rx_arg *arg) in phl_mp_rx_phy_crc_err() argument 46 hal_status = rtw_hal_mp_rx_phy_crc_err(mp, arg); in phl_mp_rx_phy_crc_err() 53 mp->rpt = arg; in phl_mp_rx_phy_crc_err() 54 mp->rpt_len = sizeof(struct mp_rx_arg); in phl_mp_rx_phy_crc_err() [all …]
|
| H A D | phl_test_mp_reg.c | 22 struct mp_context *mp, struct mp_reg_arg *arg) in phl_mp_reg_read_macreg() argument 26 hal_status = rtw_hal_mp_reg_read_macreg(mp, arg); in phl_mp_reg_read_macreg() 33 mp->rpt = arg; in phl_mp_reg_read_macreg() 34 mp->rpt_len = sizeof(struct mp_reg_arg); in phl_mp_reg_read_macreg() 35 mp->buf = NULL; in phl_mp_reg_read_macreg() 36 mp->buf_len = 0; in phl_mp_reg_read_macreg() 42 struct mp_context *mp, struct mp_reg_arg *arg) in phl_mp_reg_write_macreg() argument 46 hal_status = rtw_hal_mp_reg_write_macreg(mp, arg); in phl_mp_reg_write_macreg() 53 mp->rpt = arg; in phl_mp_reg_write_macreg() 54 mp->rpt_len = sizeof(struct mp_reg_arg); in phl_mp_reg_write_macreg() [all …]
|
| H A D | phl_test_mp_cal.c | 22 struct mp_context *mp, struct mp_cal_arg *arg) in phl_mp_cal_trigger() argument 26 hal_status = rtw_hal_mp_cal_trigger(mp, arg); in phl_mp_cal_trigger() 34 mp->rpt = arg; in phl_mp_cal_trigger() 35 mp->rpt_len = sizeof(struct mp_cal_arg); in phl_mp_cal_trigger() 36 mp->buf = NULL; in phl_mp_cal_trigger() 37 mp->buf_len = 0; in phl_mp_cal_trigger() 43 struct mp_context *mp, struct mp_cal_arg *arg) in phl_mp_cal_set_capability() argument 47 hal_status = rtw_hal_mp_cal_set_capability(mp, arg); in phl_mp_cal_set_capability() 55 mp->rpt = arg; in phl_mp_cal_set_capability() 56 mp->rpt_len = sizeof(struct mp_cal_arg); in phl_mp_cal_set_capability() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-context.c | 30 static void pvr2_context_set_notify(struct pvr2_context *mp, int fl) in pvr2_context_set_notify() argument 35 if (!mp->notify_flag) { in pvr2_context_set_notify() 37 mp->notify_prev = pvr2_context_notify_last; in pvr2_context_set_notify() 38 mp->notify_next = NULL; in pvr2_context_set_notify() 39 pvr2_context_notify_last = mp; in pvr2_context_set_notify() 40 if (mp->notify_prev) { in pvr2_context_set_notify() 41 mp->notify_prev->notify_next = mp; in pvr2_context_set_notify() 43 pvr2_context_notify_first = mp; in pvr2_context_set_notify() 45 mp->notify_flag = !0; in pvr2_context_set_notify() 48 if (mp->notify_flag) { in pvr2_context_set_notify() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/test/mp/ |
| H A D | hal_test_mp_api.h | 20 struct mp_context *mp, struct mp_cal_arg *arg); 22 struct mp_context *mp, struct mp_cal_arg *arg); 24 struct mp_context *mp, struct mp_cal_arg *arg); 26 struct mp_context *mp, struct mp_cal_arg *arg); 28 struct mp_context *mp, struct mp_cal_arg *arg); 30 struct mp_context *mp, struct mp_cal_arg *arg); 32 struct mp_context *mp, struct mp_cal_arg *arg); 34 struct mp_context *mp, struct mp_cal_arg *arg); 37 struct mp_context *mp, struct mp_cal_arg *arg); 39 struct mp_context *mp, struct mp_cal_arg *arg); [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/test/mp/ |
| H A D | hal_test_mp_api.h | 20 struct mp_context *mp, struct mp_cal_arg *arg); 22 struct mp_context *mp, struct mp_cal_arg *arg); 24 struct mp_context *mp, struct mp_cal_arg *arg); 26 struct mp_context *mp, struct mp_cal_arg *arg); 28 struct mp_context *mp, struct mp_cal_arg *arg); 30 struct mp_context *mp, struct mp_cal_arg *arg); 32 struct mp_context *mp, struct mp_cal_arg *arg); 34 struct mp_context *mp, struct mp_cal_arg *arg); 37 struct mp_context *mp, struct mp_cal_arg *arg); 39 struct mp_context *mp, struct mp_cal_arg *arg); [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/spirit/home/support/iterators/detail/ |
| H A D | combine_policies.hpp | 45 static void destroy(MultiPass& mp) in destroy() 47 Ownership::destroy(mp); in destroy() 48 Checking::destroy(mp); in destroy() 49 Input::destroy(mp); in destroy() 50 Storage::destroy(mp); in destroy() 62 inline static void clear_queue(MultiPass& mp) in clear_queue() 64 Checking::clear_queue(mp); in clear_queue() 65 Storage::clear_queue(mp); in clear_queue() 80 static void destroy(MultiPass& mp) in destroy() 82 Ownership::destroy(mp); in destroy() [all …]
|
| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | jfs_metapage.c | 31 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag) argument 32 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag) argument 34 static inline void unlock_metapage(struct metapage *mp) in unlock_metapage() argument 36 clear_bit_unlock(META_locked, &mp->flag); in unlock_metapage() 37 wake_up(&mp->wait); in unlock_metapage() 40 static inline void __lock_metapage(struct metapage *mp) in __lock_metapage() argument 44 add_wait_queue_exclusive(&mp->wait, &wait); in __lock_metapage() 47 if (metapage_locked(mp)) { in __lock_metapage() 48 unlock_page(mp->page); in __lock_metapage() 50 lock_page(mp->page); in __lock_metapage() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/apple/ |
| H A D | mace.c | 92 static inline void mace_clean_rings(struct mace_data *mp); 113 struct mace_data *mp; in mace_probe() local 155 mp = netdev_priv(dev); in mace_probe() 156 mp->mdev = mdev; in mace_probe() 160 mp->mace = ioremap(dev->base_addr, 0x1000); in mace_probe() 161 if (mp->mace == NULL) { in mace_probe() 172 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | in mace_probe() 173 in_8(&mp->mace->chipid_lo); in mace_probe() 176 mp = netdev_priv(dev); in mace_probe() 177 mp->maccc = ENXMT | ENRCV; in mace_probe() [all …]
|