/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | fw.h | 153 #define SET_8812_H2CCMD_WOWLAN_FUNC_ENABLE(__cmd, __value) \ argument 154 u8p_replace_bits(__cmd, __value, BIT(0)) 155 #define SET_8812_H2CCMD_WOWLAN_PATTERN_MATCH_ENABLE(__cmd, __value) \ argument 156 u8p_replace_bits(__cmd, __value, BIT(1)) 157 #define SET_8812_H2CCMD_WOWLAN_MAGIC_PKT_ENABLE(__cmd, __value) \ argument 158 u8p_replace_bits(__cmd, __value, BIT(2)) 159 #define SET_8812_H2CCMD_WOWLAN_UNICAST_PKT_ENABLE(__cmd, __value) \ argument 160 u8p_replace_bits(__cmd, __value, BIT(3)) 161 #define SET_8812_H2CCMD_WOWLAN_ALL_PKT_DROP(__cmd, __value) \ argument 162 u8p_replace_bits(__cmd, __value, BIT(4)) [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | fw.h | 150 #define SET_88E_H2CCMD_WOWLAN_FUNC_ENABLE(__cmd, __value) \ argument 151 SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) 152 #define SET_88E_H2CCMD_WOWLAN_PATTERN_MATCH_ENABLE(__cmd, __value) \ argument 153 SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) 154 #define SET_88E_H2CCMD_WOWLAN_MAGIC_PKT_ENABLE(__cmd, __value) \ argument 155 SET_BITS_TO_LE_1BYTE(__cmd, 2, 1, __value) 156 #define SET_88E_H2CCMD_WOWLAN_UNICAST_PKT_ENABLE(__cmd, __value) \ argument 157 SET_BITS_TO_LE_1BYTE(__cmd, 3, 1, __value) 158 #define SET_88E_H2CCMD_WOWLAN_ALL_PKT_DROP(__cmd, __value) \ argument 159 SET_BITS_TO_LE_1BYTE(__cmd, 4, 1, __value) [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | fw.h | 115 #define SET_H2CCMD_PWRMODE_PARM_RLBM(__cmd, __val) \ argument 116 u8p_replace_bits(__cmd + 1, __val, GENMASK(3, 0)) 117 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__cmd, __val) \ argument 118 u8p_replace_bits(__cmd + 1, __val, GENMASK(7, 4)) 119 #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__cmd, __val) \ argument 120 *(u8 *)(__cmd + 2) = __val; 121 #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__cmd, __val) \ argument 122 *(u8 *)(__cmd + 3) = __val; 123 #define SET_H2CCMD_PWRMODE_PARM_PWR_STATE(__cmd, __val) \ argument 124 *(u8 *)(__cmd + 4) = __val; [all …]
|
/drivers/net/wireless/ath/carl9170/ |
D | cmd.h | 123 __cmd = carl9170_cmd_buf(__carl, CARL9170_CMD_WREG_ASYNC, \ 125 if (__cmd == NULL) { \ 134 struct carl9170_cmd *__cmd; \ 141 if (__cmd == NULL || __nreg == 0) \ 145 __cmd->hdr.len = 8 * __nreg; \ 146 __err = __carl9170_exec_cmd(__carl, __cmd, true); \ 147 __cmd = NULL; \ 154 if (__cmd == NULL) \ 156 __cmd->wreg.regs[__nreg].addr = cpu_to_le32(r); \ 157 __cmd->wreg.regs[__nreg].val = cpu_to_le32(v); \ [all …]
|
/drivers/media/i2c/m5mols/ |
D | m5mols_reg.h | 22 #define I2C_REG(__cat, __cmd, __reg_s) ((__cat << 16) | (__cmd << 8) | __reg_s) argument 67 #define SYSTEM_CMD(__cmd) I2C_REG(CAT_SYSTEM, cmd, 1) argument
|
/drivers/media/mc/ |
D | mc-device.c | 408 #define MEDIA_IOC_ARG(__cmd, func, fl, from_user, to_user) \ argument 409 [_IOC_NR(MEDIA_IOC_##__cmd)] = { \ 410 .cmd = MEDIA_IOC_##__cmd, \ 417 #define MEDIA_IOC(__cmd, func, fl) \ argument 418 MEDIA_IOC_ARG(__cmd, func, fl, copy_arg_from_user, copy_arg_to_user)
|
/drivers/spi/ |
D | spi-intel.c | 886 #define INTEL_SPI_MEM_OP(__cmd, __addr, __data, __exec_op) \ argument 889 .cmd = __cmd, \ 896 #define INTEL_SPI_MEM_OP_REPL(__cmd, __addr, __data, __exec_op, __repl) \ argument 899 .cmd = __cmd, \
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 541 #define MLX5_COMMAND_STR_CASE(__cmd) case MLX5_CMD_OP_ ## __cmd: return #__cmd in mlx5_command_str() argument
|