Home
last modified time | relevance | path

Searched refs:sr_data (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_self_refresh_helper.c163 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 …]
/openbmc/linux/arch/arm/mach-omap2/
H A Dsr_device.c31 struct omap_sr_data *sr_data) in sr_set_nvalues() argument
36 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 …]
/openbmc/linux/drivers/video/fbdev/sis/
H A Dinitextlfb.c170 unsigned char sr_data, cr_data, cr_data2; in sisfb_gettotalfrommode() local
199 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()
H A Dinit.c3542 unsigned char sr_data, cr_data; in SiS_Generic_ConvertCRData() local
3545 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 …]
/openbmc/linux/drivers/net/usb/
H A Dsr9800.c298 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()
H A Dsr9800.h186 struct sr_data { struct
/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_aux.c241 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()
H A Dzfcp_def.h143 mempool_t *sr_data; member
H A Dzfcp_fsf.c265 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()
H A Dzfcp_erp.c885 if (mempool_resize(act->adapter->pool.sr_data, in zfcp_erp_adapter_strategy_open_fsf()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dchip.c199 u32 sr_data; /* corerev >= 15 */ member