Home
last modified time | relevance | path

Searched refs:bit_num (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c440 unsigned int bit_num, in kfd_gtt_sa_calc_gpu_addr() argument
443 return start_addr + bit_num * chunk_size; in kfd_gtt_sa_calc_gpu_addr()
447 unsigned int bit_num, in kfd_gtt_sa_calc_cpu_addr() argument
450 return (uint32_t *) ((uint64_t) start_addr + bit_num * chunk_size); in kfd_gtt_sa_calc_cpu_addr()
/drivers/mfd/
Dasic3.c570 u8 alt, pin, dir, init, bank_num, bit_num; in asic3_gpio_probe() local
579 bit_num = ASIC3_GPIO_TO_BIT(pin); in asic3_gpio_probe()
581 alt_reg[bank_num] |= (alt << bit_num); in asic3_gpio_probe()
582 out_reg[bank_num] |= (init << bit_num); in asic3_gpio_probe()
583 dir_reg[bank_num] |= (dir << bit_num); in asic3_gpio_probe()
/drivers/video/fbdev/via/
Dhw.c984 int bit_num = 0; in viafb_load_reg() local
998 shift_next_reg = bit_num; in viafb_load_reg()
1002 get_bit = (timing_value & (BIT0 << bit_num)); in viafb_load_reg()
1005 bit_num++; in viafb_load_reg()
/drivers/net/ethernet/amd/
Damd8111e.c1361 int bit_num; in amd8111e_set_multicast_list() local
1390 bit_num = (ether_crc_le(ETH_ALEN, ha->addr) >> 26) & 0x3f; in amd8111e_set_multicast_list()
1391 mc_filter[bit_num >> 5] |= 1 << (bit_num & 31); in amd8111e_set_multicast_list()
/drivers/net/ethernet/smsc/
Dsmsc9420.c1065 u32 bit_num = smsc9420_hash(ha->addr); in smsc9420_set_multicast_list() local
1066 u32 mask = 1 << (bit_num & 0x1F); in smsc9420_set_multicast_list()
1068 if (bit_num & 0x20) in smsc9420_set_multicast_list()
/drivers/net/ethernet/marvell/
Dmvpp2.c1199 static void mvpp2_prs_sram_bits_set(struct mvpp2_prs_entry *pe, int bit_num, in mvpp2_prs_sram_bits_set() argument
1202 pe->sram.byte[MVPP2_BIT_TO_BYTE(bit_num)] |= (val << (bit_num % 8)); in mvpp2_prs_sram_bits_set()
1206 static void mvpp2_prs_sram_bits_clear(struct mvpp2_prs_entry *pe, int bit_num, in mvpp2_prs_sram_bits_clear() argument
1209 pe->sram.byte[MVPP2_BIT_TO_BYTE(bit_num)] &= ~(val << (bit_num % 8)); in mvpp2_prs_sram_bits_clear()