Home
last modified time | relevance | path

Searched refs:parm (Results 1 – 25 of 86) sorted by relevance

1234

/drivers/isdn/divert/
Disdn_divert.c80 strlcpy(cs->ics.parm.setup.phone, cs->deflect_dest, sizeof(cs->ics.parm.setup.phone)); in deflect_timer_expire()
81 strcpy(cs->ics.parm.setup.eazmsn, "Testtext delayed"); in deflect_timer_expire()
167 cs->ics.parm.dss1_io.proc = (mode == 1) ? 7 : (mode == 2) ? 11 : 8; /* operation */ in cf_command()
168 cs->ics.parm.dss1_io.timeout = 4000; /* from ETS 300 207-1 */ in cf_command()
169 cs->ics.parm.dss1_io.datalen = p - tmp; /* total len */ in cf_command()
170 cs->ics.parm.dss1_io.data = tmp; /* start of buffer */ in cf_command()
173 cs->ics.parm.dss1_io.ll_id = next_id++; /* id for callback */ in cf_command()
175 *procid = cs->ics.parm.dss1_io.ll_id; in cf_command()
179 cs->ics.parm.dss1_io.ll_id, in cf_command()
253 strlcpy(cs->ics.parm.setup.phone, to_nr, sizeof(cs->ics.parm.setup.phone)); in deflect_extern_action()
[all …]
/drivers/isdn/gigaset/
Di4l.c136 response.parm.length = len; in gigaset_skb_sent()
186 response.parm.errcode = ISDN_STAT_L1ERR_RECV; in gigaset_isdn_rcv_err()
223 cntrl->parm.setup.phone, cntrl->parm.setup.eazmsn, in command_from_LL()
224 cntrl->parm.setup.si1, cntrl->parm.setup.si2); in command_from_LL()
253 l = 3 + strlen(cntrl->parm.setup.phone); in command_from_LL()
257 if (cntrl->parm.setup.phone[0] == '*' && in command_from_LL()
258 cntrl->parm.setup.phone[1] == '*') { in command_from_LL()
264 "D%s\r", cntrl->parm.setup.phone + 2); in command_from_LL()
270 "D%s\r", cntrl->parm.setup.phone); in command_from_LL()
273 l = strlen(cntrl->parm.setup.eazmsn); in command_from_LL()
[all …]
/drivers/s390/cio/
Dblacklist.c154 char *parm; in blacklist_parse_parameters() local
159 while ((parm = strsep(&str, ","))) { in blacklist_parse_parameters()
162 if (*parm == '!') { in blacklist_parse_parameters()
167 parm++; in blacklist_parse_parameters()
169 if (strcmp(parm, "all") == 0) { in blacklist_parse_parameters()
176 } else if (strcmp(parm, "ipldev") == 0) { in blacklist_parse_parameters()
192 } else if (strcmp(parm, "condev") == 0) { in blacklist_parse_parameters()
200 rc = parse_busid(strsep(&parm, "-"), &from_cssid, in blacklist_parse_parameters()
203 if (parm != NULL) in blacklist_parse_parameters()
204 rc = parse_busid(parm, &to_cssid, in blacklist_parse_parameters()
[all …]
/drivers/clk/meson/
Dclkc.h32 struct parm { struct
60 struct parm m;
61 struct parm n;
62 struct parm od;
68 struct parm div_parm;
69 struct parm mult_parm;
74 struct parm rate_parm;
78 struct parm mux_parm;
79 struct parm div_parm;
80 struct parm gate_parm;
/drivers/isdn/isdnloop/
Disdnloop.c77 cmd.parm.length = len; in isdnloop_bchan_send()
128 strlcpy(cmd->parm.setup.phone, t, sizeof(cmd->parm.setup.phone)); in isdnloop_parse_setup()
132 cmd->parm.setup.si1 = 0; in isdnloop_parse_setup()
134 cmd->parm.setup.si1 = simple_strtoul(t, NULL, 10); in isdnloop_parse_setup()
138 cmd->parm.setup.si2 = 0; in isdnloop_parse_setup()
140 cmd->parm.setup.si2 = in isdnloop_parse_setup()
142 strlcpy(cmd->parm.setup.eazmsn, s, sizeof(cmd->parm.setup.eazmsn)); in isdnloop_parse_setup()
143 cmd->parm.setup.plan = 0; in isdnloop_parse_setup()
144 cmd->parm.setup.screen = 0; in isdnloop_parse_setup()
221 sprintf(cmd.parm.setup.phone, "LEASED%d", card->myid); in isdnloop_parse_status()
[all …]
/drivers/isdn/sc/
Devent.c54 memcpy(&cmd.parm.length, Data, sizeof(cmd.parm.length)); in indicate_status()
57 memcpy(&cmd.parm.setup, Data, sizeof(cmd.parm.setup)); in indicate_status()
60 strlcpy(cmd.parm.num, Data, sizeof(cmd.parm.num)); in indicate_status()
/drivers/media/usb/uvc/
Duvc_v4l2.c357 struct v4l2_streamparm *parm) in uvc_v4l2_get_streamparm() argument
361 if (parm->type != stream->type) in uvc_v4l2_get_streamparm()
371 memset(parm, 0, sizeof *parm); in uvc_v4l2_get_streamparm()
372 parm->type = stream->type; in uvc_v4l2_get_streamparm()
375 parm->parm.capture.capability = V4L2_CAP_TIMEPERFRAME; in uvc_v4l2_get_streamparm()
376 parm->parm.capture.capturemode = 0; in uvc_v4l2_get_streamparm()
377 parm->parm.capture.timeperframe.numerator = numerator; in uvc_v4l2_get_streamparm()
378 parm->parm.capture.timeperframe.denominator = denominator; in uvc_v4l2_get_streamparm()
379 parm->parm.capture.extendedmode = 0; in uvc_v4l2_get_streamparm()
380 parm->parm.capture.readbuffers = 0; in uvc_v4l2_get_streamparm()
[all …]
/drivers/isdn/i4l/
Disdn_ttyfax.c158 printk(KERN_DEBUG "isdn_tty: FCLASS1 cmd(%d)\n", c->parm.aux.cmd); in isdn_tty_fax_command1()
160 if (c->parm.aux.cmd < ISDN_FAX_CLASS1_QUERY) { in isdn_tty_fax_command1()
164 isdn_tty_at_cout(msg[c->parm.aux.cmd], info); in isdn_tty_fax_command1()
167 switch (c->parm.aux.cmd) { in isdn_tty_fax_command1()
178 if (!c->parm.aux.para[0]) { in isdn_tty_fax_command1()
182 isdn_tty_at_cout(c->parm.aux.para, info); in isdn_tty_fax_command1()
328 for (c.parm.aux.cmd = 0; c.parm.aux.cmd < 7; c.parm.aux.cmd++) in isdn_tty_cmd_FCLASS1()
329 if (!strncmp(p[0], cmd[c.parm.aux.cmd], 2)) in isdn_tty_cmd_FCLASS1()
333 printk(KERN_DEBUG "isdn_tty_cmd_FCLASS1 (%s,%d)\n", p[0], c.parm.aux.cmd); in isdn_tty_cmd_FCLASS1()
335 if (c.parm.aux.cmd == 7) in isdn_tty_cmd_FCLASS1()
[all …]
Disdn_tty.c643 strcpy(cmd.parm.num, isdn_map_eaz2msn(m->msn, info->isdn_driver)); in isdn_tty_dial()
657 cmd.parm.fax = info->fax; in isdn_tty_dial()
664 sprintf(cmd.parm.setup.phone, "%s", n); in isdn_tty_dial()
665 sprintf(cmd.parm.setup.eazmsn, "%s", in isdn_tty_dial()
667 cmd.parm.setup.si1 = si; in isdn_tty_dial()
668 cmd.parm.setup.si2 = m->mdmreg[REG_SI2]; in isdn_tty_dial()
779 cmd.parm.cmsg.Length = l + 18; in isdn_tty_suspend()
780 cmd.parm.cmsg.Command = CAPI_FACILITY; in isdn_tty_suspend()
781 cmd.parm.cmsg.Subcommand = CAPI_REQ; in isdn_tty_suspend()
782 cmd.parm.cmsg.adr.Controller = info->isdn_driver + 1; in isdn_tty_suspend()
[all …]
/drivers/isdn/hisax/
Dcallc.c197 sprintf(ic.parm.num, "E%02X%02X", chanp->proc->para.loc & 0x7f, in lli_deliver_cause()
200 sprintf(ic.parm.num, "%02X%02X", chanp->proc->para.loc & 0x7f, in lli_deliver_cause()
231 ic.parm.setup.si1 = 7; in lli_leased_in()
232 ic.parm.setup.si2 = 0; in lli_leased_in()
233 ic.parm.setup.plan = 0; in lli_leased_in()
234 ic.parm.setup.screen = 0; in lli_leased_in()
235 sprintf(ic.parm.setup.eazmsn, "%d", chanp->chan + 1); in lli_leased_in()
236 sprintf(ic.parm.setup.phone, "LEASED%d", chanp->cs->myid); in lli_leased_in()
309 strcpy(ic.parm.num, chanp->bcs->conmsg); in lli_go_active()
311 ic.parm.num[0] = 0; in lli_go_active()
[all …]
Disar.c977 ic.parm.aux.cmd = status; in ll_deliver_faxstat()
1758 ic->parm.aux.cmd, ic->parm.aux.subcmd); in isar_auxcmd()
1759 switch (ic->parm.aux.cmd) { in isar_auxcmd()
1761 if (ic->parm.aux.subcmd == ETX) in isar_auxcmd()
1766 if (ic->parm.aux.subcmd == AT_QUERY) { in isar_auxcmd()
1768 ic->parm.aux.cmd = ISDN_FAX_CLASS1_OK; in isar_auxcmd()
1771 } else if (ic->parm.aux.subcmd == AT_EQ_QUERY) { in isar_auxcmd()
1772 strcpy(ic->parm.aux.para, "0-255"); in isar_auxcmd()
1774 ic->parm.aux.cmd = ISDN_FAX_CLASS1_QUERY; in isar_auxcmd()
1777 } else if (ic->parm.aux.subcmd == AT_EQ_VALUE) { in isar_auxcmd()
[all …]
Dl3ni1.c142 ic.parm.ni1_io.hl_id = pc->prot.ni1.invoke_id; in l3ni1_dummy_return_result()
143 ic.parm.ni1_io.ll_id = pc->prot.ni1.ll_id; in l3ni1_dummy_return_result()
144 ic.parm.ni1_io.proc = pc->prot.ni1.proc; in l3ni1_dummy_return_result()
145 ic.parm.ni1_io.timeout = 0; in l3ni1_dummy_return_result()
146 ic.parm.ni1_io.datalen = nlen; in l3ni1_dummy_return_result()
147 ic.parm.ni1_io.data = p; in l3ni1_dummy_return_result()
175 ic.parm.ni1_io.hl_id = pc->prot.ni1.invoke_id; in l3ni1_dummy_error_return()
176 ic.parm.ni1_io.ll_id = pc->prot.ni1.ll_id; in l3ni1_dummy_error_return()
177 ic.parm.ni1_io.proc = pc->prot.ni1.proc; in l3ni1_dummy_error_return()
178 ic.parm.ni1_io.timeout = error; in l3ni1_dummy_error_return()
[all …]
Dl3dss1.c143 ic.parm.dss1_io.hl_id = pc->prot.dss1.invoke_id; in l3dss1_dummy_return_result()
144 ic.parm.dss1_io.ll_id = pc->prot.dss1.ll_id; in l3dss1_dummy_return_result()
145 ic.parm.dss1_io.proc = pc->prot.dss1.proc; in l3dss1_dummy_return_result()
146 ic.parm.dss1_io.timeout = 0; in l3dss1_dummy_return_result()
147 ic.parm.dss1_io.datalen = nlen; in l3dss1_dummy_return_result()
148 ic.parm.dss1_io.data = p; in l3dss1_dummy_return_result()
176 ic.parm.dss1_io.hl_id = pc->prot.dss1.invoke_id; in l3dss1_dummy_error_return()
177 ic.parm.dss1_io.ll_id = pc->prot.dss1.ll_id; in l3dss1_dummy_error_return()
178 ic.parm.dss1_io.proc = pc->prot.dss1.proc; in l3dss1_dummy_error_return()
179 ic.parm.dss1_io.timeout = error; in l3dss1_dummy_error_return()
[all …]
/drivers/isdn/icn/
Dicn.c362 cmd.parm.length = card->xlen[channel]; in icn_pollbchan_send()
512 strlcpy(cmd.parm.setup.phone, t, in icn_parse_status()
513 sizeof(cmd.parm.setup.phone)); in icn_parse_status()
517 cmd.parm.setup.si1 = 0; in icn_parse_status()
519 cmd.parm.setup.si1 = in icn_parse_status()
524 cmd.parm.setup.si2 = 0; in icn_parse_status()
526 cmd.parm.setup.si2 = in icn_parse_status()
528 strlcpy(cmd.parm.setup.eazmsn, s, in icn_parse_status()
529 sizeof(cmd.parm.setup.eazmsn)); in icn_parse_status()
531 cmd.parm.setup.plan = 0; in icn_parse_status()
[all …]
/drivers/isdn/pcbit/
Dcallbacks.c149 strcpy(ictl.parm.setup.phone, "0"); in cb_in_1()
152 strcpy(ictl.parm.setup.phone, cbdata->data.setup.CallingPN); in cb_in_1()
156 strcpy(ictl.parm.setup.eazmsn, "0"); in cb_in_1()
159 strcpy(ictl.parm.setup.eazmsn, cbdata->data.setup.CalledPN); in cb_in_1()
161 ictl.parm.setup.si1 = 7; in cb_in_1()
162 ictl.parm.setup.si2 = 0; in cb_in_1()
163 ictl.parm.setup.plan = 0; in cb_in_1()
164 ictl.parm.setup.screen = 0; in cb_in_1()
/drivers/media/usb/pwc/
Dpwc-v4l.c981 struct v4l2_streamparm *parm) in pwc_g_parm() argument
985 if (parm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in pwc_g_parm()
988 memset(parm, 0, sizeof(*parm)); in pwc_g_parm()
990 parm->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in pwc_g_parm()
991 parm->parm.capture.readbuffers = MIN_FRAMES; in pwc_g_parm()
992 parm->parm.capture.capability |= V4L2_CAP_TIMEPERFRAME; in pwc_g_parm()
993 parm->parm.capture.timeperframe.denominator = pdev->vframes; in pwc_g_parm()
994 parm->parm.capture.timeperframe.numerator = 1; in pwc_g_parm()
1000 struct v4l2_streamparm *parm) in pwc_s_parm() argument
1006 if (parm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in pwc_s_parm()
[all …]
/drivers/isdn/capi/
Dcapidrv.c1088 memset(&cmd.parm.setup, 0, sizeof(cmd.parm.setup)); in handle_incoming_call()
1089 strncpy(cmd.parm.setup.phone, in handle_incoming_call()
1092 strncpy(cmd.parm.setup.eazmsn, in handle_incoming_call()
1095 cmd.parm.setup.si1 = cip2si1(cmsg->CIPValue); in handle_incoming_call()
1096 cmd.parm.setup.si2 = cip2si2(cmsg->CIPValue); in handle_incoming_call()
1097 cmd.parm.setup.plan = cmsg->CallingPartyNumber[1]; in handle_incoming_call()
1098 cmd.parm.setup.screen = cmsg->CallingPartyNumber[2]; in handle_incoming_call()
1102 cmd.parm.setup.phone, in handle_incoming_call()
1103 cmd.parm.setup.si1, in handle_incoming_call()
1104 cmd.parm.setup.si2, in handle_incoming_call()
[all …]
/drivers/staging/sm750fb/
Dsm750_hw.c94 struct init_status *parm; in hw_sm750_inithw() local
96 parm = &sm750_dev->initParm; in hw_sm750_inithw()
97 if (parm->chip_clk == 0) in hw_sm750_inithw()
98 parm->chip_clk = (getChipType() == SM750LE) ? in hw_sm750_inithw()
102 if (parm->mem_clk == 0) in hw_sm750_inithw()
103 parm->mem_clk = parm->chip_clk; in hw_sm750_inithw()
104 if (parm->master_clk == 0) in hw_sm750_inithw()
105 parm->master_clk = parm->chip_clk/3; in hw_sm750_inithw()
/drivers/hwtracing/intel_th/
Dgth.c242 unsigned int parm; member
271 gth_output_parm_set(struct gth_device *gth, int port, unsigned int parm, in gth_output_parm_set() argument
274 unsigned int config = output_parms[parm].get(gth, port); in gth_output_parm_set()
275 unsigned int mask = output_parms[parm].mask; in gth_output_parm_set()
280 output_parms[parm].set(gth, port, config); in gth_output_parm_set()
284 gth_output_parm_get(struct gth_device *gth, int port, unsigned int parm) in gth_output_parm_get() argument
286 unsigned int config = output_parms[parm].get(gth, port); in gth_output_parm_get()
287 unsigned int mask = output_parms[parm].mask; in gth_output_parm_get()
345 gth_output_parm_get(gth, oa->port, oa->parm)); in output_attr_show()
364 gth_output_parm_set(gth, oa->port, oa->parm, config); in output_attr_store()
[all …]
/drivers/block/paride/
Dpd.c863 int *parm = *drives[unit]; in pd_detect() local
869 disk->drive = parm[D_SLV]; in pd_detect()
871 disk->alt_geom = parm[D_GEO]; in pd_detect()
872 disk->standby = parm[D_SBY]; in pd_detect()
873 if (parm[D_PRT]) in pd_detect()
894 int *parm = *drives[unit]; in pd_detect() local
895 if (!parm[D_PRT]) in pd_detect()
897 if (pi_init(disk->pi, 0, parm[D_PRT], parm[D_MOD], in pd_detect()
898 parm[D_UNI], parm[D_PRO], parm[D_DLY], in pd_detect()
Dpg.c249 int *parm = *drives[unit]; in pg_init_units() local
256 dev->drive = parm[D_SLV]; in pg_init_units()
258 if (parm[D_PRT]) in pg_init_units()
504 int *parm = *drives[unit]; in pg_detect() local
505 if (!parm[D_PRT]) in pg_detect()
507 if (pi_init(dev->pi, 0, parm[D_PRT], parm[D_MOD], in pg_detect()
508 parm[D_UNI], parm[D_PRO], parm[D_DLY], in pg_detect()
/drivers/gpu/drm/i915/
Dintel_opregion.c97 u32 parm; /* command parameters */ member
239 static int swsci(struct drm_device *dev, u32 function, u32 parm, u32 *parm_out) in swsci() argument
288 swsci->parm = parm; in swsci()
320 *parm_out = swsci->parm; in swsci()
336 u32 parm = 0; in intel_opregion_notify_encoder() local
352 parm |= 1 << port; in intel_opregion_notify_encoder()
357 parm |= 4 << 8; in intel_opregion_notify_encoder()
379 parm |= type << (16 + port * 3); in intel_opregion_notify_encoder()
381 return swsci(dev, SWSCI_SBCB_DISPLAY_POWER_STATE, parm, NULL); in intel_opregion_notify_encoder()
386 u32 parm; member
[all …]
/drivers/isdn/act2000/
Dmodule.c256 memcpy(&a, c->parm.num, sizeof(ulong)); in act2000_command()
325 tmp[0] = act2000_find_msn(card, c->parm.setup.eazmsn, 1); in act2000_command()
327 tmp[0] = c->parm.setup.eazmsn[0]; in act2000_command()
331 ret = actcapi_connect_req(card, chan, c->parm.setup.phone, in act2000_command()
332 tmp[0], c->parm.setup.si1, in act2000_command()
333 c->parm.setup.si2); in act2000_command()
373 if (strlen(c->parm.num)) { in act2000_command()
375 chan->eazmask = act2000_find_msn(card, c->parm.num, 0); in act2000_command()
380 for (i = 0; i < strlen(c->parm.num); i++) in act2000_command()
381 if (isdigit(c->parm.num[i])) in act2000_command()
[all …]
/drivers/media/usb/go7007/
Dgo7007-v4l2.c493 struct v4l2_streamparm *parm) in vidioc_g_parm() argument
501 if (parm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in vidioc_g_parm()
504 parm->parm.capture.readbuffers = 2; in vidioc_g_parm()
505 parm->parm.capture.capability = V4L2_CAP_TIMEPERFRAME; in vidioc_g_parm()
506 parm->parm.capture.timeperframe = timeperframe; in vidioc_g_parm()
512 struct v4l2_streamparm *parm) in vidioc_s_parm() argument
517 if (parm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in vidioc_s_parm()
521 parm->parm.capture.timeperframe.numerator; in vidioc_s_parm()
522 d = 1001 * parm->parm.capture.timeperframe.denominator; in vidioc_s_parm()
528 return vidioc_g_parm(filp, priv, parm); in vidioc_s_parm()
/drivers/media/pci/ttpci/
Dav7110_ir.c90 static void av7110_emit_keyup(unsigned long parm) in av7110_emit_keyup() argument
92 struct infrared *ir = (struct infrared *) parm; in av7110_emit_keyup()
103 static void av7110_emit_key(unsigned long parm) in av7110_emit_key() argument
105 struct infrared *ir = (struct infrared *) parm; in av7110_emit_key()
212 static void input_repeat_key(unsigned long parm) in input_repeat_key() argument
214 struct infrared *ir = (struct infrared *) parm; in input_repeat_key()

1234