Home
last modified time | relevance | path

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

12

/linux-6.1.9/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); \
/linux-6.1.9/rust/kernel/
Dprint.rs93 format_string: &[u8; format_strings::LENGTH], in call_printk()
101 format_string.as_ptr() as _,
117 ($format_string:path, $($arg:tt)+) => (
125 &$format_string,
137 ($format_string:path, $e:expr, $($arg:tt)+) => (
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/acpi/
Dutils.c37 char *format_string = NULL; in acpi_extract_package() local
67 format_string = format->pointer; in acpi_extract_package()
79 switch (format_string[i]) { in acpi_extract_package()
92 i, format_string[i]); in acpi_extract_package()
99 switch (format_string[i]) { in acpi_extract_package()
114 i, format_string[i]); in acpi_extract_package()
119 switch (format_string[i]) { in acpi_extract_package()
126 i, format_string[i]); in acpi_extract_package()
171 switch (format_string[i]) { in acpi_extract_package()
196 switch (format_string[i]) { in acpi_extract_package()
[all …]
/linux-6.1.9/drivers/scsi/
Dscsi_transport_fc.c983 #define fc_rport_show_function(field, format_string, sz, cast) \ argument
996 return snprintf(buf, sz, format_string, cast rport->field); \
1021 #define fc_rport_rd_attr(field, format_string, sz) \ argument
1022 fc_rport_show_function(field, format_string, sz, ) \
1026 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \ argument
1027 fc_rport_show_function(field, format_string, sz, (cast)) \
1031 #define fc_rport_rw_attr(field, format_string, sz) \ argument
1032 fc_rport_show_function(field, format_string, sz, ) \
1039 #define fc_private_rport_show_function(field, format_string, sz, cast) \ argument
1045 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.c423 #define sas_phy_show_simple(field, name, format_string, cast) \ argument
430 return snprintf(buf, 20, format_string, cast phy->field); \
433 #define sas_phy_simple_attr(field, name, format_string, type) \ argument
434 sas_phy_show_simple(field, name, format_string, (type)) \
794 #define sas_port_show_simple(field, name, format_string, cast) \ argument
801 return snprintf(buf, 20, format_string, cast port->field); \
804 #define sas_port_simple_attr(field, name, format_string, type) \ argument
805 sas_port_show_simple(field, name, format_string, (type)) \
1141 #define sas_rphy_show_simple(field, name, format_string, cast) \ argument
1148 return snprintf(buf, 20, format_string, cast rphy->field); \
[all …]
Dscsi_sysfs.c160 #define shost_show_function(name, field, format_string) \ argument
166 return snprintf (buf, 20, format_string, shost->field); \
173 #define shost_rd_attr2(name, field, format_string) \ argument
174 shost_show_function(name, field, format_string) \
177 #define shost_rd_attr(field, format_string) \ argument
178 shost_rd_attr2(field, field, format_string)
601 #define sdev_show_function(field, format_string) \ argument
608 return snprintf (buf, 20, format_string, sdev->field); \
615 #define sdev_rd_attr(field, format_string) \ argument
616 sdev_show_function(field, format_string) \
[all …]
/linux-6.1.9/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)) \
510 #define ata_dev_show_simple(field, format_string, cast) \ argument
517 return scnprintf(buf, 20, format_string, cast ata_dev->field); \
520 #define ata_dev_simple_attr(field, format_string, type) \ argument
521 ata_dev_show_simple(field, format_string, (type)) \
/linux-6.1.9/drivers/usb/core/
Dsysfs.c24 #define usb_actconfig_show(field, format_string) \ argument
38 rc = sysfs_emit(buf, format_string, \
44 #define usb_actconfig_attr(field, format_string) \ argument
45 usb_actconfig_show(field, format_string) \
689 #define usb_descriptor_attr_le16(field, format_string) \ argument
697 return sysfs_emit(buf, format_string, \
706 #define usb_descriptor_attr(field, format_string) \ argument
714 return sysfs_emit(buf, format_string, udev->descriptor.field); \
1062 #define usb_intf_assoc_attr(field, format_string) \ argument
1069 return sysfs_emit(buf, format_string, \
[all …]
Dendpoint.c36 #define usb_ep_attr(field, format_string) \ argument
42 return sprintf(buf, format_string, ep->desc->field); \
/linux-6.1.9/scripts/gdb/linux/
Dtasks.py79 task.format_string().split()[0],
80 task["pid"].format_string(),
Dproc.py197 vfs.format_string(), superblock.format_string(), devname,
/linux-6.1.9/drivers/zorro/
Dzorro-sysfs.c25 #define zorro_config_attr(name, field, format_string) \ argument
32 return sprintf(buf, format_string, z->field); \
/linux-6.1.9/drivers/char/mwave/
Dmwavedd.c503 #define mwave_show_function(attr_name, format_string, field) \
508 return sprintf(buf, format_string, pSettings->field); \
512 #define mwave_dev_rd_attr(attr_name, format_string, field) \
513 mwave_show_function(attr_name, format_string, field) \
/linux-6.1.9/net/mac80211/
Ddebugfs_key.c17 #define KEY_READ(name, prop, format_string) \ argument
24 format_string, key->prop); \
47 #define KEY_CONF_READ(name, format_string) \ argument
48 KEY_READ(conf_##name, conf.name, format_string)
/linux-6.1.9/drivers/mmc/core/
Dsdio_bus.c32 #define sdio_config_attr(field, format_string, args...) \ argument
39 return sysfs_emit(buf, format_string, args); \
/linux-6.1.9/drivers/rapidio/
Drio-sysfs.c18 #define rio_config_attr(field, format_string) \ argument
24 return sprintf(buf, format_string, rdev->field); \
/linux-6.1.9/drivers/rpmsg/
Drpmsg_core.c386 #define rpmsg_show_attr(field, path, format_string) \ argument
393 return sprintf(buf, format_string, rpdev->path); \
/linux-6.1.9/drivers/ipack/
Dipack.c96 #define ipack_device_attr(field, format_string) \ argument
102 return sprintf(buf, format_string, idev->field); \
/linux-6.1.9/drivers/s390/cio/
Dcmf.c1260 char *format_string; in init_cmf() local
1282 format_string = "basic"; in init_cmf()
1286 format_string = "extended"; in init_cmf()
1297 "%s (mode %s)\n", format_string, detect_string); in init_cmf()
/linux-6.1.9/net/core/
Dnet-sysfs.c59 #define NETDEVICE_SHOW(field, format_string) \ argument
62 return sysfs_emit(buf, format_string, dev->field); \
70 #define NETDEVICE_SHOW_RO(field, format_string) \ argument
71 NETDEVICE_SHOW(field, format_string); \
74 #define NETDEVICE_SHOW_RW(field, format_string) \ argument
75 NETDEVICE_SHOW(field, format_string); \
/linux-6.1.9/arch/parisc/kernel/
Ddrivers.c587 #define pa_dev_attr(name, field, format_string) \ argument
591 return sprintf(buf, format_string, padev->field); \

12