/drivers/net/ethernet/brocade/bna/ |
D | bna.h | 122 #define is_xxx_enable(mode, bitmask, xxx) ((bitmask & xxx) && (mode & xxx)) argument 124 #define is_xxx_disable(mode, bitmask, xxx) ((bitmask & xxx) && !(mode & xxx)) argument 126 #define xxx_enable(mode, bitmask, xxx) \ argument 132 #define xxx_disable(mode, bitmask, xxx) \ argument 138 #define xxx_inactive(mode, bitmask, xxx) \ argument 144 #define is_promisc_enable(mode, bitmask) \ argument 147 #define is_promisc_disable(mode, bitmask) \ argument 150 #define promisc_enable(mode, bitmask) \ argument 153 #define promisc_disable(mode, bitmask) \ argument 156 #define promisc_inactive(mode, bitmask) \ argument [all …]
|
/drivers/net/wireless/ath/ath5k/ |
D | eeprom.c | 41 unsigned int mode) in ath5k_eeprom_bin2freq() 190 unsigned int mode) in ath5k_eeprom_read_ants() 250 unsigned int mode) in ath5k_eeprom_read_modes() 471 unsigned int mode; in ath5k_eeprom_init_modes() local 511 struct ath5k_chan_pcal_info *pc, unsigned int mode) in ath5k_eeprom_read_freq_list() 601 ath5k_eeprom_init_11bg_2413(struct ath5k_hw *ah, unsigned int mode, int offset) in ath5k_eeprom_init_11bg_2413() 667 ath5k_eeprom_free_pcal_info(struct ath5k_hw *ah, int mode) in ath5k_eeprom_free_pcal_info() 714 ath5k_eeprom_convert_pcal_info_5111(struct ath5k_hw *ah, int mode, in ath5k_eeprom_convert_pcal_info_5111() 793 ath5k_eeprom_read_pcal_info_5111(struct ath5k_hw *ah, int mode) in ath5k_eeprom_read_pcal_info_5111() 902 ath5k_eeprom_convert_pcal_info_5112(struct ath5k_hw *ah, int mode, in ath5k_eeprom_convert_pcal_info_5112() [all …]
|
/drivers/media/pci/cx88/ |
D | cx88-tvaudio.c | 125 static void set_audio_start(struct cx88_core *core, u32 mode) in set_audio_start() 172 u32 mode) in set_audio_standard_BTSC() 281 static void set_audio_standard_NICAM(struct cx88_core *core, u32 mode) in set_audio_standard_NICAM() 382 static void set_audio_standard_A2(struct cx88_core *core, u32 mode) in set_audio_standard_A2() 818 u32 reg, mode, pilot; in cx88_get_stereo() local 882 void cx88_set_stereo(struct cx88_core *core, u32 mode, int manual) in cx88_set_stereo() 992 u32 mode = 0; in cx88_audio_thread() local
|
/drivers/gpu/drm/ |
D | drm_modes.c | 50 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() 96 void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode) in drm_mode_destroy() 117 struct drm_display_mode *mode) in drm_mode_probed_add() 701 void drm_mode_set_name(struct drm_display_mode *mode) in drm_mode_set_name() 718 int drm_mode_hsync(const struct drm_display_mode *mode) in drm_mode_hsync() 744 int drm_mode_vrefresh(const struct drm_display_mode *mode) in drm_mode_vrefresh() 880 const struct drm_display_mode *mode) in drm_mode_duplicate() 971 drm_mode_validate_basic(const struct drm_display_mode *mode) in drm_mode_validate_basic() 1007 drm_mode_validate_size(const struct drm_display_mode *mode, in drm_mode_validate_size() 1090 struct drm_display_mode *mode, *t; in drm_mode_prune_invalid() local [all …]
|
/drivers/video/fbdev/core/ |
D | modedb.c | 543 const struct fb_videomode *mode, unsigned int bpp) in fb_try_mode() 844 void fb_var_to_videomode(struct fb_videomode *mode, in fb_var_to_videomode() 892 const struct fb_videomode *mode) in fb_videomode_to_var() 957 struct fb_videomode *mode, *best = NULL; in fb_find_best_mode() local 990 const struct fb_videomode *fb_find_nearest_mode(const struct fb_videomode *mode, in fb_find_nearest_mode() 1035 struct fb_videomode *m, mode; in fb_match_mode() local 1055 int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) in fb_add_videomode() 1090 void fb_delete_videomode(const struct fb_videomode *mode, in fb_delete_videomode()
|
/drivers/crypto/nx/ |
D | nx.c | 501 static bool nx_check_prop(struct device *dev, u32 fc, u32 mode, int slot) in nx_check_prop() 516 static bool nx_check_props(struct device *dev, u32 fc, u32 mode) in nx_check_props() 527 static int nx_register_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_register_alg() 533 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead() 539 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash() 547 static void nx_unregister_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_unregister_alg() 553 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead() 559 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash() 667 static int nx_crypto_ctx_init(struct nx_crypto_ctx *nx_ctx, u32 fc, u32 mode) in nx_crypto_ctx_init()
|
/drivers/gpu/drm/ast/ |
D | ast_mode.c | 77 static bool ast_get_vbios_mode_info(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_get_vbios_mode_info() 224 static void ast_set_std_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_std_reg() 269 static void ast_set_crtc_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_crtc_reg() 380 static void ast_set_dclk_reg(struct drm_device *dev, struct drm_display_mode *mode, in ast_set_dclk_reg() 394 static void ast_set_ext_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_ext_reg() 439 static void ast_set_sync_reg(struct drm_device *dev, struct drm_display_mode *mode, in ast_set_sync_reg() 452 static bool ast_set_dac_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_dac_reg() 476 static void ast_crtc_dpms(struct drm_crtc *crtc, int mode) in ast_crtc_dpms() 501 const struct drm_display_mode *mode, in ast_crtc_mode_fixup() 568 struct drm_display_mode *mode, in ast_crtc_mode_set() [all …]
|
/drivers/gpu/drm/imx/ |
D | parallel-display.c | 39 struct drm_display_mode mode; member 72 struct drm_display_mode *mode = drm_mode_create(connector->dev); in imx_pd_connector_get_modes() local 83 struct drm_display_mode *mode = drm_mode_create(connector->dev); in imx_pd_connector_get_modes() local 105 static void imx_pd_encoder_dpms(struct drm_encoder *encoder, int mode) in imx_pd_encoder_dpms() 116 const struct drm_display_mode *mode, in imx_pd_encoder_mode_fixup() 139 struct drm_display_mode *mode) in imx_pd_encoder_mode_set()
|
D | dw_hdmi-imx.c | 113 const struct drm_display_mode *mode, in dw_hdmi_imx_encoder_mode_fixup() 120 struct drm_display_mode *mode, in dw_hdmi_imx_encoder_mode_set() 153 struct drm_display_mode *mode) in imx6q_hdmi_mode_valid() 165 struct drm_display_mode *mode) in imx6dl_hdmi_mode_valid()
|
/drivers/ide/ |
D | ide-xfer-mode.c | 27 const char *ide_xfer_verbose(u8 mode) in ide_xfer_verbose() 122 int ide_set_pio_mode(ide_drive_t *drive, const u8 mode) in ide_set_pio_mode() 156 int ide_set_dma_mode(ide_drive_t *drive, const u8 mode) in ide_set_dma_mode() 225 u8 mode = ide_find_dma_mode(drive, speed); in ide_rate_filter() local
|
D | sis5513.c | 197 static void sis_ata16_program_timings(ide_drive_t *drive, const u8 mode) in sis_ata16_program_timings() 220 static void sis_ata100_program_timings(ide_drive_t *drive, const u8 mode) in sis_ata100_program_timings() 243 static void sis_ata133_program_timings(ide_drive_t *drive, const u8 mode) in sis_ata133_program_timings() 265 static void sis_program_timings(ide_drive_t *drive, const u8 mode) in sis_program_timings() 299 static void sis_ata133_program_udma_timings(ide_drive_t *drive, const u8 mode) in sis_ata133_program_udma_timings() 318 static void sis_ata33_program_udma_timings(ide_drive_t *drive, const u8 mode) in sis_ata33_program_udma_timings() 335 static void sis_program_udma_timings(ide_drive_t *drive, const u8 mode) in sis_program_udma_timings()
|
/drivers/gpu/drm/bochs/ |
D | bochs_kms.c | 21 static void bochs_crtc_dpms(struct drm_crtc *crtc, int mode) in bochs_crtc_dpms() 34 const struct drm_display_mode *mode, in bochs_crtc_mode_fixup() 83 struct drm_display_mode *mode, in bochs_crtc_mode_set() 156 const struct drm_display_mode *mode, in bochs_encoder_mode_fixup() 163 struct drm_display_mode *mode, in bochs_encoder_mode_set() 214 struct drm_display_mode *mode) in bochs_connector_mode_valid()
|
/drivers/crypto/qce/ |
D | common.h | 75 #define IS_CBC(mode) (mode & QCE_MODE_CBC) argument 76 #define IS_ECB(mode) (mode & QCE_MODE_ECB) argument 77 #define IS_CTR(mode) (mode & QCE_MODE_CTR) argument 78 #define IS_XTS(mode) (mode & QCE_MODE_XTS) argument 79 #define IS_CCM(mode) (mode & QCE_MODE_CCM) argument
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 77 const struct drm_display_mode *mode = &crtc->mode; in shmob_drm_crtc_setup_geometry() local 347 static void shmob_drm_crtc_dpms(struct drm_crtc *crtc, int mode) in shmob_drm_crtc_dpms() 363 const struct drm_display_mode *mode, in shmob_drm_crtc_mode_fixup() 375 struct drm_display_mode *mode, in shmob_drm_crtc_mode_set() 536 static void shmob_drm_encoder_dpms(struct drm_encoder *encoder, int mode) in shmob_drm_encoder_dpms() 551 const struct drm_display_mode *mode, in shmob_drm_encoder_mode_fixup() 578 struct drm_display_mode *mode, in shmob_drm_encoder_mode_set() 651 struct drm_display_mode *mode; in shmob_drm_connector_get_modes() local
|
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 669 void ldlm_lock_addref(struct lustre_handle *lockh, __u32 mode) in ldlm_lock_addref() 687 void ldlm_lock_addref_internal_nolock(struct ldlm_lock *lock, __u32 mode) in ldlm_lock_addref_internal_nolock() 711 int ldlm_lock_addref_try(struct lustre_handle *lockh, __u32 mode) in ldlm_lock_addref_try() 737 void ldlm_lock_addref_internal(struct ldlm_lock *lock, __u32 mode) in ldlm_lock_addref_internal() 751 void ldlm_lock_decref_internal_nolock(struct ldlm_lock *lock, __u32 mode) in ldlm_lock_decref_internal_nolock() 777 void ldlm_lock_decref_internal(struct ldlm_lock *lock, __u32 mode) in ldlm_lock_decref_internal() 841 void ldlm_lock_decref(struct lustre_handle *lockh, __u32 mode) in ldlm_lock_decref() 858 void ldlm_lock_decref_and_cancel(struct lustre_handle *lockh, __u32 mode) in ldlm_lock_decref_and_cancel() 1060 ldlm_mode_t *mode, in search_queue() 1204 ldlm_policy_data_t *policy, ldlm_mode_t mode, in ldlm_lock_match() [all …]
|
/drivers/gpu/drm/udl/ |
D | udl_encoder.c | 30 const struct drm_display_mode *mode, in udl_mode_fixup() 45 struct drm_display_mode *mode, in udl_encoder_mode_set() 51 udl_encoder_dpms(struct drm_encoder *encoder, int mode) in udl_encoder_dpms()
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | dfp.c | 113 void nv04_dfp_update_fp_control(struct drm_encoder *encoder, int mode) in nv04_dfp_update_fp_control() 183 const struct drm_display_mode *mode, in nv04_dfp_mode_fixup() 280 struct drm_display_mode *mode, in nv04_dfp_mode_set() 484 static void nv04_dfp_update_backlight(struct drm_encoder *encoder, int mode) in nv04_dfp_update_backlight() 506 static inline bool is_powersaving_dpms(int mode) in is_powersaving_dpms() 511 static void nv04_lvds_dpms(struct drm_encoder *encoder, int mode) in nv04_lvds_dpms() 559 static void nv04_tmds_dpms(struct drm_encoder *encoder, int mode) in nv04_tmds_dpms()
|
/drivers/staging/comedi/drivers/ |
D | ni_labpc_common.c | 128 enum scan_mode mode, in labpc_ai_set_chan_and_gain() 157 enum scan_mode mode, in labpc_setup_cmd6_reg() 280 enum scan_mode mode) in labpc_use_continuous_mode() 289 enum scan_mode mode) in labpc_ai_convert_period() 301 enum scan_mode mode, unsigned int ns) in labpc_set_ai_convert_period() 317 enum scan_mode mode) in labpc_ai_scan_period() 329 enum scan_mode mode, unsigned int ns) in labpc_set_ai_scan_period() 342 enum scan_mode mode) in labpc_adc_timing() 451 enum scan_mode mode = labpc_ai_scan_mode(cmd); in labpc_ai_check_chanlist() local 511 enum scan_mode mode; in labpc_ai_cmdtest() local [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | pad.c | 27 nvkm_i2c_pad_mode_locked(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) in nvkm_i2c_pad_mode_locked() 36 nvkm_i2c_pad_mode(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) in nvkm_i2c_pad_mode() 55 nvkm_i2c_pad_acquire(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) in nvkm_i2c_pad_acquire()
|
/drivers/video/backlight/ |
D | lp8788_bl.c | 51 enum lp8788_bl_ctrl_mode mode; member 64 static inline bool is_brightness_ctrl_by_pwm(enum lp8788_bl_ctrl_mode mode) in is_brightness_ctrl_by_pwm() 69 static inline bool is_brightness_ctrl_by_register(enum lp8788_bl_ctrl_mode mode) in is_brightness_ctrl_by_register() 160 enum lp8788_bl_ctrl_mode mode = bl->mode; in lp8788_bl_update_status() local 231 enum lp8788_bl_ctrl_mode mode = bl->mode; in lp8788_get_bl_ctl_mode() local
|
/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
D | agp.c | 31 int mode; member 59 u32 mode = nvkm_pci_rd32(pci, 0x004c); in nvkm_agp_preinit() local 110 int mode = -1; in nvkm_agp_ctor() local
|
/drivers/regulator/ |
D | da9062-regulator.c | 49 struct reg_field mode; member 66 struct regmap_field *mode; member 138 static int da9062_buck_set_mode(struct regulator_dev *rdev, unsigned mode) in da9062_buck_set_mode() 170 unsigned int val, mode = 0; in da9062_buck_get_mode() local 219 static int da9062_ldo_set_mode(struct regulator_dev *rdev, unsigned mode) in da9062_ldo_set_mode() 332 unsigned mode) in da9062_buck_set_suspend_mode() 355 unsigned mode) in da9062_ldo_set_suspend_mode()
|
/drivers/gpu/drm/gma500/ |
D | mdfld_dsi_dpi.c | 428 int mdfld_dsi_dpi_timing_calculation(struct drm_display_mode *mode, in mdfld_dsi_dpi_timing_calculation() 472 struct drm_display_mode *mode = dsi_config->mode; in mdfld_dsi_dpi_controller_init() local 681 void mdfld_dsi_dpi_dpms(struct drm_encoder *encoder, int mode) in mdfld_dsi_dpi_dpms() 687 const struct drm_display_mode *mode, in mdfld_dsi_dpi_mode_fixup() 746 struct drm_display_mode *mode = dsi_config->mode; in mdfld_mipi_set_video_timing() local 795 struct drm_display_mode *mode = dsi_config->mode; in mdfld_set_pipe_timing() local 813 struct drm_display_mode *mode, in mdfld_dsi_dpi_mode_set()
|
/drivers/gpu/drm/omapdrm/ |
D | omap_connector.c | 46 void copy_timings_omap_to_drm(struct drm_display_mode *mode, in copy_timings_omap_to_drm() 78 struct drm_display_mode *mode) in copy_timings_drm_to_omap() 184 struct drm_display_mode *mode = drm_mode_create(dev); in omap_connector_get_modes() local 202 struct drm_display_mode *mode) in omap_connector_mode_valid()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | norm_desc.c | 123 static void ndesc_init_rx_desc(struct dma_desc *p, int disable_rx_ic, int mode, in ndesc_init_rx_desc() 143 static void ndesc_init_tx_desc(struct dma_desc *p, int mode, int end) in ndesc_init_tx_desc() 177 static void ndesc_release_tx_desc(struct dma_desc *p, int mode) in ndesc_release_tx_desc() 189 int csum_flag, int mode) in ndesc_prepare_tx_desc()
|