/drivers/scsi/libfc/ |
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_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_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...] |
/drivers/video/geode/ |
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...] |
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...] |
/drivers/platform/x86/ |
H A D | intel_scu_ipcutil.c | 72 * @fp: file handle of the SCU device 78 static long scu_ipc_ioctl(struct file *fp, unsigned int cmd, argument
|
/drivers/ptp/ |
H A D | ptp_chardev.c | 98 unsigned int ptp_poll(struct posix_clock *pc, struct file *fp, poll_table *wait) argument 102 poll_wait(fp, &ptp->tsev_wq, wait);
|
/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
|
H A D | speakup_soft.c | 177 static int softsynth_open(struct inode *inode, struct file *fp) argument 180 /*if ((fp->f_flags & O_ACCMODE) != O_RDONLY) */ 192 static int softsynth_close(struct inode *inode, struct file *fp) argument 204 static ssize_t softsynth_read(struct file *fp, char *buf, size_t count, argument 221 if (fp->f_flags & O_NONBLOCK) { 271 static ssize_t softsynth_write(struct file *fp, const char *buf, size_t count, argument 286 static unsigned int softsynth_poll(struct file *fp, argument 291 poll_wait(fp, &speakup_event, wait);
|
/drivers/target/tcm_fc/ |
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/tty/ |
H A D | n_tracerouter.c | 165 * @fp: flag buffer. 173 char *fp, int count) 171 n_tracerouter_receivebuf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument
|
/drivers/input/serio/ |
H A D | serport.c | 123 static void serport_ldisc_receive(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument 136 switch (fp[i]) {
|
/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/staging/iio/Documentation/ |
H A D | generic_buffer.c | 137 int fp; local 271 fp = open(buffer_access, O_RDONLY | O_NONBLOCK); 272 if (fp == -1) { /*If it isn't there make the node */ 282 .fd = fp, 294 read_size = read(fp, 317 close(fp);
|
/drivers/char/ |
H A D | toshiba.c | 257 static long tosh_ioctl(struct file *fp, unsigned int cmd, unsigned long arg) argument
|
/drivers/hid/ |
H A D | hid-roccat-arvo.c | 183 static ssize_t arvo_sysfs_write(struct file *fp, argument 203 static ssize_t arvo_sysfs_read(struct file *fp, argument 226 static ssize_t arvo_sysfs_write_button(struct file *fp, argument 230 return arvo_sysfs_write(fp, kobj, buf, off, count, 234 static ssize_t arvo_sysfs_read_info(struct file *fp, argument 238 return arvo_sysfs_read(fp, kobj, buf, off, count,
|
H A D | hid-roccat-isku.c | 163 static ssize_t isku_sysfs_read(struct file *fp, struct kobject *kobj, argument 186 static ssize_t isku_sysfs_write(struct file *fp, struct kobject *kobj, argument 207 static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \ 211 return isku_sysfs_write(fp, kobj, buf, off, count, \ 216 static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \ 220 return isku_sysfs_read(fp, kobj, buf, off, count, \
|
/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/net/can/ |
H A D | slcan.c | 406 const unsigned char *cp, char *fp, int count) 415 if (fp && *fp++) { 405 slcan_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument
|
/drivers/net/fddi/skfp/h/ |
H A D | targethw.h | 130 struct s_smt_fp fp ; /* formac+ */ member in struct:s_smt_hw
|
/drivers/net/irda/ |
H A D | irtty-sir.c | 220 char *fp, int count) 242 if (fp && *fp++) { 219 irtty_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument
|
/drivers/net/wan/ |
H A D | x25_asy.c | 519 const unsigned char *cp, char *fp, int count) 529 if (fp && *fp++) { 518 x25_asy_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument
|
/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/ |
H A D | mac53c94.c | 515 struct fsc_state *fp = (struct fsc_state *)macio_get_drvdata(mdev); local 516 struct Scsi_Host *host = fp->host; 520 free_irq(fp->intr, fp); 522 if (fp->regs) 523 iounmap(fp->regs); 524 if (fp->dma) 525 iounmap(fp->dma); 526 kfree(fp->dma_cmd_space);
|