Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 149) sorted by relevance

123456

/linux-2.4.37.9/net/irda/ircomm/
Dircomm_param.c43 static int ircomm_param_service_type(void *instance, irda_param_t *param,
45 static int ircomm_param_port_type(void *instance, irda_param_t *param,
47 static int ircomm_param_port_name(void *instance, irda_param_t *param,
49 static int ircomm_param_service_type(void *instance, irda_param_t *param,
51 static int ircomm_param_data_rate(void *instance, irda_param_t *param,
53 static int ircomm_param_data_format(void *instance, irda_param_t *param,
55 static int ircomm_param_flow_control(void *instance, irda_param_t *param,
57 static int ircomm_param_xon_xoff(void *instance, irda_param_t *param, int get);
58 static int ircomm_param_enq_ack(void *instance, irda_param_t *param, int get);
59 static int ircomm_param_line_status(void *instance, irda_param_t *param,
[all …]
/linux-2.4.37.9/drivers/scsi/
Dqlogicpti.c171 static int qlogicpti_mbox_command(struct qlogicpti *qpti, u_short param[], int force) in qlogicpti_mbox_command() argument
176 if (mbox_param[param[0]] == 0) in qlogicpti_mbox_command()
194 switch (mbox_param[param[0]] >> 4) { in qlogicpti_mbox_command()
195 case 6: sbus_writew(param[5], qpti->qregs + MBOX5); in qlogicpti_mbox_command()
196 case 5: sbus_writew(param[4], qpti->qregs + MBOX4); in qlogicpti_mbox_command()
197 case 4: sbus_writew(param[3], qpti->qregs + MBOX3); in qlogicpti_mbox_command()
198 case 3: sbus_writew(param[2], qpti->qregs + MBOX2); in qlogicpti_mbox_command()
199 case 2: sbus_writew(param[1], qpti->qregs + MBOX1); in qlogicpti_mbox_command()
200 case 1: sbus_writew(param[0], qpti->qregs + MBOX0); in qlogicpti_mbox_command()
223 param[0]); in qlogicpti_mbox_command()
[all …]
Dqlogicisp.c1171 u_short param[6]; in isp1020_abort() local
1190 param[0] = MBOX_ABORT; in isp1020_abort()
1191 param[1] = (((u_short) Cmnd->target) << 8) | Cmnd->lun; in isp1020_abort()
1192 param[2] = cmd_cookie >> 16; in isp1020_abort()
1193 param[3] = cmd_cookie & 0xffff; in isp1020_abort()
1195 isp1020_mbox_command(host, param); in isp1020_abort()
1197 if (param[0] != MBOX_COMMAND_COMPLETE) { in isp1020_abort()
1198 printk("qlogicisp : scsi abort failure: %x\n", param[0]); in isp1020_abort()
1212 u_short param[6]; in isp1020_reset() local
1222 param[0] = MBOX_BUS_RESET; in isp1020_reset()
[all …]
Dqlogicfc.c838 short param[8]; in isp2x00_make_portdb() local
850 param[0] = MBOX_PORT_LOGOUT; in isp2x00_make_portdb()
851 param[1] = i << 8; in isp2x00_make_portdb()
852 param[2] = 0; in isp2x00_make_portdb()
853 param[3] = 0; in isp2x00_make_portdb()
855 isp2x00_mbox_command(host, param); in isp2x00_make_portdb()
857 if (param[0] != MBOX_COMMAND_COMPLETE) { in isp2x00_make_portdb()
859 DEBUG_FABRIC(printk("qlogicfc%d : logout failed %x %x\n", hostdata->host_id, i, param[0])); in isp2x00_make_portdb()
865 param[0] = MBOX_GET_INIT_SCSI_ID; in isp2x00_make_portdb()
867 isp2x00_mbox_command(host, param); in isp2x00_make_portdb()
[all …]
D3w-xxxx.c255 TW_Param *param; in tw_aen_complete() local
264 param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; in tw_aen_complete()
265 aen = *(unsigned short *)(param->data); in tw_aen_complete()
320 TW_Param *param; in tw_aen_drain_queue() local
375 param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; in tw_aen_drain_queue()
376 memset(param, 0, sizeof(TW_Sector)); in tw_aen_drain_queue()
377 param->table_id = 0x401; /* AEN table */ in tw_aen_drain_queue()
378 param->parameter_id = 2; /* Unit code */ in tw_aen_drain_queue()
379 param->parameter_size_bytes = 2; in tw_aen_drain_queue()
385 command_packet->byte8.param.sgl[0].address = param_value; in tw_aen_drain_queue()
[all …]
/linux-2.4.37.9/drivers/scsi/aacraid/
Dlinit.c429 struct diskparm *param = (struct diskparm *)geom; in aac_biosparm() local
441 param->heads = 255; in aac_biosparm()
442 param->sectors = 63; in aac_biosparm()
446 param->heads = 128; in aac_biosparm()
447 param->sectors = 32; in aac_biosparm()
452 param->heads = 64; in aac_biosparm()
453 param->sectors = 32; in aac_biosparm()
456 param->cylinders = disk->capacity/(param->heads * param->sectors); in aac_biosparm()
475 int saved_cylinders = param->cylinders; in aac_biosparm()
486 param->heads = 64; in aac_biosparm()
[all …]
/linux-2.4.37.9/net/irda/
Dqos.c86 static int irlap_param_baud_rate(void *instance, irda_param_t *param, int get);
89 static int irlap_param_max_turn_time(void *instance, irda_param_t *param,
91 static int irlap_param_data_size(void *instance, irda_param_t *param, int get);
92 static int irlap_param_window_size(void *instance, irda_param_t *param,
96 static int irlap_param_min_turn_time(void *instance, irda_param_t *param,
533 static int irlap_param_baud_rate(void *instance, irda_param_t *param, int get) in irlap_param_baud_rate() argument
543 param->pv.i = self->qos_rx.baud_rate.bits; in irlap_param_baud_rate()
545 param->pv.i); in irlap_param_baud_rate()
551 IRDA_DEBUG(2, "Requested BAUD_RATE: 0x%04x\n", (__u16) param->pv.i); in irlap_param_baud_rate()
552 final = (__u16) param->pv.i & self->qos_rx.baud_rate.bits; in irlap_param_baud_rate()
[all …]
/linux-2.4.37.9/drivers/net/hamradio/
Ddmascc.c225 struct scc_param param; member
574 priv->param.pclk_hz = hw[type].pclk_hz; in setup_adapter()
575 priv->param.brg_tc = -1; in setup_adapter()
576 priv->param.clocks = TCTRxCP | RCRTxCP; in setup_adapter()
577 priv->param.persist = 256; in setup_adapter()
578 priv->param.dma = -1; in setup_adapter()
730 if (priv->param.dma >= 0) { in scc_open()
731 if (request_dma(priv->param.dma, "dmascc")) { in scc_open()
737 clear_dma_ff(priv->param.dma); in scc_open()
794 if (priv->param.dma >= 0) { in scc_open()
[all …]
/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dftape-setup.c66 int param; in ftape_setup() local
76 param = ints[1]; in ftape_setup()
78 param = config_params[i].def_param; in ftape_setup()
80 if (param < config_params[i].min || in ftape_setup()
81 param > config_params[i].max) { in ftape_setup()
90 TRACE(ft_t_info, "%s=%d", str, param); in ftape_setup()
91 *config_params[i].var = param; in ftape_setup()
/linux-2.4.37.9/fs/smbfs/
Dproc.c1652 char *param = server->temp_buf; in smb_proc_trunc64() local
1664 WSET(param, 0, inode->u.smbfs_i.fileid); in smb_proc_trunc64()
1665 WSET(param, 2, SMB_SET_FILE_END_OF_FILE_INFO); in smb_proc_trunc64()
1666 WSET(param, 4, 0); in smb_proc_trunc64()
1669 8, data, 6, param, in smb_proc_trunc64()
2150 char *mask, *param = server->temp_buf; in smb_proc_readdir_long() local
2183 mask = param + 12; in smb_proc_readdir_long()
2209 WSET(param, 0, aSYSTEM | aHIDDEN | aDIR); in smb_proc_readdir_long()
2210 WSET(param, 2, max_matches); /* max count */ in smb_proc_readdir_long()
2211 WSET(param, 4, SMB_CLOSE_IF_END); in smb_proc_readdir_long()
[all …]
/linux-2.4.37.9/net/ax25/
Dax25_timer.c153 static void ax25_heartbeat_expiry(unsigned long param) in ax25_heartbeat_expiry() argument
155 ax25_cb *ax25 = (ax25_cb *)param; in ax25_heartbeat_expiry()
178 static void ax25_t1timer_expiry(unsigned long param) in ax25_t1timer_expiry() argument
180 ax25_cb *ax25 = (ax25_cb *)param; in ax25_t1timer_expiry()
197 static void ax25_t2timer_expiry(unsigned long param) in ax25_t2timer_expiry() argument
199 ax25_cb *ax25 = (ax25_cb *)param; in ax25_t2timer_expiry()
216 static void ax25_t3timer_expiry(unsigned long param) in ax25_t3timer_expiry() argument
218 ax25_cb *ax25 = (ax25_cb *)param; in ax25_t3timer_expiry()
237 static void ax25_idletimer_expiry(unsigned long param) in ax25_idletimer_expiry() argument
239 ax25_cb *ax25 = (ax25_cb *)param; in ax25_idletimer_expiry()
/linux-2.4.37.9/drivers/isdn/avmb1/
Db1pci.c409 struct capicardparams param; in add_card() local
417 param.irq = dev->irq; in add_card()
425 param.membase = pci_resource_start(dev, 0); in add_card()
426 param.port = pci_resource_start(dev, 2); in add_card()
430 driver->name, param.port, param.irq, param.membase); in add_card()
432 retval = b1pciv4_add_card(driver, &param); in add_card()
434 retval = b1pci_add_card(driver, &param); in add_card()
439 driver->name, param.port, param.irq, param.membase); in add_card()
442 param.membase = 0; in add_card()
443 param.port = pci_resource_start(dev, 1); in add_card()
[all …]
Dt1pci.c258 struct capicardparams param; in t1pci_init() local
267 param.port = pci_resource_start(dev, 1); in t1pci_init()
268 param.irq = dev->irq; in t1pci_init()
269 param.membase = pci_resource_start(dev, 0); in t1pci_init()
273 driver->name, param.port, param.irq, param.membase); in t1pci_init()
274 retval = t1pci_add_card(driver, &param); in t1pci_init()
278 driver->name, param.port, param.irq, param.membase); in t1pci_init()
/linux-2.4.37.9/net/netrom/
Dnr_timer.c133 static void nr_heartbeat_expiry(unsigned long param) in nr_heartbeat_expiry() argument
135 struct sock *sk = (struct sock *)param; in nr_heartbeat_expiry()
166 static void nr_t2timer_expiry(unsigned long param) in nr_t2timer_expiry() argument
168 struct sock *sk = (struct sock *)param; in nr_t2timer_expiry()
176 static void nr_t4timer_expiry(unsigned long param) in nr_t4timer_expiry() argument
178 struct sock *sk = (struct sock *)param; in nr_t4timer_expiry()
183 static void nr_idletimer_expiry(unsigned long param) in nr_idletimer_expiry() argument
185 struct sock *sk = (struct sock *)param; in nr_idletimer_expiry()
207 static void nr_t1timer_expiry(unsigned long param) in nr_t1timer_expiry() argument
209 struct sock *sk = (struct sock *)param; in nr_t1timer_expiry()
/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_feature.c159 typedef int (*feature_call)(struct device_node* node, int param, int value);
201 ohare_htw_scc_enable(struct device_node* node, int param, int value) in ohare_htw_scc_enable() argument
227 if ((param & 0xfff) == PMAC_SCC_IRDA) in ohare_htw_scc_enable()
264 if (param & PMAC_SCC_FLAG_XMON) in ohare_htw_scc_enable()
286 if ((param & 0xfff) == PMAC_SCC_IRDA) in ohare_htw_scc_enable()
294 ohare_floppy_enable(struct device_node* node, int param, int value) in ohare_floppy_enable() argument
301 ohare_mesh_enable(struct device_node* node, int param, int value) in ohare_mesh_enable() argument
308 ohare_ide_enable(struct device_node* node, int param, int value) in ohare_ide_enable() argument
310 switch(param) { in ohare_ide_enable()
329 ohare_ide_reset(struct device_node* node, int param, int value) in ohare_ide_reset() argument
[all …]
/linux-2.4.37.9/net/sctp/
Dsm_make_chunk.c79 union sctp_params param,
1549 struct sctp_paramhdr *param, in sctp_process_inv_paramlength() argument
1565 sctp_addto_chunk(*errp, sizeof(sctp_paramhdr_t), param); in sctp_process_inv_paramlength()
1576 union sctp_params param, in sctp_process_hn_param() argument
1580 __u16 len = ntohs(param.p->length); in sctp_process_hn_param()
1588 param.v, len); in sctp_process_hn_param()
1621 union sctp_params param, in sctp_process_unk_param() argument
1627 switch (param.p->type & SCTP_PARAM_ACTION_MASK) { in sctp_process_unk_param()
1642 param.v, in sctp_process_unk_param()
1643 WORD_ROUND(ntohs(param.p->length))); in sctp_process_unk_param()
[all …]
/linux-2.4.37.9/net/irda/irlan/
Dirlan_client.c67 static void irlan_check_response_param(struct irlan_cb *self, char *param,
420 static void irlan_check_response_param(struct irlan_cb *self, char *param, in irlan_check_response_param() argument
427 IRDA_DEBUG(4, "%s(), parm=%s\n", __FUNCTION__, param); in irlan_check_response_param()
433 if (strcmp(param, "MEDIA") == 0) { in irlan_check_response_param()
440 if (strcmp(param, "FILTER_TYPE") == 0) { in irlan_check_response_param()
457 if (strcmp(param, "ACCESS_TYPE") == 0) { in irlan_check_response_param()
469 if (strcmp(param, "IRLAN_VER") == 0) { in irlan_check_response_param()
478 if (strcmp(param, "DATA_CHAN") == 0) { in irlan_check_response_param()
483 if (strcmp(param, "CON_ARB") == 0) { in irlan_check_response_param()
490 if (strcmp(param, "MAX_FRAME") == 0) { in irlan_check_response_param()
[all …]
Dirlan_filter.c142 void irlan_check_command_param(struct irlan_cb *self, char *param, char *value) in irlan_check_command_param() argument
153 IRDA_DEBUG(4, "%s, %s\n", param, value); in irlan_check_command_param()
158 if (strcmp(param, "MODE") == 0) { in irlan_check_command_param()
167 if (strcmp(param, "FILTER_TYPE") == 0) { in irlan_check_command_param()
184 if (strcmp(param, "FILTER_MODE") == 0) { in irlan_check_command_param()
201 if (strcmp(param, "FILTER_OPERATION") == 0) { in irlan_check_command_param()
/linux-2.4.37.9/scripts/
Dkernel-doc1297 my $param;
1313 $param = $1;
1315 $type =~ s/([^\(]+\(\*)$param/$1/;
1321 $param = pop @args;
1322 if ($param =~ m/^(\*+)(.*)/) {
1323 $param = $2;
1326 elsif ($param =~ m/(.*?)\s*:\s*(\d+)/) {
1327 $param = $1;
1333 if ($type eq "" && $param eq "...")
1336 $param="...";
[all …]
/linux-2.4.37.9/net/rose/
Drose_timer.c127 static void rose_heartbeat_expiry(unsigned long param) in rose_heartbeat_expiry() argument
129 struct sock *sk = (struct sock *)param; in rose_heartbeat_expiry()
161 static void rose_timer_expiry(unsigned long param) in rose_timer_expiry() argument
163 struct sock *sk = (struct sock *)param; in rose_timer_expiry()
188 static void rose_idletimer_expiry(unsigned long param) in rose_idletimer_expiry() argument
190 struct sock *sk = (struct sock *)param; in rose_idletimer_expiry()
/linux-2.4.37.9/fs/ntfs/
Dutil.c167 ntfs_memcpy(dest->param, src, n); in ntfs_put()
168 dest->param = (char*)dest->param + n; in ntfs_put()
173 ntfs_memcpy(dest, src->param, n); in ntfs_get()
174 src->param = (char*)src->param + n; in ntfs_get()
Ddir.c151 io.param = bmap; in ntfs_allocate_index_block()
170 io.param = bmap; in ntfs_allocate_index_block()
183 io.param = bmap; in ntfs_allocate_index_block()
224 io.param = record; in ntfs_allocate_index_block()
256 io.param = buf; in ntfs_index_writeback()
318 io.param = newbuf; in ntfs_split_record()
440 io.param = root; in ntfs_split_indexroot()
467 io.param = index; in ntfs_split_indexroot()
553 io.param = record; in ntfs_getdir_record()
755 io.param = root; in ntfs_getdir()
[all …]
/linux-2.4.37.9/net/lapb/
Dlapb_timer.c77 static void lapb_t2timer_expiry(unsigned long param) in lapb_t2timer_expiry() argument
79 lapb_cb *lapb = (lapb_cb *)param; in lapb_t2timer_expiry()
87 static void lapb_t1timer_expiry(unsigned long param) in lapb_t1timer_expiry() argument
89 lapb_cb *lapb = (lapb_cb *)param; in lapb_t1timer_expiry()
/linux-2.4.37.9/net/x25/
Dx25_timer.c118 static void x25_heartbeat_expiry(unsigned long param) in x25_heartbeat_expiry() argument
120 struct sock *sk = (struct sock *)param; in x25_heartbeat_expiry()
179 static void x25_timer_expiry(unsigned long param) in x25_timer_expiry() argument
181 struct sock *sk = (struct sock *)param; in x25_timer_expiry()
/linux-2.4.37.9/drivers/net/wireless/prism54/
Disl_ioctl.c2061 struct prism2_hostapd_param *param, in prism2_ioctl_set_encryption() argument
2073 if (param->u.crypt.key_len > 0) { in prism2_ioctl_set_encryption()
2075 int index = param->u.crypt.idx; in prism2_ioctl_set_encryption()
2083 if (!(param->u.crypt.flags & IW_ENCODE_NOKEY)) { in prism2_ioctl_set_encryption()
2084 key.length = param->u.crypt.key_len > sizeof (param->u.crypt.key) ? in prism2_ioctl_set_encryption()
2085 sizeof (param->u.crypt.key) : param->u.crypt.key_len; in prism2_ioctl_set_encryption()
2086 memcpy(key.key, param->u.crypt.key, key.length); in prism2_ioctl_set_encryption()
2107 int index = (param->u.crypt.flags & IW_ENCODE_INDEX) - 1; in prism2_ioctl_set_encryption()
2114 if (!param->u.crypt.flags & IW_ENCODE_MODE) { in prism2_ioctl_set_encryption()
2121 if (param->u.crypt.flags & IW_ENCODE_DISABLED) { in prism2_ioctl_set_encryption()
[all …]

123456