Searched refs:sr_data (Results 1 – 11 of 11) sorted by relevance
163 time = &sr_data->entry_avg_ms; in drm_self_refresh_helper_update_avg_times()165 time = &sr_data->exit_avg_ms; in drm_self_refresh_helper_update_avg_times()167 mutex_lock(&sr_data->avg_mutex); in drm_self_refresh_helper_update_avg_times()212 if (!sr_data) in drm_self_refresh_helper_alter_state()237 if (WARN_ON(sr_data)) in drm_self_refresh_helper_init()240 sr_data = kzalloc(sizeof(*sr_data), GFP_KERNEL); in drm_self_refresh_helper_init()241 if (!sr_data) in drm_self_refresh_helper_init()246 sr_data->crtc = crtc; in drm_self_refresh_helper_init()247 mutex_init(&sr_data->avg_mutex); in drm_self_refresh_helper_init()273 if (!sr_data) in drm_self_refresh_helper_cleanup()[all …]
31 struct omap_sr_data *sr_data) in sr_set_nvalues() argument36 sr_data->nvalue_count = 0; in sr_set_nvalues()37 sr_data->nvalue_table = NULL; in sr_set_nvalues()84 sr_data->nvalue_count = j; in sr_set_nvalues()103 if (!sr_data) { in sr_init_by_name()108 sr_data->name = name; in sr_init_by_name()110 sr_data->ip_type = 1; in sr_init_by_name()112 sr_data->ip_type = 2; in sr_init_by_name()113 sr_data->senn_mod = 0x1; in sr_init_by_name()114 sr_data->senp_mod = 0x1; in sr_init_by_name()[all …]
170 unsigned char sr_data, cr_data, cr_data2; in sisfb_gettotalfrommode() local199 sr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[14]; in sisfb_gettotalfrommode()201 *htotal = (((cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8)) + 5) * 8; in sisfb_gettotalfrommode()203 sr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[13]; in sisfb_gettotalfrommode()209 ((unsigned short)(sr_data & 0x01) << 10)) + 2; in sisfb_gettotalfrommode()
3542 unsigned char sr_data, cr_data; in SiS_Generic_ConvertCRData() local3545 sr_data = crdata[14]; in SiS_Generic_ConvertCRData()3548 HDE = crdata[1] | ((unsigned short)(sr_data & 0x0C) << 6); in SiS_Generic_ConvertCRData()3552 HRS = crdata[4] | ((unsigned short)(sr_data & 0xC0) << 2); in SiS_Generic_ConvertCRData()3555 sr_data = crdata[15]; in SiS_Generic_ConvertCRData()3561 ((unsigned short)(sr_data & 0x03) << 6); in SiS_Generic_ConvertCRData()3564 HRE = (cr_data & 0x1f) | ((sr_data & 0x04) << 3); in SiS_Generic_ConvertCRData()3580 sr_data = crdata[13]; in SiS_Generic_ConvertCRData()3587 ((unsigned short)(sr_data & 0x02) << 9); in SiS_Generic_ConvertCRData()3594 ((unsigned short)(sr_data & 0x08) << 7); in SiS_Generic_ConvertCRData()[all …]
298 struct sr_data *data = (struct sr_data *)&dev->data; in sr_set_multicast()441 struct sr_data *data = (struct sr_data *)&dev->data; in sr_get_eeprom_len()498 struct sr_data *data = (struct sr_data *)&dev->data; in sr_set_mac_address()600 struct sr_data *data = (struct sr_data *)&dev->data; in sr9800_reset()731 struct sr_data *data = (struct sr_data *)&dev->data; in sr9800_bind()
186 struct sr_data { struct
241 adapter->pool.sr_data = in zfcp_allocate_low_mem_buffers()243 if (!adapter->pool.sr_data) in zfcp_allocate_low_mem_buffers()261 mempool_destroy(adapter->pool.sr_data); in zfcp_free_low_mem_buffers()
143 mempool_t *sr_data; member
265 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read_handler()324 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read_handler()949 page = mempool_alloc(adapter->pool.sr_data, GFP_ATOMIC); in zfcp_fsf_status_read()970 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read()
885 if (mempool_resize(act->adapter->pool.sr_data, in zfcp_erp_adapter_strategy_open_fsf()
199 u32 sr_data; /* corerev >= 15 */ member