| /OK3568_Linux_fs/kernel/drivers/staging/rtl8712/ |
| H A D | wifi.h | 141 #define SetToDs(pbuf) ({ \ argument 142 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 145 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) argument 147 #define ClearToDs(pbuf) ({ \ argument 148 *(__le16 *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 151 #define SetFrDs(pbuf) ({ \ argument 152 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 155 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) argument 157 #define ClearFrDs(pbuf) ({ \ argument 158 *(__le16 *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | pio_copy.c | 71 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc, in pio_copy() argument 74 void __iomem *dest = pbuf->start + SOP_DISTANCE; in pio_copy() 125 if (pbuf->end <= dend) { in pio_copy() 126 while (dest < pbuf->end) { in pio_copy() 132 dest -= pbuf->sc->size; in pio_copy() 133 dend -= pbuf->sc->size; in pio_copy() 164 this_cpu_dec(*pbuf->sc->buffers_allocated); in pio_copy() 224 static inline void read_low_bytes(struct pio_buf *pbuf, const void *from, in read_low_bytes() argument 227 pbuf->carry.val64 = 0; in read_low_bytes() 228 jcopy(&pbuf->carry.val8[0], from, nbytes); in read_low_bytes() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/include/ |
| H A D | wifi.h | 114 #define SetToDs(pbuf) \ argument 115 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_) 117 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) argument 119 #define ClearToDs(pbuf) \ argument 120 *(__le16 *)(pbuf) &= (~cpu_to_le16(_TO_DS_)) 122 #define SetFrDs(pbuf) \ argument 123 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_) 125 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) argument 127 #define ClearFrDs(pbuf) \ argument 128 *(__le16 *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/include/ |
| H A D | wifi.h | 201 #define SetToDs(pbuf) \ argument 202 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_) 204 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) argument 206 #define ClearToDs(pbuf) \ argument 207 *(__le16 *)(pbuf) &= (~cpu_to_le16(_TO_DS_)) 209 #define SetFrDs(pbuf) \ argument 210 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_) 212 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) argument 214 #define ClearFrDs(pbuf) \ argument 215 *(__le16 *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/ |
| H A D | wifi.h | 273 #define SetToDs(pbuf) \ argument 275 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 278 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 280 #define ClearToDs(pbuf) \ argument 282 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 285 #define SetFrDs(pbuf) \ argument 287 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 290 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 292 #define ClearFrDs(pbuf) \ argument 294 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/include/ |
| H A D | wifi.h | 268 #define SetToDs(pbuf) \ argument 270 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 273 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 275 #define ClearToDs(pbuf) \ argument 277 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 280 #define SetFrDs(pbuf) \ argument 282 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 285 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 287 #define ClearFrDs(pbuf) \ argument 289 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/ |
| H A D | wifi.h | 263 #define SetToDs(pbuf) \ argument 265 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 268 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 270 #define ClearToDs(pbuf) \ argument 272 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 275 #define SetFrDs(pbuf) \ argument 277 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 280 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 282 #define ClearFrDs(pbuf) \ argument 284 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/ |
| H A D | wifi.h | 263 #define SetToDs(pbuf) \ argument 265 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 268 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 270 #define ClearToDs(pbuf) \ argument 272 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 275 #define SetFrDs(pbuf) \ argument 277 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 280 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 282 #define ClearFrDs(pbuf) \ argument 284 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/ |
| H A D | isp_stats_v2x.c | 38 struct rkisp_isp2x_stat_buffer *pbuf) in rkisp_stats_get_siawb_meas_reg() argument 42 if (!pbuf) in rkisp_stats_get_siawb_meas_reg() 45 pbuf->meas_type |= ISP2X_STAT_SIAWB; in rkisp_stats_get_siawb_meas_reg() 47 pbuf->params.siawb.awb_mean[0].cnt = ISP2X_SIAWB_GET_PIXEL_CNT(reg_val); in rkisp_stats_get_siawb_meas_reg() 50 pbuf->params.siawb.awb_mean[0].mean_cr_or_r = in rkisp_stats_get_siawb_meas_reg() 52 pbuf->params.siawb.awb_mean[0].mean_cb_or_b = in rkisp_stats_get_siawb_meas_reg() 54 pbuf->params.siawb.awb_mean[0].mean_y_or_g = in rkisp_stats_get_siawb_meas_reg() 60 struct rkisp_isp2x_stat_buffer *pbuf) in rkisp_stats_get_rawawb_meas_reg() argument 66 if (!pbuf) in rkisp_stats_get_rawawb_meas_reg() 69 pbuf->meas_type |= ISP2X_STAT_RAWAWB; in rkisp_stats_get_rawawb_meas_reg() [all …]
|
| H A D | isp_stats_v2x.h | 18 struct rkisp_isp2x_stat_buffer *pbuf); 20 struct rkisp_isp2x_stat_buffer *pbuf); 23 struct rkisp_isp2x_stat_buffer *pbuf); 25 struct rkisp_isp2x_stat_buffer *pbuf); 28 struct rkisp_isp2x_stat_buffer *pbuf); 30 struct rkisp_isp2x_stat_buffer *pbuf); 33 struct rkisp_isp2x_stat_buffer *pbuf); 35 struct rkisp_isp2x_stat_buffer *pbuf); 38 struct rkisp_isp2x_stat_buffer *pbuf); 40 struct rkisp_isp2x_stat_buffer *pbuf); [all …]
|
| H A D | isp_stats_v21.c | 46 struct rkisp_isp21_stat_buffer *pbuf) in rkisp_stats_get_rawawb_meas_reg() argument 56 if (!pbuf) in rkisp_stats_get_rawawb_meas_reg() 59 pbuf->meas_type |= ISP2X_STAT_RAWAWB; in rkisp_stats_get_rawawb_meas_reg() 62 pbuf->params.rawawb.ro_yhist_bin[2 * i] = value & 0xFFFF; in rkisp_stats_get_rawawb_meas_reg() 63 pbuf->params.rawawb.ro_yhist_bin[2 * i + 1] = (value & 0xFFFF0000) >> 16; in rkisp_stats_get_rawawb_meas_reg() 67 pbuf->params.rawawb.ro_rawawb_sum_rgain_nor[i] = in rkisp_stats_get_rawawb_meas_reg() 69 pbuf->params.rawawb.ro_rawawb_sum_bgain_nor[i] = in rkisp_stats_get_rawawb_meas_reg() 71 pbuf->params.rawawb.ro_rawawb_wp_num_nor[i] = in rkisp_stats_get_rawawb_meas_reg() 73 pbuf->params.rawawb.ro_rawawb_sum_rgain_big[i] = in rkisp_stats_get_rawawb_meas_reg() 75 pbuf->params.rawawb.ro_rawawb_sum_bgain_big[i] = in rkisp_stats_get_rawawb_meas_reg() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/include/ |
| H A D | wifi.h | 279 #define SetToDs(pbuf) \ argument 281 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 284 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 286 #define ClearToDs(pbuf) \ argument 288 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 291 #define SetFrDs(pbuf) \ argument 293 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 296 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 298 #define ClearFrDs(pbuf) \ argument 300 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/include/ |
| H A D | wifi.h | 277 #define SetToDs(pbuf) \ argument 279 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 282 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 284 #define ClearToDs(pbuf) \ argument 286 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 289 #define SetFrDs(pbuf) \ argument 291 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 294 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 296 #define ClearFrDs(pbuf) \ argument 298 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/include/ |
| H A D | wifi.h | 283 #define SetToDs(pbuf) \ argument 285 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 288 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 290 #define ClearToDs(pbuf) \ argument 292 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 295 #define SetFrDs(pbuf) \ argument 297 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 300 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 302 #define ClearFrDs(pbuf) \ argument 304 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/include/ |
| H A D | wifi.h | 277 #define SetToDs(pbuf) \ argument 279 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 282 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 284 #define ClearToDs(pbuf) \ argument 286 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 289 #define SetFrDs(pbuf) \ argument 291 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 294 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 296 #define ClearFrDs(pbuf) \ argument 298 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/ |
| H A D | wifi.h | 283 #define SetToDs(pbuf) \ argument 285 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 288 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 290 #define ClearToDs(pbuf) \ argument 292 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 295 #define SetFrDs(pbuf) \ argument 297 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 300 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 302 #define ClearFrDs(pbuf) \ argument 304 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/include/ |
| H A D | wifi.h | 280 #define SetToDs(pbuf) \ argument 282 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 285 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 287 #define ClearToDs(pbuf) \ argument 289 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 292 #define SetFrDs(pbuf) \ argument 294 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 297 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 299 #define ClearFrDs(pbuf) \ argument 301 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/ |
| H A D | wifi.h | 276 #define SetToDs(pbuf) \ argument 278 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 281 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 283 #define ClearToDs(pbuf) \ argument 285 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 288 #define SetFrDs(pbuf) \ argument 290 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 293 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 295 #define ClearFrDs(pbuf) \ argument 297 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/include/ |
| H A D | wifi.h | 284 #define SetToDs(pbuf) \ argument 286 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 289 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 291 #define ClearToDs(pbuf) \ argument 293 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 296 #define SetFrDs(pbuf) \ argument 298 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 301 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 303 #define ClearFrDs(pbuf) \ argument 305 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/include/ |
| H A D | wifi.h | 283 #define SetToDs(pbuf) \ argument 285 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 288 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 290 #define ClearToDs(pbuf) \ argument 292 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 295 #define SetFrDs(pbuf) \ argument 297 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 300 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 302 #define ClearFrDs(pbuf) \ argument 304 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/ |
| H A D | wifi.h | 288 #define SetToDs(pbuf) \ argument 290 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 293 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 295 #define ClearToDs(pbuf) \ argument 297 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 300 #define SetFrDs(pbuf) \ argument 302 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 305 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 307 #define ClearFrDs(pbuf) \ argument 309 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/ |
| H A D | wifi.h | 277 #define SetToDs(pbuf) \ argument 279 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 282 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 284 #define ClearToDs(pbuf) \ argument 286 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 289 #define SetFrDs(pbuf) \ argument 291 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 294 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 296 #define ClearFrDs(pbuf) \ argument 298 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/ |
| H A D | wifi.h | 288 #define SetToDs(pbuf) \ argument 290 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 293 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 295 #define ClearToDs(pbuf) \ argument 297 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 300 #define SetFrDs(pbuf) \ argument 302 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 305 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 307 #define ClearFrDs(pbuf) \ argument 309 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/include/ |
| H A D | wifi.h | 279 #define SetToDs(pbuf) \ argument 281 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 284 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 286 #define ClearToDs(pbuf) \ argument 288 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 291 #define SetFrDs(pbuf) \ argument 293 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 296 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 298 #define ClearFrDs(pbuf) \ argument 300 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/include/ |
| H A D | wifi.h | 283 #define SetToDs(pbuf) \ argument 285 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 288 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument 290 #define ClearToDs(pbuf) \ argument 292 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 295 #define SetFrDs(pbuf) \ argument 297 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 300 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument 302 #define ClearFrDs(pbuf) \ argument 304 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|