Home
last modified time | relevance | path

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

/drivers/s390/char/
Dtape_34xx.c46 struct tape_34xx_block_id bid; member
885 tape_34xx_append_new_sbid(struct tape_34xx_block_id bid, struct list_head *l) in tape_34xx_append_new_sbid() argument
893 new_sbid->bid = bid; in tape_34xx_append_new_sbid()
903 tape_34xx_add_sbid(struct tape_device *device, struct tape_34xx_block_id bid) in tape_34xx_add_sbid() argument
915 if (!sbid_list || (bid.segment < 2 && bid.wrap == 0)) in tape_34xx_add_sbid()
930 (sbid->bid.segment == bid.segment) && in tape_34xx_add_sbid()
931 (sbid->bid.wrap == bid.wrap) in tape_34xx_add_sbid()
933 if (bid.block < sbid->bid.block) in tape_34xx_add_sbid()
934 sbid->bid = bid; in tape_34xx_add_sbid()
940 if (bid.block < sbid->bid.block) { in tape_34xx_add_sbid()
[all …]
/drivers/misc/sgi-gru/
Dgrufile.c261 int pnode, nid, bid, chip; in gru_init_tables() local
271 for_each_possible_blade(bid) { in gru_init_tables()
272 pnode = uv_blade_to_pnode(bid); in gru_init_tables()
273 nid = uv_blade_to_memory_nid(bid);/* -1 if no memory on blade */ in gru_init_tables()
277 gru_base[bid] = page_address(page); in gru_init_tables()
278 memset(gru_base[bid], 0, sizeof(struct gru_blade_state)); in gru_init_tables()
279 gru_base[bid]->bs_lru_gru = &gru_base[bid]->bs_grus[0]; in gru_init_tables()
280 spin_lock_init(&gru_base[bid]->bs_lock); in gru_init_tables()
281 init_rwsem(&gru_base[bid]->bs_kgts_sema); in gru_init_tables()
285 for (gru = gru_base[bid]->bs_grus, chip = 0; in gru_init_tables()
[all …]
Dgrukservices.c198 int bid, ret = 0; in gru_free_kernel_contexts() local
200 for (bid = 0; bid < GRU_MAX_BLADES; bid++) { in gru_free_kernel_contexts()
201 bs = gru_base[bid]; in gru_free_kernel_contexts()
226 int bid; in gru_lock_kernel_context() local
230 bid = blade_id < 0 ? uv_numa_blade_id() : blade_id; in gru_lock_kernel_context()
231 bs = gru_base[bid]; in gru_lock_kernel_context()
235 if (blade_id < 0 && bid != uv_numa_blade_id()) { in gru_lock_kernel_context()
240 gru_load_kernel_context(bs, bid); in gru_lock_kernel_context()
400 int cbrnum, bid; in gru_get_cb_exception_detail() local
407 for_each_possible_blade(bid) { in gru_get_cb_exception_detail()
[all …]
/drivers/staging/usbip/
Dstub_main.c71 struct bus_id_priv *bid = NULL; in get_busid_priv() local
76 bid = &(busid_table[idx]); in get_busid_priv()
79 return bid; in get_busid_priv()
/drivers/pcmcia/
Ddb1xxx_ss.c416 int ret, bid; in db1x_pcmcia_socket_probe() local
424 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1x_pcmcia_socket_probe()
425 switch (bid) { in db1x_pcmcia_socket_probe()
441 printk(KERN_INFO "db1xxx-ss: unknown board %d!\n", bid); in db1x_pcmcia_socket_probe()
/drivers/staging/quickstart/
Dquickstart.c226 char *bid = acpi_device_bid(quickstart->device); in quickstart_acpi_config() local
229 name = kmalloc(strlen(bid) + 1, GFP_KERNEL); in quickstart_acpi_config()
241 strcpy(quickstart->button->name, bid); in quickstart_acpi_config()
/drivers/staging/cxt1e1/
Dhwprobe.c57 char *bid; in show_two() local
65 bid = sbeid_get_bdname (ci); in show_two()
80 hi->devname, bid, in show_two()
/drivers/input/mouse/
Dsynaptics.c169 unsigned char bid[3]; in synaptics_board_id() local
171 if (synaptics_send_cmd(psmouse, SYN_QUE_MODES, bid)) in synaptics_board_id()
173 priv->board_id = ((bid[0] & 0xfc) << 6) | bid[1]; in synaptics_board_id()
/drivers/scsi/
Dgdth.h428 u32 bid; /* SCSI channel */ member
Dgdth_proc.c246 pds->bid = ha->raw[i].local_no; in gdth_show_info()
/drivers/media/dvb-frontends/
Ddrxk_hard.c867 u16 bid = 0; in DRXX_Open() local
885 status = read16(state, SIO_PDR_UIO_IN_HI__A, &bid); in DRXX_Open()