Home
last modified time | relevance | path

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

/drivers/gpu/drm/qxl/
Dqxl_kms.c45 int mode_offset; in qxl_check_device() local
66 mode_offset = rom->modes_offset / 4; in qxl_check_device()
67 qdev->mode_info.num_modes = ((u32 *)rom)[mode_offset]; in qxl_check_device()
70 qdev->mode_info.modes = (void *)((uint32_t *)rom + mode_offset + 1); in qxl_check_device()
/drivers/clk/rockchip/
Dclk-pll.c346 int grf_lock_offset, int lock_shift, int mode_offset, in rockchip_clk_register_pll() argument
372 pll_mux->reg = base + mode_offset; in rockchip_clk_register_pll()
Dclk.h131 int mode_offset; member
151 .mode_offset = _mode, \
Dclk.c208 list->lock_shift, list->mode_offset, in rockchip_clk_register_plls()
/drivers/net/wireless/ath/ath5k/
Deeprom.c470 u32 mode_offset[3]; in ath5k_eeprom_init_modes() local
478 mode_offset[AR5K_EEPROM_MODE_11A] = AR5K_EEPROM_MODES_11A(ah->ah_ee_version); in ath5k_eeprom_init_modes()
479 mode_offset[AR5K_EEPROM_MODE_11B] = AR5K_EEPROM_MODES_11B(ah->ah_ee_version); in ath5k_eeprom_init_modes()
480 mode_offset[AR5K_EEPROM_MODE_11G] = AR5K_EEPROM_MODES_11G(ah->ah_ee_version); in ath5k_eeprom_init_modes()
486 offset = mode_offset[mode]; in ath5k_eeprom_init_modes()
/drivers/block/
Dpktcdvd.c1702 pd->mode_offset = (buffer[6] << 8) | (buffer[7] & 0xff); in pkt_set_write_settings()
1719 wp = (write_param_page *) &buffer[sizeof(struct mode_page_header) + pd->mode_offset]; in pkt_set_write_settings()
1950 cgc.buflen = pd->mode_offset + 12; in pkt_write_caching()
1960 buf[pd->mode_offset + 10] |= (!!set << 2); in pkt_write_caching()
1994 cap_buf = &buf[sizeof(struct mode_page_header) + pd->mode_offset]; in pkt_get_max_speed()
2000 cgc.buflen = pd->mode_offset + cap_buf[1] + 2 + in pkt_get_max_speed()
2563 seq_printf(m, "\tmode page offset:\t%u\n", pd->mode_offset); in pkt_seq_show()