/linux-6.3-rc2/Documentation/ABI/testing/ |
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.
|
/linux-6.3-rc2/drivers/media/usb/pvrusb2/ |
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-6.3-rc2/drivers/media/dvb-frontends/cxd2880/ |
A D | cxd2880_tnrdmd_dvbt2_mon.c | 86 u8 sync_state = 0; in cxd2880_tnrdmd_dvbt2_mon_carrier_offset() local 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 356 u8 sync_state = 0; in cxd2880_tnrdmd_dvbt2_mon_version() local 437 u8 sync_state = 0; in cxd2880_tnrdmd_dvbt2_mon_ofdm() local 772 u8 sync_state = 0; in cxd2880_tnrdmd_dvbt2_mon_l1_change() local 923 u8 sync_state = 0; in cxd2880_tnrdmd_dvbt2_mon_bbheader() local 1051 u8 sync_state = 0; in cxd2880_tnrdmd_dvbt2_mon_in_bandb_ts_rate() local 1162 u8 sync_state = 0; in cxd2880_tnrdmd_dvbt2_mon_spectrum_sense() local 1230 u8 sync_state = 0; in dvbt2_read_snr_reg() local [all …]
|
/linux-6.3-rc2/Documentation/driver-api/driver-model/ |
A D | driver.rst | 188 void (*sync_state) (struct device *dev); 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 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 217 name sync_state(). 220 resources such as regulator, sync_state() can also be useful for complex [all …]
|
/linux-6.3-rc2/drivers/scsi/arm/ |
A D | fas216.c | 220 info->device[i].sof, info->device[i].sync_state); in fas216_dumpinfo() 534 if (dev->sync_state == neg_inprogress) { in fas216_handlesync() 535 dev->sync_state = neg_invalid; in fas216_handlesync() 541 switch (dev->sync_state) { in fas216_handlesync() 572 dev->sync_state = neg_targcomplete; in fas216_handlesync() 586 dev->sync_state = neg_complete; in fas216_handlesync() 1601 neg_t sync_state; in fas216_bus_reset() local 1606 sync_state = neg_invalid; in fas216_bus_reset() 1610 sync_state = neg_wait; in fas216_bus_reset() 1619 info->device[i].sync_state = sync_state; in fas216_bus_reset() [all …]
|
A D | acornscsi.h | 322 syncxfer_t sync_state; /* sync xfer negotiation state */ member
|
A D | acornscsi.c | 382 host->device[i].sync_state = SYNC_NEGOCIATE; in acornscsi_resetcard() 1540 if (host->device[host->SCpnt->device->id].sync_state == SYNC_SENT_REQUEST) in acornscsi_message() 1541 host->device[host->SCpnt->device->id].sync_state = SYNC_NEGOCIATE; in acornscsi_message() 1558 host->device[host->SCpnt->device->id].sync_state = SYNC_ASYNCHRONOUS; in acornscsi_message() 1578 if (host->device[host->SCpnt->device->id].sync_state == SYNC_SENT_REQUEST) { in acornscsi_message() 1585 host->device[host->SCpnt->device->id].sync_state = SYNC_COMPLETED; in acornscsi_message() 1668 if (host->device[host->SCpnt->device->id].sync_state == SYNC_NEGOCIATE) { in acornscsi_buildmessages() 1669 host->device[host->SCpnt->device->id].sync_state = SYNC_SENT_REQUEST; in acornscsi_buildmessages()
|
A D | fas216.h | 294 neg_t sync_state; /* synchronous transfer mode */ member
|
/linux-6.3-rc2/drivers/interconnect/imx/ |
A D | imx8mq.c | 100 .sync_state = icc_sync_state,
|
/linux-6.3-rc2/net/netfilter/ipvs/ |
A D | ip_vs_sync.c | 368 if (ipvs->sync_state & IP_VS_STATE_MASTER && in sb_queue_tail() 560 if (!(ipvs->sync_state & IP_VS_STATE_MASTER)) { in ip_vs_sync_conn_v0() 663 if (!(ipvs->sync_state & IP_VS_STATE_MASTER)) { in ip_vs_sync_conn() 1782 if (!ipvs->sync_state) { in start_sync_thread() 1894 ipvs->sync_state |= state; in start_sync_thread() 1914 if (!(ipvs->sync_state & IP_VS_STATE_MASTER)) { in start_sync_thread() 1967 ipvs->sync_state &= ~IP_VS_STATE_MASTER; in stop_sync_thread() 1993 ipvs->sync_state &= ~IP_VS_STATE_BACKUP; in stop_sync_thread()
|
/linux-6.3-rc2/drivers/cpuidle/ |
A D | cpuidle-psci-domain.c | 207 .sync_state = psci_cpuidle_domain_sync_state,
|
A D | cpuidle-riscv-sbi.c | 601 .sync_state = sbi_cpuidle_domain_sync_state,
|
/linux-6.3-rc2/include/linux/device/ |
A D | driver.h | 110 void (*sync_state)(struct device *dev); member
|
A D | bus.h | 93 void (*sync_state)(struct device *dev); member
|
/linux-6.3-rc2/drivers/interconnect/samsung/ |
A D | exynos.c | 188 .sync_state = icc_sync_state,
|
/linux-6.3-rc2/sound/soc/stm/ |
A D | stm32_spdifrx.c | 670 unsigned int flags, sync_state; in stm32_spdifrx_isr() local 731 sync_state = FIELD_GET(SPDIFRX_CR_SPDIFEN_MASK, cr) && in stm32_spdifrx_isr() 740 if (sync_state) { in stm32_spdifrx_isr()
|
/linux-6.3-rc2/drivers/soc/xilinx/ |
A D | zynqmp_pm_domains.c | 315 .sync_state = zynqmp_gpd_sync_state,
|
/linux-6.3-rc2/fs/gfs2/ |
A D | file.c | 742 int sync_state = inode->i_state & I_DIRTY; in gfs2_fsync() local 753 sync_state &= ~I_DIRTY_PAGES; in gfs2_fsync() 755 sync_state &= ~I_DIRTY_SYNC; in gfs2_fsync() 757 if (sync_state) { in gfs2_fsync()
|
/linux-6.3-rc2/drivers/interconnect/qcom/ |
A D | osm-l3.c | 307 .sync_state = icc_sync_state,
|
A D | sdx55.c | 236 .sync_state = icc_sync_state,
|
A D | sdx65.c | 225 .sync_state = icc_sync_state,
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_modeset_setup.c | 504 if (encoder->sync_state) in intel_modeset_readout_hw_state() 505 encoder->sync_state(encoder, crtc_state); in intel_modeset_readout_hw_state()
|
/linux-6.3-rc2/arch/x86/kernel/apic/ |
A D | x2apic_uv_x.c | 198 int sync_state; in uv_tsc_check_sync() local 212 sync_state = (mmr >> mmr_shift) & UVH_TSC_SYNC_MASK; in uv_tsc_check_sync() 215 switch (sync_state) { in uv_tsc_check_sync() 232 pr_info("UV: TSC sync state from BIOS:0%d(%s)\n", sync_state, state); in uv_tsc_check_sync()
|
/linux-6.3-rc2/include/linux/ |
A D | device.h | 866 if (dev->driver && dev->driver->sync_state) in dev_has_sync_state() 868 if (dev->bus && dev->bus->sync_state) in dev_has_sync_state()
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-raid.c | 3347 enum sync_state { st_frozen, st_reshape, st_resync, st_check, st_repair, st_recover, st_idle }; enum 3348 static const char *sync_str(enum sync_state state) in sync_str() 3365 static enum sync_state decipher_sync_action(struct mddev *mddev, unsigned long recovery) in decipher_sync_action() 3423 enum sync_state state, sector_t resync_max_sectors) in rs_get_progress() 3521 enum sync_state state; in raid_status()
|