Searched refs:ports_num (Results 1 – 5 of 5) sorted by relevance
204 u32 ports_num; in make_cma_ports() local212 ports_num = ibdev->phys_port_cnt; in make_cma_ports()213 ports = kcalloc(ports_num, sizeof(*cma_dev_group->ports), in make_cma_ports()219 for (i = 0; i < ports_num; i++) { in make_cma_ports()
726 __le32 ports_num; member727 struct prestera_msg_flood_domain_port ports[] __counted_by_le(ports_num);2463 u32 ports_num = 0; in prestera_hw_flood_domain_ports_set() local2471 ports_num++; in prestera_hw_flood_domain_ports_set()2473 if (!ports_num) in prestera_hw_flood_domain_ports_set()2476 buf_size = struct_size(req, ports, ports_num); in prestera_hw_flood_domain_ports_set()2482 req->ports_num = __cpu_to_le32(ports_num); in prestera_hw_flood_domain_ports_set()
41 static DEVICE_ATTR_RO(ports_num);
1 What: /sys/bus/platform/devices/dfl-fme.0/ports_num
225 Read number of ports (ports_num)