Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 16 of 16) sorted by relevance

/drivers/net/wireguard/
Dratelimiter.c27 u64 last_time_ns, tokens, ip; member
113 u64 now, tokens; in wg_ratelimiter_allow() local
122 tokens = min_t(u64, TOKEN_MAX, in wg_ratelimiter_allow()
123 entry->tokens + now - in wg_ratelimiter_allow()
126 ret = tokens >= PACKET_COST; in wg_ratelimiter_allow()
127 entry->tokens = ret ? tokens - PACKET_COST : tokens; in wg_ratelimiter_allow()
147 entry->tokens = TOKEN_MAX - PACKET_COST; in wg_ratelimiter_allow()
/drivers/i2c/busses/
Di2c-meson.c103 u32 tokens[2]; member
122 i2c->tokens[0] = 0; in meson_i2c_reset_tokens()
123 i2c->tokens[1] = 0; in meson_i2c_reset_tokens()
130 i2c->tokens[0] |= (token & 0xf) << (i2c->num_tokens * 4); in meson_i2c_add_token()
132 i2c->tokens[1] |= (token & 0xf) << ((i2c->num_tokens % 8) * 4); in meson_i2c_add_token()
224 writel(i2c->tokens[0], i2c->regs + REG_TOK_LIST0); in meson_i2c_prepare_xfer()
225 writel(i2c->tokens[1], i2c->regs + REG_TOK_LIST1); in meson_i2c_prepare_xfer()
/drivers/mtd/ubi/
Dblock.c107 char *tokens[UBIBLOCK_PARAM_COUNT]; in ubiblock_set_param() local
131 tokens[i] = strsep(&pbuf, ","); in ubiblock_set_param()
134 if (tokens[1]) { in ubiblock_set_param()
136 ret = kstrtoint(tokens[0], 10, &param->ubi_num); in ubiblock_set_param()
141 ret = kstrtoint(tokens[1], 10, &param->vol_id); in ubiblock_set_param()
144 strcpy(param->name, tokens[1]); in ubiblock_set_param()
149 strcpy(param->name, tokens[0]); in ubiblock_set_param()
Dbuild.c1394 char *tokens[MTD_PARAM_MAX_COUNT], *token; in ubi_mtd_param_parse() local
1424 tokens[i] = strsep(&pbuf, ","); in ubi_mtd_param_parse()
1432 strcpy(&p->name[0], tokens[0]); in ubi_mtd_param_parse()
1434 token = tokens[1]; in ubi_mtd_param_parse()
1442 token = tokens[2]; in ubi_mtd_param_parse()
1453 token = tokens[3]; in ubi_mtd_param_parse()
/drivers/platform/x86/dell/
Ddell-smbios-base.c356 int tokens = (dm->length-11)/sizeof(struct calling_interface_token)-1; in parse_da_table() local
371 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table()
379 memcpy(da_tokens+da_num_tokens, table->tokens, in parse_da_table()
380 sizeof(struct calling_interface_token) * tokens); in parse_da_table()
382 da_num_tokens += tokens; in parse_da_table()
Ddell-smbios.h54 struct calling_interface_token tokens[]; member
/drivers/target/
Dtarget_core_rd.c536 static match_table_t tokens = { variable
561 token = match_token(ptr, tokens, args); in rd_set_configfs_dev_params()
Dtarget_core_iblock.c561 static match_table_t tokens = { variable
587 token = match_token(ptr, tokens, args); in iblock_set_configfs_dev_params()
Dtarget_core_file.c698 static match_table_t tokens = { variable
724 token = match_token(ptr, tokens, args); in fd_set_configfs_dev_params()
Dtarget_core_pscsi.c708 static match_table_t tokens = { variable
735 token = match_token(ptr, tokens, args); in pscsi_set_configfs_dev_params()
Dtarget_core_user.c2433 static match_table_t tokens = { variable
2556 token = match_token(ptr, tokens, args); in tcmu_set_configfs_dev_params()
Dtarget_core_configfs.c1944 static match_table_t tokens = { variable
1998 token = match_token(ptr, tokens, args); in target_pr_res_aptpl_metadata_store()
/drivers/net/wireless/marvell/libertas/
DREADME204 line. If dur tokens are absent, the driver default setting will be used.
/drivers/firmware/efi/
DKconfig220 The BIOS setup page contains BIOS tokens which can be configured.
/drivers/net/fddi/
Ddefxx.h907 PI_CNTR tokens; member
/drivers/scsi/
Dqla1280.c4014 enum tokens { enum