Home
last modified time | relevance | path

Searched refs:format_string (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/soundwire/
Dsysfs_slave_dpn.c17 const char *format_string; member
31 const char *format_string) \
41 dpn_attr->format_string = format_string; \
56 const char *format_string, \
75 return sprintf(buf, format_string, \
93 dpn_attr->format_string, \
116 const char *format_string, \
139 format_string, \
158 dpn_attr->format_string, \
Dsysfs_slave.c69 #define sdw_slave_attr(field, format_string) \ argument
75 return sprintf(buf, format_string, slave->prop.field); \
142 #define sdw_dp0_attr(field, format_string) \ argument
148 return sprintf(buf, format_string, slave->prop.dp0_prop->field);\
Dmaster.c37 #define sdw_master_attr(field, format_string) \ argument
43 return sprintf(buf, format_string, md->bus->prop.field); \
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
Dfcoe_sysfs.c136 #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 …]
/kernel/linux/linux-5.10/drivers/acpi/
Dutils.c47 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()
112 switch (format_string[i]) { in acpi_extract_package()
129 i, format_string[i]); in acpi_extract_package()
134 switch (format_string[i]) { in acpi_extract_package()
143 i, format_string[i]); in acpi_extract_package()
190 switch (format_string[i]) { in acpi_extract_package()
215 switch (format_string[i]) { in acpi_extract_package()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_transport_fc.c690 #define fc_rport_show_function(field, format_string, sz, cast) \ argument
703 return snprintf(buf, sz, format_string, cast rport->field); \
728 #define fc_rport_rd_attr(field, format_string, sz) \ argument
729 fc_rport_show_function(field, format_string, sz, ) \
733 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \ argument
734 fc_rport_show_function(field, format_string, sz, (cast)) \
738 #define fc_rport_rw_attr(field, format_string, sz) \ argument
739 fc_rport_show_function(field, format_string, sz, ) \
746 #define fc_private_rport_show_function(field, format_string, sz, cast) \ argument
752 return snprintf(buf, sz, format_string, cast rport->field); \
[all …]
Dscsi_transport_spi.c269 #define spi_transport_show_simple(field, format_string) \ argument
279 return snprintf(buf, 20, format_string, tp->field); \
282 #define spi_transport_store_simple(field, format_string) \ argument
299 #define spi_transport_show_function(field, format_string) \ argument
312 return snprintf(buf, 20, format_string, tp->field); \
315 #define spi_transport_store_function(field, format_string) \ argument
333 #define spi_transport_store_max(field, format_string) \ argument
355 #define spi_transport_rd_attr(field, format_string) \ argument
356 spi_transport_show_function(field, format_string) \
357 spi_transport_store_function(field, format_string) \
[all …]
Dscsi_transport_sas.c417 #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)) \
788 #define sas_port_show_simple(field, name, format_string, cast) \ argument
795 return snprintf(buf, 20, format_string, cast port->field); \
798 #define sas_port_simple_attr(field, name, format_string, type) \ argument
799 sas_port_show_simple(field, name, format_string, (type)) \
1135 #define sas_rphy_show_simple(field, name, format_string, cast) \ argument
1142 return snprintf(buf, 20, format_string, cast rphy->field); \
[all …]
Dscsi_sysfs.c159 #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)
588 #define sdev_show_function(field, format_string) \ argument
595 return snprintf (buf, 20, format_string, sdev->field); \
602 #define sdev_rd_attr(field, format_string) \ argument
603 sdev_show_function(field, format_string) \
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-transport.c204 #define ata_port_show_simple(field, name, format_string, cast) \ argument
211 return scnprintf(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)) \
480 #define ata_dev_show_simple(field, format_string, cast) \ argument
487 return scnprintf(buf, 20, format_string, cast ata_dev->field); \
490 #define ata_dev_simple_attr(field, format_string, type) \ argument
491 ata_dev_show_simple(field, format_string, (type)) \
/kernel/linux/linux-5.10/drivers/usb/core/
Dsysfs.c24 #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); \
1083 #define usb_intf_assoc_attr(field, format_string) \ argument
1090 return sprintf(buf, format_string, \
[all …]
Dendpoint.c36 #define usb_ep_attr(field, format_string) \ argument
42 return sprintf(buf, format_string, ep->desc->field); \
/kernel/linux/linux-5.10/scripts/gdb/linux/
Dtasks.py79 task.format_string().split()[0],
80 task["pid"].format_string(),
Dproc.py197 vfs.format_string(), superblock.format_string(), devname,
/kernel/linux/linux-5.10/drivers/zorro/
Dzorro-sysfs.c25 #define zorro_config_attr(name, field, format_string) \ argument
32 return sprintf(buf, format_string, z->field); \
/kernel/linux/linux-5.10/drivers/char/mwave/
Dmwavedd.c504 #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) \
/kernel/linux/linux-5.10/net/mac80211/
Ddebugfs_key.c16 #define KEY_READ(name, prop, format_string) \ argument
23 format_string, key->prop); \
47 #define KEY_CONF_READ(name, format_string) \ argument
48 KEY_READ(conf_##name, conf.name, format_string)
Ddebugfs_netdev.c68 #define IEEE80211_IF_FMT(name, field, format_string) \ argument
73 return scnprintf(buf, buflen, format_string, sdata->field); \
/kernel/linux/linux-5.10/drivers/rapidio/
Drio-sysfs.c18 #define rio_config_attr(field, format_string) \ argument
24 return sprintf(buf, format_string, rdev->field); \
/kernel/linux/linux-5.10/drivers/mmc/core/
Dsdio_bus.c31 #define sdio_config_attr(field, format_string, args...) \ argument
38 return sprintf(buf, format_string, args); \
/kernel/linux/linux-5.10/drivers/rpmsg/
Drpmsg_core.c318 #define rpmsg_show_attr(field, path, format_string) \ argument
325 return sprintf(buf, format_string, rpdev->path); \
/kernel/linux/linux-5.10/drivers/ipack/
Dipack.c102 #define ipack_device_attr(field, format_string) \ argument
108 return sprintf(buf, format_string, idev->field); \
/kernel/linux/linux-5.10/drivers/s390/cio/
Dcmf.c1264 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()
/kernel/linux/linux-5.10/net/core/
Dnet-sysfs.c57 #define NETDEVICE_SHOW(field, format_string) \ argument
60 return sprintf(buf, format_string, dev->field); \
68 #define NETDEVICE_SHOW_RO(field, format_string) \ argument
69 NETDEVICE_SHOW(field, format_string); \
72 #define NETDEVICE_SHOW_RW(field, format_string) \ argument
73 NETDEVICE_SHOW(field, format_string); \
/kernel/linux/linux-5.10/arch/parisc/kernel/
Ddrivers.c588 #define pa_dev_attr(name, field, format_string) \ argument
592 return sprintf(buf, format_string, padev->field); \

12