Searched refs:eoc (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/fs/cifs/
H A Dasn1.c224 unsigned char **eoc, asn1_header_decode()
241 *eoc = ctx->pointer + len; asn1_header_decode()
243 *eoc = NULL; asn1_header_decode()
248 asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc) asn1_eoc_decode() argument
252 if (eoc == NULL) { asn1_eoc_decode()
270 if (ctx->pointer != eoc) { asn1_eoc_decode()
279 unsigned char *eoc)
281 ctx->pointer = eoc;
286 unsigned char *eoc, long *integer)
297 while (ctx->pointer < eoc) {
313 unsigned char *eoc,
328 while (ctx->pointer < eoc) {
344 unsigned char *eoc,
359 while (ctx->pointer < eoc) {
376 unsigned char *eoc,
383 *octets = kmalloc(eoc - ctx->pointer, GFP_ATOMIC);
389 while (ctx->pointer < eoc) {
419 unsigned char *eoc, unsigned long **oid, unsigned int *len) asn1_oid_decode()
425 size = eoc - ctx->pointer + 1; asn1_oid_decode()
457 while (ctx->pointer < eoc) { asn1_oid_decode()
223 asn1_header_decode(struct asn1_ctx *ctx, unsigned char **eoc, unsigned int *cls, unsigned int *con, unsigned int *tag) asn1_header_decode() argument
418 asn1_oid_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned long **oid, unsigned int *len) asn1_oid_decode() argument
/linux-4.1.27/net/ipv4/netfilter/
H A Dnf_nat_snmp_basic.c247 unsigned char **eoc, asn1_header_decode()
266 *eoc = ctx->pointer + len; asn1_header_decode()
268 *eoc = NULL; asn1_header_decode()
272 static unsigned char asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc) asn1_eoc_decode() argument
276 if (eoc == NULL) { asn1_eoc_decode()
294 if (ctx->pointer != eoc) { asn1_eoc_decode()
302 static unsigned char asn1_null_decode(struct asn1_ctx *ctx, unsigned char *eoc) asn1_null_decode() argument
304 ctx->pointer = eoc; asn1_null_decode()
309 unsigned char *eoc, asn1_long_decode()
321 while (ctx->pointer < eoc) { asn1_long_decode()
337 unsigned char *eoc, asn1_uint_decode()
350 while (ctx->pointer < eoc) { asn1_uint_decode()
366 unsigned char *eoc, asn1_ulong_decode()
379 while (ctx->pointer < eoc) { asn1_ulong_decode()
395 unsigned char *eoc, asn1_octets_decode()
403 *octets = kmalloc(eoc - ctx->pointer, GFP_ATOMIC); asn1_octets_decode()
408 while (ctx->pointer < eoc) { asn1_octets_decode()
437 unsigned char *eoc, asn1_oid_decode()
445 size = eoc - ctx->pointer + 1; asn1_oid_decode()
477 while (ctx->pointer < eoc) { asn1_oid_decode()
676 unsigned char *eoc, *end, *p; snmp_object_decode() local
684 if (!asn1_header_decode(ctx, &eoc, &cls, &con, &tag)) snmp_object_decode()
821 if (!asn1_eoc_decode(ctx, eoc)) { snmp_object_decode()
1022 unsigned char *eoc, *end; snmp_parse_mangle() local
1036 if (!asn1_header_decode(&ctx, &eoc, &cls, &con, &tag)) snmp_parse_mangle()
1077 if (!asn1_header_decode(&ctx, &eoc, &cls, &con, &pdutype)) snmp_parse_mangle()
1130 if (!asn1_header_decode(&ctx, &eoc, &cls, &con, &tag)) snmp_parse_mangle()
1136 while (!asn1_eoc_decode(&ctx, eoc)) { snmp_parse_mangle()
1165 if (!asn1_eoc_decode(&ctx, eoc)) snmp_parse_mangle()
246 asn1_header_decode(struct asn1_ctx *ctx, unsigned char **eoc, unsigned int *cls, unsigned int *con, unsigned int *tag) asn1_header_decode() argument
308 asn1_long_decode(struct asn1_ctx *ctx, unsigned char *eoc, long *integer) asn1_long_decode() argument
336 asn1_uint_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned int *integer) asn1_uint_decode() argument
365 asn1_ulong_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned long *integer) asn1_ulong_decode() argument
394 asn1_octets_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned char **octets, unsigned int *len) asn1_octets_decode() argument
436 asn1_oid_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned long **oid, unsigned int *len) asn1_oid_decode() argument
/linux-4.1.27/drivers/power/
H A Dmax8998_charger.c112 if (pdata->eoc >= 10 && pdata->eoc <= 45) { max8998_battery_probe()
114 (pdata->eoc / 5 - 2) << 5, 0x7 << 5); max8998_battery_probe()
115 } else if (pdata->eoc == 0) { max8998_battery_probe()
H A Dmax14577_charger.c496 ret = of_property_read_u32(np, "maxim,eoc-uamp", &pdata->eoc_uamp); max14577_charger_dt_init()
498 dev_err(&pdev->dev, "Cannot parse maxim,eoc-uamp field from DT\n"); max14577_charger_dt_init()
H A Dlp8727_charger.c505 of_property_read_u8(np, "eoc-level", (u8 *)&param->eoc_level); lp8727_parse_charge_pdata()
/linux-4.1.27/include/linux/mfd/
H A Dmax8998.h88 * @eoc: End of Charge Level in percent: 10% ~ 45% by 5% step
113 int eoc; member in struct:max8998_platform_data
H A Dmax8997.h208 /* eoc stands for 'end of charge' */
/linux-4.1.27/drivers/isdn/gigaset/
H A Dev-layer.c447 char *eoc, *psep, *ptr; gigaset_handle_modem_response() local
471 eoc = skip_prefix(cs->respdata, rt->response); gigaset_handle_modem_response()
472 if (eoc) gigaset_handle_modem_response()
501 if (*eoc) gigaset_handle_modem_response()
509 if (!*eoc) gigaset_handle_modem_response()
510 eoc = NULL; /* no parameter */ gigaset_handle_modem_response()
511 else if (*eoc++ != ',') gigaset_handle_modem_response()
517 while (eoc) { gigaset_handle_modem_response()
521 psep = skip_prefix(eoc, rt->response); gigaset_handle_modem_response()
530 eoc); gigaset_handle_modem_response()
539 eoc = strchr(psep, ','); gigaset_handle_modem_response()
540 if (eoc) gigaset_handle_modem_response()
541 *eoc++ = 0; gigaset_handle_modem_response()
553 if (!*eoc) { gigaset_handle_modem_response()
558 if (*eoc++ != '=') gigaset_handle_modem_response()
563 if (!strcmp(eoc, zr->str)) gigaset_handle_modem_response()
573 if (*eoc++ != '=') gigaset_handle_modem_response()
577 ptr = kstrdup(eoc, GFP_ATOMIC); gigaset_handle_modem_response()
585 if (*eoc++ != '=') gigaset_handle_modem_response()
587 psep = strchr(eoc, ','); gigaset_handle_modem_response()
593 if (kstrtou8(eoc, 16, &type) || kstrtou8(psep, 16, &value)) { gigaset_handle_modem_response()
604 if (*eoc++ != '=') gigaset_handle_modem_response()
608 if (kstrtoint(eoc, 10, &parameter)) gigaset_handle_modem_response()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Ddas08.c36 2 eoc, ip1-3, irq, mux op1-4, inte, mux
66 2 eoc, mux mux
88 2 eoc, ip1-3, irq, mux op1-4, inte, mux
158 2 eoc, mux mux
/linux-4.1.27/drivers/iio/adc/
H A Dcc10001_adc.c158 /* Calculate delay step for eoc and sampled data */ cc10001_adc_trigger_h()
201 /* Calculate delay step for eoc and sampled data */ cc10001_adc_read_raw_voltage()
H A Dat91_adc.c269 /* Handler for classic adc channel eoc trigger */ handle_adc_eoc_trigger()
/linux-4.1.27/drivers/net/ethernet/ti/
H A Dtlan.c1372 int eoc = 0; tlan_handle_tx_eof() local
1397 eoc = 1; tlan_handle_tx_eof()
1411 if (eoc) { tlan_handle_tx_eof()
1506 int eoc = 0; tlan_handle_rx_eof() local
1527 eoc = 1; tlan_handle_rx_eof()
1567 if (eoc) { tlan_handle_rx_eof()
/linux-4.1.27/drivers/scsi/
H A Deata.c729 unchar eoc : 1, member in struct:mssp
733 eoc : 1; /* End Of Command (1 = command completed) */
2338 if (spp->eoc == 0 && ha->iocount > 1) ihdlr()
2340 ("%s: ihdlr, spp->eoc == 0, irq %d, reg 0x%x, count %d.\n", ihdlr()
2346 if (spp->eoc == 0 || spp->cpp_index < 0 ihdlr()
/linux-4.1.27/drivers/block/
H A Dfloppy.c2274 int eoc; rw_interrupt() local
2293 eoc = 1; rw_interrupt()
2295 eoc = 0; rw_interrupt()
2304 R_SECTOR - SECTOR + eoc) << SIZECODE >> 2; rw_interrupt()
2313 pr_info("heads=%d eoc=%d\n", heads, eoc); rw_interrupt()
/linux-4.1.27/drivers/net/wireless/
H A Dairo.c986 unsigned int eoc: 1; member in struct:__anon7570
1991 ai->txfids[0].tx_desc.eoc = 1; mpi_send_packet()
2505 ai->txfids[i-1].tx_desc.eoc = 1; /* Last descriptor has EOC set */ mpi_init_descriptors()
2620 ai->txfids[i-1].tx_desc.eoc = 1; /* Last descriptor has EOC set */ mpi_map_card()

Completed in 2123 milliseconds