/drivers/scsi/fcoe/ |
D | fcoe_sysfs.c | 136 #define fcoe_ctlr_show_function(field, format_string, sz, cast) \ argument 144 return snprintf(buf, sz, format_string, \ 148 #define fcoe_fcf_show_function(field, format_string, sz, cast) \ argument 157 return snprintf(buf, sz, format_string, \ 161 #define fcoe_ctlr_private_show_function(field, format_string, sz, cast) \ argument 167 return snprintf(buf, sz, format_string, cast fcoe_ctlr_##field(ctlr)); \ 170 #define fcoe_fcf_private_show_function(field, format_string, sz, cast) \ argument 176 return snprintf(buf, sz, format_string, cast fcoe_fcf_##field(fcf)); \ 179 #define fcoe_ctlr_private_rd_attr(field, format_string, sz) \ argument 180 fcoe_ctlr_private_show_function(field, format_string, sz, ) \ [all …]
|
/drivers/scsi/ |
D | scsi_transport_fc.c | 689 #define fc_rport_show_function(field, format_string, sz, cast) \ argument 702 return snprintf(buf, sz, format_string, cast rport->field); \ 727 #define fc_rport_rd_attr(field, format_string, sz) \ argument 728 fc_rport_show_function(field, format_string, sz, ) \ 732 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \ argument 733 fc_rport_show_function(field, format_string, sz, (cast)) \ 737 #define fc_rport_rw_attr(field, format_string, sz) \ argument 738 fc_rport_show_function(field, format_string, sz, ) \ 745 #define fc_private_rport_show_function(field, format_string, sz, cast) \ argument 751 return snprintf(buf, sz, format_string, cast rport->field); \ [all …]
|
D | scsi_transport_spi.c | 265 #define spi_transport_show_simple(field, format_string) \ argument 275 return snprintf(buf, 20, format_string, tp->field); \ 278 #define spi_transport_store_simple(field, format_string) \ argument 295 #define spi_transport_show_function(field, format_string) \ argument 308 return snprintf(buf, 20, format_string, tp->field); \ 311 #define spi_transport_store_function(field, format_string) \ argument 329 #define spi_transport_store_max(field, format_string) \ argument 351 #define spi_transport_rd_attr(field, format_string) \ argument 352 spi_transport_show_function(field, format_string) \ 353 spi_transport_store_function(field, format_string) \ [all …]
|
D | scsi_transport_sas.c | 417 #define sas_phy_show_simple(field, name, format_string, cast) \ argument 424 return snprintf(buf, 20, format_string, cast phy->field); \ 427 #define sas_phy_simple_attr(field, name, format_string, type) \ argument 428 sas_phy_show_simple(field, name, format_string, (type)) \ 783 #define sas_port_show_simple(field, name, format_string, cast) \ argument 790 return snprintf(buf, 20, format_string, cast port->field); \ 793 #define sas_port_simple_attr(field, name, format_string, type) \ argument 794 sas_port_show_simple(field, name, format_string, (type)) \ 1130 #define sas_rphy_show_simple(field, name, format_string, cast) \ argument 1137 return snprintf(buf, 20, format_string, cast rphy->field); \ [all …]
|
D | scsi_sysfs.c | 159 #define shost_show_function(name, field, format_string) \ argument 165 return snprintf (buf, 20, format_string, shost->field); \ 172 #define shost_rd_attr2(name, field, format_string) \ argument 173 shost_show_function(name, field, format_string) \ 176 #define shost_rd_attr(field, format_string) \ argument 177 shost_rd_attr2(field, field, format_string) 559 #define sdev_show_function(field, format_string) \ argument 566 return snprintf (buf, 20, format_string, sdev->field); \ 573 #define sdev_rd_attr(field, format_string) \ argument 574 sdev_show_function(field, format_string) \ [all …]
|
/drivers/acpi/ |
D | utils.c | 47 char *format_string = NULL; in acpi_extract_package() local 78 format_string = format->pointer; in acpi_extract_package() 90 switch (format_string[i]) { in acpi_extract_package() 105 i, format_string[i]); in acpi_extract_package() 113 switch (format_string[i]) { in acpi_extract_package() 130 i, format_string[i]); in acpi_extract_package() 136 switch (format_string[i]) { in acpi_extract_package() 145 i, format_string[i]); in acpi_extract_package() 194 switch (format_string[i]) { in acpi_extract_package() 219 switch (format_string[i]) { in acpi_extract_package() [all …]
|
/drivers/ata/ |
D | libata-transport.c | 204 #define ata_port_show_simple(field, name, format_string, cast) \ argument 211 return snprintf(buf, 20, format_string, cast ap->field); \ 214 #define ata_port_simple_attr(field, name, format_string, type) \ argument 215 ata_port_show_simple(field, name, format_string, (type)) \ 475 #define ata_dev_show_simple(field, format_string, cast) \ argument 482 return snprintf(buf, 20, format_string, cast ata_dev->field); \ 485 #define ata_dev_simple_attr(field, format_string, type) \ argument 486 ata_dev_show_simple(field, format_string, (type)) \
|
/drivers/usb/core/ |
D | sysfs.c | 24 #define usb_actconfig_show(field, format_string) \ argument 38 rc = sprintf(buf, format_string, \ 44 #define usb_actconfig_attr(field, format_string) \ argument 45 usb_actconfig_show(field, format_string) \ 709 #define usb_descriptor_attr_le16(field, format_string) \ argument 717 return sprintf(buf, format_string, \ 726 #define usb_descriptor_attr(field, format_string) \ argument 734 return sprintf(buf, format_string, udev->descriptor.field); \ 1078 #define usb_intf_assoc_attr(field, format_string) \ argument 1085 return sprintf(buf, format_string, \ [all …]
|
D | endpoint.c | 36 #define usb_ep_attr(field, format_string) \ argument 42 return sprintf(buf, format_string, ep->desc->field); \
|
/drivers/zorro/ |
D | zorro-sysfs.c | 25 #define zorro_config_attr(name, field, format_string) \ argument 32 return sprintf(buf, format_string, z->field); \
|
/drivers/char/mwave/ |
D | mwavedd.c | 504 #define mwave_show_function(attr_name, format_string, field) \ 509 return sprintf(buf, format_string, pSettings->field); \ 513 #define mwave_dev_rd_attr(attr_name, format_string, field) \ 514 mwave_show_function(attr_name, format_string, field) \
|
/drivers/mmc/core/ |
D | sdio_bus.c | 31 #define sdio_config_attr(field, format_string) \ argument 38 return sprintf (buf, format_string, func->field); \
|
/drivers/rapidio/ |
D | rio-sysfs.c | 18 #define rio_config_attr(field, format_string) \ argument 24 return sprintf(buf, format_string, rdev->field); \
|
/drivers/rpmsg/ |
D | rpmsg_core.c | 318 #define rpmsg_show_attr(field, path, format_string) \ argument 325 return sprintf(buf, format_string, rpdev->path); \
|
/drivers/s390/cio/ |
D | cmf.c | 1264 char *format_string; in init_cmf() local 1286 format_string = "basic"; in init_cmf() 1290 format_string = "extended"; in init_cmf() 1301 "%s (mode %s)\n", format_string, detect_string); in init_cmf()
|
/drivers/ipack/ |
D | ipack.c | 102 #define ipack_device_attr(field, format_string) \ argument 108 return sprintf(buf, format_string, idev->field); \
|
/drivers/ssb/ |
D | main.c | 354 #define ssb_config_attr(attrib, field, format_string) \ argument 358 return sprintf(buf, format_string, dev_to_ssb_dev(dev)->field); \
|
/drivers/spi/ |
D | spi.c | 143 #define SPI_STATISTICS_SHOW_NAME(name, file, field, format_string) \ argument 150 len = sprintf(buf, format_string, stat->field); \ 156 #define SPI_STATISTICS_SHOW(field, format_string) \ argument 158 field, format_string)
|
/drivers/pci/ |
D | pci-sysfs.c | 35 #define pci_config_attr(field, format_string) \ argument 42 return sprintf(buf, format_string, pdev->field); \
|
/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 6899 #define lpfc_rport_show_function(field, format_string, sz, cast) \ argument 6907 return scnprintf(buf, sz, format_string, \ 6911 #define lpfc_rport_rd_attr(field, format_string, sz) \ argument 6912 lpfc_rport_show_function(field, format_string, sz, ) \
|