| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-devices-state_synced | 6 devices whose bus types or driver provides the .sync_state() 9 .sync_state() callback hasn't been called yet. A value of 1 10 means the .sync_state() callback has been called. 12 Generally, if a device has sync_state() support and has some of 18 this only when the sync_state() callback has been called -- 22 any way by sync_state() callbacks. 25 sync_state() function if it hasn't been called already. The 26 sync_state() call happens independent of the state of the
|
| /linux/drivers/media/dvb-frontends/cxd2880/ |
| H A D | cxd2880_tnrdmd_dvbt2_mon.c | 86 u8 sync_state = 0; in cxd2880_tnrdmd_dvbt2_mon_carrier_offset() local 105 cxd2880_tnrdmd_dvbt2_mon_sync_stat(tnr_dmd, &sync_state, in cxd2880_tnrdmd_dvbt2_mon_carrier_offset() 113 if (sync_state != 6) { in cxd2880_tnrdmd_dvbt2_mon_carrier_offset() 178 u8 sync_state = 0; in cxd2880_tnrdmd_dvbt2_mon_l1_pre() local 202 cxd2880_tnrdmd_dvbt2_mon_sync_stat(tnr_dmd, &sync_state, in cxd2880_tnrdmd_dvbt2_mon_l1_pre() 210 if (sync_state < 5) { in cxd2880_tnrdmd_dvbt2_mon_l1_pre() 215 (tnr_dmd, &sync_state, &unlock_detected); in cxd2880_tnrdmd_dvbt2_mon_l1_pre() 221 if (sync_state < 5) { in cxd2880_tnrdmd_dvbt2_mon_l1_pre() 356 u8 sync_state = 0; in cxd2880_tnrdmd_dvbt2_mon_version() local 379 cxd2880_tnrdmd_dvbt2_mon_sync_stat(tnr_dmd, &sync_state, in cxd2880_tnrdmd_dvbt2_mon_version() [all …]
|
| /linux/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-ioread.c | 25 unsigned int sync_state; member 139 if (cp->sync_state) { in pvr2_ioread_stop() 142 cp->sync_state = 0; in pvr2_ioread_stop() 173 cp->sync_state = 1; in pvr2_ioread_start() 297 if (cp->sync_state != 1) return; in pvr2_ioread_filter() 332 cp->sync_state = 2; in pvr2_ioread_filter() 360 if (cp->sync_state == 1) { in pvr2_ioread_avail() 362 if (cp->sync_state == 1) return -EAGAIN; in pvr2_ioread_avail() 423 if (cp->sync_state == 2) { in pvr2_ioread_read() 450 if (cp->sync_state == 2) { in pvr2_ioread_read() [all …]
|
| /linux/Documentation/driver-api/driver-model/ |
| H A D | driver.rst | 188 void (*sync_state) (struct device *dev); 190 sync_state is called only once for a device. It's called when all the consumer 195 The first attempt to call sync_state() is made during late_initcall_sync() to 197 attempt at calling sync_state(), if all the consumers of the device at that 198 point in time have already probed successfully, sync_state() is called right 200 too is considered as "all consumers of the device have probed" and sync_state() 203 If during the first attempt at calling sync_state() for a device, there are 204 still consumers that haven't probed successfully, the sync_state() call is 208 sync_state() call is postponed again. 210 A typical use case for sync_state() is to have the kernel cleanly take over [all …]
|
| /linux/drivers/base/ |
| H A D | base.h | 193 if (dev->bus->sync_state) in dev_sync_state() 194 dev->bus->sync_state(dev); in dev_sync_state() 195 else if (dev->driver && dev->driver->sync_state) in dev_sync_state() 196 dev->driver->sync_state(dev); in dev_sync_state()
|
| /linux/include/linux/ |
| H A D | device.h | 1070 if (dev->driver && dev->driver->sync_state) in dev_has_sync_state() 1072 if (dev->bus && dev->bus->sync_state) in dev_has_sync_state() 1082 if (dev->driver->sync_state && dev->driver->sync_state != fn) in dev_set_drv_sync_state() 1084 if (!dev->driver->sync_state) in dev_set_drv_sync_state() 1085 dev->driver->sync_state = fn; in dev_set_drv_sync_state()
|
| /linux/include/linux/device/ |
| H A D | driver.h | 112 void (*sync_state)(struct device *dev); member
|
| H A D | bus.h | 93 void (*sync_state)(struct device *dev); member
|
| /linux/drivers/scsi/arm/ |
| H A D | acornscsi.h | 322 syncxfer_t sync_state; /* sync xfer negotiation state */ member
|
| /linux/drivers/interconnect/samsung/ |
| H A D | exynos.c | 185 .sync_state = icc_sync_state,
|
| /linux/drivers/pmdomain/ |
| H A D | core.c | 2419 genpd->sync_state = GENPD_SYNC_STATE_OFF; in pm_genpd_init() 2698 genpd->sync_state = GENPD_SYNC_STATE_SIMPLE; in of_genpd_add_provider_simple() 2759 bool sync_state = false; in of_genpd_add_provider_onecell() local 2773 sync_state = true; in of_genpd_add_provider_onecell() 2789 if (sync_state && !genpd_is_no_sync_state(genpd)) { in of_genpd_add_provider_onecell() 2790 genpd->sync_state = GENPD_SYNC_STATE_ONECELL; in of_genpd_add_provider_onecell() 2792 sync_state = false; in of_genpd_add_provider_onecell() 3546 switch (genpd->sync_state) { in genpd_provider_sync_state() 3570 .sync_state = genpd_provider_sync_state,
|
| /linux/fs/gfs2/ |
| H A D | file.c | 747 int sync_state = inode_state_read_once(inode) & I_DIRTY; in gfs2_fsync() local 758 sync_state &= ~I_DIRTY_PAGES; in gfs2_fsync() 760 sync_state &= ~I_DIRTY_SYNC; in gfs2_fsync() 762 if (sync_state) { in gfs2_fsync()
|
| /linux/drivers/interconnect/qcom/ |
| H A D | osm-l3.c | 288 .sync_state = icc_sync_state,
|
| H A D | sdx65.c | 893 .sync_state = icc_sync_state,
|
| H A D | sdx55.c | 909 .sync_state = icc_sync_state,
|
| H A D | sdx75.c | 1023 .sync_state = icc_sync_state,
|
| H A D | sdm670.c | 1526 .sync_state = icc_sync_state,
|
| /linux/arch/x86/kernel/apic/ |
| H A D | x2apic_uv_x.c | 200 int sync_state; in uv_tsc_check_sync() local 214 sync_state = (mmr >> mmr_shift) & UVH_TSC_SYNC_MASK; in uv_tsc_check_sync() 217 switch (sync_state) { in uv_tsc_check_sync() 234 pr_info("UV: TSC sync state from BIOS:0%d(%s)\n", sync_state, state); in uv_tsc_check_sync()
|
| /linux/drivers/clk/qcom/ |
| H A D | clk-cbf-8996.c | 352 .sync_state = qcom_msm8996_cbf_icc_sync_state,
|
| H A D | nsscc-ipq5424.c | 1334 .sync_state = icc_sync_state,
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_display_types.h | 235 void (*sync_state)(struct intel_encoder *encoder, member 538 void (*sync_state)(struct intel_connector *connector, member
|
| /linux/drivers/md/ |
| H A D | dm-raid.c | 3364 enum sync_state { st_frozen, st_reshape, st_resync, st_check, st_repair, st_recover, st_idle }; enum 3365 static const char *sync_str(enum sync_state state) in sync_str() 3382 static enum sync_state decipher_sync_action(struct mddev *mddev, unsigned long recovery) in decipher_sync_action() 3440 enum sync_state state, sector_t resync_max_sectors) in rs_get_progress() 3538 enum sync_state state; in raid_status()
|
| /linux/include/net/ |
| H A D | ip_vs.h | 1287 volatile int sync_state; member 1382 return ipvs->sync_state & IP_VS_STATE_BACKUP && in sysctl_backup_only()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_ctl.c | 3720 if (ipvs->sync_state & IP_VS_STATE_MASTER) { in do_ip_vs_get_ctl() 3726 if (ipvs->sync_state & IP_VS_STATE_BACKUP) { in do_ip_vs_get_ctl() 4450 if ((ipvs->sync_state & IP_VS_STATE_MASTER) && !cb->args[0]) { in ip_vs_genl_dump_daemons() 4458 if ((ipvs->sync_state & IP_VS_STATE_BACKUP) && !cb->args[1]) { in ip_vs_genl_dump_daemons() 4668 if (ipvs->sync_state) { in ip_vs_genl_set_cmd()
|
| /linux/drivers/memory/tegra/ |
| H A D | tegra20-emc.c | 1258 .sync_state = icc_sync_state,
|