Home
last modified time | relevance | path

Searched refs:__cmd (Results 1 – 8 of 8) sorted by relevance

/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.h153 #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/
Dfw.h150 #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/
Dfw.h115 #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/
Dcmd.h123 __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/
Dm5mols_reg.h22 #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/
Dmc-device.c408 #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/scsi/
Dscsi_lib.c1092 memset(req->__cmd, 0, sizeof(req->__cmd)); in scsi_initialize_rq()
1093 req->cmd = req->__cmd; in scsi_initialize_rq()
1576 cmd->cmnd = scsi_req(req)->cmd = scsi_req(req)->__cmd; in scsi_prepare_cmd()
/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c487 #define MLX5_COMMAND_STR_CASE(__cmd) case MLX5_CMD_OP_ ## __cmd: return #__cmd in mlx5_command_str() argument