/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_linecard.sh | 64 local port_count=$1; shift 68 [ $current == $port_count ] 81 local port_count=$2 84 busywait "$timeout" until_lc_port_count_is "$port_count" lc_port_count_get "$lc" 191 local port_count 193 port_count=$(lc_wait_until_port_count_is $lc $expected_port_count \ 195 [ $port_count != 0 ] 197 [ $port_count == $expected_port_count ] 198 check_err $? "Unexpected port count linecard $lc (got $port_count, expected $expected_port_count)"
|
/linux-master/drivers/firewire/ |
H A D | core-topology.c | 100 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) argument 104 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); 113 node->port_count = port_count; 141 for (i = 0; i < node->port_count; i++) { 177 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; local 192 next_sid = count_ports(sid, &port_count, &child_port_count); 223 node = fw_node_create(q, port_count, card->color); 237 for (i = 0; i < port_count; i++) { 328 for (i = 0; i < node->port_count; [all...] |
H A D | core.h | 177 u8 port_count; member in struct:fw_node 194 struct fw_node *ports[] __counted_by(port_count);
|
/linux-master/drivers/tty/serial/ |
H A D | mux.c | 432 int port_count = get_mux_port_count(dev); local 433 printk(KERN_INFO "Serial mux driver (%d ports) Revision: 0.6\n", port_count); 435 dev_set_drvdata(&dev->dev, (void *)(long)port_count); 437 port_count * MUX_LINE_OFFSET, "Mux"); 449 for(i = 0; i < port_count; ++i, ++port_cnt) { 477 int port_count = (long)dev_get_drvdata(&dev->dev); local 484 BUG_ON(i + port_count > port_cnt); 487 for(j = 0; j < port_count; ++j, ++i) { 495 release_mem_region(dev->hpa.start + MUX_OFFSET, port_count * MUX_LINE_OFFSET);
|
/linux-master/drivers/acpi/ |
H A D | mipi-disco-img.c | 55 u32 port_count; member in struct:crs_csi2 120 csi2->port_count = 1; 202 size_t port_count = csi2->port_count; local 215 port_count, &alloc_size) || 222 port_count); 231 swnodes->nodes = (struct software_node *)(swnodes->ports + port_count); 233 2 * port_count); 234 swnodes->num_ports = port_count; 236 for (i = 0; i < 2 * port_count [all...] |
/linux-master/drivers/net/netdevsim/ |
H A D | bus.c | 138 nsim_bus_dev_new(unsigned int id, unsigned int port_count, unsigned int num_queues); 143 unsigned int id, port_count, num_queues; local 147 err = sscanf(buf, "%u %u %u", &id, &port_count, &num_queues); 150 port_count = 1; 162 pr_err("Format for adding new device is \"id port_count num_queues\" (uint uint unit).\n"); 173 nsim_bus_dev = nsim_bus_dev_new(id, port_count, num_queues); 420 nsim_bus_dev_new(unsigned int id, unsigned int port_count, unsigned int num_queues) argument 435 nsim_bus_dev->port_count = port_count;
|
H A D | netdevsim.h | 411 unsigned int port_count; member in struct:nsim_bus_dev
|
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_netdev.c | 140 u8 i, port_count = 0; local 171 port_num[port_count++] = i; 182 adapter->flow_tbl[i] = port_count ? port_num[i % port_count] :
|
/linux-master/drivers/net/wwan/t7xx/ |
H A D | t7xx_port_proxy.h | 41 int port_count; member in struct:port_proxy
|
H A D | t7xx_port_ctrl_msg.c | 130 unsigned int version, port_count, i; local 143 port_count = FIELD_GET(PORT_MSG_PRT_CNT, le32_to_cpu(port_msg->info)); 144 for (i = 0; i < port_count; i++) {
|
H A D | t7xx_port_proxy.c | 48 i < (proxy)->port_count; \ 519 u32 port_count; local 526 port_count = ARRAY_SIZE(t7xx_early_port_conf); 529 port_count = ARRAY_SIZE(t7xx_port_conf); 532 for (i = 0; i < port_count; i++) 536 port_prox->port_count = port_count;
|
/linux-master/drivers/media/cec/platform/cros-ec/ |
H A D | cros-ec-cec.c | 388 if (response.port_count == 0) { 394 if (response.port_count > EC_CEC_MAX_PORTS) { 396 "EC reports too many ports: %d\n", response.port_count); 400 cros_ec_cec->num_ports = response.port_count;
|
/linux-master/sound/usb/ |
H A D | mixer_scarlett2.c | 929 const int port_count[SCARLETT2_PORT_TYPE_COUNT][SCARLETT2_PORT_DIRNS]; member in struct:scarlett2_device_info 1055 .port_count = { 1107 .port_count = { 1162 .port_count = { 1237 .port_count = { 1286 .port_count = { 1353 .port_count = { 1431 .port_count = { 1492 .port_count = { 1545 .port_count 1827 scarlett2_get_port_start_num( const int port_count[][SCARLETT2_PORT_DIRNS], int direction, int port_type) argument 2355 scarlett2_mux_src_num_to_id( const int port_count[][SCARLETT2_PORT_DIRNS], int num) argument 2373 scarlett2_mux_id_to_num( const int port_count[][SCARLETT2_PORT_DIRNS], int direction, u32 id) argument [all...] |
/linux-master/drivers/net/ethernet/rocker/ |
H A D | rocker.h | 61 unsigned int port_count; member in struct:rocker
|
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efc_fabric.c | 654 u32 port_id = 0, port_count, plist_count; local 682 port_count = 0; 684 port_count++; 688 active_nodes = kcalloc(port_count, sizeof(*active_nodes), GFP_ATOMIC); 714 for (j = 0; j < port_count; j++) { 726 for (i = 0; i < port_count; i++) {
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_edif_bsg.h | 133 uint8_t port_count; member in struct:app_pinfo_reply
|
/linux-master/drivers/mfd/ |
H A D | cros_ec_dev.c | 272 if (retval >= 0 && pchg_count.port_count) {
|
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | sdio.c | 1831 u32 port_count; local 1833 for (i = 0, port_count = 0; i < card->max_ports; i++) 1835 port_count++; 1838 * port_count -1", so decrease the count by 1 1840 port_count--; 1842 (port_count << 8)) + card->mpa_rx.start_port; 2263 u32 port_count; local 2266 for (i = 0, port_count = 0; i < card->max_ports; i++) 2268 port_count++; 2271 * port_count [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_offload.py | 352 def __init__(self, port_count=1): 356 self.ctrl_write("new_device", "%u %u" % (addr, port_count)) 367 self.wait_for_netdevs(port_count) 378 for port_index in range(port_count): 389 def wait_for_netdevs(self, port_count): 398 if len(ifnames) == port_count:
|
/linux-master/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_debugfs.c | 497 for (i = 0; i < priv->port_count; i++) { 721 for (i = 0; i < priv->port_count; i++) {
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera.h | 299 u32 port_count; member in struct:prestera_switch
|
/linux-master/drivers/power/supply/ |
H A D | cros_peripheral_charger.c | 120 return rsp.port_count;
|
/linux-master/drivers/usb/early/ |
H A D | xhci-dbc.c | 369 u32 val, port_offset, port_count; local 383 port_count = XHCI_EXT_PORT_COUNT(val); 385 xdbc_do_reset_debug_port(port_offset, port_count);
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_main.c | 779 sparx5->port_count = of_get_child_count(ports); 781 configs = kcalloc(sparx5->port_count, 873 for (idx = 0; idx < sparx5->port_count; ++idx) {
|
/linux-master/drivers/tty/ |
H A D | synclink_gt.c | 219 int port_count; /* count of ports on adapter */ member in struct:slgt_info 2279 for(i=0; i < info->port_count ; i++) { 2303 for (i=0 ; i < info->port_count ; i++) { 2311 for(i=0; i < info->port_count ; i++) { 3520 int port_count = 1; local 3523 port_count = 2; 3525 port_count = 4; 3528 for (i=0; i < port_count; ++i) { 3540 for (i=0; i < port_count; ++i) { 3543 port_array[i]->port_count [all...] |