Home
last modified time | relevance | path

Searched refs:bid (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/octeon-usb/
Docteon-hcd.h54 #define CVMX_USBCXREG1(reg, bid) \ argument
56 ((bid) & 1) * 0x100000000000ull)
57 #define CVMX_USBCXREG2(reg, bid, off) \ argument
59 (((off) & 7) + ((bid) & 1) * 0x8000000000ull) * 32)
61 #define CVMX_USBCX_GAHBCFG(bid) CVMX_USBCXREG1(0x008, bid) argument
62 #define CVMX_USBCX_GHWCFG3(bid) CVMX_USBCXREG1(0x04c, bid) argument
63 #define CVMX_USBCX_GINTMSK(bid) CVMX_USBCXREG1(0x018, bid) argument
64 #define CVMX_USBCX_GINTSTS(bid) CVMX_USBCXREG1(0x014, bid) argument
65 #define CVMX_USBCX_GNPTXFSIZ(bid) CVMX_USBCXREG1(0x028, bid) argument
66 #define CVMX_USBCX_GNPTXSTS(bid) CVMX_USBCXREG1(0x02c, bid) argument
[all …]
/drivers/s390/char/
Dtape_34xx.c47 struct tape_34xx_block_id bid; member
884 tape_34xx_append_new_sbid(struct tape_34xx_block_id bid, struct list_head *l) in tape_34xx_append_new_sbid() argument
892 new_sbid->bid = bid; in tape_34xx_append_new_sbid()
902 tape_34xx_add_sbid(struct tape_device *device, struct tape_34xx_block_id bid) in tape_34xx_add_sbid() argument
914 if (!sbid_list || (bid.segment < 2 && bid.wrap == 0)) in tape_34xx_add_sbid()
929 (sbid->bid.segment == bid.segment) && in tape_34xx_add_sbid()
930 (sbid->bid.wrap == bid.wrap) in tape_34xx_add_sbid()
932 if (bid.block < sbid->bid.block) in tape_34xx_add_sbid()
933 sbid->bid = bid; in tape_34xx_add_sbid()
939 if (bid.block < sbid->bid.block) { in tape_34xx_add_sbid()
[all …]
/drivers/misc/sgi-gru/
Dgrufile.c254 int pnode, nid, bid, chip; in gru_init_tables() local
264 for_each_possible_blade(bid) { in gru_init_tables()
265 pnode = uv_blade_to_pnode(bid); in gru_init_tables()
266 nid = uv_blade_to_memory_nid(bid);/* -1 if no memory on blade */ in gru_init_tables()
270 gru_base[bid] = page_address(page); in gru_init_tables()
271 memset(gru_base[bid], 0, sizeof(struct gru_blade_state)); in gru_init_tables()
272 gru_base[bid]->bs_lru_gru = &gru_base[bid]->bs_grus[0]; in gru_init_tables()
273 spin_lock_init(&gru_base[bid]->bs_lock); in gru_init_tables()
274 init_rwsem(&gru_base[bid]->bs_kgts_sema); in gru_init_tables()
278 for (gru = gru_base[bid]->bs_grus, chip = 0; in gru_init_tables()
[all …]
Dgrukservices.c191 int bid, ret = 0; in gru_free_kernel_contexts() local
193 for (bid = 0; bid < GRU_MAX_BLADES; bid++) { in gru_free_kernel_contexts()
194 bs = gru_base[bid]; in gru_free_kernel_contexts()
219 int bid; in gru_lock_kernel_context() local
223 bid = blade_id < 0 ? uv_numa_blade_id() : blade_id; in gru_lock_kernel_context()
224 bs = gru_base[bid]; in gru_lock_kernel_context()
228 if (blade_id < 0 && bid != uv_numa_blade_id()) { in gru_lock_kernel_context()
233 gru_load_kernel_context(bs, bid); in gru_lock_kernel_context()
393 int cbrnum, bid; in gru_get_cb_exception_detail() local
400 for_each_possible_blade(bid) { in gru_get_cb_exception_detail()
[all …]
/drivers/usb/usbip/
Dstub_main.c68 struct bus_id_priv *bid = NULL; in get_busid_priv() local
73 bid = &(busid_table[idx]); in get_busid_priv()
75 spin_lock(&bid->busid_lock); in get_busid_priv()
79 return bid; in get_busid_priv()
82 void put_busid_priv(struct bus_id_priv *bid) in put_busid_priv() argument
84 if (bid) in put_busid_priv()
85 spin_unlock(&bid->busid_lock); in put_busid_priv()
249 struct bus_id_priv *bid; in rebind_store() local
257 bid = get_busid_priv(buf); in rebind_store()
258 if (!bid) in rebind_store()
[all …]
Dstub.h91 void put_busid_priv(struct bus_id_priv *bid);
/drivers/pcmcia/
Ddb1xxx_ss.c427 int ret, bid; in db1x_pcmcia_socket_probe() local
435 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1x_pcmcia_socket_probe()
436 switch (bid) { in db1x_pcmcia_socket_probe()
452 printk(KERN_INFO "db1xxx-ss: unknown board %d!\n", bid); in db1x_pcmcia_socket_probe()
/drivers/phy/intel/
Dphy-intel-lgm-combo.c95 u32 bid; member
114 return regmap_update_bits(cbphy->hsiocfg, REG_CLK_DISABLE(cbphy->bid), in intel_cbphy_iphy_enable()
231 ret = regmap_write(cbphy->hsiocfg, REG_COMBO_MODE(cbphy->bid), cb_mode); in intel_cbphy_set_mode()
482 cbphy->bid = ref.args[0]; in intel_cbphy_fwnode_parse()
/drivers/input/mouse/
Dsynaptics.c280 u8 bid[3]; in synaptics_query_modes() local
287 error = synaptics_send_cmd(psmouse, SYN_QUE_MODES, bid); in synaptics_query_modes()
291 info->board_id = ((bid[0] & 0xfc) << 6) | bid[1]; in synaptics_query_modes()
293 if (SYN_MEXT_CAP_BIT(bid[0])) in synaptics_query_modes()
/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c2479 u16 bid = 0; in get_device_capabilities() local
2540 rc = drxj_dap_read_reg16(dev_addr, SIO_PDR_UIO_IN_HI__A, &bid, 0); in get_device_capabilities()
2545 bid = (bid >> 10) & 0xf; in get_device_capabilities()
/drivers/media/dvb-frontends/
Ddrxk_hard.c756 u16 bid = 0; in drxx_open() local
775 status = read16(state, SIO_PDR_UIO_IN_HI__A, &bid); in drxx_open()