/drivers/usb/gadget/function/ |
D | u_serial.c | 153 static int gs_buf_alloc(struct gs_buf *gb, unsigned size) in gs_buf_alloc() argument 155 gb->buf_buf = kmalloc(size, GFP_KERNEL); in gs_buf_alloc() 156 if (gb->buf_buf == NULL) in gs_buf_alloc() 159 gb->buf_size = size; in gs_buf_alloc() 160 gb->buf_put = gb->buf_buf; in gs_buf_alloc() 161 gb->buf_get = gb->buf_buf; in gs_buf_alloc() 171 static void gs_buf_free(struct gs_buf *gb) in gs_buf_free() argument 173 kfree(gb->buf_buf); in gs_buf_free() 174 gb->buf_buf = NULL; in gs_buf_free() 182 static void gs_buf_clear(struct gs_buf *gb) in gs_buf_clear() argument [all …]
|
/drivers/edac/ |
D | sb_edac.c | 1042 u32 gb, mb; in get_memory_layout() local 1052 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1054 gb, (mb*1000)/1024, (u64)pvt->tolm); in get_memory_layout() 1060 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1062 gb, (mb*1000)/1024, (u64)pvt->tohm); in get_memory_layout() 1084 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1088 gb, (mb*1000)/1024, in get_memory_layout() 1119 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1121 n_tads, gb, (mb*1000)/1024, in get_memory_layout() 1144 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() [all …]
|
/drivers/nfc/microread/ |
D | microread.c | 266 hdev->gb = nfc_get_local_general_bytes(hdev->ndev, in microread_start_poll() 268 if (hdev->gb == NULL || hdev->gb_len == 0) { in microread_start_poll() 288 hdev->gb, hdev->gb_len); in microread_start_poll() 296 hdev->gb, hdev->gb_len); in microread_start_poll() 314 u8 *gb, size_t gb_len) in microread_dep_link_up() argument
|
/drivers/nfc/pn544/ |
D | pn544.c | 392 hdev->gb = nfc_get_local_general_bytes(hdev->ndev, in pn544_hci_start_poll() 394 pr_debug("generate local bytes %p\n", hdev->gb); in pn544_hci_start_poll() 395 if (hdev->gb == NULL || hdev->gb_len == 0) { in pn544_hci_start_poll() 416 PN544_DEP_ATR_REQ, hdev->gb, hdev->gb_len); in pn544_hci_start_poll() 436 PN544_DEP_ATR_RES, hdev->gb, hdev->gb_len); in pn544_hci_start_poll() 457 u8 *gb, size_t gb_len) in pn544_hci_dep_link_up() argument
|
/drivers/nfc/ |
D | pn533.c | 385 u8 *gb; member 1569 u8 *felica, *nfcid3, *gb; in pn533_alloc_poll_tg_frame() local 1571 u8 *gbytes = dev->gb; in pn533_alloc_poll_tg_frame() 1611 gb = skb_put(skb, gbytes_len); in pn533_alloc_poll_tg_frame() 1612 memcpy(gb, gbytes, gbytes_len); in pn533_alloc_poll_tg_frame() 1763 u8 mode, *cmd, comm_mode = NFC_COMM_PASSIVE, *gb; in pn533_init_target_complete() local 1785 gb = cmd + ATR_REQ_GB_OFFSET; in pn533_init_target_complete() 1789 comm_mode, gb, gb_len); in pn533_init_target_complete() 1925 if (!dev->gb) { in pn533_poll_dep() 1926 dev->gb = nfc_get_local_general_bytes(nfc_dev, &dev->gb_len); in pn533_poll_dep() [all …]
|
D | nfcsim.c | 129 u8 comm_mode, u8 *gb, size_t gb_len) in nfcsim_dep_link_up() argument 142 NFC_COMM_ACTIVE, gb, gb_len); in nfcsim_dep_link_up()
|
/drivers/block/ |
D | null_blk.c | 103 static int gb = 250; variable 104 module_param(gb, int, S_IRUGO); 105 MODULE_PARM_DESC(gb, "Size in GB"); 475 sector_t size = gb * 1024 * 1024 * 1024ULL; in null_lnvm_id() 735 size = gb * 1024 * 1024 * 1024ULL; in null_add_dev()
|
/drivers/video/fbdev/omap2/dss/ |
D | manager-sysfs.c | 385 info.cpr_coefs.gb, in manager_cpr_coef_show() 404 &coefs.gr, &coefs.gg, &coefs.gb, in manager_cpr_coef_store() 409 coefs.gr, coefs.gg, coefs.gb, in manager_cpr_coef_store()
|
D | dispc.c | 1095 FLD_VAL(coefs->gb, 9, 0); in dispc_mgr_set_cpr_coef()
|
/drivers/nfc/st21nfca/ |
D | core.c | 373 hdev->gb = nfc_get_local_general_bytes(hdev->ndev, in st21nfca_hci_start_poll() 376 if (hdev->gb == NULL || hdev->gb_len == 0) { in st21nfca_hci_start_poll() 617 u8 *gb, size_t gb_len) in st21nfca_hci_dep_link_up() argument 622 return st21nfca_im_send_atr_req(hdev, gb, gb_len); in st21nfca_hci_dep_link_up()
|
D | st21nfca.h | 187 int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len);
|
D | dep.c | 525 int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len) in st21nfca_im_send_atr_req() argument 570 memcpy(skb_put(skb, gb_len), gb, gb_len); in st21nfca_im_send_atr_req()
|
/drivers/net/wireless/ath/ath9k/ |
D | eeprom_def.c | 737 u16 *gb, in ath9k_change_gain_boundary_setting() argument 763 gb[k] = (u16)(gb[k] - *diff); in ath9k_change_gain_boundary_setting() 771 gb[k] = (u16)min(gb_limit, gb[k]); in ath9k_change_gain_boundary_setting()
|
/drivers/staging/media/davinci_vpfe/ |
D | dm365_ipipe_hw.c | 456 regw_ip(base_addr, dpc_thr->corr_thr.gb & OTFDPC_DPC2_THR_MASK, in set_dpc_thresholds() 464 regw_ip(base_addr, dpc_thr->det_thr.gb & OTFDPC_DPC2_THR_MASK, in set_dpc_thresholds() 492 dpc_2_0->det_thr.r = dpc_2_0->det_thr.gb = in ipipe_set_otfdpc_regs()
|
D | davinci_vpfe_user.h | 655 unsigned short gb; member
|
D | dm365_ipipe.c | 146 dpc_2_0->det_thr.gb > OTFDPC_DPC2_THR_MASK || in ipipe_validate_otfdpc_params() 150 dpc_2_0->corr_thr.gb > OTFDPC_DPC2_THR_MASK || in ipipe_validate_otfdpc_params()
|
/drivers/net/ethernet/sun/ |
D | sungem.c | 1571 struct gem_init_block *gb = gp->init_block; in gem_clean_rings() local 1579 rxd = &gb->rxd[i]; in gem_clean_rings() 1605 txd = &gb->txd[ent]; in gem_clean_rings() 1621 struct gem_init_block *gb = gp->init_block; in gem_init_rings() local 1635 struct gem_rxd *rxd = &gb->rxd[i]; in gem_init_rings() 1658 struct gem_txd *txd = &gb->txd[i]; in gem_init_rings()
|
/drivers/media/platform/davinci/ |
D | dm355_ccdc.c | 448 ((bcomp->gb & CCDC_BLK_COMP_MASK) << in ccdc_config_black_compense()
|
D | dm644x_ccdc.c | 487 ((bcomp->gb & CCDC_BLK_COMP_MASK) << in ccdc_config_black_compense()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_execbuf.c | 3380 bool gb = dev_priv->capabilities & SVGA_CAP_GBOBJECTS; in vmw_cmd_check() local 3405 if (unlikely(entry->gb_disable && gb)) in vmw_cmd_check() 3408 if (unlikely(entry->gb_enable && !gb)) in vmw_cmd_check()
|
/drivers/media/platform/am437x/ |
D | am437x-vpfe.c | 641 ((bcomp->gb & VPFE_BLK_COMP_MASK) << in vpfe_ccdc_config_black_compense()
|