/drivers/media/usb/au0828/ |
H A D | au0828-vbi.c | 38 free_buffer(struct videobuf_queue *vq, struct au0828_buffer *buf) argument 56 if (dev->isoc_ctl.vbi_buf == buf) 60 videobuf_vmalloc_free(&buf->vb); 61 buf->vb.state = VIDEOBUF_NEEDS_INIT; 87 struct au0828_buffer *buf = container_of(vb, struct au0828_buffer, vb); local 90 buf->vb.size = dev->vbi_width * dev->vbi_height * 2; 92 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) 95 buf 116 struct au0828_buffer *buf = container_of(vb, local 129 struct au0828_buffer *buf = container_of(vb, struct au0828_buffer, vb); local [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_debug.c | 24 char buf[512]; local 40 len += scnprintf(buf + len, sizeof(buf) - len, 44 len += scnprintf(buf + len, sizeof(buf) - len, 48 len += scnprintf(buf + len, sizeof(buf) - len, 52 len += scnprintf(buf + len, sizeof(buf) - len, 56 len += scnprintf(buf 82 char buf[512]; local 152 char buf[512]; local 197 char buf[512]; local 255 char *buf; local 293 char buf[512]; local 328 char buf[512]; local 376 char buf[32]; local 389 char buf[32]; local [all...] |
/drivers/target/ |
H A D | target_core_spc.c | 40 static void spc_fill_alua_data(struct se_port *port, unsigned char *buf) argument 48 buf[5] = 0x80; 65 buf[5] |= tg_pt_gp->tg_pt_gp_alua_access_type; 70 spc_emulate_inquiry_std(struct se_cmd *cmd, unsigned char *buf) argument 78 buf[1] = 0x80; 80 buf[2] = 0x05; /* SPC-3 */ 92 buf[3] = 2; 97 spc_fill_alua_data(lun->lun_sep, buf); 103 buf[5] |= 0x8; 110 buf[ 129 spc_emulate_evpd_80(struct se_cmd *cmd, unsigned char *buf) argument 142 spc_parse_naa_6h_vendor_specific(struct se_device *dev, unsigned char *buf) argument 178 spc_emulate_evpd_83(struct se_cmd *cmd, unsigned char *buf) argument 472 spc_emulate_evpd_86(struct se_cmd *cmd, unsigned char *buf) argument 505 spc_emulate_evpd_b0(struct se_cmd *cmd, unsigned char *buf) argument 595 spc_emulate_evpd_b1(struct se_cmd *cmd, unsigned char *buf) argument 608 spc_emulate_evpd_b2(struct se_cmd *cmd, unsigned char *buf) argument 660 spc_emulate_evpd_b3(struct se_cmd *cmd, unsigned char *buf) argument 691 spc_emulate_evpd_00(struct se_cmd *cmd, unsigned char *buf) argument 716 unsigned char *buf; local 935 spc_modesense_write_protect(unsigned char *buf, int type) argument 950 spc_modesense_dpofua(unsigned char *buf, int type) argument 961 spc_modesense_blockdesc(unsigned char *buf, u64 blocks, u32 block_size) argument 970 spc_modesense_long_blockdesc(unsigned char *buf, u64 blocks, u32 block_size) argument 989 unsigned char buf[SE_MODE_PAGE_BUF], *rbuf; local 1115 unsigned char *buf; local 1174 unsigned char buf[SE_SENSE_BUF]; local 1226 unsigned char *buf; local [all...] |
/drivers/media/tuners/ |
H A D | mt20xx.c | 104 unsigned char *buf, 163 buf[0]=lo1n-1; 164 buf[1]=lo1a | (sel<<4); 165 buf[2]=0x86; // LOGC 166 buf[3]=0x0f; //reserved 167 buf[4]=0x1f; 168 buf[5]=(lo2n-1) | (lo2a<<5); 170 buf[6]=0xe4; 172 buf[6]=0xf4; // set PKEN per rev 1.2 173 buf[ 99 mt2032_compute_freq(struct dvb_frontend *fe, unsigned int rfin, unsigned int if1, unsigned int if2, unsigned int spectrum_from, unsigned int spectrum_to, unsigned char *buf, int *ret_sel, unsigned int xogc) argument 187 unsigned char buf[2]; local 208 unsigned char buf[2]; local 246 unsigned char buf[21]; local 376 unsigned char buf[21]; local 432 unsigned char buf[2]; local 446 unsigned char buf[6]; local 575 unsigned char buf[2]; local 602 unsigned char buf[21]; local [all...] |
H A D | tda9887.c | 270 static void dump_read_message(struct dvb_frontend *fe, unsigned char *buf) argument 292 tuner_info("read: 0x%2x\n", buf[0]); 293 tuner_info(" after power on : %s\n", (buf[0] & 0x01) ? "yes" : "no"); 294 tuner_info(" afc : %s\n", afc[(buf[0] >> 1) & 0x0f]); 295 tuner_info(" fmif level : %s\n", (buf[0] & 0x20) ? "high" : "low"); 296 tuner_info(" afc window : %s\n", (buf[0] & 0x40) ? "in" : "out"); 297 tuner_info(" vfi level : %s\n", (buf[0] & 0x80) ? "high" : "low"); 300 static void dump_write_message(struct dvb_frontend *fe, unsigned char *buf) argument 342 tuner_info("write: byte B 0x%02x\n", buf[1]); 344 (buf[ 404 char *buf = priv->data; local 445 char *buf = priv->data; local 477 char *buf = priv->data; local 536 unsigned char buf[1]; local [all...] |
/drivers/net/wireless/cw1200/ |
H A D | wsm.c | 30 #define WSM_SKIP(buf, size) \ 32 if ((buf)->data + size > (buf)->end) \ 34 (buf)->data += size; \ 37 #define WSM_GET(buf, ptr, size) \ 39 if ((buf)->data + size > (buf)->end) \ 41 memcpy(ptr, (buf)->data, size); \ 42 (buf)->data += size; \ 45 #define __WSM_GET(buf, typ 94 wsm_generic_confirm(struct cw1200_common *priv, void *arg, struct wsm_buf *buf) argument 111 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 137 wsm_configuration_confirm(struct cw1200_common *priv, struct wsm_configuration *arg, struct wsm_buf *buf) argument 169 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 188 void *buf; member in struct:wsm_mib 196 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 217 wsm_read_mib_confirm(struct cw1200_common *priv, struct wsm_mib *arg, struct wsm_buf *buf) argument 247 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 270 wsm_write_mib_confirm(struct cw1200_common *priv, struct wsm_mib *arg, struct wsm_buf *buf) argument 294 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 346 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 355 wsm_tx_confirm(struct cw1200_common *priv, struct wsm_buf *buf, int link_id) argument 377 wsm_multi_tx_confirm(struct cw1200_common *priv, struct wsm_buf *buf, int link_id) argument 412 wsm_join_confirm(struct cw1200_common *priv, struct wsm_join_cnf *arg, struct wsm_buf *buf) argument 433 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 472 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 497 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 519 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 544 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 573 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 620 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 648 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 674 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 708 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 730 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 743 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 756 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 780 struct wsm_buf *buf = &priv->wsm_cmd_buf; local 815 wsm_startup_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument 865 wsm_receive_indication(struct cw1200_common *priv, int link_id, struct wsm_buf *buf, struct sk_buff **skb_p) argument 920 wsm_event_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument 955 wsm_channel_switch_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument 971 wsm_set_pm_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument 982 wsm_scan_started(struct cw1200_common *priv, void *arg, struct wsm_buf *buf) argument 997 wsm_scan_complete_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument 1012 wsm_join_complete_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument 1026 wsm_find_complete_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument 1033 wsm_ba_timeout_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument 1055 wsm_suspend_resume_indication(struct cw1200_common *priv, int link_id, struct wsm_buf *buf) argument 1079 wsm_cmd_send(struct cw1200_common *priv, struct wsm_buf *buf, void *arg, u16 cmd, long tmo) argument 1248 struct wsm_buf buf; local 1782 wsm_buf_init(struct wsm_buf *buf) argument 1790 wsm_buf_deinit(struct wsm_buf *buf) argument 1796 wsm_buf_reset(struct wsm_buf *buf) argument 1806 wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size) argument [all...] |
/drivers/tty/ |
H A D | tty_buffer.c | 58 struct tty_bufhead *buf = &port->buf; local 60 atomic_inc(&buf->priority); 61 mutex_lock(&buf->lock); 67 struct tty_bufhead *buf = &port->buf; local 70 restart = buf->head->commit != buf->head->read; 72 atomic_dec(&buf->priority); 73 mutex_unlock(&buf 118 struct tty_bufhead *buf = &port->buf; local 191 struct tty_bufhead *buf = &port->buf; local 215 struct tty_bufhead *buf = &port->buf; local 246 struct tty_bufhead *buf = &port->buf; local 364 struct tty_bufhead *buf = &port->buf; local 437 struct tty_bufhead *buf = &port->buf; local 525 struct tty_bufhead *buf = &port->buf; local [all...] |
/drivers/pnp/ |
H A D | support.c | 106 char buf[128]; local 114 len += scnprintf(buf + len, sizeof(buf) - len, 119 len += scnprintf(buf + len, sizeof(buf) - len, 125 len += scnprintf(buf + len, sizeof(buf) - len, "io min %#llx " 134 len += scnprintf(buf + len, sizeof(buf) - len, "mem min %#llx " 143 len += scnprintf(buf [all...] |
/drivers/staging/lustre/lustre/libcfs/ |
H A D | prng.c | 105 * @buf : buffer to fill with random numbers 110 void cfs_get_random_bytes(void *buf, int size) argument 112 int *p = buf; 117 rem = min((int)((unsigned long)buf & (sizeof(int) - 1)), size); 121 memcpy(buf, &tmp, rem); 122 p = buf + rem; 132 buf = p; 136 memcpy(buf, &tmp, size);
|
/drivers/staging/lustre/lustre/include/ |
H A D | lustre_disk.h | 378 static inline void lsd_le_to_cpu(struct lr_server_data *buf, argument 382 memcpy(lsd->lsd_uuid, buf->lsd_uuid, sizeof(lsd->lsd_uuid)); 383 lsd->lsd_last_transno = le64_to_cpu(buf->lsd_last_transno); 384 lsd->lsd_compat14 = le64_to_cpu(buf->lsd_compat14); 385 lsd->lsd_mount_count = le64_to_cpu(buf->lsd_mount_count); 386 lsd->lsd_feature_compat = le32_to_cpu(buf->lsd_feature_compat); 387 lsd->lsd_feature_rocompat = le32_to_cpu(buf->lsd_feature_rocompat); 388 lsd->lsd_feature_incompat = le32_to_cpu(buf->lsd_feature_incompat); 389 lsd->lsd_server_size = le32_to_cpu(buf->lsd_server_size); 390 lsd->lsd_client_start = le32_to_cpu(buf 405 lsd_cpu_to_le(struct lr_server_data *lsd, struct lr_server_data *buf) argument 432 lcd_le_to_cpu(struct lsd_client_data *buf, struct lsd_client_data *lcd) argument 452 lcd_cpu_to_le(struct lsd_client_data *lcd, struct lsd_client_data *buf) argument [all...] |
/drivers/staging/ozwpan/ |
H A D | ozeltbuf.c | 16 void oz_elt_buf_init(struct oz_elt_buf *buf) argument 18 memset(buf, 0, sizeof(struct oz_elt_buf)); 19 INIT_LIST_HEAD(&buf->stream_list); 20 INIT_LIST_HEAD(&buf->order_list); 21 INIT_LIST_HEAD(&buf->isoc_list); 22 spin_lock_init(&buf->lock); 28 void oz_elt_buf_term(struct oz_elt_buf *buf) argument 32 list_for_each_entry_safe(ei, n, &buf->isoc_list, link_order) 34 list_for_each_entry_safe(ei, n, &buf->order_list, link_order) 41 struct oz_elt_info *oz_elt_info_alloc(struct oz_elt_buf *buf) argument 57 oz_elt_info_free(struct oz_elt_buf *buf, struct oz_elt_info *ei) argument 66 oz_elt_info_free_chain(struct oz_elt_buf *buf, struct list_head *list) argument 76 oz_elt_stream_create(struct oz_elt_buf *buf, u8 id, int max_buf_count) argument 95 oz_elt_stream_delete(struct oz_elt_buf *buf, u8 id) argument 148 oz_queue_elt_info(struct oz_elt_buf *buf, u8 isoc, u8 id, struct oz_elt_info *ei) argument 208 oz_select_elts_for_tx(struct oz_elt_buf *buf, u8 isoc, unsigned *len, unsigned max_len, struct list_head *list) argument 249 oz_are_elts_available(struct oz_elt_buf *buf) argument [all...] |
H A D | ozeltbuf.h | 49 void oz_elt_buf_init(struct oz_elt_buf *buf); 50 void oz_elt_buf_term(struct oz_elt_buf *buf); 51 struct oz_elt_info *oz_elt_info_alloc(struct oz_elt_buf *buf); 52 void oz_elt_info_free(struct oz_elt_buf *buf, struct oz_elt_info *ei); 53 void oz_elt_info_free_chain(struct oz_elt_buf *buf, struct list_head *list); 54 int oz_elt_stream_create(struct oz_elt_buf *buf, u8 id, int max_buf_count); 55 int oz_elt_stream_delete(struct oz_elt_buf *buf, u8 id); 58 int oz_queue_elt_info(struct oz_elt_buf *buf, u8 isoc, u8 id, 60 int oz_select_elts_for_tx(struct oz_elt_buf *buf, u8 isoc, unsigned *len, 62 int oz_are_elts_available(struct oz_elt_buf *buf); [all...] |
/drivers/rtc/ |
H A D | rtc-ds1347.c | 49 unsigned char buf[2]; local 51 buf[0] = address & 0x7F; 52 buf[1] = data; 54 return spi_write_then_read(spi, buf, 2, NULL, 0); 61 unsigned char buf[8]; local 63 buf[0] = DS1347_CLOCK_BURST | 0x80; 65 err = spi_write_then_read(spi, buf, 1, buf, 8); 69 dt->tm_sec = bcd2bin(buf[0]); 70 dt->tm_min = bcd2bin(buf[ 83 unsigned char buf[9]; local [all...] |
H A D | rtc-88pm860x.c | 112 unsigned char buf[8]; local 115 pm860x_page_bulk_read(info->i2c, REG0_ADDR, 8, buf); 116 dev_dbg(info->dev, "%x-%x-%x-%x-%x-%x-%x-%x\n", buf[0], buf[1], 117 buf[2], buf[3], buf[4], buf[5], buf[6], buf[ 135 unsigned char buf[4]; local 166 unsigned char buf[8]; local 193 unsigned char buf[8]; local 245 unsigned char buf[2]; local [all...] |
H A D | rtc-pcf85063.c | 49 unsigned char buf[13] = { PCF85063_REG_CTRL1 }; local 54 .buf = buf 60 .buf = buf 70 tm->tm_sec = bcd2bin(buf[PCF85063_REG_SC] & 0x7F); 71 tm->tm_min = bcd2bin(buf[PCF85063_REG_MN] & 0x7F); 72 tm->tm_hour = bcd2bin(buf[PCF85063_REG_HR] & 0x3F); /* rtc hr 0-23 */ 73 tm->tm_mday = bcd2bin(buf[PCF85063_REG_DM] & 0x3F); 74 tm->tm_wday = buf[PCF85063_REG_D 95 unsigned char buf[11]; local [all...] |
H A D | rtc-isl12022.c | 63 .buf = data 69 .buf = data 111 uint8_t buf[ISL12022_REG_INT + 1]; local 114 ret = isl12022_read_regs(client, ISL12022_REG_SC, buf, sizeof(buf)); 118 if (buf[ISL12022_REG_SR] & (ISL12022_SR_LBAT85 | ISL12022_SR_LBAT75)) { 122 buf[ISL12022_REG_SR] & ISL12022_SR_LBAT85 ? 85 : 75); 130 buf[ISL12022_REG_SC], 131 buf[ISL12022_REG_MN], 132 buf[ISL12022_REG_H 167 uint8_t buf[ISL12022_REG_DW + 1]; local [all...] |
H A D | rtc-s35390a.c | 62 static int s35390a_set_reg(struct s35390a *s35390a, int reg, char *buf, int len) argument 69 .buf = buf 79 static int s35390a_get_reg(struct s35390a *s35390a, int reg, char *buf, int len) argument 87 .buf = buf 99 char buf[1]; local 101 if (s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, buf, sizeof(buf)) < 0) 104 if (!(buf[ 114 char buf[1]; local 155 char buf[7]; local 182 char buf[7]; local 212 char buf[3], sts = 0; local 265 char buf[3], sts; local 334 char buf[1]; local [all...] |
H A D | rtc-ds1672.c | 37 unsigned char buf[4]; local 43 .buf = &addr 49 .buf = buf 61 __func__, buf[0], buf[1], buf[2], buf[3]); 63 time = (buf[3] << 24) | (buf[ 78 unsigned char buf[6]; local 134 show_control(struct device *dev, struct device_attribute *attr, char *buf) argument [all...] |
H A D | rtc-pcf8583.c | 54 unsigned char buf[8], addr[1] = { 1 }; local 60 .buf = addr, 65 .buf = buf, 70 memset(buf, 0, sizeof(buf)); 74 dt->tm_year = buf[4] >> 6; 75 dt->tm_wday = buf[5] >> 5; 77 buf[4] &= 0x3f; 78 buf[ 92 unsigned char buf[8]; local 126 unsigned char buf[2]; local 162 unsigned char buf[9]; local [all...] |
/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-debugifc.c | 32 static unsigned int debugifc_count_whitespace(const char *buf, argument 39 ch = buf[scnt]; 49 static unsigned int debugifc_count_nonwhitespace(const char *buf, argument 56 ch = buf[scnt]; 65 static unsigned int debugifc_isolate_word(const char *buf,unsigned int count, argument 76 scnt = debugifc_count_whitespace(buf,count); 77 consume_cnt += scnt; count -= scnt; buf += scnt; 80 scnt = debugifc_count_nonwhitespace(buf,count); 82 wptr = buf; 84 consume_cnt += scnt; count -= scnt; buf 93 debugifc_parse_unsigned_number(const char *buf,unsigned int count, u32 *num_ptr) argument 119 debugifc_match_keyword(const char *buf,unsigned int count, const char *keyword) argument 130 pvr2_debugifc_print_info(struct pvr2_hdw *hdw,char *buf,unsigned int acnt) argument 146 pvr2_debugifc_print_status(struct pvr2_hdw *hdw, char *buf,unsigned int acnt) argument 195 pvr2_debugifc_do1cmd(struct pvr2_hdw *hdw,const char *buf, unsigned int count) argument 305 pvr2_debugifc_docmd(struct pvr2_hdw *hdw,const char *buf, unsigned int count) argument [all...] |
/drivers/media/pci/cx88/ |
H A D | cx88-vbi.c | 51 struct cx88_buffer *buf) 57 buf->vb.width, buf->risc.dma); 100 struct cx88_buffer *buf; local 105 buf = list_entry(q->active.next, struct cx88_buffer, vb.queue); 107 buf, buf->vb.i); 108 cx8800_start_vbi_dma(dev, q, buf); 109 list_for_each_entry(buf, &q->active, vb.queue) 110 buf 49 cx8800_start_vbi_dma(struct cx8800_dev *dev, struct cx88_dmaqueue *q, struct cx88_buffer *buf) argument 120 struct cx88_buffer *buf; local 162 struct cx88_buffer *buf = container_of(vb,struct cx88_buffer,vb); local 196 struct cx88_buffer *buf = container_of(vb,struct cx88_buffer,vb); local 228 struct cx88_buffer *buf = container_of(vb,struct cx88_buffer,vb); local [all...] |
/drivers/net/bonding/ |
H A D | bond_sysfs_slave.c | 31 static ssize_t state_show(struct slave *slave, char *buf) argument 35 return sprintf(buf, "active\n"); 37 return sprintf(buf, "backup\n"); 39 return sprintf(buf, "UNKNOWN\n"); 44 static ssize_t mii_status_show(struct slave *slave, char *buf) argument 46 return sprintf(buf, "%s\n", bond_slave_link_status(slave->link)); 50 static ssize_t link_failure_count_show(struct slave *slave, char *buf) argument 52 return sprintf(buf, "%d\n", slave->link_failure_count); 56 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) argument 58 return sprintf(buf, " 62 queue_id_show(struct slave *slave, char *buf) argument 68 ad_aggregator_id_show(struct slave *slave, char *buf) argument 96 slave_show(struct kobject *kobj, struct attribute *attr, char *buf) argument [all...] |
/drivers/misc/cxl/ |
H A D | sysfs.c | 22 char *buf) 26 return scnprintf(buf, PAGE_SIZE, "%i.%i\n", adapter->caia_major, 32 char *buf) 36 return scnprintf(buf, PAGE_SIZE, "%i\n", adapter->psl_rev); 41 char *buf) 45 return scnprintf(buf, PAGE_SIZE, "%i\n", adapter->base_image); 50 char *buf) 55 return scnprintf(buf, PAGE_SIZE, "user\n"); 56 return scnprintf(buf, PAGE_SIZE, "factory\n"); 71 char *buf) 20 caia_version_show(struct device *device, struct device_attribute *attr, char *buf) argument 30 psl_revision_show(struct device *device, struct device_attribute *attr, char *buf) argument 39 base_image_show(struct device *device, struct device_attribute *attr, char *buf) argument 48 image_loaded_show(struct device *device, struct device_attribute *attr, char *buf) argument 69 mmio_size_show_master(struct device *device, struct device_attribute *attr, char *buf) argument 78 pp_mmio_off_show(struct device *device, struct device_attribute *attr, char *buf) argument 87 pp_mmio_len_show(struct device *device, struct device_attribute *attr, char *buf) argument 105 mmio_size_show(struct device *device, struct device_attribute *attr, char *buf) argument 116 reset_store_afu(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument 139 irqs_min_show(struct device *device, struct device_attribute *attr, char *buf) argument 148 irqs_max_show(struct device *device, struct device_attribute *attr, char *buf) argument 157 irqs_max_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument 179 modes_supported_show(struct device *device, struct device_attribute *attr, char *buf) argument 192 prefault_mode_show(struct device *device, struct device_attribute *attr, char *buf) argument 208 prefault_mode_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument 229 mode_show(struct device *device, struct device_attribute *attr, char *buf) argument 242 mode_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument 287 api_version_show(struct device *device, struct device_attribute *attr, char *buf) argument 294 api_version_compatible_show(struct device *device, struct device_attribute *attr, char *buf) argument [all...] |
/drivers/scsi/fnic/ |
H A D | fnic_attrs.c | 24 struct device_attribute *attr, char *buf) 29 return snprintf(buf, PAGE_SIZE, "%s\n", fnic_state_str[fnic->state]); 33 struct device_attribute *attr, char *buf) 35 return snprintf(buf, PAGE_SIZE, "%s\n", DRV_VERSION); 39 struct device_attribute *attr, char *buf) 43 return snprintf(buf, PAGE_SIZE, "%s\n", (lp->link_up) 23 fnic_show_state(struct device *dev, struct device_attribute *attr, char *buf) argument 32 fnic_show_drv_version(struct device *dev, struct device_attribute *attr, char *buf) argument 38 fnic_show_link_state(struct device *dev, struct device_attribute *attr, char *buf) argument
|
/drivers/parisc/ |
H A D | eisa_enumerator.c | 80 static int configure_memory(const unsigned char *buf, argument 92 c = get_8(buf+len); 98 res->start = mem_parent->start + get_24(buf+len+2); 99 res->end = res->start + get_16(buf+len+5)*1024; 120 static int configure_irq(const unsigned char *buf) argument 129 c = get_8(buf+len); 151 static int configure_dma(const unsigned char *buf) argument 160 c = get_8(buf+len); 172 static int configure_port(const unsigned char *buf, struct resource *io_parent, argument 184 c = get_8(buf 214 configure_port_init(const unsigned char *buf) argument 279 configure_choise(const unsigned char *buf, u_int8_t *info) argument 293 configure_type_string(const unsigned char *buf) argument 306 configure_function(const unsigned char *buf, int *more) argument 317 parse_slot_config(int slot, const unsigned char *buf, struct eeprom_eisa_slot_info *es, struct resource *io_parent, struct resource *mem_parent) argument [all...] |