Searched refs:mdb (Results 1 – 4 of 4) sorted by relevance
/drivers/s390/char/ |
D | sclp_rw.c | 93 struct mdb *mdb; in sclp_initialize_mto() local 111 mdb = &msg->mdb; in sclp_initialize_mto() 112 mdb->header.length = sizeof(struct mdb); in sclp_initialize_mto() 113 mdb->header.type = 1; in sclp_initialize_mto() 114 mdb->header.tag = 0xD4C4C240; /* ebcdic "MDB " */ in sclp_initialize_mto() 115 mdb->header.revision_code = 1; in sclp_initialize_mto() 117 go = &mdb->go; in sclp_initialize_mto() 121 mto = &mdb->mto; in sclp_initialize_mto() 151 msg->mdb.header.length += buffer->current_length; in sclp_finalize_mto() 152 msg->mdb.mto.length += buffer->current_length; in sclp_finalize_mto() [all …]
|
D | sclp_rw.h | 45 struct mdb { struct 53 struct mdb mdb; argument
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 1007 const struct switchdev_obj_port_mdb *mdb, in mlxsw_sp_port_mdb_add() argument 1013 u16 fid = mlxsw_sp_port_vid_to_fid_get(mlxsw_sp_port, mdb->vid); in mlxsw_sp_port_mdb_add() 1019 mid = __mlxsw_sp_mc_get(mlxsw_sp, mdb->addr, fid); in mlxsw_sp_port_mdb_add() 1021 mid = __mlxsw_sp_mc_alloc(mlxsw_sp, mdb->addr, fid); in mlxsw_sp_port_mdb_add() 1037 err = mlxsw_sp_port_mdb_op(mlxsw_sp, mdb->addr, fid, mid->mid, in mlxsw_sp_port_mdb_add() 1156 const struct switchdev_obj_port_mdb *mdb) in mlxsw_sp_port_mdb_del() argument 1161 u16 fid = mlxsw_sp_port_vid_to_fid_get(mlxsw_sp_port, mdb->vid); in mlxsw_sp_port_mdb_del() 1165 mid = __mlxsw_sp_mc_get(mlxsw_sp, mdb->addr, fid); in mlxsw_sp_port_mdb_del() 1177 err = mlxsw_sp_port_mdb_op(mlxsw_sp, mdb->addr, fid, mid_idx, in mlxsw_sp_port_mdb_del()
|
/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 2252 struct switchdev_obj_port_mdb *mdb; in mv88e6xxx_port_db_dump_fid() local 2257 mdb = SWITCHDEV_OBJ_PORT_MDB(obj); in mv88e6xxx_port_db_dump_fid() 2258 mdb->vid = vid; in mv88e6xxx_port_db_dump_fid() 2259 ether_addr_copy(mdb->addr, addr.mac); in mv88e6xxx_port_db_dump_fid() 3686 const struct switchdev_obj_port_mdb *mdb, in mv88e6xxx_port_mdb_prepare() argument 3697 const struct switchdev_obj_port_mdb *mdb, in mv88e6xxx_port_mdb_add() argument 3703 if (mv88e6xxx_port_db_load_purge(chip, port, mdb->addr, mdb->vid, in mv88e6xxx_port_mdb_add() 3710 const struct switchdev_obj_port_mdb *mdb) in mv88e6xxx_port_mdb_del() argument 3716 err = mv88e6xxx_port_db_load_purge(chip, port, mdb->addr, mdb->vid, in mv88e6xxx_port_mdb_del() 3724 struct switchdev_obj_port_mdb *mdb, in mv88e6xxx_port_mdb_dump() argument [all …]
|