Home
last modified time | relevance | path

Searched refs:descr (Results 1 – 25 of 63) sorted by relevance

123

/linux-2.6.39/drivers/net/
Dps3_gelic_net.c164 card->descr + GELIC_NET_TX_DESCRIPTORS); in gelic_card_down()
179 gelic_descr_get_status(struct gelic_descr *descr) in gelic_descr_get_status() argument
181 return be32_to_cpu(descr->dmac_cmd_status) & GELIC_DESCR_DMA_STAT_MASK; in gelic_descr_get_status()
192 static void gelic_descr_set_status(struct gelic_descr *descr, in gelic_descr_set_status() argument
195 descr->dmac_cmd_status = cpu_to_be32(status | in gelic_descr_set_status()
196 (be32_to_cpu(descr->dmac_cmd_status) & in gelic_descr_set_status()
215 struct gelic_descr *descr; in gelic_card_free_chain() local
217 for (descr = descr_in; descr && descr->bus_addr; descr = descr->next) { in gelic_card_free_chain()
218 dma_unmap_single(ctodev(card), descr->bus_addr, in gelic_card_free_chain()
220 descr->bus_addr = 0; in gelic_card_free_chain()
[all …]
Dspider_net.c316 struct spider_net_descr *descr; in spider_net_free_chain() local
318 descr = chain->ring; in spider_net_free_chain()
320 descr->bus_addr = 0; in spider_net_free_chain()
321 descr->hwdescr->next_descr_addr = 0; in spider_net_free_chain()
322 descr = descr->next; in spider_net_free_chain()
323 } while (descr != chain->ring); in spider_net_free_chain()
344 struct spider_net_descr *descr; in spider_net_init_chain() local
360 descr = chain->ring; in spider_net_init_chain()
363 for (i=0; i < chain->num_desc; i++, descr++, hwdescr++) { in spider_net_init_chain()
367 descr->hwdescr = hwdescr; in spider_net_init_chain()
[all …]
/linux-2.6.39/include/linux/
Ddebugobjects.h32 struct debug_obj_descr *descr; member
60 extern void debug_object_init (void *addr, struct debug_obj_descr *descr);
62 debug_object_init_on_stack(void *addr, struct debug_obj_descr *descr);
63 extern void debug_object_activate (void *addr, struct debug_obj_descr *descr);
64 extern void debug_object_deactivate(void *addr, struct debug_obj_descr *descr);
65 extern void debug_object_destroy (void *addr, struct debug_obj_descr *descr);
66 extern void debug_object_free (void *addr, struct debug_obj_descr *descr);
74 debug_object_active_state(void *addr, struct debug_obj_descr *descr,
81 debug_object_init (void *addr, struct debug_obj_descr *descr) { } in debug_object_init() argument
83 debug_object_init_on_stack(void *addr, struct debug_obj_descr *descr) { } in debug_object_init_on_stack() argument
[all …]
Dcycx_cfm.h91 char descr[CFM_DESCR_LEN]; member
/linux-2.6.39/arch/cris/arch-v32/kernel/
Dcache.c8 inline void flush_dma_descr(struct dma_descr_data *descr, int flush_buf) in flush_dma_descr() argument
11 asm volatile ("ftagd [%0]" :: "r" (descr)); in flush_dma_descr()
14 cris_flush_cache_range(phys_to_virt((unsigned)descr->buf), in flush_dma_descr()
15 (unsigned)(descr->after - descr->buf)); in flush_dma_descr()
19 void flush_dma_list(struct dma_descr_data *descr) in flush_dma_list() argument
22 flush_dma_descr(descr, 1); in flush_dma_list()
23 if (descr->eol) in flush_dma_list()
25 descr = phys_to_virt((unsigned)descr->next); in flush_dma_list()
/linux-2.6.39/drivers/usb/wusbcore/
Dwa-rpipe.c69 struct usb_rpipe_descriptor *descr, u16 index) in __rpipe_get_descr() argument
81 USB_DT_RPIPE<<8, index, descr, sizeof(*descr), in __rpipe_get_descr()
88 if (result < sizeof(*descr)) { in __rpipe_get_descr()
91 index, result, sizeof(*descr)); in __rpipe_get_descr()
107 struct usb_rpipe_descriptor *descr, u16 index) in __rpipe_set_descr() argument
119 USB_DT_RPIPE<<8, index, descr, sizeof(*descr), in __rpipe_set_descr()
126 if (result < sizeof(*descr)) { in __rpipe_set_descr()
129 index, result, sizeof(*descr)); in __rpipe_set_descr()
172 u8 index = le16_to_cpu(rpipe->descr.wRPipeIndex); in rpipe_destroy()
210 result = __rpipe_get_descr(wa, &rpipe->descr, rpipe_idx); in rpipe_get_idle()
[all …]
Dsecurity.c36 wusbhc->gtk.descr.bLength = sizeof(wusbhc->gtk.descr) + sizeof(wusbhc->gtk.data); in wusbhc_sec_create()
37 wusbhc->gtk.descr.bDescriptorType = USB_DT_KEY; in wusbhc_sec_create()
38 wusbhc->gtk.descr.bReserved = 0; in wusbhc_sec_create()
92 wusbhc->gtk.descr.tTKID[0] = (tkid >> 0) & 0xff; in wusbhc_generate_gtk()
93 wusbhc->gtk.descr.tTKID[1] = (tkid >> 8) & 0xff; in wusbhc_generate_gtk()
94 wusbhc->gtk.descr.tTKID[2] = (tkid >> 16) & 0xff; in wusbhc_generate_gtk()
96 get_random_bytes(wusbhc->gtk.descr.bKeyData, key_size); in wusbhc_generate_gtk()
115 &wusbhc->gtk.descr.bKeyData, key_size); in wusbhc_sec_start()
193 &wusbhc->gtk.descr, wusbhc->gtk.descr.bLength, in wusb_dev_set_gtk()
529 wusbhc->set_gtk(wusbhc, wusbhc->gtk_tkid, &wusbhc->gtk.descr.bKeyData, key_size); in wusbhc_gtk_rekey_done_work()
[all …]
Drh.c167 struct usb_hub_descriptor *descr, in wusbhc_rh_get_hub_descr() argument
175 descr->bDescLength = 7 + 2 * temp; in wusbhc_rh_get_hub_descr()
176 descr->bDescriptorType = 0x29; /* HUB type */ in wusbhc_rh_get_hub_descr()
177 descr->bNbrPorts = wusbhc->ports_max; in wusbhc_rh_get_hub_descr()
178 descr->wHubCharacteristics = cpu_to_le16( in wusbhc_rh_get_hub_descr()
184 descr->bPwrOn2PwrGood = 0; in wusbhc_rh_get_hub_descr()
185 descr->bHubContrCurrent = 0; in wusbhc_rh_get_hub_descr()
187 memset(&descr->u.hs.DeviceRemovable[0], 0, temp); in wusbhc_rh_get_hub_descr()
188 memset(&descr->u.hs.DeviceRemovable[temp], 0xff, temp); in wusbhc_rh_get_hub_descr()
/linux-2.6.39/net/wireless/
Dwext-priv.c96 const struct iw_priv_args *descr; in get_priv_descr_and_size() local
99 descr = NULL; in get_priv_descr_and_size()
102 descr = &dev->wireless_handlers->private_args[i]; in get_priv_descr_and_size()
108 if (descr) { in get_priv_descr_and_size()
112 if (descr->name[0] == '\0') in get_priv_descr_and_size()
117 extra_size = get_priv_size(descr->set_args); in get_priv_descr_and_size()
120 if ((descr->set_args & IW_PRIV_SIZE_FIXED) && in get_priv_descr_and_size()
125 extra_size = get_priv_size(descr->get_args); in get_priv_descr_and_size()
128 if ((descr->get_args & IW_PRIV_SIZE_FIXED) && in get_priv_descr_and_size()
133 *descrp = descr; in get_priv_descr_and_size()
[all …]
Dwext-core.c423 const struct iw_ioctl_description * descr = NULL; in wireless_send_event() local
455 descr = &(standard_ioctl[cmd_index]); in wireless_send_event()
459 descr = &(standard_event[cmd_index]); in wireless_send_event()
462 if (descr == NULL) { in wireless_send_event()
476 if (descr->header_type == IW_HEADER_TYPE_POINT) { in wireless_send_event()
478 if (wrqu->data.length > descr->max_tokens) { in wireless_send_event()
483 if (wrqu->data.length < descr->min_tokens) { in wireless_send_event()
490 extra_len = wrqu->data.length * descr->token_size; in wireless_send_event()
496 hdr_len = event_type_size[descr->header_type]; in wireless_send_event()
551 hdr_len = compat_event_type_size[descr->header_type]; in wireless_send_event()
[all …]
/linux-2.6.39/lib/
Ddebugobjects.c133 alloc_object(void *addr, struct debug_bucket *b, struct debug_obj_descr *descr) in alloc_object() argument
142 obj->descr = descr; in alloc_object()
252 struct debug_obj_descr *descr = obj->descr; in debug_print_object() local
255 if (limit < 5 && descr != descr_test) { in debug_print_object()
256 void *hint = descr->debug_hint ? in debug_print_object()
257 descr->debug_hint(obj->object) : NULL; in debug_print_object()
262 descr->name, hint); in debug_print_object()
302 __debug_object_init(void *addr, struct debug_obj_descr *descr, int onstack) in __debug_object_init() argument
317 obj = alloc_object(addr, db, descr); in __debug_object_init()
338 debug_object_fixup(descr->fixup_init, addr, state); in __debug_object_init()
[all …]
/linux-2.6.39/drivers/media/dvb/ttpci/
Dav7110_ca.c307 ca_descr_t *descr = (ca_descr_t*) parg; in dvb_ca_ioctl() local
309 if (descr->index >= 16) in dvb_ca_ioctl()
311 if (descr->parity > 1) in dvb_ca_ioctl()
314 (descr->index<<8)|descr->parity, in dvb_ca_ioctl()
315 (descr->cw[0]<<8)|descr->cw[1], in dvb_ca_ioctl()
316 (descr->cw[2]<<8)|descr->cw[3], in dvb_ca_ioctl()
317 (descr->cw[4]<<8)|descr->cw[5], in dvb_ca_ioctl()
318 (descr->cw[6]<<8)|descr->cw[7]); in dvb_ca_ioctl()
/linux-2.6.39/Documentation/networking/
Dspider_net.txt42 descriptor pointer (GDACTDPA). The GDACTDPA points at the descr
43 currently being filled. When this descr is filled, the hardware
45 flowing RX traffic, every descr behind it should be marked "full",
47 discovers that the current descr is not empty, it will signal an
52 descr. The OS will process this descr, and then mark it "not-in-use",
62 a "not-in-use" descr. The OS will perform various housekeeping duties
63 on this descr. This includes allocating a new data buffer and
65 then mark the descr as "empty", ready to receive data. Thus, when there
69 pointer, at which point the OS will notice that the head descr is
73 all be pointing at the same descr, which should be "empty". All of the
[all …]
/linux-2.6.39/drivers/net/cris/
Deth_v10.c77 etrax_dma_descr descr; member
337 RxDescList[i].descr.ctrl = 0; in etrax_ethernet_init()
338 RxDescList[i].descr.sw_len = MAX_MEDIA_DATA_SIZE; in etrax_ethernet_init()
339 RxDescList[i].descr.next = virt_to_phys(&RxDescList[i + 1]); in etrax_ethernet_init()
340 RxDescList[i].descr.buf = L1_CACHE_ALIGN(virt_to_phys(RxDescList[i].skb->data)); in etrax_ethernet_init()
341 RxDescList[i].descr.status = 0; in etrax_ethernet_init()
342 RxDescList[i].descr.hw_len = 0; in etrax_ethernet_init()
343 prepare_rx_descriptor(&RxDescList[i].descr); in etrax_ethernet_init()
346 RxDescList[NBR_OF_RX_DESC - 1].descr.ctrl = d_eol; in etrax_ethernet_init()
347 RxDescList[NBR_OF_RX_DESC - 1].descr.next = virt_to_phys(&RxDescList[0]); in etrax_ethernet_init()
[all …]
/linux-2.6.39/arch/um/drivers/
Dvde_kern.c26 vpri->descr = init->descr ? init->descr : "UML vde_transport"; in vde_init()
77 .descr = NULL, in vde_setup()
83 &init->group, &mode_str, &init->descr, NULL); in vde_setup()
Dvde.h11 char *descr; member
19 char *descr; member
/linux-2.6.39/drivers/video/via/
Dvia-core.c273 struct viafb_vx855_dma_descr *descr; in viafb_dma_copy_out_sg() local
295 descr = descrpages; in viafb_dma_copy_out_sg()
299 descr->addr_low = paddr & 0xfffffff0; in viafb_dma_copy_out_sg()
300 descr->addr_high = ((u64) paddr >> 32) & 0x0fff; in viafb_dma_copy_out_sg()
301 descr->fb_offset = offset; in viafb_dma_copy_out_sg()
302 descr->seg_size = sg_dma_len(sgentry) >> 4; in viafb_dma_copy_out_sg()
303 descr->tile_mode = 0; in viafb_dma_copy_out_sg()
304 descr->next_desc_low = (nextdesc&0xfffffff0) | VIAFB_DMA_MAGIC; in viafb_dma_copy_out_sg()
305 descr->next_desc_high = ((u64) nextdesc >> 32) & 0x0fff; in viafb_dma_copy_out_sg()
306 descr->pad = 0xffffffff; /* VIA driver does this */ in viafb_dma_copy_out_sg()
[all …]
/linux-2.6.39/drivers/isdn/hisax/
Dq931.c42 char *descr; member
550 dp += sprintf(dp, " cause value %x : %s \n", cause, cause_1tr6[i].descr); in prcause_1tr6()
843 char *descr; member
896 dp += sprintf(dp, " %s: ", dtaglist[i].descr); in disptext_ni1()
971 char *descr; member
1273 size, mt_n0[i].descr); in dlogframe()
1286 size, mt_n1[i].descr); in dlogframe()
1328 dp += sprintf(dp, " %s\n", we_0[i].descr); in dlogframe()
1339 dp += sprintf(dp, " %s\n", we_6[i].descr); in dlogframe()
1374 size, mtlist[i].descr); in dlogframe()
[all …]
/linux-2.6.39/arch/cris/include/arch-v32/arch/
Dcache.h12 void flush_dma_list(dma_descr_data *descr);
13 void flush_dma_descr(dma_descr_data *descr, int flush_buf);
/linux-2.6.39/drivers/atm/
Deni.c333 "0x%x\n",eni_vcc->descr,eni_vcc->rx_pos, in rx_ident_err()
334 (unsigned) readl(eni_vcc->recv+eni_vcc->descr*4)); in rx_ident_err()
374 here = (eni_vcc->descr+skip) & (eni_vcc->words-1); in do_rx_dma()
379 here = (eni_vcc->descr+size+skip) & (eni_vcc->words-1); in do_rx_dma()
475 ENI_PRV_POS(skb) = eni_vcc->descr+size+1; in do_rx_dma()
480 eni_vcc->descr = here; in do_rx_dma()
514 unsigned long descr; in rx_aal0() local
520 descr = readl(eni_vcc->recv+eni_vcc->descr*4); in rx_aal0()
521 if ((descr & MID_RED_IDEN) != (MID_RED_RX_ID << MID_RED_SHIFT)) { in rx_aal0()
525 if (descr & MID_RED_T) { in rx_aal0()
[all …]
/linux-2.6.39/arch/powerpc/boot/
Daddnote.c26 unsigned int descr[N_DESCR] = { variable
108 nnote = 12 + ROUNDUP(strlen(arch) + 1) + sizeof(descr); in main()
163 PUT_32BE(ns, descr[i]); in main()
/linux-2.6.39/drivers/media/video/cx231xx/
Dcx231xx-cards.c876 char descr[255] = ""; in cx231xx_usb_probe() local
956 strlcpy(descr, udev->manufacturer, sizeof(descr)); in cx231xx_usb_probe()
959 if (*descr) in cx231xx_usb_probe()
960 strlcat(descr, " ", sizeof(descr)); in cx231xx_usb_probe()
961 strlcat(descr, udev->product, sizeof(descr)); in cx231xx_usb_probe()
963 if (*descr) in cx231xx_usb_probe()
964 strlcat(descr, " ", sizeof(descr)); in cx231xx_usb_probe()
968 descr, in cx231xx_usb_probe()
/linux-2.6.39/drivers/tty/serial/
Dcrisv10.c1573 struct etrax_dma_descr *descr; in transmit_chars_dma() local
1608 descr = &info->tr_descr; in transmit_chars_dma()
1614 if (!(descr->status & d_stop)) { in transmit_chars_dma()
1615 sentl = descr->sw_len; in transmit_chars_dma()
1618 sentl = descr->hw_len; in transmit_chars_dma()
1666 descr->ctrl = d_int | d_eol | d_wait; /* Wait needed for tty_wait_until_sent() */ in transmit_chars_dma()
1667 descr->sw_len = c; in transmit_chars_dma()
1668 descr->buf = virt_to_phys(info->xmit.buf + info->xmit.tail); in transmit_chars_dma()
1669 descr->status = 0; in transmit_chars_dma()
1671 *info->ofirstadr = virt_to_phys(descr); /* write to R_DMAx_FIRST */ in transmit_chars_dma()
[all …]
/linux-2.6.39/arch/arm/mach-mx5/
Dboard-mx53_loco.c186 #define GPIO_BUTTON(gpio_num, ev_code, act_low, descr, wake) \ argument
192 .desc = "btn " descr, \
/linux-2.6.39/sound/oss/
Dswarm_cs4297a.c725 serdma_descr_t *descr; in serdma_reg_access() local
752 descr = &d->descrtab[swptr]; in serdma_reg_access()
925 serdma_descr_t *descr; in cs4297a_update_ptr() local
944 descr = &d->descrtab[d->swptr]; in cs4297a_update_ptr()
949 descr_a = descr->descr_a; in cs4297a_update_ptr()
950 descr->descr_a &= ~M_DMA_SERRX_SOP; in cs4297a_update_ptr()
956 (G_DMA_DSCRB_PKT_SIZE(descr->descr_b) != FRAME_BYTES)) { in cs4297a_update_ptr()
980 descr++; in cs4297a_update_ptr()
981 if (descr == d->descrtab_end) { in cs4297a_update_ptr()
982 descr = d->descrtab; in cs4297a_update_ptr()
[all …]

123