Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 15 of 15) sorted by relevance

/drivers/parisc/
Dlba_pci.c148 #define LBA_CFG_BUS(tok) ((u8) ((tok)>>16)) argument
149 #define LBA_CFG_DEV(tok) ((u8) ((tok)>>11) & 0x1f) argument
150 #define LBA_CFG_FUNC(tok) ((u8) ((tok)>>8 ) & 0x7) argument
208 #define LBA_CFG_SETUP(d, tok) { \ argument
235 #define LBA_CFG_PROBE(d, tok) { \ argument
240 WRITE_REG32(tok | PCI_VENDOR_ID, (d)->hba.base_addr + LBA_PCI_CFG_ADDR);\
286 #define LBA_CFG_MASTER_ABORT_CHECK(d, base, tok, error) { \ argument
340 lba_rd_cfg(struct lba_device *d, u32 tok, u8 reg, u32 size) in lba_rd_cfg() argument
348 LBA_CFG_SETUP(d, tok); in lba_rd_cfg()
349 LBA_CFG_PROBE(d, tok); in lba_rd_cfg()
[all …]
/drivers/isdn/mISDN/
Ddsp_hwec.c72 char *dup, *tok, *name, *val; in dsp_hwec_enable() local
78 while ((tok = strsep(&dup, ","))) { in dsp_hwec_enable()
79 if (!strlen(tok)) in dsp_hwec_enable()
81 name = strsep(&tok, "="); in dsp_hwec_enable()
82 val = tok; in dsp_hwec_enable()
Ddsp_pipeline.c239 char *dup, *tok, *name, *args; in dsp_pipeline_build() local
253 while ((tok = strsep(&dup, "|"))) { in dsp_pipeline_build()
254 if (!strlen(tok)) in dsp_pipeline_build()
256 name = strsep(&tok, "("); in dsp_pipeline_build()
257 args = strsep(&tok, ")"); in dsp_pipeline_build()
/drivers/staging/lustre/lnet/libcfs/
Dlibcfs_string.c280 struct cfs_lstr tok; in cfs_range_expr_parse() local
301 if (!bracketed || !cfs_gettok(src, '-', &tok)) in cfs_range_expr_parse()
304 if (!cfs_str2num_check(tok.ls_str, tok.ls_len, in cfs_range_expr_parse()
317 if (cfs_gettok(src, '/', &tok)) { in cfs_range_expr_parse()
318 if (!cfs_str2num_check(tok.ls_str, tok.ls_len, in cfs_range_expr_parse()
528 struct cfs_lstr tok; in cfs_expr_list_parse() local
530 if (!cfs_gettok(&src, ',', &tok)) { in cfs_expr_list_parse()
535 rc = cfs_range_expr_parse(&tok, min, max, 1, &expr); in cfs_expr_list_parse()
/drivers/usb/host/
Doxu210hp.h185 #define DBGP_PID_SET(data, tok) (((data)<<8)|(tok)) argument
209 #define QTD_LENGTH(tok) (((tok)>>16) & 0x7fff) argument
211 #define QTD_CERR(tok) (((tok)>>10) & 0x3) argument
212 #define QTD_PID(tok) (((tok)>>8) & 0x3) argument
Dfotg210.h322 #define QTD_LENGTH(tok) (((tok)>>16) & 0x7fff) argument
324 #define QTD_CERR(tok) (((tok)>>10) & 0x3) argument
325 #define QTD_PID(tok) (((tok)>>8) & 0x3) argument
547 #define FOTG210_ITD_LENGTH(tok) (((tok)>>16) & 0x0fff) argument
Dehci.h305 #define QTD_LENGTH(tok) (((tok)>>16) & 0x7fff) argument
307 #define QTD_CERR(tok) (((tok)>>10) & 0x3) argument
308 #define QTD_PID(tok) (((tok)>>8) & 0x3) argument
528 #define EHCI_ITD_LENGTH(tok) (((tok)>>16) & 0x0fff) argument
/drivers/firmware/
Dqemu_fw_cfg.c367 char *name_copy, *p, *tok; in fw_cfg_build_symlink() local
378 while ((tok = strsep(&p, "/")) && *tok) { in fw_cfg_build_symlink()
382 ret = sysfs_create_link(&dir->kobj, target, tok); in fw_cfg_build_symlink()
387 ko = kset_find_obj(dir, tok); in fw_cfg_build_symlink()
409 ret = kobject_set_name(&subdir->kobj, "%s", tok); in fw_cfg_build_symlink()
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h342 #define h_reg_crq(ua, tok, sz) \ argument
343 plpar_hcall_norets(H_REG_CRQ, ua, tok, sz)
/drivers/usb/early/
Dehci-dbgp.c148 static inline u32 dbgp_pid_write_update(u32 x, u32 tok) in dbgp_pid_write_update() argument
152 return (x & 0xffff0000) | (data0 << 8) | (tok & 0xff); in dbgp_pid_write_update()
155 static inline u32 dbgp_pid_read_update(u32 x, u32 tok) in dbgp_pid_read_update() argument
157 return (x & 0xffff0000) | (USB_PID_DATA0 << 8) | (tok & 0xff); in dbgp_pid_read_update()
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.h30 u8 tok:1; /* Transmit ok. */ member
Dr819xU_cmdpkt.c103 if (pstx_fb->tok) { in cmpk_count_txstatistic()
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c686 char tok[len + 1]; in vpdstrtouint() local
688 memcpy(tok, s, len); in vpdstrtouint()
689 tok[len] = 0; in vpdstrtouint()
690 return kstrtouint(strim(tok), base, val); in vpdstrtouint()
695 char tok[len + 1]; in vpdstrtou16() local
697 memcpy(tok, s, len); in vpdstrtou16()
698 tok[len] = 0; in vpdstrtou16()
699 return kstrtou16(strim(tok), base, val); in vpdstrtou16()
/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c503 bool tok; in rtl8187b_status_cb() local
509 tok = val & (1 << 15); in rtl8187b_status_cb()
534 if (tok) in rtl8187b_status_cb()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac80211.c126 .tok = &iwl_mvm_wowlan_tcp_token_feature,