Home
last modified time | relevance | path

Searched refs:cdata (Results 1 – 25 of 28) sorted by relevance

12

/linux-3.4.99/arch/blackfin/kernel/
Dcplbinfo.c37 static int cplbinfo_nomore(struct cplbinfo_data *cdata) in cplbinfo_nomore() argument
39 return cdata->pos >= MAX_CPLBS; in cplbinfo_nomore()
44 struct cplbinfo_data *cdata; in cplbinfo_show() local
48 cdata = p; in cplbinfo_show()
49 pos = cdata->pos; in cplbinfo_show()
50 addr = cdata->tbl[pos].addr; in cplbinfo_show()
51 data = cdata->tbl[pos].data; in cplbinfo_show()
59 pos < cdata->switched ? 'N' : 'Y'); in cplbinfo_show()
64 static void cplbinfo_seq_init(struct cplbinfo_data *cdata, unsigned int cpu) in cplbinfo_seq_init() argument
66 if (cdata->cplb_type == 'I') { in cplbinfo_seq_init()
[all …]
/linux-3.4.99/sound/soc/codecs/
Dmax98095.c1330 struct max98095_cdata *cdata; in max98095_dai1_hw_params() local
1335 cdata = &max98095->dai[0]; in max98095_dai1_hw_params()
1357 cdata->rate = rate; in max98095_dai1_hw_params()
1391 struct max98095_cdata *cdata; in max98095_dai2_hw_params() local
1396 cdata = &max98095->dai[1]; in max98095_dai2_hw_params()
1418 cdata->rate = rate; in max98095_dai2_hw_params()
1452 struct max98095_cdata *cdata; in max98095_dai3_hw_params() local
1457 cdata = &max98095->dai[2]; in max98095_dai3_hw_params()
1479 cdata->rate = rate; in max98095_dai3_hw_params()
1544 struct max98095_cdata *cdata; in max98095_dai1_set_fmt() local
[all …]
Dmax98088.c1260 struct max98088_cdata *cdata; in max98088_dai1_hw_params() local
1265 cdata = &max98088->dai[0]; in max98088_dai1_hw_params()
1289 cdata->rate = rate; in max98088_dai1_hw_params()
1327 struct max98088_cdata *cdata; in max98088_dai2_hw_params() local
1332 cdata = &max98088->dai[1]; in max98088_dai2_hw_params()
1356 cdata->rate = rate; in max98088_dai2_hw_params()
1429 struct max98088_cdata *cdata; in max98088_dai1_set_fmt() local
1433 cdata = &max98088->dai[0]; in max98088_dai1_set_fmt()
1435 if (fmt != cdata->fmt) { in max98088_dai1_set_fmt()
1436 cdata->fmt = fmt; in max98088_dai1_set_fmt()
[all …]
/linux-3.4.99/net/sunrpc/xprtrdma/
Dtransport.c274 struct rpcrdma_create_data_internal cdata; in xprt_setup_rdma() local
311 memcpy(&cdata.addr, args->dstaddr, args->addrlen); in xprt_setup_rdma()
317 memcpy(&xprt->addr, &cdata.addr, xprt->addrlen); in xprt_setup_rdma()
319 sin = (struct sockaddr_in *)&cdata.addr; in xprt_setup_rdma()
327 cdata.max_requests = xprt->max_reqs; in xprt_setup_rdma()
330 cdata.rsize = RPCRDMA_MAX_SEGS * PAGE_SIZE; /* RDMA write max */ in xprt_setup_rdma()
331 cdata.wsize = RPCRDMA_MAX_SEGS * PAGE_SIZE; /* RDMA read max */ in xprt_setup_rdma()
333 cdata.inline_wsize = xprt_rdma_max_inline_write; in xprt_setup_rdma()
334 if (cdata.inline_wsize > cdata.wsize) in xprt_setup_rdma()
335 cdata.inline_wsize = cdata.wsize; in xprt_setup_rdma()
[all …]
Dverbs.c640 struct rpcrdma_create_data_internal *cdata) in rpcrdma_ep_create() argument
653 if (cdata->max_requests > devattr.max_qp_wr) in rpcrdma_ep_create()
654 cdata->max_requests = devattr.max_qp_wr; in rpcrdma_ep_create()
660 ep->rep_attr.cap.max_send_wr = cdata->max_requests; in rpcrdma_ep_create()
674 cdata->max_requests = devattr.max_qp_wr / 7; in rpcrdma_ep_create()
675 if (!cdata->max_requests) in rpcrdma_ep_create()
677 ep->rep_attr.cap.max_send_wr = cdata->max_requests * 7; in rpcrdma_ep_create()
691 ep->rep_attr.cap.max_recv_wr = cdata->max_requests; in rpcrdma_ep_create()
692 ep->rep_attr.cap.max_send_sge = (cdata->padding ? 4 : 2); in rpcrdma_ep_create()
967 struct rpcrdma_ia *ia, struct rpcrdma_create_data_internal *cdata) in rpcrdma_buffer_create() argument
[all …]
/linux-3.4.99/drivers/spi/
Dspi-ath79.c71 struct ath79_spi_controller_data *cdata = spi->controller_data; in ath79_spi_chipselect() local
74 gpio_set_value(cdata->gpio, cs_high); in ath79_spi_chipselect()
89 struct ath79_spi_controller_data *cdata; in ath79_spi_setup_cs() local
91 cdata = spi->controller_data; in ath79_spi_setup_cs()
92 if (spi->chip_select && !cdata) in ath79_spi_setup_cs()
108 status = gpio_request(cdata->gpio, dev_name(&spi->dev)); in ath79_spi_setup_cs()
112 status = gpio_direction_output(cdata->gpio, in ath79_spi_setup_cs()
115 gpio_free(cdata->gpio); in ath79_spi_setup_cs()
134 struct ath79_spi_controller_data *cdata = spi->controller_data; in ath79_spi_cleanup_cs() local
135 gpio_free(cdata->gpio); in ath79_spi_cleanup_cs()
/linux-3.4.99/arch/m68k/mac/
Dmisc.c306 __u8 cdata[4]; in via_read_time() member
311 via_pram_command(0x81, &last_result.cdata[3]); in via_read_time()
312 via_pram_command(0x85, &last_result.cdata[2]); in via_read_time()
313 via_pram_command(0x89, &last_result.cdata[1]); in via_read_time()
314 via_pram_command(0x8D, &last_result.cdata[0]); in via_read_time()
322 via_pram_command(0x81, &result.cdata[3]); in via_read_time()
323 via_pram_command(0x85, &result.cdata[2]); in via_read_time()
324 via_pram_command(0x89, &result.cdata[1]); in via_read_time()
325 via_pram_command(0x8D, &result.cdata[0]); in via_read_time()
353 __u8 cdata[4]; in via_write_time() member
[all …]
/linux-3.4.99/net/sunrpc/auth_gss/
Dgss_krb5_mech.c368 set_cdata(u8 cdata[GSS_KRB5_K5CLENGTH], u32 usage, u8 seed) in set_cdata()
370 cdata[0] = (usage>>24)&0xff; in set_cdata()
371 cdata[1] = (usage>>16)&0xff; in set_cdata()
372 cdata[2] = (usage>>8)&0xff; in set_cdata()
373 cdata[3] = usage&0xff; in set_cdata()
374 cdata[4] = seed; in set_cdata()
381 u8 cdata[GSS_KRB5_K5CLENGTH]; in context_derive_keys_des3() local
385 c.data = cdata; in context_derive_keys_des3()
403 set_cdata(cdata, KG_USAGE_SIGN, KEY_USAGE_SEED_CHECKSUM); in context_derive_keys_des3()
499 u8 cdata[GSS_KRB5_K5CLENGTH]; in context_derive_keys_new() local
[all …]
/linux-3.4.99/drivers/media/video/cpia2/
Dcpia2_usb.c206 unsigned char *cdata; in cpia2_usb_complete() local
265 cdata = urb->transfer_buffer + urb->iso_frame_desc[i].offset; in cpia2_usb_complete()
280 checksum += cdata[j]; in cpia2_usb_complete()
281 iso_checksum = cdata[j] + cdata[j+1]*256; in cpia2_usb_complete()
293 if((0xFF == cdata[0] && 0xD8 == cdata[1]) || in cpia2_usb_complete()
294 (0xD8 == cdata[0] && 0xFF == cdata[1] && in cpia2_usb_complete()
295 0 != cdata[2])) { in cpia2_usb_complete()
317 if ((0xD8 == cdata[0]) && (0xFF == cdata[1])) { in cpia2_usb_complete()
319 } else if((0xFF == cdata[0]) && (0xD8 == cdata[1]) in cpia2_usb_complete()
320 && (0xFF == cdata[2])) { in cpia2_usb_complete()
[all …]
/linux-3.4.99/drivers/s390/char/
Dsclp_config.c53 struct conf_mgm_data *cdata; in sclp_conf_receiver_fn() local
55 cdata = (struct conf_mgm_data *)(evbuf + 1); in sclp_conf_receiver_fn()
56 switch (cdata->ev_qualifier) { in sclp_conf_receiver_fn()
/linux-3.4.99/net/mac80211/
Daes_ccm.c55 u8 *cdata, u8 *mic) in ieee80211_aes_ccm_encrypt() argument
71 cpos = cdata; in ieee80211_aes_ccm_encrypt()
94 u8 *cdata, size_t data_len, u8 *mic, u8 *data) in ieee80211_aes_ccm_decrypt() argument
109 cpos = cdata; in ieee80211_aes_ccm_decrypt()
Daes_ccm.h18 u8 *cdata, u8 *mic);
20 u8 *cdata, size_t data_len,
/linux-3.4.99/drivers/video/msm/
Dmddi.c102 void mddi_activate_link(struct msm_mddi_client_data *cdata) in mddi_activate_link() argument
104 struct mddi_info *mddi = container_of(cdata, struct mddi_info, in mddi_activate_link()
260 struct msm_mddi_client_data *cdata = data; in mddi_isr() local
261 struct mddi_info *mddi = container_of(cdata, struct mddi_info, in mddi_isr()
335 void mddi_set_auto_hibernate(struct msm_mddi_client_data *cdata, int on) in mddi_set_auto_hibernate() argument
337 struct mddi_info *mddi = container_of(cdata, struct mddi_info, in mddi_set_auto_hibernate()
389 static void mddi_suspend(struct msm_mddi_client_data *cdata) in mddi_suspend() argument
391 struct mddi_info *mddi = container_of(cdata, struct mddi_info, in mddi_suspend()
403 static void mddi_resume(struct msm_mddi_client_data *cdata) in mddi_resume() argument
405 struct mddi_info *mddi = container_of(cdata, struct mddi_info, in mddi_resume()
[all …]
/linux-3.4.99/drivers/net/wireless/ath/ath5k/
Deeprom.c845 struct ath5k_chan_pcal_info_rf5111 *cdata = in ath5k_eeprom_read_pcal_info_5111() local
849 cdata->pcdac_max = ((val >> 10) & AR5K_EEPROM_PCDAC_M); in ath5k_eeprom_read_pcal_info_5111()
850 cdata->pcdac_min = ((val >> 4) & AR5K_EEPROM_PCDAC_M); in ath5k_eeprom_read_pcal_info_5111()
851 cdata->pwr[0] = ((val << 2) & AR5K_EEPROM_POWER_M); in ath5k_eeprom_read_pcal_info_5111()
854 cdata->pwr[0] |= ((val >> 14) & 0x3); in ath5k_eeprom_read_pcal_info_5111()
855 cdata->pwr[1] = ((val >> 8) & AR5K_EEPROM_POWER_M); in ath5k_eeprom_read_pcal_info_5111()
856 cdata->pwr[2] = ((val >> 2) & AR5K_EEPROM_POWER_M); in ath5k_eeprom_read_pcal_info_5111()
857 cdata->pwr[3] = ((val << 4) & AR5K_EEPROM_POWER_M); in ath5k_eeprom_read_pcal_info_5111()
860 cdata->pwr[3] |= ((val >> 12) & 0xf); in ath5k_eeprom_read_pcal_info_5111()
861 cdata->pwr[4] = ((val >> 6) & AR5K_EEPROM_POWER_M); in ath5k_eeprom_read_pcal_info_5111()
[all …]
/linux-3.4.99/arch/powerpc/kernel/
Dptrace32.c73 compat_ulong_t caddr, compat_ulong_t cdata) in compat_arch_ptrace() argument
76 unsigned long data = cdata; in compat_arch_ptrace()
/linux-3.4.99/arch/mips/kernel/
Dptrace32.c43 compat_ulong_t caddr, compat_ulong_t cdata) in compat_arch_ptrace() argument
46 int data = cdata; in compat_arch_ptrace()
/linux-3.4.99/drivers/scsi/lpfc/
Dlpfc_vport.h106 struct vport_data cdata; member
/linux-3.4.99/drivers/staging/zcache/
Dzcache-main.c368 void *cdata, unsigned size) in zbud_create() argument
427 memcpy(to, cdata, size); in zbud_create()
698 void *cdata, unsigned clen) in zv_create() argument
718 memcpy((char *)zv + sizeof(struct zv_hdr), cdata, clen); in zv_create()
1177 void *pampd = NULL, *cdata; in zcache_pampd_create() local
1189 ret = zcache_compress(page, &cdata, &clen); in zcache_pampd_create()
1197 index, page, cdata, clen); in zcache_pampd_create()
1209 ret = zcache_compress(page, &cdata, &clen); in zcache_pampd_create()
1228 oid, index, cdata, clen); in zcache_pampd_create()
/linux-3.4.99/arch/ia64/sn/kernel/sn2/
Dsn_hwperf.c692 struct cpuinfo_ia64 *cdata; in sn_hwperf_ioctl() local
762 cdata = cpu_data(j); in sn_hwperf_ioctl()
767 cdata->proc_freq / 1000000, in sn_hwperf_ioctl()
768 cdata->vendor); in sn_hwperf_ioctl()
/linux-3.4.99/drivers/dma/
Dep93xx_dma.c1288 const struct ep93xx_dma_chan_data *cdata = &pdata->channels[i]; in ep93xx_dma_probe() local
1292 edmac->regs = cdata->base; in ep93xx_dma_probe()
1293 edmac->irq = cdata->irq; in ep93xx_dma_probe()
1296 edmac->clk = clk_get(NULL, cdata->name); in ep93xx_dma_probe()
1299 cdata->name); in ep93xx_dma_probe()
/linux-3.4.99/arch/x86/kernel/
Dptrace.c1167 compat_ulong_t cdata) in x32_arch_ptrace() argument
1170 unsigned long data = cdata; in x32_arch_ptrace()
1253 compat_ulong_t caddr, compat_ulong_t cdata) in compat_arch_ptrace() argument
1256 unsigned long data = cdata; in compat_arch_ptrace()
1263 return x32_arch_ptrace(child, request, caddr, cdata); in compat_arch_ptrace()
/linux-3.4.99/drivers/staging/ramster/
Dzcache-main.c410 void *cdata, unsigned size) in zbud_create() argument
469 memcpy(to, cdata, size); in zbud_create()
1095 void *cdata, unsigned clen) in zv_create() argument
1125 memcpy((char *)zv + sizeof(struct zv_hdr), cdata, clen); in zv_create()
1711 void *cdata = data; in zcache_pampd_eph_create() local
1720 ret = zcache_compress(page, &cdata, &clen); in zcache_pampd_eph_create()
1729 index, page, cdata, clen); in zcache_pampd_eph_create()
1752 void *cdata = data; in zcache_pampd_pers_create() local
1782 if (zcache_compress(page, &cdata, &clen) == 0) in zcache_pampd_pers_create()
1799 *pampd = (void *)zv_create(cli, pool->pool_id, oid, index, cdata, clen); in zcache_pampd_pers_create()
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_cs.c198 uint32_t __user *cdata; in radeon_cs_parser_init() local
234 cdata = (uint32_t *)(unsigned long)user_chunk.chunk_data; in radeon_cs_parser_init()
/linux-3.4.99/arch/sparc/kernel/
Dptrace_64.c861 compat_ulong_t caddr, compat_ulong_t cdata) in compat_arch_ptrace() argument
869 unsigned long data = cdata; in compat_arch_ptrace()
/linux-3.4.99/drivers/s390/net/
Dqeth_core_mpc.h481 __u8 cdata[64]; member

12