/drivers/s390/char/ |
H A D | fs3270.c | 53 fs3270_working(struct fs3270 *fp) argument 59 return fp->active && raw3270_request_final(fp->init); 65 struct fs3270 *fp; local 68 fp = (struct fs3270 *) view; 70 rq->callback_data = &fp->wait; 73 if (!fs3270_working(fp)) { 75 rc = wait_event_interruptible(fp->wait, 76 fs3270_working(fp)); 83 wait_event(fp 95 struct fs3270 *fp; local 105 struct fs3270 *fp; local 120 struct fs3270 *fp; local 165 struct fs3270 *fp; local 192 struct fs3270 *fp; local 221 fs3270_irq(struct fs3270 *fp, struct raw3270_request *rq, struct irb *irb) argument 245 struct fs3270 *fp; local 290 struct fs3270 *fp; local 329 struct fs3270 *fp; local 376 struct fs3270 *fp; local 395 struct fs3270 *fp; local 410 struct fs3270 *fp; local 432 struct fs3270 *fp; local 502 struct fs3270 *fp; local [all...] |
H A D | hmcdrv_dev.c | 55 static int hmcdrv_dev_open(struct inode *inode, struct file *fp); 56 static int hmcdrv_dev_release(struct inode *inode, struct file *fp); 57 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence); 58 static ssize_t hmcdrv_dev_read(struct file *fp, char __user *ubuf, 60 static ssize_t hmcdrv_dev_write(struct file *fp, const char __user *ubuf, 113 static int hmcdrv_dev_open(struct inode *inode, struct file *fp) argument 119 if (fp->f_flags & O_NONBLOCK) 125 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) 134 fp->private_data = NULL; /* no command yet */ 140 fp 147 hmcdrv_dev_release(struct inode *inode, struct file *fp) argument 160 hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence) argument 221 hmcdrv_dev_read(struct file *fp, char __user *ubuf, size_t len, loff_t *pos) argument 246 hmcdrv_dev_write(struct file *fp, const char __user *ubuf, size_t len, loff_t *pos) argument [all...] |
/drivers/scsi/libfc/ |
H A D | fc_frame.c | 34 u32 fc_frame_crc_check(struct fc_frame *fp) argument 41 WARN_ON(!fc_frame_is_linear(fp)); 42 fr_flags(fp) &= ~FCPHF_CRC_UNCHECKED; 43 len = (fr_len(fp) + 3) & ~3; /* round up length to include fill */ 44 bp = (const u8 *) fr_hdr(fp); 46 error = crc ^ fr_crc(fp); 57 struct fc_frame *fp; local 67 fp = (struct fc_frame *) skb; 68 fc_frame_init(fp); 70 return fp; 76 struct fc_frame *fp; local [all...] |
H A D | fc_elsct.c | 37 * @fp: The frame to be sent 44 struct fc_frame *fp, unsigned int op, 56 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); 59 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); 63 fc_frame_free(fp); 67 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, 70 return lport->tt.exch_seq_send(lport, fp, resp, NULL, arg, timer_msec); 89 * @fp: The frame pointer or possible error code 91 const char *fc_els_resp_type(struct fc_frame *fp) argument 97 if (IS_ERR(fp)) { 43 fc_elsct_send(struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, void (*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg, u32 timer_msec) argument [all...] |
H A D | fc_exch.c | 266 * @fp: The frame whose header is to be modified 272 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, argument 275 struct fc_frame_header *fh = fc_frame_header_get(fp); 278 fr_sof(fp) = ep->class; 280 fr_sof(fp) = fc_sof_normal(ep->class); 283 fr_eof(fp) = FC_EOF_T; 285 fr_eof(fp) = FC_EOF_N; 295 fill = fr_len(fp) & 3; 299 skb_put(fp_skb(fp), fill); 303 WARN_ON(fr_len(fp) 466 fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) argument 528 fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) argument 632 struct fc_frame *fp; local 718 fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, struct fc_frame *fp) argument 893 fc_exch_alloc(struct fc_lport *lport, struct fc_frame *fp) argument 957 fc_exch_resp(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1005 fc_seq_lookup_recip(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1135 fc_seq_lookup_orig(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1194 fc_seq_els_rsp_send(struct fc_frame *fp, enum fc_els_cmd els_cmd, struct fc_seq_els_data *els_data) argument 1222 fc_seq_send_last(struct fc_seq *sp, struct fc_frame *fp, enum fc_rctl rctl, enum fc_fh_type fh_type) argument 1243 struct fc_frame *fp; local 1305 struct fc_frame *fp; local 1372 struct fc_frame *fp; local 1430 fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp) argument 1463 fc_exch_recv_req(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1525 fc_exch_recv_seq_resp(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1615 fc_exch_recv_resp(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1637 fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) argument 1712 fc_exch_recv_bls(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1778 struct fc_frame *fp; local 1805 struct fc_frame *fp; local 1949 struct fc_frame *fp; local 2015 fc_exch_rrq_resp(struct fc_seq *sp, struct fc_frame *fp, void *arg) argument 2071 fc_exch_seq_send(struct fc_lport *lport, struct fc_frame *fp, void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg), void (*destructor)(struct fc_seq *, void *), void *arg, u32 timer_msec) argument 2143 struct fc_frame *fp; local 2188 fc_exch_els_rrq(struct fc_frame *fp) argument 2494 fc_exch_recv(struct fc_lport *lport, struct fc_frame *fp) argument [all...] |
H A D | fc_rport.c | 539 * @fp: The error code encapsulated in a frame pointer 544 static void fc_rport_error(struct fc_rport_priv *rdata, struct fc_frame *fp) argument 547 IS_ERR(fp) ? -PTR_ERR(fp) : 0, 574 * @fp: The error code encapsulated in a frame pointer 583 struct fc_frame *fp) 588 if (PTR_ERR(fp) == -FC_EX_CLOSED) 593 PTR_ERR(fp), fc_rport_state(rdata)); 596 if (PTR_ERR(fp) == -FC_EX_TIMEOUT) 603 fc_rport_error(rdata, fp); 582 fc_rport_error_retry(struct fc_rport_priv *rdata, struct fc_frame *fp) argument 616 fc_rport_login_complete(struct fc_rport_priv *rdata, struct fc_frame *fp) argument 656 fc_rport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, void *rp_arg) argument 723 struct fc_frame *fp; local 756 struct fc_frame *fp = rx_fp; local 874 fc_rport_plogi_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument 953 struct fc_frame *fp; local 993 fc_rport_prli_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument 1096 struct fc_frame *fp; local 1150 fc_rport_rtv_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument 1213 struct fc_frame *fp; local 1241 fc_rport_logo_resp(struct fc_seq *sp, struct fc_frame *fp, void *lport_arg) argument 1263 struct fc_frame *fp; local 1285 fc_rport_adisc_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument 1343 struct fc_frame *fp; local 1374 struct fc_frame *fp; local 1413 struct fc_frame *fp; local 1475 fc_rport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) argument 1543 fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument 1592 struct fc_frame *fp = rx_fp; local 1715 struct fc_frame *fp; local 1834 struct fc_frame *fp; local 1901 fc_rport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) argument [all...] |
H A D | fc_lport.c | 163 * @fp: The received frame 165 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) argument 167 fc_frame_free(fp); 405 * @fp: The RLIR request frame 410 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) argument 415 lport->tt.seq_els_rsp_send(fp, ELS_LS_ACC, NULL); 416 fc_frame_free(fp); 422 * @fp: ECHO request frame 430 struct fc_frame *fp; local 444 fp 466 struct fc_frame *fp; local 522 fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) argument 752 fc_lport_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument 811 struct fc_frame *fp; local 887 fc_lport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) argument 954 fc_lport_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument 1087 fc_lport_error(struct fc_lport *lport, struct fc_frame *fp) argument 1125 fc_lport_ns_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument 1201 fc_lport_ms_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument 1279 fc_lport_scr_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument 1326 struct fc_frame *fp; local 1354 struct fc_frame *fp; local 1454 struct fc_frame *fp; local 1625 fc_lport_logo_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument 1673 struct fc_frame *fp; local 1704 fc_lport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument 1814 struct fc_frame *fp; local 1902 fc_lport_bsg_resp(struct fc_seq *sp, struct fc_frame *fp, void *info_arg) argument 1973 struct fc_frame *fp; local 2033 struct fc_frame *fp; local [all...] |
H A D | fc_disc.c | 80 * @fp: The RSCN frame 85 static void fc_disc_recv_rscn_req(struct fc_disc *disc, struct fc_frame *fp) argument 103 rp = fc_frame_payload_get(fp, sizeof(*rp)); 114 rp = fc_frame_payload_get(fp, len); 153 lport->tt.seq_els_rsp_send(fp, ELS_LS_ACC, NULL); 175 fc_frame_free(fp); 181 lport->tt.seq_els_rsp_send(fp, ELS_LS_RJT, &rjt_data); 182 fc_frame_free(fp); 188 * @fp: The request frame 194 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument 311 fc_disc_error(struct fc_disc *disc, struct fc_frame *fp) argument 359 struct fc_frame *fp; local 509 fc_disc_gpn_ft_resp(struct fc_seq *sp, struct fc_frame *fp, void *disc_arg) argument 581 fc_disc_gpn_id_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument 655 struct fc_frame *fp; local [all...] |
H A D | fc_libfc.c | 159 * @fp: reply frame containing header to be filled in 166 void fc_fill_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, argument 174 fh = __fc_frame_header_get(fp); 178 fill = -fr_len(fp) & 3; 181 memset(skb_put(fp_skb(fp), fill), 0, fill); 184 fr_eof(fp) = FC_EOF_T; 186 WARN_ON(fr_len(fp) % 4 != 0); /* no pad to non last frame */ 187 fr_eof(fp) = FC_EOF_N; 203 fr_seq(fp) = sp; 210 fr_sof(fp) 222 fc_fill_reply_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, enum fc_rctl r_ctl, u32 parm_offset) argument [all...] |
H A D | fc_fcp.c | 423 struct fc_frame *fp; local 425 fp = fc_frame_alloc(lport, len); 426 if (likely(fp)) 427 return fp; 439 * @fp: The data frame 441 static void fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 457 fh = fc_frame_header_get(fp); 460 len = fr_len(fp) - sizeof(*fh); 461 buf = fc_frame_payload_get(fp, 0); 478 if ((fr_flags(fp) 565 struct fc_frame *fp = NULL; local 706 fc_fcp_abts_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 750 fc_fcp_recv(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 820 fc_fcp_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 1122 fc_fcp_cmd_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp, void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg)) argument 1127 struct fc_frame *fp; local 1176 fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 1315 fc_tm_done(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 1402 struct fc_frame *fp; local 1448 fc_fcp_rec_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 1587 fc_fcp_rec_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 1655 struct fc_frame *fp; local 1703 fc_fcp_srr_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 1750 fc_fcp_srr_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument [all...] |
/drivers/net/phy/ |
H A D | fixed.c | 48 static int fixed_phy_update_regs(struct fixed_phy *fp) argument 55 if (fp->status.duplex) { 58 switch (fp->status.speed) { 78 switch (fp->status.speed) { 99 if (fp->status.link) 102 if (fp->status.pause) 105 if (fp->status.asym_pause) 108 fp->regs[MII_PHYSID1] = 0; 109 fp->regs[MII_PHYSID2] = 0; 111 fp 122 struct fixed_phy *fp; local 169 struct fixed_phy *fp; local 191 struct fixed_phy *fp; local 221 struct fixed_phy *fp, *tmp; local 321 struct fixed_phy *fp, *tmp; local [all...] |
/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 92 static void set_fan_speeds(struct bbc_fan_control *fp) argument 97 if (fp->cpu_fan_speed < FAN_SPEED_MIN) 98 fp->cpu_fan_speed = FAN_SPEED_MIN; 99 if (fp->cpu_fan_speed > FAN_SPEED_MAX) 100 fp->cpu_fan_speed = FAN_SPEED_MAX; 101 if (fp->system_fan_speed < FAN_SPEED_MIN) 102 fp->system_fan_speed = FAN_SPEED_MIN; 103 if (fp->system_fan_speed > FAN_SPEED_MAX) 104 fp->system_fan_speed = FAN_SPEED_MAX; 107 fp 320 maybe_new_ambient_fan_speed(struct bbc_fan_control *fp) argument 354 maybe_new_cpu_fan_speed(struct bbc_fan_control *fp) argument 390 maybe_new_fan_speeds(struct bbc_fan_control *fp) argument 403 struct bbc_fan_control *fp; local 426 struct bbc_fan_control *fp; local 497 struct bbc_fan_control *fp; local 549 destroy_one_fan(struct bbc_fan_control *fp) argument 557 struct bbc_fan_control *fp, *fpos; local [all...] |
/drivers/usb/gadget/function/ |
H A D | f_phonet.c | 205 struct f_phonet *fp = ep->driver_data; local 206 struct net_device *dev = fp->dev; 229 struct f_phonet *fp; local 237 fp = port->usb; 238 if (unlikely(!fp)) /* race with carrier loss */ 241 req = fp->in_req; 248 if (unlikely(usb_ep_queue(fp->in_ep, req, GFP_ATOMIC))) 301 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) argument 314 err = usb_ep_queue(fp->out_ep, req, gfp_flags); 322 struct f_phonet *fp local 387 struct f_phonet *fp = func_to_pn(f); local 404 struct f_phonet *fp = func_to_pn(f); local 451 struct f_phonet *fp = func_to_pn(f); local 471 struct f_phonet *fp = func_to_pn(f); local 487 struct f_phonet *fp = func_to_pn(f); local 679 struct f_phonet *fp = func_to_pn(f); local 694 struct f_phonet *fp; local [all...] |
/drivers/net/fddi/skfp/ |
H A D | fplustm.c | 178 smc->hw.fp.fifo.rbc_ram_start = 0 ; 179 smc->hw.fp.fifo.rbc_ram_end = 180 smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ; 182 MARW(smc->hw.fp.fifo.rbc_ram_start) ; 183 for (i = smc->hw.fp.fifo.rbc_ram_start; 184 i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++) 198 outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* RPR1 */ 199 outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* SWPR1 */ 200 outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* WPR1 */ 201 outpw(FM_A(FM_EARV1),smc->hw.fp [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 82 * Makes sure the contents of the bp->fp[to].napi is kept 90 struct bnx2x_fastpath *from_fp = &bp->fp[from]; 91 struct bnx2x_fastpath *to_fp = &bp->fp[to]; 112 /* move sp_objs contents as well, as their indices match fp ones */ 115 /* move fp_stats contents as well, as their indices match fp ones */ 118 /* Update txdata pointers in fp and move txdata content accordingly: 119 * Each fp consumes 'max_cos' txdata structures, so the index should be 175 /* Queue pointer cannot be re-set on an fp-basis, as moving pointer 180 struct bnx2x_fastpath *fp = &bp->fp[ local 343 bnx2x_update_last_max_sge(struct bnx2x_fastpath *fp, u16 idx) argument 352 bnx2x_update_sge_prod(struct bnx2x_fastpath *fp, u16 sge_len, struct eth_end_agg_rx_cqe *cqe) argument 428 bnx2x_tpa_start(struct bnx2x_fastpath *fp, u16 queue, u16 cons, u16 prod, struct eth_fast_path_rx_cqe *cqe) argument 544 bnx2x_alloc_rx_sge(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 index, gfp_t gfp_mask) argument 574 bnx2x_fill_frag_skb(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_agg_info *tpa_info, u16 pages, struct sk_buff *skb, struct eth_end_agg_rx_cqe *cqe, u16 cqe_idx) argument 662 bnx2x_frag_free(const struct bnx2x_fastpath *fp, void *data) argument 670 bnx2x_frag_alloc(const struct bnx2x_fastpath *fp, gfp_t gfp_mask) argument 717 bnx2x_gro_receive(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct sk_buff *skb) argument 739 bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_agg_info *tpa_info, u16 pages, struct eth_end_agg_rx_cqe *cqe, u16 cqe_idx) argument 812 bnx2x_alloc_rx_data(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 index, gfp_t gfp_mask) argument 843 bnx2x_csum_validate(struct sk_buff *skb, union eth_rx_cqe *cqe, struct bnx2x_fastpath *fp, struct bnx2x_eth_q_stats *qstats) argument 866 bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget) argument 1122 struct bnx2x_fastpath *fp = fp_cookie; local 1326 bnx2x_set_next_page_sgl(struct bnx2x_fastpath *fp) argument 1344 bnx2x_free_tpa_pool(struct bnx2x *bp, struct bnx2x_fastpath *fp, int last) argument 1372 struct bnx2x_fastpath *fp = &bp->fp[j]; local 1394 struct bnx2x_fastpath *fp = &bp->fp[j]; local 1453 struct bnx2x_fastpath *fp = &bp->fp[j]; local 1479 bnx2x_free_tx_skbs_queue(struct bnx2x_fastpath *fp) argument 1521 bnx2x_free_rx_bds(struct bnx2x_fastpath *fp) argument 1559 struct bnx2x_fastpath *fp = &bp->fp[j]; local 1752 struct bnx2x_fastpath *fp = &bp->fp[i]; local 2008 struct bnx2x_fastpath *fp = &bp->fp[i]; local 2447 struct bnx2x_fastpath *fp = &bp->fp[index]; local 2921 struct bnx2x_fastpath *fp = &bp->fp[i]; local 3166 struct bnx2x_fastpath *fp = container_of(napi, struct bnx2x_fastpath, local 3242 struct bnx2x_fastpath *fp = container_of(napi, struct bnx2x_fastpath, local 4261 struct bnx2x_fastpath *fp = &bp->fp[fp_index]; local 4355 bnx2x_alloc_rx_bds(struct bnx2x_fastpath *fp, int rx_ring_size) argument 4393 bnx2x_set_next_page_rx_cq(struct bnx2x_fastpath *fp) argument 4414 struct bnx2x_fastpath *fp = &bp->fp[index]; local 4624 struct bnx2x_fastpath *fp; local [all...] |
H A D | bnx2x_cmn.h | 122 * @fp: pointer to the fastpath structure 126 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp, 429 * @fp: fastpath handle for the event 432 void bnx2x_sp_event(struct bnx2x_fastpath *fp, union eth_rx_cqe *rr_cqe); 498 struct bnx2x_fastpath *fp, 520 REG_WR(bp, fp->ustorm_rx_prods_offset + i*4, 527 fp->index, bd_prod, rx_comp_prod, rx_sge_prod); 625 static inline void bnx2x_update_fpsb_idx(struct bnx2x_fastpath *fp) argument 628 fp->fp_hc_idx = fp 497 bnx2x_update_rx_prod(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 bd_prod, u16 rx_comp_prod, u16 rx_sge_prod) argument 762 bnx2x_has_tx_work(struct bnx2x_fastpath *fp) argument 773 bnx2x_has_rx_work(struct bnx2x_fastpath *fp) argument 796 bnx2x_free_rx_sge(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 index) argument 849 bnx2x_clear_sge_mask_next_elems(struct bnx2x_fastpath *fp) argument 863 bnx2x_init_sge_ring_bit_mask(struct bnx2x_fastpath *fp) argument 880 bnx2x_reuse_rx_data(struct bnx2x_fastpath *fp, u16 cons, u16 prod) argument 967 bnx2x_free_rx_sge_range(struct bnx2x *bp, struct bnx2x_fastpath *fp, int last) argument 979 bnx2x_set_next_page_rx_bd(struct bnx2x_fastpath *fp) argument 999 bnx2x_stats_id(struct bnx2x_fastpath *fp) argument 1011 bnx2x_init_vlan_mac_fp_objs(struct bnx2x_fastpath *fp, bnx2x_obj_type obj_type) argument 1094 bnx2x_fp_qzone_id(struct bnx2x_fastpath *fp) argument 1102 bnx2x_init_txdata(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, u32 cid, int txq_index, __le16 *tx_cons_sb, struct bnx2x_fastpath *fp) argument [all...] |
/drivers/video/fbdev/geode/ |
H A D | video_gx.c | 183 unsigned long fp; local 194 fp = read_fp(par, FP_PM); 195 fp &= ~FP_PM_P; 196 write_fp(par, FP_PM, fp); 200 fp = read_fp(par, FP_PT1); 201 fp &= FP_PT1_VSIZE_MASK; 202 fp |= info->var.yres << FP_PT1_VSIZE_SHIFT; 203 write_fp(par, FP_PT1, fp); 208 fp = 0x0F100000; 213 fp | [all...] |
H A D | suspend_gx.c | 39 memcpy(par->fp, par->vid_regs + VP_FP_START, sizeof(par->fp)); 185 for (i = 0; i < ARRAY_SIZE(par->fp); i++) { 187 write_fp(par, i, par->fp[i]); 199 write_fp(par, FP_PM, par->fp[FP_PM] & ~FP_PM_P); 215 uint32_t fp; local 217 fp = read_fp(par, FP_PM); 218 if (par->fp[FP_PM] & FP_PM_P) { 220 if (!(fp & (FP_PM_PANEL_ON|FP_PM_PANEL_PWR_UP))) 221 write_fp(par, FP_PM, par->fp[FP_P [all...] |
/drivers/target/tcm_fc/ |
H A D | tfc_cmd.c | 91 struct fc_frame *fp; local 98 fp = cmd->req_frame; 99 lport = fr_dev(fp); 100 if (fr_seq(fp)) 101 lport->tt.seq_release(fr_seq(fp)); 102 fc_frame_free(fp); 126 struct fc_frame *fp; local 139 fp = fc_frame_alloc(lport, len); 140 if (!fp) { 145 fcp = fc_frame_payload_get(fp, le 204 struct fc_frame *fp; local 267 ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg) argument 307 struct fc_frame *fp; local 452 ft_recv_cmd(struct ft_sess *sess, struct fc_frame *fp) argument 491 ft_recv_req(struct ft_sess *sess, struct fc_frame *fp) argument [all...] |
H A D | tfc_io.c | 63 struct fc_frame *fp = NULL; local 132 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); 133 if (!fp) 135 to = fc_frame_payload_get(fp, 0); 144 fr_max_payload(fp) = cmd->sess->max_frame; 152 skb_fill_page_desc(fp_skb(fp), 153 skb_shinfo(fp_skb(fp))->nr_frags, 155 fr_len(fp) += tlen; 156 fp_skb(fp)->data_len += tlen; 157 fp_skb(fp) 215 ft_recv_write_data(struct ft_cmd *cmd, struct fc_frame *fp) argument [all...] |
/drivers/staging/speakup/ |
H A D | devsynth.c | 16 static ssize_t speakup_file_write(struct file *fp, const char __user *buffer, argument 40 static ssize_t speakup_file_read(struct file *fp, char __user *buf, argument 46 static int speakup_file_open(struct inode *ip, struct file *fp) argument 55 static int speakup_file_release(struct inode *ip, struct file *fp) argument
|
/drivers/hid/ |
H A D | hid-roccat-common.h | 43 ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, 46 ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, 51 static ssize_t roccat_common2_sysfs_write_ ## thingy(struct file *fp, \ 55 return roccat_common2_sysfs_write(fp, kobj, buf, off, count, \ 60 static ssize_t roccat_common2_sysfs_read_ ## thingy(struct file *fp, \ 64 return roccat_common2_sysfs_read(fp, kobj, buf, off, count, \
|
/drivers/acpi/acpica/ |
H A D | utfileio.c | 63 acpi_ut_read_table(FILE * fp, 134 * PARAMETERS: fp - File that contains table 145 acpi_ut_read_table(FILE * fp, argument 157 file_size = cm_get_file_size(fp); 168 fseek(fp, 0, SEEK_SET); 170 count = fread(&table_header, 1, sizeof(struct acpi_table_header), fp); 201 status = fl_check_for_ascii(fp, NULL, FALSE); 242 fseek(fp, 0, SEEK_SET); 243 actual = fread(*table, 1, (size_t) file_size, fp);
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.c | 113 uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0); 116 if (!bios->fp.xlated_entry || !sub || !scriptofs) 119 run_digital_op_script(dev, scriptofs, dcbent, head, bios->fp.dual_link); 123 mdelay(ROM16(bios->data[bios->fp.xlated_entry + 7])); 163 scriptptr = ROM16(bios->data[bios->fp.lvdsmanufacturerpointer + 7 + outputset * 2]); 167 scriptptr = ROM16(bios->data[bios->fp.lvdsmanufacturerpointer + 11 + outputset * 2]); 170 clktable = bios->fp.lvdsmanufacturerpointer + 15; 175 if (bios->fp.dual_link) 177 if (bios->fp [all...] |
/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_els.c | 18 static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp, 20 static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, 174 int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 183 fh = fc_frame_header_get(fp); 193 adisc = fc_frame_payload_get(fp, sizeof(*adisc)); 202 int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 211 fh = fc_frame_header_get(fp); 221 logo = fc_frame_payload_get(fp, sizeof(*logo)); 230 int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 239 fh = fc_frame_header_get(fp); 263 struct fc_frame *fp; local 381 struct fc_frame *fp; local 849 bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 880 bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 893 bnx2fc_elsct_send(struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, void (*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg, u32 timeout) argument [all...] |