/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...] |
/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 | 270 * @fp: The frame whose header is to be modified 276 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, argument 279 struct fc_frame_header *fh = fc_frame_header_get(fp); 282 fr_sof(fp) = ep->class; 284 fr_sof(fp) = fc_sof_normal(ep->class); 287 fr_eof(fp) = FC_EOF_T; 289 fr_eof(fp) = FC_EOF_N; 299 fill = fr_len(fp) & 3; 303 skb_put(fp_skb(fp), fill); 307 WARN_ON(fr_len(fp) 466 fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) argument 594 struct fc_frame *fp; local 799 fc_exch_alloc(struct fc_lport *lport, struct fc_frame *fp) argument 857 fc_exch_resp(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 905 fc_seq_lookup_recip(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1033 fc_seq_lookup_orig(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1092 fc_seq_els_rsp_send(struct fc_frame *fp, enum fc_els_cmd els_cmd, struct fc_seq_els_data *els_data) argument 1120 fc_seq_send_last(struct fc_seq *sp, struct fc_frame *fp, enum fc_rctl rctl, enum fc_fh_type fh_type) argument 1141 struct fc_frame *fp; local 1203 struct fc_frame *fp; local 1270 struct fc_frame *fp; local 1324 fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp) argument 1357 fc_exch_recv_req(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1421 fc_exch_recv_seq_resp(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1515 fc_exch_recv_resp(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1537 fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) argument 1618 fc_exch_recv_bls(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1684 struct fc_frame *fp; local 1711 struct fc_frame *fp; local 1855 struct fc_frame *fp; local 1921 fc_exch_rrq_resp(struct fc_seq *sp, struct fc_frame *fp, void *arg) argument 1977 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 2049 struct fc_frame *fp; local 2094 fc_exch_els_rrq(struct fc_frame *fp) argument 2377 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 939 struct fc_frame *fp; local 973 fc_rport_prli_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument 1076 struct fc_frame *fp; local 1130 fc_rport_rtv_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument 1193 struct fc_frame *fp; local 1221 fc_rport_logo_resp(struct fc_seq *sp, struct fc_frame *fp, void *lport_arg) argument 1243 struct fc_frame *fp; local 1265 fc_rport_adisc_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument 1323 struct fc_frame *fp; local 1354 struct fc_frame *fp; local 1393 struct fc_frame *fp; local 1455 fc_rport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) argument 1523 fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument 1572 struct fc_frame *fp = rx_fp; local 1688 struct fc_frame *fp; local 1807 struct fc_frame *fp; local 1874 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); 398 * @fp: The RLIR request frame 403 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) argument 408 lport->tt.seq_els_rsp_send(fp, ELS_LS_ACC, NULL); 409 fc_frame_free(fp); 415 * @fp: ECHO request frame 423 struct fc_frame *fp; local 437 fp 459 struct fc_frame *fp; local 515 fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) argument 744 fc_lport_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument 803 struct fc_frame *fp; local 879 fc_lport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) argument 946 fc_lport_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument 1078 fc_lport_error(struct fc_lport *lport, struct fc_frame *fp) argument 1116 fc_lport_ns_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument 1192 fc_lport_ms_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument 1270 fc_lport_scr_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument 1317 struct fc_frame *fp; local 1345 struct fc_frame *fp; local 1445 struct fc_frame *fp; local 1616 fc_lport_logo_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument 1664 struct fc_frame *fp; local 1695 fc_lport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument 1805 struct fc_frame *fp; local 1893 fc_lport_bsg_resp(struct fc_seq *sp, struct fc_frame *fp, void *info_arg) argument 1964 struct fc_frame *fp; local 2024 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 | 417 struct fc_frame *fp; local 419 fp = fc_frame_alloc(lport, len); 420 if (likely(fp)) 421 return fp; 431 * @fp: The data frame 433 static void fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 449 fh = fc_frame_header_get(fp); 452 len = fr_len(fp) - sizeof(*fh); 453 buf = fc_frame_payload_get(fp, 0); 470 if ((fr_flags(fp) 557 struct fc_frame *fp = NULL; local 698 fc_fcp_abts_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 742 fc_fcp_recv(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 812 fc_fcp_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 1113 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 1118 struct fc_frame *fp; local 1167 fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 1306 fc_tm_done(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 1393 struct fc_frame *fp; local 1439 fc_fcp_rec_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 1578 fc_fcp_rec_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument 1646 struct fc_frame *fp; local 1694 fc_fcp_srr_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 1741 fc_fcp_srr_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument [all...] |
/drivers/net/phy/ |
H A D | fixed.c | 47 static int fixed_phy_update_regs(struct fixed_phy *fp) argument 54 if (fp->status.duplex) { 57 switch (fp->status.speed) { 77 switch (fp->status.speed) { 98 if (fp->status.link) 101 if (fp->status.pause) 104 if (fp->status.asym_pause) 107 fp->regs[MII_PHYSID1] = fp->id >> 16; 108 fp 121 struct fixed_phy *fp; local 157 struct fixed_phy *fp; local 179 struct fixed_phy *fp; local 249 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 494 struct bbc_fan_control *fp; local 543 destroy_one_fan(struct bbc_fan_control *fp) argument 551 struct bbc_fan_control *fp, *fpos; local [all...] |
/drivers/usb/gadget/ |
H A D | f_phonet.c | 203 struct f_phonet *fp = ep->driver_data; local 204 struct net_device *dev = fp->dev; 227 struct f_phonet *fp; local 235 fp = port->usb; 236 if (unlikely(!fp)) /* race with carrier loss */ 239 req = fp->in_req; 246 if (unlikely(usb_ep_queue(fp->in_ep, req, GFP_ATOMIC))) 299 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) argument 312 err = usb_ep_queue(fp->out_ep, req, gfp_flags); 320 struct f_phonet *fp local 385 struct f_phonet *fp = func_to_pn(f); local 402 struct f_phonet *fp = func_to_pn(f); local 449 struct f_phonet *fp = func_to_pn(f); local 469 struct f_phonet *fp = func_to_pn(f); local 486 struct f_phonet *fp = func_to_pn(f); local 562 struct f_phonet *fp = func_to_pn(f); local 581 struct f_phonet *fp; local [all...] |
/drivers/net/fddi/skfp/ |
H A D | fplustm.c | 177 smc->hw.fp.fifo.rbc_ram_start = 0 ; 178 smc->hw.fp.fifo.rbc_ram_end = 179 smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ; 181 MARW(smc->hw.fp.fifo.rbc_ram_start) ; 182 for (i = smc->hw.fp.fifo.rbc_ram_start; 183 i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++) 197 outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* RPR1 */ 198 outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* SWPR1 */ 199 outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* WPR1 */ 200 outpw(FM_A(FM_EARV1),smc->hw.fp [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.h | 112 * @fp: pointer to the fastpath structure 116 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp, 393 * @fp: fastpath handle for the event 396 void bnx2x_sp_event(struct bnx2x_fastpath *fp, union eth_rx_cqe *rr_cqe); 458 int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget); 460 void bnx2x_update_rx_prod(struct bnx2x *bp, struct bnx2x_fastpath *fp, 554 static inline void bnx2x_update_fpsb_idx(struct bnx2x_fastpath *fp) argument 557 fp->fp_hc_idx = fp->sb_running_index[SM_RX_ID]; 561 struct bnx2x_fastpath *fp, u1 560 bnx2x_update_rx_prod_gen(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 bd_prod, u16 rx_comp_prod, u16 rx_sge_prod, u32 start) argument 772 bnx2x_has_tx_work(struct bnx2x_fastpath *fp) argument 781 bnx2x_has_rx_work(struct bnx2x_fastpath *fp) argument 804 bnx2x_free_rx_sge(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 index) argument 860 bnx2x_clear_sge_mask_next_elems(struct bnx2x_fastpath *fp) argument 874 bnx2x_init_sge_ring_bit_mask(struct bnx2x_fastpath *fp) argument 886 bnx2x_alloc_rx_sge(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 index) argument 916 bnx2x_alloc_rx_data(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 index) argument 951 bnx2x_reuse_rx_data(struct bnx2x_fastpath *fp, u16 cons, u16 prod) argument 1018 bnx2x_free_rx_sge_range(struct bnx2x *bp, struct bnx2x_fastpath *fp, int last) argument 1030 bnx2x_free_tpa_pool(struct bnx2x *bp, struct bnx2x_fastpath *fp, int last) argument 1090 bnx2x_set_next_page_rx_bd(struct bnx2x_fastpath *fp) argument 1107 bnx2x_set_next_page_sgl(struct bnx2x_fastpath *fp) argument 1125 bnx2x_set_next_page_rx_cq(struct bnx2x_fastpath *fp) argument 1143 bnx2x_alloc_rx_bds(struct bnx2x_fastpath *fp, int rx_ring_size) argument 1184 bnx2x_stats_id(struct bnx2x_fastpath *fp) argument 1198 bnx2x_init_vlan_mac_fp_objs(struct bnx2x_fastpath *fp, bnx2x_obj_type obj_type) argument 1278 bnx2x_fp_qzone_id(struct bnx2x_fastpath *fp) argument 1286 bnx2x_rx_ustorm_prods_offset(struct bnx2x_fastpath *fp) argument 1330 struct bnx2x_fastpath *fp = bnx2x_fcoe_fp(bp); local 1533 struct bnx2x_fastpath *fp = &bp->fp[index]; local [all...] |
H A D | bnx2x_cmn.c | 41 * Makes sure the contents of the bp->fp[to].napi is kept 48 struct bnx2x_fastpath *from_fp = &bp->fp[from]; 49 struct bnx2x_fastpath *to_fp = &bp->fp[to]; 78 DP(NETIF_MSG_TX_DONE, "fp[%d]: pkt_idx %d buff @(%p)->skb %p\n", 202 static inline void bnx2x_update_last_max_sge(struct bnx2x_fastpath *fp, argument 205 u16 last_max = fp->last_max_sge; 208 fp->last_max_sge = idx; 211 static inline void bnx2x_update_sge_prod(struct bnx2x_fastpath *fp, argument 215 struct bnx2x *bp = fp->bp; 225 BIT_VEC64_CLEAR_BIT(fp 277 bnx2x_tpa_start(struct bnx2x_fastpath *fp, u16 queue, u16 cons, u16 prod, struct eth_fast_path_rx_cqe *cqe) argument 399 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 497 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 571 bnx2x_csum_validate(struct sk_buff *skb, union eth_rx_cqe *cqe, struct bnx2x_fastpath *fp) argument 591 bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget) argument 824 struct bnx2x_fastpath *fp = fp_cookie; local 1026 struct bnx2x_fastpath *fp = &bp->fp[j]; local 1084 struct bnx2x_fastpath *fp = &bp->fp[j]; local 1116 struct bnx2x_fastpath *fp = &bp->fp[i]; local 1135 bnx2x_free_rx_bds(struct bnx2x_fastpath *fp) argument 1164 struct bnx2x_fastpath *fp = &bp->fp[j]; local 1318 struct bnx2x_fastpath *fp = &bp->fp[i]; local 1538 struct bnx2x_fastpath *fp = &bp->fp[i]; local 2279 struct bnx2x_fastpath *fp = container_of(napi, struct bnx2x_fastpath, local 2670 struct bnx2x_fastpath *fp; local 3124 struct bnx2x_fastpath *fp = &bp->fp[fp_index]; local 3216 struct bnx2x_fastpath *fp = &bp->fp[index]; local 3401 struct bnx2x_fastpath *fp; local [all...] |
/drivers/target/tcm_fc/ |
H A D | tfc_cmd.c | 85 struct fc_frame *fp; local 90 fp = cmd->req_frame; 91 lport = fr_dev(fp); 92 if (fr_seq(fp)) 93 lport->tt.seq_release(fr_seq(fp)); 94 fc_frame_free(fp); 118 struct fc_frame *fp; local 130 fp = fc_frame_alloc(lport, len); 131 if (!fp) { 135 fcp = fc_frame_payload_get(fp, le 183 struct fc_frame *fp; local 254 ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg) argument 294 struct fc_frame *fp; local 438 ft_recv_cmd(struct ft_sess *sess, struct fc_frame *fp) argument 470 ft_recv_req(struct ft_sess *sess, struct fc_frame *fp) argument [all...] |
H A D | tfc_io.c | 64 struct fc_frame *fp = NULL; local 122 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); 123 if (!fp) 125 to = fc_frame_payload_get(fp, 0); 134 fr_max_payload(fp) = cmd->sess->max_frame; 142 skb_fill_page_desc(fp_skb(fp), 143 skb_shinfo(fp_skb(fp))->nr_frags, 145 fr_len(fp) += tlen; 146 fp_skb(fp)->data_len += tlen; 147 fp_skb(fp) 189 ft_recv_write_data(struct ft_cmd *cmd, struct fc_frame *fp) argument [all...] |
/drivers/video/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/staging/speakup/ |
H A D | devsynth.c | 16 static ssize_t speakup_file_write(struct file *fp, const char *buffer, argument 40 static ssize_t speakup_file_read(struct file *fp, char *buf, size_t nbytes, 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/scsi/fnic/ |
H A D | fnic_fcs.c | 103 struct fc_frame *fp; local 113 fp = (struct fc_frame *)skb; 127 fc_exch_recv(lp, fp); 138 struct fc_frame *fp; local 166 fp = (struct fc_frame *)skb; 167 fc_frame_init(fp); 168 fr_sof(fp) = fcoe_hdr->fcoe_sof; 173 fr_eof(fp) = ft->fcoe_eof; 223 * @fp: received frame containing the FLOGI accept or NULL. 231 * If the FC_ID is due to point-to-point, fp ma 233 fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument 296 struct fc_frame *fp; local 453 struct fc_frame *fp = buf->os_buf; local 505 fnic_send_frame(struct fnic *fnic, struct fc_frame *fp) argument 580 fnic_send(struct fc_lport *lp, struct fc_frame *fp) argument 618 struct fc_frame *fp; local 669 struct fc_frame *fp = (struct fc_frame *)skb; local 712 struct fc_frame *fp = buf->os_buf; local [all...] |
/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_els.c | 17 static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp, 19 static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, 173 int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 182 fh = fc_frame_header_get(fp); 192 adisc = fc_frame_payload_get(fp, sizeof(*adisc)); 201 int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 210 fh = fc_frame_header_get(fp); 220 logo = fc_frame_payload_get(fp, sizeof(*logo)); 229 int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 238 fh = fc_frame_header_get(fp); 262 struct fc_frame *fp; local 380 struct fc_frame *fp; local 850 bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 891 bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 904 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...] |
/drivers/net/fddi/skfp/h/ |
H A D | hwmtm.h | 243 #define HWM_GET_TX_USED(smc,queue) (int) (smc)->hw.fp.tx_q[queue].tx_used 262 (smc)->hw.fp.tx_q[queue].tx_curr_put 312 #define HWM_GET_RX_USED(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_used) 326 #define HWM_GET_RX_FREE(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_free-1) 342 (smc)->hw.fp.rx_q[QUEUE_R1].rx_curr_put 360 if ((low_water) >= (smc)->hw.fp.rx_q[QUEUE_R1].rx_used) {\
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_diag.c | 57 static int ipath_diag_open(struct inode *in, struct file *fp); 58 static int ipath_diag_release(struct inode *in, struct file *fp); 59 static ssize_t ipath_diag_read(struct file *fp, char __user *data, 61 static ssize_t ipath_diag_write(struct file *fp, const char __user *data, 73 static ssize_t ipath_diagpkt_write(struct file *fp, 281 static int ipath_diag_open(struct inode *in, struct file *fp) argument 302 fp->private_data = dd; 319 * @fp: the diag data device file pointer 324 static ssize_t ipath_diagpkt_write(struct file *fp, argument 491 static int ipath_diag_release(struct inode *in, struct file *fp) argument 500 ipath_diag_read(struct file *fp, char __user *data, size_t count, loff_t *off) argument 532 ipath_diag_write(struct file *fp, const char __user *data, size_t count, loff_t *off) argument [all...] |
/drivers/scsi/fcoe/ |
H A D | fcoe.c | 801 * @fp: The I/O frame 817 static bool fcoe_oem_match(struct fc_frame *fp) argument 819 struct fc_frame_header *fh = fc_frame_header_get(fp); 822 if (fc_fcp_is_read(fr_fsp(fp)) && 823 (fr_fsp(fp)->data_len > fcoe_ddp_min)) 825 else if ((fr_fsp(fp) == NULL) && 828 fcp = fc_frame_payload_get(fp, sizeof(*fcp)); 1509 * @fp: The frame to be transmitted 1513 static int fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp) argument 1530 WARN_ON((fr_len(fp) 1657 fcoe_filter_frames(struct fc_lport *lport, struct fc_frame *fp) argument 1712 struct fc_frame *fp; local 2500 fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 2529 fcoe_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 2548 fcoe_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 2681 struct fc_frame *fp; local 2726 fcoe_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument [all...] |