Home
last modified time | relevance | path

Searched refs:partition_count (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/pci/switch/
H A Dswitchtec.c445 return sysfs_emit(buf, "%d\n", stdev->partition_count); in partition_count_show()
447 static DEVICE_ATTR_RO(partition_count);
905 for (i = 0; i < stdev->partition_count; i++) { in ioctl_event_summary()
1004 else if (index < 0 || index >= stdev->partition_count) in event_hdr_addr()
1091 nr_idxs = stdev->partition_count; in ioctl_event_ctl()
1128 for (part = 0; part < stdev->partition_count; part++) { in ioctl_pff_to_port()
1174 else if (p.partition < stdev->partition_count) in ioctl_port_to_pff()
1420 for (idx = 0; idx < stdev->partition_count; idx++) in mask_all_events()
1613 stdev->partition_count = ioread8(&stdev->mmio_ntb->partition_count); in switchtec_init_pci()
1618 if (stdev->partition_count < 1) in switchtec_init_pci()
[all …]
/openbmc/linux/include/linux/
H A Dswitchtec.h280 u8 partition_count; member
481 int partition_count; member
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-switchtec64 What: /sys/class/switchtec/switchtec[0-9]+/partition_count
/openbmc/linux/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c867 if (sndev->stdev->partition_count != 2) { in switchtec_ntb_init_sndev()
896 sndev->self_partition, sndev->stdev->partition_count); in switchtec_ntb_init_sndev()