/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_pm.c | 47 if (ipc_pm->cp_state == IPC_MEM_DEV_PM_ACTIVE) in ipc_pm_link_activate() 50 if (ipc_pm->cp_state == IPC_MEM_DEV_PM_SLEEP) { in ipc_pm_link_activate() 118 ipc_pm->cp_state = IPC_MEM_DEV_PM_SLEEP; in ipc_pm_on_link_sleep() 129 ipc_pm->cp_state = IPC_MEM_DEV_PM_ACTIVE; in ipc_pm_on_link_wake() 234 ipc_pm->cp_state = IPC_MEM_DEV_PM_SLEEP; in ipc_pm_set_s2idle_sleep() 238 ipc_pm->cp_state = IPC_MEM_DEV_PM_ACTIVE; in ipc_pm_set_s2idle_sleep() 252 switch (ipc_pm->cp_state) { in ipc_pm_dev_slp_notification() 266 ipc_pm->cp_state, cp_pm_req); in ipc_pm_dev_slp_notification() 284 ipc_pm->cp_state, cp_pm_req); in ipc_pm_dev_slp_notification() 291 ipc_pm->cp_state, cp_pm_req); in ipc_pm_dev_slp_notification() [all …]
|
H A D | iosm_ipc_pm.h | 107 enum ipc_mem_dev_pm_state cp_state; member
|
/linux/net/rds/ |
H A D | connection.c | 140 atomic_set(&cp->cp_state, RDS_CONN_DOWN); in __rds_conn_path_init() 387 atomic_read(&cp->cp_state)); in rds_conn_shutdown() 419 atomic_read(&cp->cp_state)); in rds_conn_shutdown() 760 atomic_read(&cp->cp_state) == RDS_CONN_CONNECTING, in rds_conn_info_visitor() 763 atomic_read(&cp->cp_state) == RDS_CONN_UP, in rds_conn_info_visitor() 786 atomic_read(&cp->cp_state) == RDS_CONN_CONNECTING, in rds6_conn_info_visitor() 789 atomic_read(&cp->cp_state) == RDS_CONN_UP, in rds6_conn_info_visitor() 881 atomic_set(&cp->cp_state, RDS_CONN_ERROR); in rds_conn_path_drop()
|
H A D | rds.h | 121 atomic_t cp_state; member 797 return atomic_cmpxchg(&cp->cp_state, old, new) == old; in rds_conn_path_transition() 810 return atomic_read(&cp->cp_state); in rds_conn_path_state() 823 return atomic_read(&cp->cp_state) == RDS_CONN_UP; in rds_conn_path_up() 829 return atomic_read(&cp->cp_state) == RDS_CONN_DOWN; in rds_conn_path_down() 842 return atomic_read(&cp->cp_state) == RDS_CONN_CONNECTING; in rds_conn_path_connecting()
|
H A D | rds_single_path.h | 18 #define c_state c_path[0].cp_state
|
H A D | threads.c | 80 atomic_read(&cp->cp_state)); in rds_connect_path_complete()
|
H A D | tcp.c | 168 atomic_set(&cp->cp_state, RDS_CONN_RESETTING); in rds_tcp_reset_callbacks()
|
/linux/tools/power/x86/intel-speed-select/ |
H A D | isst-core-mbox.c | 219 static int mbox_read_pm_config(struct isst_id *id, int *cp_state, int *cp_cap) in mbox_read_pm_config() argument 231 *cp_state = resp & BIT(16); in mbox_read_pm_config() 267 int cp_state, cp_cap; in mbox_get_ctdp_control() local 282 ret = isst_read_pm_config(id, &cp_state, &cp_cap); in mbox_get_ctdp_control() 286 debug_printf("cpu:%d pm_config SST-CP state:%d cap:%d\n", id->cpu, cp_state, cp_cap); in mbox_get_ctdp_control() 288 ctdp_level->sst_cp_enabled = cp_state; in mbox_get_ctdp_control() 863 static int _write_pm_config(struct isst_id *id, int cp_state) in _write_pm_config() argument 868 if (cp_state) in _write_pm_config()
|
H A D | isst.h | 192 int (*read_pm_config)(struct isst_id *id, int *cp_state, int *cp_cap); 297 extern int isst_read_pm_config(struct isst_id *id, int *cp_state, int *cp_cap);
|
H A D | isst-core.c | 107 int isst_read_pm_config(struct isst_id *id, int *cp_state, int *cp_cap) in isst_read_pm_config() argument 110 return isst_ops->read_pm_config(id, cp_state, cp_cap); in isst_read_pm_config()
|
H A D | isst-config.c | 1167 int cp_state, cp_cap; in isst_print_extended_platform_info() local 1196 if (isst_read_pm_config(&id, &cp_state, &cp_cap)) { in isst_print_extended_platform_info() 2317 int cp_state, cp_cap; in enable_clos_qos_config() local 2319 if (!isst_read_pm_config(id, &cp_state, &cp_cap)) { in enable_clos_qos_config() 2424 int cp_state, cp_cap; in get_clos_info_for_cpu() local 2426 isst_read_pm_config(id, &cp_state, &cp_cap); in get_clos_info_for_cpu() 2428 cp_state, cp_cap); in get_clos_info_for_cpu()
|
H A D | isst-core-tpmi.c | 134 static int tpmi_read_pm_config(struct isst_id *id, int *cp_state, int *cp_cap) in tpmi_read_pm_config() argument 146 *cp_state = info.enable; in tpmi_read_pm_config()
|
/linux/fs/nfs/ |
H A D | callback_proc.c | 698 static void nfs4_copy_cb_args(struct nfs4_copy_state *cp_state, in nfs4_copy_cb_args() argument 701 cp_state->count = args->wr_count; in nfs4_copy_cb_args() 702 cp_state->error = args->error; in nfs4_copy_cb_args() 704 cp_state->verf.committed = args->wr_writeverf.committed; in nfs4_copy_cb_args() 705 memcpy(&cp_state->verf.verifier.data[0], in nfs4_copy_cb_args()
|
H A D | nfs4client.c | 169 struct nfs4_copy_state *cp_state; in nfs4_cleanup_callback() local 172 cp_state = list_entry(clp->pending_cb_stateids.next, in nfs4_cleanup_callback() 174 list_del(&cp_state->copies); in nfs4_cleanup_callback() 175 kfree(cp_state); in nfs4_cleanup_callback()
|
/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_gpu.c | 2280 struct msm_cp_state cp_state = { in a6xx_progress() local 2301 cp_state.ib1_rem += gpu_read(gpu, REG_A6XX_CP_ROQ_AVAIL_IB1) >> 16; in a6xx_progress() 2302 cp_state.ib2_rem += gpu_read(gpu, REG_A6XX_CP_ROQ_AVAIL_IB2) >> 16; in a6xx_progress() 2304 progress = !!memcmp(&cp_state, &ring->last_cp_state, sizeof(cp_state)); in a6xx_progress() 2306 ring->last_cp_state = cp_state; in a6xx_progress()
|
/linux/sound/pci/hda/ |
H A D | patch_hdmi.c | 833 int cp_state = !!(res & AC_UNSOL_RES_CP_STATE); in hdmi_non_intrinsic_event() local 841 cp_state, in hdmi_non_intrinsic_event() 845 if (cp_state) { in hdmi_non_intrinsic_event()
|