/drivers/w1/ |
H A D | w1_int.c | 230 void w1_remove_master_device(struct w1_bus_master *bm) argument 238 if (dev->bus_master->data == bm->data) {
|
/drivers/uwb/ |
H A D | drp-ie.c | 152 bitmap_copy(tmp_bmp, mas->bm, UWB_NUM_MAS); 269 void uwb_drp_ie_single_zone_to_bm(struct uwb_mas_bm *bm, u8 zone, u16 mas_bm) argument 277 set_bit(zone * UWB_NUM_ZONES + mas, bm->bm); 296 void uwb_drp_ie_to_bm(struct uwb_mas_bm *bm, const struct uwb_ie_drp *drp_ie) argument 305 bitmap_zero(bm->bm, UWB_NUM_MAS); 314 uwb_drp_ie_single_zone_to_bm(bm, zone, mas_bm);
|
H A D | allocator.c | 27 unsigned char *bm = ai->bm; local 37 if (bm[col * UWB_MAS_PER_ZONE + mas] == 0) { 48 bm[col * UWB_MAS_PER_ZONE + mas] = c; 57 unsigned char *bm = ai->bm; local 73 if (bm[col * UWB_NUM_ZONES + mas] != UWB_RSV_MAS_NOT_AVAIL) { 74 bm[col * UWB_NUM_ZONES + mas] = c; 206 unsigned char *bm = ai->bm; local 223 uwb_rsv_fill_column_info(unsigned char *bm, int column, struct uwb_rsv_col_info *rci) argument 262 unsigned char *bm = ai->bm; local [all...] |
H A D | uwb-internal.h | 160 unsigned char bm[UWB_MAS_PER_ZONE * UWB_NUM_ZONES]; member in struct:uwb_rsv_alloc_info 342 void uwb_drp_ie_to_bm(struct uwb_mas_bm *bm, const struct uwb_ie_drp *drp_ie);
|
/drivers/md/persistent-data/ |
H A D | dm-transaction-manager.c | 36 struct dm_block_manager *bm; member in struct:dm_transaction_manager 103 static struct dm_transaction_manager *dm_tm_create(struct dm_block_manager *bm, argument 115 tm->bm = bm; 170 return dm_bm_flush_and_unlock(tm->bm, root); 188 r = dm_bm_write_lock_zero(tm->bm, new_block, v, result); 219 r = dm_bm_read_lock(tm->bm, orig, v, &orig_block); 229 return dm_bm_write_lock(tm->bm, new, v, result); 246 return dm_bm_write_lock(tm->bm, orig, v, result); 261 return dm_bm_read_try_lock(tm->real->bm, 310 dm_tm_create_internal(struct dm_block_manager *bm, dm_block_t sb_location, struct dm_block_validator *sb_validator, size_t root_offset, size_t root_max_len, struct dm_transaction_manager **tm, struct dm_space_map **sm, struct dm_block **sblock, int create) argument 386 dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, struct dm_block_validator *sb_validator, struct dm_transaction_manager **tm, struct dm_space_map **sm, struct dm_block **sblock) argument 396 dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, struct dm_block_validator *sb_validator, size_t root_offset, size_t root_max_len, struct dm_transaction_manager **tm, struct dm_space_map **sm, struct dm_block **sblock) argument [all...] |
H A D | dm-block-manager.c | 328 static struct dm_bufio_client *to_bufio(struct dm_block_manager *bm) argument 330 return (struct dm_bufio_client *) bm; 383 void dm_block_manager_destroy(struct dm_block_manager *bm) argument 385 return dm_bufio_client_destroy(to_bufio(bm)); 389 unsigned dm_bm_block_size(struct dm_block_manager *bm) argument 391 return dm_bufio_get_block_size(to_bufio(bm)); 395 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm) argument 397 return dm_bufio_get_device_size(to_bufio(bm)); 400 static int dm_bm_validate_buffer(struct dm_block_manager *bm, argument 409 r = v->check(v, (struct dm_block *) buf, dm_bufio_get_block_size(to_bufio(bm))); 425 dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b, struct dm_block_validator *v, struct dm_block **result) argument 458 dm_bm_write_lock(struct dm_block_manager *bm, dm_block_t b, struct dm_block_validator *v, struct dm_block **result) argument 491 dm_bm_read_try_lock(struct dm_block_manager *bm, dm_block_t b, struct dm_block_validator *v, struct dm_block **result) argument 524 dm_bm_write_lock_zero(struct dm_block_manager *bm, dm_block_t b, struct dm_block_validator *v, struct dm_block **result) argument 584 dm_bm_flush_and_unlock(struct dm_block_manager *bm, struct dm_block *superblock) argument [all...] |
/drivers/block/drbd/ |
H A D | drbd_bitmap.c | 468 unsigned long *p_addr, *bm; local 481 bm = p_addr + (tmp/BITS_PER_LONG); 483 /* If mask != 0, we are not exactly aligned, so bm now points 485 * If mask == 0, bm already points to the word immediately 487 cleared = hweight_long(*bm & ~mask); 488 *bm &= mask; 489 bm++; 492 if (BITS_PER_LONG == 32 && ((bm - p_addr) & 1) == 1) { 495 cleared += hweight_long(*bm); 496 *bm 505 unsigned long *p_addr, *bm; local 569 unsigned long *p_addr, *bm; local 782 unsigned long *p_addr, *bm; local 829 unsigned long *p_addr, *bm; local 1520 unsigned long *p_addr, *bm; local 1551 unsigned long *p_addr, *bm; local [all...] |
/drivers/tty/serial/ |
H A D | mxs-auart.c | 288 u32 bm, ctrl, ctrl2, div; local 299 bm = 0; 302 bm = 1; 305 bm = 2; 308 bm = 3; 314 ctrl |= AUART_LINECTRL_WLEN(bm);
|
/drivers/input/ |
H A D | input.c | 51 unsigned long *bm, unsigned int max) 53 return code <= max && test_bit(code, bm); 1220 char name, unsigned long *bm, 1227 if (bm[BIT_WORD(i)] & BIT_MASK(i)) 1364 #define INPUT_DEV_CAP_ATTR(ev, bm) \ 1365 static ssize_t input_dev_show_cap_##bm(struct device *dev, \ 1371 input_dev->bm##bit, ev##_MAX, \ 1375 static DEVICE_ATTR(bm, S_IRUGO, input_dev_show_cap_##bm, NULL) 1471 #define INPUT_ADD_HOTPLUG_BM_VAR(name, bm, ma 50 is_event_supported(unsigned int code, unsigned long *bm, unsigned int max) argument 1219 input_print_modalias_bits(char *buf, int size, char name, unsigned long *bm, unsigned int min_bit, unsigned int max_bit) argument [all...] |
/drivers/md/ |
H A D | bitmap.c | 1666 struct sysfs_dirent *bm = NULL; local 1689 bm = sysfs_get_dirent(mddev->kobj.sd, NULL, "bitmap"); 1690 if (bm) { 1691 bitmap->sysfs_can_clear = sysfs_get_dirent(bm, NULL, "can_clear"); 1692 sysfs_put(bm);
|
H A D | dm-thin-metadata.c | 140 struct dm_block_manager *bm; member in struct:dm_pool_metadata 341 static int superblock_all_zeroes(struct dm_block_manager *bm, int *result) argument 347 unsigned block_size = dm_bm_block_size(bm) / sizeof(__le64); 352 r = dm_bm_read_lock(bm, THIN_SUPERBLOCK_LOCATION, NULL, &b); 369 struct dm_block_manager *bm, 378 r = dm_tm_create_with_sm(bm, THIN_SUPERBLOCK_LOCATION, 397 r = dm_tm_open_with_sm(bm, THIN_SUPERBLOCK_LOCATION, 422 pmd->bm = bm; 505 r = dm_bm_read_lock(pmd->bm, THIN_SUPERBLOCK_LOCATIO 368 init_pmd(struct dm_pool_metadata *pmd, struct dm_block_manager *bm, dm_block_t nr_blocks, int create) argument 662 struct dm_block_manager *bm; local [all...] |
/drivers/video/matrox/ |
H A D | matroxfb_base.c | 227 u_int32_t bm; local 230 bm = 0x220; 232 bm = 0x020; 241 mga_outl(M_ICLEAR, bm); 242 mga_outl(M_IEN, mga_inl(M_IEN) | bm); 247 if ((ien & bm) != bm) { 249 mga_outl(M_IEN, ien | bm);
|