Searched refs:cp (Results 1 - 25 of 197) sorted by relevance

12345678

/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ioread.c53 static int pvr2_ioread_init(struct pvr2_ioread *cp) argument
57 cp->stream = NULL;
58 mutex_init(&cp->mutex);
61 cp->buffer_storage[idx] = kmalloc(BUFFER_SIZE,GFP_KERNEL);
62 if (!(cp->buffer_storage[idx])) break;
68 if (!(cp->buffer_storage[idx])) continue;
69 kfree(cp->buffer_storage[idx]);
76 static void pvr2_ioread_done(struct pvr2_ioread *cp) argument
80 pvr2_ioread_setup(cp,NULL);
82 if (!(cp
89 struct pvr2_ioread *cp; local
100 pvr2_ioread_destroy(struct pvr2_ioread *cp) argument
112 pvr2_ioread_set_sync_key(struct pvr2_ioread *cp, const char *sync_key_ptr, unsigned int sync_key_len) argument
140 pvr2_ioread_stop(struct pvr2_ioread *cp) argument
160 pvr2_ioread_start(struct pvr2_ioread *cp) argument
197 pvr2_ioread_get_stream(struct pvr2_ioread *cp) argument
202 pvr2_ioread_setup(struct pvr2_ioread *cp,struct pvr2_stream *sp) argument
243 pvr2_ioread_set_enabled(struct pvr2_ioread *cp,int fl) argument
258 pvr2_ioread_get_buffer(struct pvr2_ioread *cp) argument
309 pvr2_ioread_filter(struct pvr2_ioread *cp) argument
368 pvr2_ioread_avail(struct pvr2_ioread *cp) argument
404 pvr2_ioread_read(struct pvr2_ioread *cp,void __user *buf,unsigned int cnt) argument
[all...]
H A Dpvrusb2-context.c250 struct pvr2_channel *cp; local
254 for (cp = mp->mc_first; cp; cp = cp->mc_next) {
255 if (!cp->input_mask) continue;
256 tmsk &= cp->input_mask;
288 void pvr2_channel_init(struct pvr2_channel *cp,struct pvr2_context *mp) argument
291 cp->hdw = mp->hdw;
292 cp
305 pvr2_channel_disclaim_stream(struct pvr2_channel *cp) argument
314 pvr2_channel_done(struct pvr2_channel *cp) argument
336 pvr2_channel_limit_inputs(struct pvr2_channel *cp,unsigned int cmsk) argument
381 pvr2_channel_get_limited_inputs(struct pvr2_channel *cp) argument
387 pvr2_channel_claim_stream(struct pvr2_channel *cp, struct pvr2_context_stream *sp) argument
414 struct pvr2_ioread *cp; local
[all...]
/drivers/s390/char/
H A Dcon3270.c76 static void con3270_set_timer(struct con3270 *cp, int expires) argument
79 del_timer(&cp->timer);
81 mod_timer(&cp->timer, jiffies + expires);
90 con3270_update_status(struct con3270 *cp) argument
94 str = (cp->nr_up != 0) ? "History" : "Running";
95 memcpy(cp->status->string + 24, str, 7);
96 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7);
97 cp->update_flags |= CON_UPDATE_STATUS;
101 con3270_create_status(struct con3270 *cp) argument
125 con3270_update_string(struct con3270 *cp, struct string *s, int nr) argument
137 con3270_rebuild_update(struct con3270 *cp) argument
163 con3270_alloc_string(struct con3270 *cp, size_t size) argument
202 con3270_update(struct con3270 *cp) argument
290 struct con3270 *cp; local
361 con3270_issue_read(struct con3270 *cp) argument
386 struct con3270 *cp; local
397 struct con3270 *cp; local
404 con3270_irq(struct con3270 *cp, struct raw3270_request *rq, struct irb *irb) argument
428 con3270_cline_add(struct con3270 *cp) argument
439 con3270_cline_insert(struct con3270 *cp, unsigned char c) argument
450 con3270_cline_end(struct con3270 *cp) argument
483 struct con3270 *cp; local
516 con3270_wait_write(struct con3270 *cp) argument
531 struct con3270 *cp; local
[all...]
H A Dkeyboard.h51 kbd_puts_queue(struct tty_port *port, char *cp) argument
53 while (*cp)
54 tty_insert_flip_char(port, *cp++, 0);
/drivers/net/ethernet/sun/
H A Dcassini.c123 * also, we need to make cp->lock finer-grained.
173 #define CAS_MAX_MTU min(((cp->page_size << 1) - 0x50), 9000)
242 static void cas_set_link_modes(struct cas *cp);
244 static inline void cas_lock_tx(struct cas *cp) argument
249 spin_lock_nested(&cp->tx_lock[i], i);
252 static inline void cas_lock_all(struct cas *cp) argument
254 spin_lock_irq(&cp->lock);
255 cas_lock_tx(cp);
266 #define cas_lock_all_save(cp, flags) \
268 struct cas *xxxcp = (cp); \
273 cas_unlock_tx(struct cas *cp) argument
281 cas_unlock_all(struct cas *cp) argument
294 cas_disable_irq(struct cas *cp, const int ring) argument
327 cas_mask_intr(struct cas *cp) argument
335 cas_enable_irq(struct cas *cp, const int ring) argument
364 cas_unmask_intr(struct cas *cp) argument
372 cas_entropy_gather(struct cas *cp) argument
384 cas_entropy_reset(struct cas *cp) argument
404 cas_phy_read(struct cas *cp, int reg) argument
425 cas_phy_write(struct cas *cp, int reg, u16 val) argument
447 cas_phy_powerup(struct cas *cp) argument
457 cas_phy_powerdown(struct cas *cp) argument
468 cas_page_free(struct cas *cp, cas_page_t *page) argument
488 cas_page_alloc(struct cas *cp, const gfp_t flags) argument
511 cas_spare_init(struct cas *cp) argument
524 cas_spare_free(struct cas *cp) argument
557 cas_spare_recover(struct cas *cp, const gfp_t flags) argument
633 cas_page_dequeue(struct cas *cp) argument
672 cas_mif_poll(struct cas *cp, const int enable) argument
694 cas_begin_auto_negotiation(struct cas *cp, struct ethtool_cmd *ep) argument
793 cas_reset_mii_phy(struct cas *cp) argument
809 cas_saturn_firmware_init(struct cas *cp) argument
839 cas_saturn_firmware_load(struct cas *cp) argument
874 cas_phy_init(struct cas *cp) argument
1003 cas_pcs_link_check(struct cas *cp) argument
1107 cas_pcs_interrupt(struct net_device *dev, struct cas *cp, u32 status) argument
1117 cas_txmac_interrupt(struct net_device *dev, struct cas *cp, u32 status) argument
1169 cas_load_firmware(struct cas *cp, cas_hp_inst_t *firmware) argument
1202 cas_init_rx_dma(struct cas *cp) argument
1370 cas_page_spare(struct cas *cp, const int index) argument
1388 cas_page_swap(struct cas *cp, const int ring, const int index) argument
1406 cas_clean_rxds(struct cas *cp) argument
1434 cas_clean_rxcs(struct cas *cp) argument
1517 cas_rxmac_interrupt(struct net_device *dev, struct cas *cp, u32 status) argument
1550 cas_mac_interrupt(struct net_device *dev, struct cas *cp, u32 status) argument
1576 cas_mdio_link_not_up(struct cas *cp) argument
1633 cas_mii_link_check(struct cas *cp, const u16 bmsr) argument
1689 cas_mif_interrupt(struct net_device *dev, struct cas *cp, u32 status) argument
1703 cas_pci_interrupt(struct net_device *dev, struct cas *cp, u32 status) argument
1769 cas_abnormal_irq(struct net_device *dev, struct cas *cp, u32 status) argument
1842 cas_calc_tabort(struct cas *cp, const unsigned long addr, const int len) argument
1854 cas_tx_ringN(struct cas *cp, int ring, int limit) argument
1926 cas_tx(struct net_device *dev, struct cas *cp, u32 status) argument
1952 cas_rx_process_pkt(struct cas *cp, struct cas_rx_comp *rxc, int entry, const u64 *words, struct sk_buff **skbref) argument
2168 cas_rx_flow_pkt(struct cas *cp, const u64 *words, struct sk_buff *skb) argument
2189 cas_post_page(struct cas *cp, const int ring, const int index) argument
2217 cas_post_rxds_ringN(struct cas *cp, int ring, int num) argument
2290 cas_rx_ringN(struct cas *cp, int ring, int budget) argument
2406 cas_post_rxcs_ringN(struct net_device *dev, struct cas *cp, int ring) argument
2437 cas_handle_irqN(struct net_device *dev, struct cas *cp, const u32 status, const int ring) argument
2448 struct cas *cp = netdev_priv(dev); local
2477 cas_handle_irq1(struct cas *cp, const u32 status) argument
2500 struct cas *cp = netdev_priv(dev); local
2525 cas_handle_irq(struct net_device *dev, struct cas *cp, const u32 status) argument
2552 struct cas *cp = netdev_priv(dev); local
2585 struct cas *cp = container_of(napi, struct cas, napi); local
2656 struct cas *cp = netdev_priv(dev); local
2682 struct cas *cp = netdev_priv(dev); local
2736 cas_write_txd(struct cas *cp, int ring, int entry, dma_addr_t mapping, int len, u64 ctrl, int last) argument
2750 tx_tiny_buf(struct cas *cp, const int ring, const int entry) argument
2756 tx_tiny_map(struct cas *cp, const int ring, const int entry, const int tentry) argument
2764 cas_xmit_tx_ringN(struct cas *cp, int ring, struct sk_buff *skb) argument
2867 struct cas *cp = netdev_priv(dev); local
2885 cas_init_tx_dma(struct cas *cp) argument
2939 cas_init_dma(struct cas *cp) argument
2945 cas_process_mc_list(struct cas *cp) argument
2980 cas_setup_multicast(struct cas *cp) argument
3002 cas_clear_mac_err(struct cas *cp) argument
3018 cas_mac_reset(struct cas *cp) argument
3052 cas_init_mac(struct cas *cp) argument
3143 cas_init_pause_thresholds(struct cas *cp) argument
3188 cas_get_vpd_info(struct cas *cp, unsigned char *dev_addr, const int offset) argument
3373 cas_check_pci_invariants(struct cas *cp) argument
3404 cas_check_invariants(struct cas *cp) argument
3481 cas_start_dma(struct cas *cp) argument
3542 cas_read_pcs_link_mode(struct cas *cp, int *fd, int *spd, int *pause) argument
3554 cas_read_mii_link_mode(struct cas *cp, int *fd, int *spd, int *pause) argument
3590 cas_set_link_modes(struct cas *cp) argument
3721 cas_init_hw(struct cas *cp, int restart_link) argument
3744 cas_hard_reset(struct cas *cp) argument
3752 cas_global_reset(struct cas *cp, int blkflag) argument
3802 cas_reset(struct cas *cp, int blkflag) argument
3835 cas_shutdown(struct cas *cp) argument
3865 struct cas *cp = netdev_priv(dev); local
3894 cas_clean_txd(struct cas *cp, int ring) argument
3942 cas_free_rx_desc(struct cas *cp, int ring) argument
3956 cas_free_rxds(struct cas *cp) argument
3965 cas_clean_rings(struct cas *cp) argument
3982 cas_alloc_rx_desc(struct cas *cp, int ring) argument
3995 cas_alloc_rxds(struct cas *cp) argument
4010 struct cas *cp = container_of(work, struct cas, reset_task); local
4087 struct cas *cp = (struct cas *) data; local
4210 cas_tx_tiny_free(struct cas *cp) argument
4226 cas_tx_tiny_alloc(struct cas *cp) argument
4246 struct cas *cp = netdev_priv(dev); local
4321 struct cas *cp = netdev_priv(dev); local
4395 cas_read_regs(struct cas *cp, u8 *ptr, int len) argument
4419 struct cas *cp = netdev_priv(dev); local
4491 struct cas *cp = netdev_priv(dev); local
4529 struct cas *cp = netdev_priv(dev); local
4540 struct cas *cp = netdev_priv(dev); local
4647 struct cas *cp = netdev_priv(dev); local
4673 struct cas *cp = netdev_priv(dev); local
4689 struct cas *cp = netdev_priv(dev); local
4695 struct cas *cp = netdev_priv(dev); local
4701 struct cas *cp = netdev_priv(dev); local
4707 struct cas *cp = netdev_priv(dev); local
4714 struct cas *cp = netdev_priv(dev); local
4739 struct cas *cp = netdev_priv(dev); local
4778 struct cas *cp = netdev_priv(dev); local
4921 struct cas *cp; local
5175 struct cas *cp; local
5212 struct cas *cp = netdev_priv(dev); local
5243 struct cas *cp = netdev_priv(dev); local
[all...]
/drivers/net/ethernet/realtek/
H A D8139cp.c1 /* 8139cp.c: A Linux PCI Ethernet driver for the RealTek 8139C+ chips. */
51 #define DRV_NAME "8139cp"
92 MODULE_PARM_DESC (debug, "8139cp: bitmapped message enable number");
98 MODULE_PARM_DESC (multicast_filter_limit, "8139cp: maximum number of filtered multicast addresses");
353 #define cpr8(reg) readb(cp->regs + (reg))
354 #define cpr16(reg) readw(cp->regs + (reg))
355 #define cpr32(reg) readl(cp->regs + (reg))
356 #define cpw8(reg,val) writeb((val), cp->regs + (reg))
357 #define cpw16(reg,val) writew((val), cp->regs + (reg))
358 #define cpw32(reg,val) writel((val), cp
405 cp_set_rxbufsize(struct cp_private *cp) argument
416 cp_rx_skb(struct cp_private *cp, struct sk_buff *skb, struct cp_desc *desc) argument
432 cp_rx_err_acct(struct cp_private *cp, unsigned rx_tail, u32 status, u32 len) argument
463 struct cp_private *cp = container_of(napi, struct cp_private, napi); local
576 struct cp_private *cp; local
639 struct cp_private *cp = netdev_priv(dev); local
648 cp_tx(struct cp_private *cp) argument
715 unwind_tx_frag_mapping(struct cp_private *cp, struct sk_buff *skb, int first, int entry_last) argument
734 struct cp_private *cp = netdev_priv(dev); local
902 struct cp_private *cp = netdev_priv(dev); local
941 struct cp_private *cp = netdev_priv(dev); local
948 __cp_get_stats(struct cp_private *cp) argument
957 struct cp_private *cp = netdev_priv(dev); local
969 cp_stop_hw(struct cp_private *cp) argument
983 cp_reset_hw(struct cp_private *cp) argument
999 cp_start_hw(struct cp_private *cp) argument
1035 cp_enable_irq(struct cp_private *cp) argument
1040 cp_init_hw(struct cp_private *cp) argument
1070 cp_refill_rx(struct cp_private *cp) argument
1108 cp_init_rings_index(struct cp_private *cp) argument
1114 cp_init_rings(struct cp_private *cp) argument
1124 cp_alloc_rings(struct cp_private *cp) argument
1144 cp_clean_rings(struct cp_private *cp) argument
1180 cp_free_rings(struct cp_private *cp) argument
1191 struct cp_private *cp = netdev_priv(dev); local
1226 struct cp_private *cp = netdev_priv(dev); local
1250 struct cp_private *cp = netdev_priv(dev); local
1273 struct cp_private *cp = netdev_priv(dev); local
1306 struct cp_private *cp = netdev_priv(dev); local
1316 struct cp_private *cp = netdev_priv(dev); local
1327 netdev_set_wol(struct cp_private *cp, const struct ethtool_wolinfo *wol) argument
1360 netdev_get_wol(struct cp_private *cp, struct ethtool_wolinfo *wol) argument
1384 struct cp_private *cp = netdev_priv(dev); local
1417 struct cp_private *cp = netdev_priv(dev); local
1430 struct cp_private *cp = netdev_priv(dev); local
1443 struct cp_private *cp = netdev_priv(dev); local
1449 struct cp_private *cp = netdev_priv(dev); local
1455 struct cp_private *cp = netdev_priv(dev); local
1461 struct cp_private *cp = netdev_priv(dev); local
1488 struct cp_private *cp = netdev_priv(dev); local
1503 struct cp_private *cp = netdev_priv(dev); local
1513 struct cp_private *cp = netdev_priv(dev); local
1539 struct cp_private *cp = netdev_priv(dev); local
1606 struct cp_private *cp = netdev_priv(dev); local
1621 struct cp_private *cp = netdev_priv(dev); local
1760 struct cp_private *cp = netdev_priv(dev); local
1773 struct cp_private *cp = netdev_priv(dev); local
1811 struct cp_private *cp = netdev_priv(dev); local
1850 cp_set_d3_state(struct cp_private *cp) argument
1877 struct cp_private *cp; local
2031 struct cp_private *cp = netdev_priv(dev); local
2047 struct cp_private *cp = netdev_priv(dev); local
2074 struct cp_private *cp = netdev_priv(dev); local
[all...]
H A DMakefile5 obj-$(CONFIG_8139CP) += 8139cp.o
/drivers/net/wireless/ath/wil6210/
H A Dethtool.c45 struct ethtool_coalesce *cp)
56 cp->rx_coalesce_usecs = itr_val;
62 struct ethtool_coalesce *cp)
66 wil_dbg_misc(wil, "%s(%d usec)\n", __func__, cp->rx_coalesce_usecs);
77 if (cp->rx_coalesce_usecs > WIL6210_ITR_TRSH_MAX)
80 wil->itr_trsh = cp->rx_coalesce_usecs;
88 cp, sizeof(*cp), false);
44 wil_ethtoolops_get_coalesce(struct net_device *ndev, struct ethtool_coalesce *cp) argument
61 wil_ethtoolops_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *cp) argument
/drivers/isdn/hysdn/
H A Dhysdn_procconf.c55 unsigned char *cp = cnf->conf_line; local
59 hysdn_addlog(cnf->card, "conf line: %s", cp);
61 if (*cp == '-') { /* option */
62 cp++; /* point to option char */
64 if (*cp++ != 'c')
67 while ((*cp <= '9') && (*cp >= '0'))
68 i = i * 10 + *cp++ - '0'; /* get decimal number */
77 if (*cp == '*') { /* line to send */
79 hysdn_addlog(cnf->card, "conf chan=%d %s", cnf->channel, cp);
98 unsigned char ch, *cp; local
214 char *cp; local
233 char *cp, *tmp; local
[all...]
H A Dhysdn_boot.c337 EvalSysrTokData(hysdn_card *card, unsigned char *cp, int len) argument
349 for (p = cp, crc = 0; p < (cp + len - 2); p++)
355 if (crc != *(cp + len - 1)) {
362 if (*cp == SYSR_TOK_END)
365 if (len < (*(cp + 1) + 2)) {
366 hysdn_addlog(card, "token 0x%x invalid length %d", *cp, *(cp + 1));
369 switch (*cp) {
371 if (*(cp
[all...]
H A Dhysdn_proclog.c27 static void put_log_buffer(hysdn_card *card, char *cp);
72 char *cp; local
78 cp = pd->logtmp;
79 cp += sprintf(cp, "HYSDN: card %d ", card->myid);
82 cp += vsprintf(cp, fmt, args);
84 *cp++ = '\n';
85 *cp = 0;
101 put_log_buffer(hysdn_card *card, char *cp) argument
[all...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c59 static void sym_complete_error (struct sym_hcb *np, struct sym_ccb *cp);
60 static void sym_complete_ok (struct sym_hcb *np, struct sym_ccb *cp);
61 static int sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp);
73 static void sym_print_msg(struct sym_ccb *cp, char *label, u_char *msg) argument
75 sym_print_addr(cp->cmd, "%s: ", label);
1419 static int sym_prepare_nego(struct sym_hcb *np, struct sym_ccb *cp, u_char *msgptr) argument
1421 struct sym_tcb *tp = &np->target[cp->target];
1462 cp->nego_status = nego;
1465 tp->nego_cp = cp; /* Keep track a nego will be performed */
1467 sym_print_nego_msg(np, cp
1480 sym_put_start_queue(struct sym_hcb *np, struct sym_ccb *cp) argument
1543 struct sym_ccb *cp; local
1596 struct sym_ccb *cp; local
1644 struct sym_ccb *cp; local
2036 struct sym_ccb *cp; local
2190 struct sym_ccb *cp = sym_ccb_from_dsa(np, dsa); local
2319 struct sym_ccb *cp = sym_ccb_from_dsa(np, dsa); local
2414 struct sym_ccb *cp; local
2981 struct sym_ccb *cp; local
3043 sym_sir_bad_scsi_status(struct sym_hcb *np, int num, struct sym_ccb *cp) argument
3202 struct sym_ccb *cp; local
3284 struct sym_ccb *cp; local
3639 sym_evaluate_dp(struct sym_hcb *np, struct sym_ccb *cp, u32 scr, int *ofs) argument
3757 sym_modify_dp(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp, int ofs) argument
3856 sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp) argument
3958 sym_sync_nego_check(struct sym_hcb *np, int req, struct sym_ccb *cp) argument
4036 sym_sync_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument
4173 sym_ppr_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument
4210 sym_wide_nego_check(struct sym_hcb *np, int req, struct sym_ccb *cp) argument
4273 sym_wide_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument
4337 sym_nego_default(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument
4368 sym_nego_rejected(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument
4381 struct sym_ccb *cp = sym_ccb_from_dsa(np, dsa); local
4658 struct sym_ccb *cp = NULL; local
4777 sym_free_ccb(struct sym_hcb *np, struct sym_ccb *cp) argument
4871 struct sym_ccb *cp = NULL; local
4940 struct sym_ccb *cp; local
5140 sym_queue_scsiio(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) argument
5300 sym_abort_ccb(struct sym_hcb *np, struct sym_ccb *cp, int timed_out) argument
5332 struct sym_ccb *cp; local
5360 sym_complete_error(struct sym_hcb *np, struct sym_ccb *cp) argument
5491 sym_complete_ok(struct sym_hcb *np, struct sym_ccb *cp) argument
5806 struct sym_ccb *cp; local
[all...]
/drivers/net/ethernet/broadcom/
H A Dcnic.c190 struct cnic_local *cp = dev->cnic_priv; local
191 struct cnic_eth_dev *ethdev = cp->ethdev;
204 struct cnic_local *cp = dev->cnic_priv; local
205 struct cnic_eth_dev *ethdev = cp->ethdev;
217 struct cnic_local *cp = dev->cnic_priv; local
218 struct cnic_eth_dev *ethdev = cp->ethdev;
234 struct cnic_local *cp = dev->cnic_priv; local
235 struct cnic_eth_dev *ethdev = cp->ethdev;
247 struct cnic_local *cp = dev->cnic_priv; local
248 struct cnic_eth_dev *ethdev = cp
260 struct cnic_local *cp = dev->cnic_priv; local
285 struct cnic_local *cp = dev->cnic_priv; local
294 cnic_get_l5_cid(struct cnic_local *cp, u32 cid, u32 *l5_cid) argument
310 cnic_send_nlmsg(struct cnic_local *cp, u32 type, struct cnic_sock *csk) argument
371 struct cnic_local *cp; local
483 struct cnic_local *cp = dev->cnic_priv; local
496 struct cnic_local *cp = dev->cnic_priv; local
525 struct cnic_local *cp = dev->cnic_priv; local
561 struct cnic_local *cp = dev->cnic_priv; local
603 struct cnic_local *cp = dev->cnic_priv; local
777 struct cnic_local *cp = dev->cnic_priv; local
816 struct cnic_local *cp = dev->cnic_priv; local
868 struct cnic_local *cp = dev->cnic_priv; local
899 struct cnic_local *cp = dev->cnic_priv; local
1012 struct cnic_local *cp = udev->dev->cnic_priv; local
1040 struct cnic_local *cp = dev->cnic_priv; local
1082 struct cnic_local *cp = dev->cnic_priv; local
1148 struct cnic_local *cp = dev->cnic_priv; local
1181 struct cnic_local *cp = dev->cnic_priv; local
1229 struct cnic_local *cp = dev->cnic_priv; local
1325 cnic_kwq_avail(struct cnic_local *cp) argument
1334 struct cnic_local *cp = dev->cnic_priv; local
1366 cnic_get_kwqe_16_data(struct cnic_local *cp, u32 l5_cid, union l5cm_specific_data *l5_data) argument
1381 struct cnic_local *cp = dev->cnic_priv; local
1416 struct cnic_local *cp = dev->cnic_priv; local
1451 struct cnic_local *cp = dev->cnic_priv; local
1579 struct cnic_local *cp = dev->cnic_priv; local
1600 struct cnic_local *cp = dev->cnic_priv; local
1647 struct cnic_local *cp = dev->cnic_priv; local
1677 struct cnic_local *cp = dev->cnic_priv; local
1866 struct cnic_local *cp = dev->cnic_priv; local
1932 struct cnic_local *cp = dev->cnic_priv; local
1956 struct cnic_local *cp = dev->cnic_priv; local
1982 struct cnic_local *cp = dev->cnic_priv; local
2111 struct cnic_local *cp = dev->cnic_priv; local
2249 struct cnic_local *cp = dev->cnic_priv; local
2273 struct cnic_local *cp = dev->cnic_priv; local
2331 struct cnic_local *cp = dev->cnic_priv; local
2428 struct cnic_local *cp = dev->cnic_priv; local
2456 struct cnic_local *cp = dev->cnic_priv; local
2487 struct cnic_local *cp = dev->cnic_priv; local
2530 struct cnic_local *cp = dev->cnic_priv; local
2556 struct cnic_local *cp = dev->cnic_priv; local
2574 struct cnic_local *cp = dev->cnic_priv; local
2820 struct cnic_local *cp = dev->cnic_priv; local
2879 struct cnic_local *cp = dev->cnic_priv; local
2904 cnic_l2_completion(struct cnic_local *cp) argument
2938 cnic_chk_pkt_rings(struct cnic_local *cp) argument
2964 struct cnic_local *cp = dev->cnic_priv; local
3007 struct cnic_local *cp = dev->cnic_priv; local
3017 struct cnic_local *cp = dev->cnic_priv; local
3032 struct cnic_local *cp = dev->cnic_priv; local
3078 struct cnic_local *cp = dev->cnic_priv; local
3086 struct cnic_local *cp = dev->cnic_priv; local
3094 struct cnic_local *cp = dev->cnic_priv; local
3102 struct cnic_local *cp = dev->cnic_priv; local
3132 struct cnic_local *cp = dev->cnic_priv; local
3168 struct cnic_local *cp = dev->cnic_priv; local
3178 cnic_ulp_stop_one(struct cnic_local *cp, int if_type) argument
3203 struct cnic_local *cp = dev->cnic_priv; local
3212 struct cnic_local *cp = dev->cnic_priv; local
3237 struct cnic_local *cp = dev->cnic_priv; local
3275 struct cnic_local *cp = dev->cnic_priv; local
3284 struct cnic_local *cp = dev->cnic_priv; local
3322 struct cnic_local *cp = dev->cnic_priv; local
3346 struct cnic_local *cp = dev->cnic_priv; local
3576 struct cnic_local *cp = dev->cnic_priv; local
3621 struct cnic_local *cp = dev->cnic_priv; local
3743 struct cnic_local *cp = dev->cnic_priv; local
3751 struct cnic_local *cp = dev->cnic_priv; local
3828 struct cnic_local *cp = csk->dev->cnic_priv; local
3857 struct cnic_local *cp = csk->dev->cnic_priv; local
3900 cnic_cm_upcall(struct cnic_local *cp, struct cnic_sock *csk, u8 opcode) argument
3936 struct cnic_local *cp = dev->cnic_priv; local
3967 struct cnic_local *cp = dev->cnic_priv; local
3979 struct cnic_local *cp = dev->cnic_priv; local
4080 struct cnic_local *cp = dev->cnic_priv; local
4089 struct cnic_local *cp = dev->cnic_priv; local
4136 struct cnic_local *cp = dev->cnic_priv; local
4165 struct cnic_local *cp = dev->cnic_priv; local
4205 struct cnic_local *cp = dev->cnic_priv; local
4257 struct cnic_local *cp; local
4309 struct cnic_local *cp = dev->cnic_priv; local
4341 struct cnic_local *cp = dev->cnic_priv; local
4371 struct cnic_local *cp = dev->cnic_priv; local
4408 struct cnic_local *cp = dev->cnic_priv; local
4420 struct cnic_local *cp = dev->cnic_priv; local
4433 struct cnic_local *cp = dev->cnic_priv; local
4493 struct cnic_local *cp = dev->cnic_priv; local
4505 struct cnic_local *cp = dev->cnic_priv; local
4519 struct cnic_local *cp = dev->cnic_priv; local
4586 struct cnic_local *cp = dev->cnic_priv; local
4664 struct cnic_local *cp = dev->cnic_priv; local
4698 struct cnic_local *cp = dev->cnic_priv; local
4834 struct cnic_local *cp = dev->cnic_priv; local
4855 struct cnic_local *cp = dev->cnic_priv; local
4888 struct cnic_local *cp = dev->cnic_priv; local
4907 struct cnic_local *cp = dev->cnic_priv; local
4973 struct cnic_local *cp = dev->cnic_priv; local
5040 struct cnic_local *cp = dev->cnic_priv; local
5079 struct cnic_local *cp = dev->cnic_priv; local
5155 struct cnic_local *cp = dev->cnic_priv; local
5225 struct cnic_local *cp = dev->cnic_priv; local
5270 struct cnic_local *cp = dev->cnic_priv; local
5296 struct cnic_local *cp = dev->cnic_priv; local
5307 struct cnic_local *cp = dev->cnic_priv; local
5365 struct cnic_local *cp = dev->cnic_priv; local
5398 struct cnic_local *cp = dev->cnic_priv; local
5440 struct cnic_local *cp; local
5471 struct cnic_local *cp; local
5531 struct cnic_local *cp; local
5617 cnic_rcv_netevent(struct cnic_local *cp, unsigned long event, u16 vlan_id) argument
5664 struct cnic_local *cp = dev->cnic_priv; local
[all...]
/drivers/staging/speakup/
H A Dkobjects.c33 char *cp; local
48 cp = "B_CTL";
50 cp = "WDLM";
52 cp = "A_PUNC";
54 cp = "PUNC";
56 cp = "NUM";
58 cp = "A_CAP";
60 cp = "ALPHA";
62 cp = "B_CAPSYM";
64 cp
111 char *cp = (char *) buf; local
227 char *cp = buf; local
265 char *cp; local
436 char *cp; local
453 char *cp = buf; local
543 char *cp; local
618 char *cp; local
744 char *cp = (char *) buf; local
[all...]
H A Dvarhandlers.c183 char *cp; local
234 cp = spk_pitch_buff;
236 cp = buf;
238 l = sprintf(cp, var_data->u.n.synth_fmt, (int)val);
240 l = sprintf(cp,
242 synth_printf("%s", cp);
275 u_char *cp; local
279 for (cp = (u_char *)spk_punc_info[3].value; *cp; cp
[all...]
/drivers/net/slip/
H A Dslhc.c82 static unsigned char *encode(unsigned char *cp, unsigned short n);
84 static unsigned char * put16(unsigned char *cp, unsigned short x);
167 put16(unsigned char *cp, unsigned short x) argument
169 *cp++ = x >> 8;
170 *cp++ = x;
172 return cp;
178 encode(unsigned char *cp, unsigned short n) argument
181 *cp++ = 0;
182 cp = put16(cp,
233 register unsigned char *cp = new_seq; local
491 unsigned char *cp = icp; local
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_qsfp.c271 int qib_refresh_qsfp_cache(struct qib_pportdata *ppd, struct qib_qsfp_cache *cp) argument
279 memset(cp, 0, sizeof(*cp));
308 ret = qsfp_read(ppd, QSFP_MOD_ID_OFFS, &cp->id, 1);
311 if ((cp->id & 0xFE) != 0x0C)
313 "QSFP ID byte is 0x%02X, S/B 0x0C/D\n", cp->id);
314 cks = cp->id;
316 ret = qsfp_read(ppd, QSFP_MOD_PWR_OFFS, &cp->pwr, 1);
319 cks += cp->pwr;
326 ret = qsfp_read(ppd, QSFP_MOD_LEN_OFFS, &cp
[all...]
/drivers/scsi/
H A Dncr53c8xx.c869 #define CCB_DONE_VALID(cp) (((u_long) cp) != CCB_DONE_EMPTY)
873 #define CCB_DONE_VALID(cp) \
874 ((((u_long) cp) & 0xffffffff00000000ul) && \
875 (((u_long) cp) & 0xfffffffful) != CCB_DONE_EMPTY)
1392 struct ccb * cp; member in struct:head
1588 #define CCB_PHYS(cp,lbl) (cp->p_ccb + offsetof(struct ccb, lbl))
1920 static void ncr_complete (struct ncb *np, struct ccb *cp);
1922 static void ncr_free_ccb (struct ncb *np, struct ccb *cp);
3679 ncr_print_msg(struct ccb *cp, char *label, u_char *msg) argument
4060 ncr_prepare_nego(struct ncb *np, struct ccb *cp, u_char *msgptr) argument
4124 struct ccb *cp; local
4431 struct ccb *cp; local
4449 ncr_put_start_queue(struct ncb *np, struct ccb *cp) argument
4565 struct ccb *cp; local
4706 struct ccb *cp; local
4816 ncr_complete(struct ncb *np, struct ccb *cp) argument
5092 ncr_ccb_skipped(struct ncb *np, struct ccb *cp) argument
5118 struct ccb *cp; local
5164 struct ccb *cp = np->ccb; local
5497 struct ccb *cp; local
5530 ncr_setsync(struct ncb *np, struct ccb *cp, u_char scntl3, u_char sxfer) argument
5587 ncr_setwide(struct ncb *np, struct ccb *cp, u_char wide, u_char ack) argument
6089 struct ccb *cp; local
6256 struct ccb *cp; local
6541 ncr_sir_to_redo(struct ncb *np, int num, struct ccb *cp) argument
6697 struct ccb *cp=NULL; local
7150 struct ccb *cp = NULL; local
7254 ncr_free_ccb(struct ncb *np, struct ccb *cp) argument
7316 ncr_init_ccb(struct ncb *np, struct ccb *cp) argument
7359 struct ccb *cp = NULL; local
7647 ncr_scatter(struct ncb *np, struct ccb *cp, struct scsi_cmnd *cmd) argument
[all...]
H A Deata_pio.c163 struct eata_ccb *cp; local
183 cp = &hd->ccb[0];
184 cmd = cp->cmd;
190 if (cp->DataIn) {
215 } else { /* cp->DataOut */
259 hd->devflags |= (1 << cp->cp_id);
260 } else if (hd->devflags & (1 << cp->cp_id))
265 if (cp->status == LOCKED) {
266 cp->status = FREE;
276 cp
310 struct eata_ccb *cp; local
514 struct eata_ccb cp; local
[all...]
/drivers/base/
H A Dclass.c30 struct subsys_private *cp = to_subsys_private(kobj); local
34 ret = class_attr->show(cp->class, class_attr, buf);
42 struct subsys_private *cp = to_subsys_private(kobj); local
46 ret = class_attr->store(cp->class, class_attr, buf, count);
52 struct subsys_private *cp = to_subsys_private(kobj); local
53 struct class *class = cp->class;
63 kfree(cp);
68 struct subsys_private *cp = to_subsys_private(kobj); local
69 struct class *class = cp->class;
167 struct subsys_private *cp; local
[all...]
/drivers/mmc/host/
H A Dmmc_spi.c200 u8 *cp = host->data->status; local
212 if (cp[i] != byte)
213 return cp[i];
265 u8 *cp = host->data->status; local
266 u8 *end = cp + host->t.len;
283 cp += 8;
284 while (cp < end && *cp == 0xff)
285 cp++;
288 if (cp
450 u8 *cp = data->status; local
836 u8 *cp = t->rx_buf; local
[all...]
/drivers/s390/cio/
H A Ddevice_pgid.c58 struct ccw1 *cp = cdev->private->iccws; local
60 cp->cmd_code = CCW_CMD_NOOP;
61 cp->cda = 0;
62 cp->count = 0;
63 cp->flags = CCW_FLAG_SLI;
64 req->cp = cp;
135 struct ccw1 *cp = cdev->private->iccws; local
140 cp->cmd_code = CCW_CMD_SET_PGID;
141 cp
436 struct ccw1 *cp = cdev->private->iccws; local
622 struct ccw1 *cp = cdev->private->iccws; local
[all...]
/drivers/net/ethernet/apple/
H A Dmace.c434 volatile struct dbdma_cmd *cp; local
445 cp = mp->rx_cmds;
455 st_le16(&cp->req_count, RX_BUFLEN);
456 st_le16(&cp->command, INPUT_LAST + INTR_ALWAYS);
457 st_le32(&cp->phy_addr, virt_to_bus(data));
458 cp->xfer_status = 0;
459 ++cp;
462 st_le16(&cp->command, DBDMA_STOP);
467 ++cp;
468 st_le16(&cp
535 volatile struct dbdma_cmd *cp, *np; local
665 volatile struct dbdma_cmd *cp; local
812 volatile struct dbdma_cmd *cp; local
881 volatile struct dbdma_cmd *cp, *np; local
[all...]
/drivers/tty/
H A Drocket.c314 static void rp_do_receive(struct r_port *info, CHANNEL_t *cp, argument
321 ToRecv = sGetRxCnt(cp);
339 sEnRxStatusMode(cp);
356 CharNStat = sInW(sGetTxRxDataIO(cp));
386 if (sGetRxCnt(cp) == 0) {
390 sDisRxStatusMode(cp);
409 sInStrW(sGetTxRxDataIO(cp), (unsigned short *) cbuf, wRecv);
411 cbuf[ToRecv - 1] = sInB(sGetTxRxDataIO(cp));
426 CHANNEL_t *cp = &info->channel; local
444 info->xmit_fifo_room = TXFIFO_SIZE - sGetTxCnt(cp);
492 CHANNEL_t *cp; local
712 CHANNEL_t *cp; local
886 CHANNEL_t *cp; local
997 CHANNEL_t *cp; local
1076 CHANNEL_t *cp; local
1355 CHANNEL_t *cp; local
1449 CHANNEL_t *cp; local
1502 CHANNEL_t *cp; local
1547 CHANNEL_t *cp; local
1594 CHANNEL_t *cp; local
1726 CHANNEL_t *cp; local
[all...]
/drivers/isdn/divert/
H A Ddivert_procfs.c41 put_info_buffer(char *cp) argument
48 if (!cp)
50 if (!*cp)
52 if (!(ib = kmalloc(sizeof(struct divert_info) + strlen(cp), GFP_ATOMIC)))
54 strcpy(ib->info_start, cp); /* set output string */
189 char *cp; local
205 cp = divert_if.drv_to_name(dioctl.getid.drvid);
206 if (!cp)
208 if (!*cp)
210 strcpy(dioctl.getid.drvnam, cp);
[all...]

Completed in 5181 milliseconds

12345678