/drivers/platform/x86/ |
H A D | intel_menlow.c | 386 static int intel_menlow_add_one_attribute(char *name, umode_t mode, void *show, argument 400 attr->attr.show = show;
|
/drivers/xen/ |
H A D | sys-hypervisor.c | 33 ssize_t (*show)(struct hyp_sysfs_attr *, char *); member in struct:hyp_sysfs_attr 426 if (hyp_attr->show) 427 return hyp_attr->show(hyp_attr, buffer); 444 .show = hyp_sysfs_show,
|
/drivers/cpufreq/ |
H A D | cpufreq_stats.c | 62 ssize_t(*show) (struct cpufreq_stats *, char *); member in struct:cpufreq_stats_attribute
|
H A D | cpufreq.c | 152 * - validate & show freq table passed 571 * show_scaling_governor - show the current policy for the specified CPU 619 * show_scaling_driver - show the cpufreq driver currently loaded 627 * show_scaling_available_governors - show the available CPUfreq governors 669 * show_related_cpus - show the CPUs affected by each transition even if 678 * show_affected_cpus - show the CPUs affected by each transition 712 * show_bios_limit - show the current cpufreq HW/BIOS limitation 759 static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf) function 770 if (fattr->show) 771 ret = fattr->show(polic [all...] |
/drivers/cpuidle/ |
H A D | sysfs.c | 164 ssize_t (*show)(struct cpuidle_device *, char *); member in struct:cpuidle_attr 168 #define define_one_ro(_name, show) \ 169 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0444, show, NULL) 170 #define define_one_rw(_name, show, store) \ 171 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0644, show, store) 196 if (cattr->show) { 198 ret = cattr->show(dev, buf); 220 .show = cpuidle_show, 239 ssize_t (*show)(struct cpuidle_state *, \ member in struct:cpuidle_state_attr 245 #define define_one_state_ro(_name, show) \ 458 ssize_t (*show)(struct cpuidle_driver *, char *); member in struct:cpuidle_driver_attr [all...] |
/drivers/dma/ioat/ |
H A D | dma.h | 126 ssize_t (*show)(struct dma_chan *, char *); member in struct:ioat_sysfs_entry
|
/drivers/firmware/ |
H A D | dmi-sysfs.c | 52 ssize_t (*show)(struct dmi_sysfs_entry *entry, char *buf); member in struct:dmi_sysfs_attribute 58 .show = dmi_sysfs_##_entry##_##_name, \ 67 ssize_t (*show)(struct dmi_sysfs_entry *entry, member in struct:dmi_sysfs_mapped_attribute 75 .show = dmi_sysfs_##_entry##_##_name, \ 106 return attr->show(entry, buf); 110 .show = dmi_sysfs_attr_show, 210 return attr->show(entry, dh, data->buf); 222 * normalized show method hanging off of the attribute */ 228 .show = dmi_entry_attr_show,
|
/drivers/gpu/drm/nouveau/core/engine/graph/ |
H A D | nv04.c | 1272 u32 show = stat; local 1285 show &= ~NV_PGRAPH_INTR_NOTIFY; 1292 show &= ~NV_PGRAPH_INTR_CONTEXT_SWITCH; 1299 if (show) { 1301 nouveau_bitfield_print(nv04_graph_intr_name, show);
|
H A D | nv10.c | 1171 u32 show = stat; local 1184 show &= ~NV_PGRAPH_INTR_ERROR; 1191 show &= ~NV_PGRAPH_INTR_CONTEXT_SWITCH; 1198 if (show) { 1200 nouveau_bitfield_print(nv10_graph_intr_name, show);
|
H A D | nv50.c | 808 u32 show = stat, show_bitfield = stat; local 817 show &= ~0x00000010; 821 if (show & 0x00100000) { 830 if (!nv50_graph_trap_handler(priv, show, chid, (u64)inst << 12, 832 show &= ~0x00200000; 839 if (show) { 840 show &= show_bitfield; 841 if (show) { 843 nouveau_bitfield_print(nv50_graph_intr_name, show);
|
/drivers/hwmon/ |
H A D | gl518sm.c | 238 #define show(type, suffix, value) \ macro 246 show(TEMP, temp_input1, temp_in); 247 show(TEMP, temp_max1, temp_max); 248 show(TEMP, temp_hyst1, temp_hyst); 249 show(BOOL, fan_auto1, fan_auto1); 250 show(VDD, in_input0, voltage_in[0]); 251 show(IN, in_input1, voltage_in[1]); 252 show(IN, in_input2, voltage_in[2]); 253 show(IN, in_input3, voltage_in[3]); 254 show(VD [all...] |
H A D | acpi_power_meter.c | 112 ssize_t (*show)(struct device *dev, member in struct:sensor_template 469 .show = _show, \ 476 .show = _show, \ 641 sensors->dev_attr.show = attrs->show;
|
H A D | applesmc.c | 114 void *show; /* show function */ member in struct:applesmc_node_group 1122 node->sda.dev_attr.show = grp->show;
|
/drivers/infiniband/hw/qib/ |
H A D | qib_sysfs.c | 178 #define QIB_PORT_ATTR(name, mode, show, store) \ 180 __ATTR(name, mode, show, store) 184 ssize_t (*show)(struct qib_pportdata *, char *); member in struct:qib_port_attr 304 return pattr->show(ppd, buf); 320 .show = qib_portattr_show, 393 .show = sl2vl_attr_show, 483 .show = diagc_attr_show,
|
/drivers/input/mouse/ |
H A D | psmouse.h | 116 ssize_t (*show)(struct psmouse *psmouse, void *data, char *buf); member in struct:psmouse_attribute 135 .show = psmouse_attr_show_helper, \ 139 .show = _show, \
|
/drivers/misc/ |
H A D | spear13xx_pcie_gadget.c | 62 ssize_t (*show)(struct spear_pcie_gadget_config *config, member in struct:pcie_gadget_target_attr 221 * configfs interfaces show/store functions 649 if (t_attr->show) 650 ret = t_attr->show(&target->config, buf);
|
/drivers/net/ |
H A D | netconsole.c | 237 ssize_t (*show)(struct netconsole_target *nt, member in struct:netconsole_target_attr 548 if (na->show) 549 ret = na->show(nt, buf);
|
/drivers/parisc/ |
H A D | pdc_stable.c | 111 ssize_t (*show)(struct pdcspath_entry *entry, char *buf); member in struct:pdcspath_attribute 125 .show = _show, \ 132 .show = _show, \ 454 if (pdcs_attr->show) 455 ret = pdcs_attr->show(entry, buf); 485 .show = pdcspath_attr_show, 537 /* show the size of the stable storage */ 970 * created will show in the sysfs tree as a folder containing files as defined
|
/drivers/gpu/drm/nouveau/core/engine/fifo/ |
H A D | nvc0.c | 697 u32 show = stat; local 701 show &= ~0x00800000; 704 if (show) { 706 nouveau_bitfield_print(nvc0_fifo_pbdma_intr, show);
|
H A D | nve0.c | 838 u32 show = stat; local 842 show &= ~0x00800000; 845 if (show) { 847 nouveau_bitfield_print(nve0_fifo_pbdma_intr, show);
|
/drivers/infiniband/core/ |
H A D | sysfs.c | 53 ssize_t (*show)(struct ib_port *, struct port_attribute *, char *buf); member in struct:port_attribute 77 if (!port_attr->show) 80 return port_attr->show(p, port_attr, buf); 84 .show = port_attr_show 478 alloc_group_attrs(ssize_t (*show)(struct ib_port *, 504 element->attr.show = show;
|
/drivers/iommu/ |
H A D | iommu.c | 64 ssize_t (*show)(struct iommu_group *group, char *buf); member in struct:iommu_group_attribute 85 if (attr->show) 86 ret = attr->show(group, buf); 104 .show = iommu_group_attr_show,
|
/drivers/uio/ |
H A D | uio.c | 74 ssize_t (*show)(struct uio_mem *, char *); member in struct:map_sysfs_entry 110 if (!entry->show) 113 return entry->show(mem, buf); 117 .show = map_type_show, 162 ssize_t (*show)(struct uio_port *, char *); member in struct:portio_sysfs_entry 198 if (!entry->show) 201 return entry->show(port, buf); 205 .show = portio_type_show,
|
/drivers/gpu/drm/nouveau/ |
H A D | nv50_display.c | 940 nv50_crtc_cursor_show_hide(struct nouveau_crtc *nv_crtc, bool show, bool update) argument 944 if (show)
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.c | 162 bool show, int x, int y) 167 iowrite32(show ? 1 : 0, fifo_mem + SVGA_FIFO_CURSOR_ON); 161 vmw_cursor_update_position(struct vmw_private *dev_priv, bool show, int x, int y) argument
|