Lines Matching refs:dev_num
97 int dev_num; member
1162 port->dev_num = devnum + IB_UMAD_MAX_PORTS; in ib_umad_init_port()
1166 port->dev_num = devnum; in ib_umad_init_port()
1181 kobject_set_name(&port->cdev.kobj, "umad%d", port->dev_num); in ib_umad_init_port()
1187 "umad%d", port->dev_num); in ib_umad_init_port()
1200 kobject_set_name(&port->sm_cdev.kobj, "issm%d", port->dev_num); in ib_umad_init_port()
1206 "issm%d", port->dev_num); in ib_umad_init_port()
1228 if (port->dev_num < IB_UMAD_MAX_PORTS) in ib_umad_init_port()
1266 if (port->dev_num < IB_UMAD_MAX_PORTS) in ib_umad_kill_port()
1267 clear_bit(port->dev_num, dev_map); in ib_umad_kill_port()
1269 clear_bit(port->dev_num - IB_UMAD_MAX_PORTS, overflow_map); in ib_umad_kill_port()