Searched refs:sw_map (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpio-xilinx.c | 65 DECLARE_BITMAP(sw_map, 64); 79 return bitmap_bitremap(bit, chip->hw_map, chip->sw_map, 64); in xgpio_from_bit() 84 return bitmap_bitremap(gpio, chip->sw_map, chip->hw_map, 64); in xgpio_to_bit() 211 bitmap_remap(hw_mask, mask, chip->sw_map, chip->hw_map, 64); in xgpio_set_multiple() 212 bitmap_remap(hw_bits, bits, chip->sw_map, chip->hw_map, 64); in xgpio_set_multiple() 623 bitmap_set(chip->sw_map, 0, width[0] + width[1]); in xgpio_probe()
|
/openbmc/linux/drivers/hwtracing/intel_th/ |
H A D | sth.c | 33 struct intel_th_channel __iomem *sw_map = sth->channels; in sth_channel() local 35 return &sw_map[(master - sth->stm.sw_start) * sth->stm.sw_nchannels + in sth_channel()
|