• Home
  • Raw
  • Download

Lines Matching refs:devlink

65 nfp_devlink_port_split(struct devlink *devlink, unsigned int port_index,  in nfp_devlink_port_split()  argument
68 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_split()
99 nfp_devlink_port_unsplit(struct devlink *devlink, unsigned int port_index, in nfp_devlink_port_unsplit() argument
102 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit()
133 nfp_devlink_sb_pool_get(struct devlink *devlink, unsigned int sb_index, in nfp_devlink_sb_pool_get() argument
136 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get()
142 nfp_devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, in nfp_devlink_sb_pool_set() argument
147 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set()
153 static int nfp_devlink_eswitch_mode_get(struct devlink *devlink, u16 *mode) in nfp_devlink_eswitch_mode_get() argument
155 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get()
160 static int nfp_devlink_eswitch_mode_set(struct devlink *devlink, u16 mode, in nfp_devlink_eswitch_mode_set() argument
163 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set()
255 nfp_devlink_info_get(struct devlink *devlink, struct devlink_info_req *req, in nfp_devlink_info_get() argument
258 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_info_get()
332 nfp_devlink_flash_update(struct devlink *devlink, in nfp_devlink_flash_update() argument
336 return nfp_flash_update_common(devlink_priv(devlink), params->fw, extack); in nfp_devlink_flash_update()
354 struct devlink *devlink; in nfp_devlink_port_register() local
376 devlink = priv_to_devlink(app->pf); in nfp_devlink_port_register()
378 return devlink_port_register(devlink, &port->dl_port, port->eth_id); in nfp_devlink_port_register()