Home
last modified time | relevance | path

Searched refs:hw_map (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-xilinx.c48 * @hw_map: GPIO pin mapping on hardware side
64 DECLARE_BITMAP(hw_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()
626 bitmap_set(chip->hw_map, 0, width[0]); in xgpio_probe()
627 bitmap_set(chip->hw_map, 32, width[1]); in xgpio_probe()
632 chip->gc.ngpio = bitmap_weight(chip->hw_map, 64); in xgpio_probe()
/kernel/linux/linux-6.6/drivers/media/platform/amlogic/meson-ge2d/
H A Dge2d.c54 unsigned int hw_map; member
106 .hw_map = GE2D_COLOR_MAP_ ## _map, \
207 FIELD_PREP(GE2D_DST1_COLOR_MAP, ctx->out.fmt->hw_map) | in ge2d_hw_start()
209 FIELD_PREP(GE2D_SRC2_COLOR_MAP, ctx->out.fmt->hw_map) | in ge2d_hw_start()
211 FIELD_PREP(GE2D_SRC1_COLOR_MAP, ctx->in.fmt->hw_map) | in ge2d_hw_start()
/third_party/alsa-utils/aplay/
H A Daplay.c157 static unsigned int *hw_map = NULL; /* chmap to follow */ variable
1308 hw_map = calloc(hwparams.channels, sizeof(int));
1309 if (!hw_map) {
1319 hw_map[ch] = ch;
1325 hw_map[ch] = i;
2098 if (!hw_map)
2116 memcpy(dst, src + sample_bytes * hw_map[ch],
2130 if (!hw_map)
2140 tmp[ch] = data[hw_map[ch]];

Completed in 7 milliseconds