Home
last modified time | relevance | path

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

/linux-3.4.99/arch/arm/mach-omap2/
Dsr_device.c36 struct omap_sr_data *sr_data) in sr_set_nvalues() argument
68 sr_data->nvalue_table = nvalue_table; in sr_set_nvalues()
69 sr_data->nvalue_count = count; in sr_set_nvalues()
74 struct omap_sr_data *sr_data; in sr_dev_init() local
81 sr_data = kzalloc(sizeof(struct omap_sr_data), GFP_KERNEL); in sr_dev_init()
82 if (!sr_data) { in sr_dev_init()
96 sr_data->ip_type = oh->class->rev; in sr_dev_init()
97 sr_data->senn_mod = 0x1; in sr_dev_init()
98 sr_data->senp_mod = 0x1; in sr_dev_init()
100 sr_data->voltdm = voltdm_lookup(sr_dev_attr->sensor_voltdm_name); in sr_dev_init()
[all …]
/linux-3.4.99/drivers/video/sis/
Dinitextlfb.c183 unsigned char sr_data, cr_data, cr_data2; in sisfb_gettotalfrommode() local
212 sr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[14]; in sisfb_gettotalfrommode()
214 *htotal = (((cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8)) + 5) * 8; in sisfb_gettotalfrommode()
216 sr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[13]; in sisfb_gettotalfrommode()
222 ((unsigned short)(sr_data & 0x01) << 10)) + 2; in sisfb_gettotalfrommode()
Dinit.c3543 unsigned char sr_data, cr_data, cr_data2; in SiS_Generic_ConvertCRData() local
3546 sr_data = crdata[14]; in SiS_Generic_ConvertCRData()
3549 HT = crdata[0] | ((unsigned short)(sr_data & 0x03) << 8); in SiS_Generic_ConvertCRData()
3553 HDE = crdata[1] | ((unsigned short)(sr_data & 0x0C) << 6); in SiS_Generic_ConvertCRData()
3557 HRS = crdata[4] | ((unsigned short)(sr_data & 0xC0) << 2); in SiS_Generic_ConvertCRData()
3561 HBS = crdata[2] | ((unsigned short)(sr_data & 0x30) << 4); in SiS_Generic_ConvertCRData()
3563 sr_data = crdata[15]; in SiS_Generic_ConvertCRData()
3569 ((unsigned short)(sr_data & 0x03) << 6); in SiS_Generic_ConvertCRData()
3572 HRE = (cr_data & 0x1f) | ((sr_data & 0x04) << 3); in SiS_Generic_ConvertCRData()
3588 sr_data = crdata[13]; in SiS_Generic_ConvertCRData()
[all …]
/linux-3.4.99/drivers/staging/xgifb/
DXGI_main_26.c198 unsigned char sr_data, cr_data, cr_data2; in XGIfb_mode_rate_to_ddata() local
214 sr_data = XGI_Pr->XGINEWUB_CRT1Table[index].CR[5]; in XGIfb_mode_rate_to_ddata()
219 HT = (cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8); in XGIfb_mode_rate_to_ddata()
234 HRS = (cr_data & 0xff) | ((unsigned short) (sr_data & 0xC0) << 2); in XGIfb_mode_rate_to_ddata()
240 HBS = (cr_data & 0xff) | ((unsigned short) (sr_data & 0x30) << 4); in XGIfb_mode_rate_to_ddata()
242 sr_data = XGI_Pr->XGINEWUB_CRT1Table[index].CR[6]; in XGIfb_mode_rate_to_ddata()
250 | ((unsigned short) (sr_data & 0x03) << 6); in XGIfb_mode_rate_to_ddata()
253 HRE = (cr_data2 & 0x1f) | ((sr_data & 0x04) << 3); in XGIfb_mode_rate_to_ddata()
267 sr_data = XGI_Pr->XGINEWUB_CRT1Table[index].CR[14]; in XGIfb_mode_rate_to_ddata()
276 | ((unsigned short) (sr_data & 0x01) << 10); in XGIfb_mode_rate_to_ddata()
[all …]
/linux-3.4.99/drivers/s390/scsi/
Dzfcp_aux.c246 adapter->pool.sr_data = in zfcp_allocate_low_mem_buffers()
248 if (!adapter->pool.sr_data) in zfcp_allocate_low_mem_buffers()
271 if (adapter->pool.sr_data) in zfcp_free_low_mem_buffers()
272 mempool_destroy(adapter->pool.sr_data); in zfcp_free_low_mem_buffers()
Dzfcp_def.h112 mempool_t *sr_data; member
Dzfcp_fsf.c217 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read_handler()
270 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read_handler()
785 page = mempool_alloc(adapter->pool.sr_data, GFP_ATOMIC); in zfcp_fsf_status_read()
805 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read()
Dzfcp_erp.c740 if (mempool_resize(act->adapter->pool.sr_data, in zfcp_erp_adapter_strategy_open_fsf()