Home
last modified time | relevance | path

Searched refs:ad (Results 1 – 25 of 28) sorted by relevance

12

/drivers/staging/bcm/
DBcmchar.c5 static int bcm_handle_nvm_read_cmd(struct bcm_mini_adapter *ad, in bcm_handle_nvm_read_cmd() argument
11 down(&ad->NVMRdmWrmLock); in bcm_handle_nvm_read_cmd()
13 if ((ad->IdleMode == TRUE) || (ad->bShutStatus == TRUE) || in bcm_handle_nvm_read_cmd()
14 (ad->bPreparingForLowPowerMode == TRUE)) { in bcm_handle_nvm_read_cmd()
16 BCM_DEBUG_PRINT(ad, in bcm_handle_nvm_read_cmd()
19 up(&ad->NVMRdmWrmLock); in bcm_handle_nvm_read_cmd()
24 status = BeceemNVMRead(ad, (PUINT)read_data, in bcm_handle_nvm_read_cmd()
27 up(&ad->NVMRdmWrmLock); in bcm_handle_nvm_read_cmd()
42 static int handle_flash2x_adapter(struct bcm_mini_adapter *ad, in handle_flash2x_adapter() argument
64 status = BcmFlash2xCorruptSig(ad, ad->eActiveDSD); in handle_flash2x_adapter()
[all …]
DBcmnet.c7 struct bcm_mini_adapter *ad = GET_BCM_ADAPTER(dev); in bcm_open() local
9 if (ad->fw_download_done == false) { in bcm_open()
15 if (netif_msg_ifup(ad)) in bcm_open()
18 if (ad->LinkUpStatus) { in bcm_open()
19 if (netif_msg_link(ad)) in bcm_open()
22 netif_carrier_on(ad->dev); in bcm_open()
23 netif_start_queue(ad->dev); in bcm_open()
31 struct bcm_mini_adapter *ad = GET_BCM_ADAPTER(dev); in bcm_close() local
33 if (netif_msg_ifdown(ad)) in bcm_close()
63 struct bcm_mini_adapter *ad = GET_BCM_ADAPTER(dev); in bcm_transmit() local
[all …]
DLeakyBucket.c139 static void get_data_packet(struct bcm_mini_adapter *ad, in get_data_packet() argument
148 BCM_DEBUG_PRINT(ad, DBG_TYPE_TX, TX_PACKETS, DBG_LVL_ALL, in get_data_packet()
150 if (ad->IdleMode || ad->bPreparingForLowPowerMode) in get_data_packet()
154 if (atomic_read(&ad->CurrNumFreeTxDesc) <= in get_data_packet()
156 BCM_DEBUG_PRINT(ad, DBG_TYPE_TX, TX_PACKETS, DBG_LVL_ALL, in get_data_packet()
158 atomic_read(&ad->CurrNumFreeTxDesc)); in get_data_packet()
166 BCM_DEBUG_PRINT(ad, DBG_TYPE_TX, TX_PACKETS, DBG_LVL_ALL, in get_data_packet()
175 if (packet_len <= GetSFTokenCount(ad, ps_sf)) { in get_data_packet()
176 BCM_DEBUG_PRINT(ad, DBG_TYPE_TX, TX_PACKETS, in get_data_packet()
183 atomic_dec(&ad->TotalPacketCount); in get_data_packet()
[all …]
Dled_control.c102 static INT blink_in_normal_bandwidth(struct bcm_mini_adapter *ad, in blink_in_normal_bandwidth() argument
121 if ((LED_Blink(ad, 1 << GPIO_Num_tx, uiTxLedIndex, *timeout, in blink_in_normal_bandwidth()
123 (LED_Blink(ad, 1 << GPIO_Num_rx, uiRxLedIndex, *timeout, in blink_in_normal_bandwidth()
130 if (LED_Blink(ad, (1 << GPIO_Num_rx), uiRxLedIndex, *timeout, in blink_in_normal_bandwidth()
138 if (LED_Blink(ad, 1 << GPIO_Num_tx, uiTxLedIndex, *timeout, in blink_in_normal_bandwidth()
656 static void handle_adapter_driver_state(struct bcm_mini_adapter *ad, in handle_adapter_driver_state() argument
666 switch (ad->DriverState) { in handle_adapter_driver_state()
670 BcmGetGPIOPinInfo(ad, &GPIO_num, &dummyGPIONum, in handle_adapter_driver_state()
675 TURN_ON_LED(ad, 1 << GPIO_num, uiLedIndex); in handle_adapter_driver_state()
685 BcmGetGPIOPinInfo(ad, &GPIO_num, &dummyGPIONum, in handle_adapter_driver_state()
[all …]
DInterfaceRx.c4 struct bcm_mini_adapter *ad, in handle_control_packet() argument
16 spin_lock(&ad->control_queue_lock); in handle_control_packet()
17 ENQUEUEPACKET(ad->RxControlHead, ad->RxControlTail, skb); in handle_control_packet()
18 spin_unlock(&ad->control_queue_lock); in handle_control_packet()
20 atomic_inc(&ad->cntrlpktCnt); in handle_control_packet()
21 wake_up(&ad->process_rx_cntrlpkt); in handle_control_packet()
25 struct bcm_mini_adapter *ad, in format_eth_hdr_to_stack() argument
42 skb->dev = ad->dev; in format_eth_hdr_to_stack()
46 ad->PackInfo[queue_index].uiTotalRxBytes += p_leader->PLength; in format_eth_hdr_to_stack()
47 ad->PackInfo[queue_index].uiThisPeriodRxBytes += p_leader->PLength; in format_eth_hdr_to_stack()
[all …]
Dled_control.h20 #define TURN_ON_LED(ad, GPIO, index) do { \ argument
22 (ad->LEDInfo.LEDState[index].BitPolarity == 1) ? \
23 wrmaltWithLock(ad, BCM_GPIO_OUTPUT_SET_REG, &gpio_val, sizeof(gpio_val)) : \
24 wrmaltWithLock(ad, BCM_GPIO_OUTPUT_CLR_REG, &gpio_val, sizeof(gpio_val)); \
27 #define TURN_OFF_LED(ad, GPIO, index) do { \ argument
29 (ad->LEDInfo.LEDState[index].BitPolarity == 1) ? \
30 wrmaltWithLock(ad, BCM_GPIO_OUTPUT_CLR_REG, &gpio_val, sizeof(gpio_val)) : \
31 wrmaltWithLock(ad, BCM_GPIO_OUTPUT_SET_REG, &gpio_val, sizeof(gpio_val)); \
DInterfaceMisc.c3 static int adapter_err_occurred(const struct bcm_interface_adapter *ad) in adapter_err_occurred() argument
5 if (ad->psAdapter->device_removed == TRUE) { in adapter_err_occurred()
6 BCM_DEBUG_PRINT(ad->psAdapter, DBG_TYPE_PRINTK, 0, 0, in adapter_err_occurred()
11 if ((ad->psAdapter->StopAllXaction == TRUE) && in adapter_err_occurred()
12 (ad->psAdapter->chip_id >= T3LPB)) { in adapter_err_occurred()
13 BCM_DEBUG_PRINT(ad->psAdapter, DBG_TYPE_OTHERS, RDM, in adapter_err_occurred()
19 if (ad->bSuspended == TRUE || ad->bPreparingForBusSuspend == TRUE) { in adapter_err_occurred()
20 BCM_DEBUG_PRINT(ad->psAdapter, DBG_TYPE_OTHERS, RDM, in adapter_err_occurred()
DInterfaceTx.c6 struct bcm_mini_adapter *ad, in prepare_low_power_mode() argument
20 BCM_DEBUG_PRINT(ad, DBG_TYPE_TX, NEXT_SEND, in prepare_low_power_mode()
34 BCM_DEBUG_PRINT(ad, DBG_TYPE_TX, NEXT_SEND, in prepare_low_power_mode()
51 BCM_DEBUG_PRINT(ad, DBG_TYPE_TX, NEXT_SEND, in prepare_low_power_mode()
68 BCM_DEBUG_PRINT(ad, DBG_TYPE_TX, NEXT_SEND, in prepare_low_power_mode()
78 BCM_DEBUG_PRINT(ad, DBG_TYPE_TX, NEXT_SEND, DBG_LVL_ALL, in prepare_low_power_mode()
DPHSModule.c1375 static void dbg_print_st_cls_entry(struct bcm_mini_adapter *ad, in dbg_print_st_cls_entry() argument
1381 …BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "\n VCID : %#X", st_serv_flow_entry-… in dbg_print_st_cls_entry()
1382 …BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, DUMP_INFO, (DBG_LVL_ALL|DBG_NO_FUNC_PRINT), "\n ClassifierID … in dbg_print_st_cls_entry()
1383 …BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, DUMP_INFO, (DBG_LVL_ALL|DBG_NO_FUNC_PRINT), "\n PHSRuleID : … in dbg_print_st_cls_entry()
1384 …BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, DUMP_INFO, (DBG_LVL_ALL|DBG_NO_FUNC_PRINT), "\n**************… in dbg_print_st_cls_entry()
1385 …BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, DUMP_INFO, (DBG_LVL_ALL|DBG_NO_FUNC_PRINT), "\n PHSI : %#X",… in dbg_print_st_cls_entry()
1386 …BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, DUMP_INFO, (DBG_LVL_ALL|DBG_NO_FUNC_PRINT), "\n PHSFLength : … in dbg_print_st_cls_entry()
1387 BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, DUMP_INFO, (DBG_LVL_ALL|DBG_NO_FUNC_PRINT), "\n PHSF : "); in dbg_print_st_cls_entry()
1390 …BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, DUMP_INFO, (DBG_LVL_ALL|DBG_NO_FUNC_PRINT), "%#X ", st_cls_e… in dbg_print_st_cls_entry()
1391 …BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, DUMP_INFO, (DBG_LVL_ALL|DBG_NO_FUNC_PRINT), "\n PHSMLength :… in dbg_print_st_cls_entry()
[all …]
Dnvm.c1036 static int bulk_read_complete_sector(struct bcm_mini_adapter *ad, in bulk_read_complete_sector() argument
1046 ad->fpFlashWriteWithStatusCheck; in bulk_read_complete_sector()
1048 for (i = 0; i < ad->uiSectorSize; i += MAX_RW_SIZE) { in bulk_read_complete_sector()
1049 bulk_read_stat = BeceemFlashBulkRead(ad, in bulk_read_complete_sector()
1057 if (ad->ulFlashWriteSize == 1) { in bulk_read_complete_sector()
1060 (STATUS_SUCCESS != (*writef)(ad, partoff + i + j, &tmpbuff[i + j]))) { in bulk_read_complete_sector()
1066 (STATUS_SUCCESS != (*writef)(ad, partoff + i, &tmpbuff[i]))) { in bulk_read_complete_sector()
/drivers/clk/ti/
Dapll.c41 struct dpll_data *ad; in dra7_apll_enable() local
46 ad = clk->dpll_data; in dra7_apll_enable()
47 if (!ad) in dra7_apll_enable()
52 state <<= __ffs(ad->idlest_mask); in dra7_apll_enable()
55 v = ti_clk_ll_ops->clk_readl(ad->idlest_reg); in dra7_apll_enable()
57 if ((v & ad->idlest_mask) == state) in dra7_apll_enable()
60 v = ti_clk_ll_ops->clk_readl(ad->control_reg); in dra7_apll_enable()
61 v &= ~ad->enable_mask; in dra7_apll_enable()
62 v |= APLL_FORCE_LOCK << __ffs(ad->enable_mask); in dra7_apll_enable()
63 ti_clk_ll_ops->clk_writel(v, ad->control_reg); in dra7_apll_enable()
[all …]
/drivers/video/fbdev/
Dfsl-diu-fb.c341 struct diu_ad *ad; member
378 struct diu_ad ad[NUM_AOIS] __aligned(8); member
499 struct diu_ad *ad = mfbi->ad; in fsl_diu_enable_panel() local
505 wr_reg_wa(&hw->desc[0], ad->paddr); in fsl_diu_enable_panel()
509 if (hw->desc[1] != ad->paddr) { /* AOI0 closed */ in fsl_diu_enable_panel()
511 ad->next_ad = in fsl_diu_enable_panel()
512 cpu_to_le32(cmfbi->ad->paddr); in fsl_diu_enable_panel()
514 ad->next_ad = 0; in fsl_diu_enable_panel()
515 wr_reg_wa(&hw->desc[1], ad->paddr); in fsl_diu_enable_panel()
520 if (hw->desc[2] != ad->paddr) { /* AOI0 closed */ in fsl_diu_enable_panel()
[all …]
/drivers/scsi/lpfc/
Dlpfc_ct.c1431 ae->ad.bits.AttrType = be16_to_cpu(NODE_NAME); in lpfc_fdmi_cmd()
1432 ae->ad.bits.AttrLen = be16_to_cpu(FOURBYTES in lpfc_fdmi_cmd()
1441 ae->ad.bits.AttrType = be16_to_cpu(MANUFACTURER); in lpfc_fdmi_cmd()
1445 ae->ad.bits.AttrLen = be16_to_cpu(FOURBYTES + len); in lpfc_fdmi_cmd()
1451 ae->ad.bits.AttrType = be16_to_cpu(SERIAL_NUMBER); in lpfc_fdmi_cmd()
1455 ae->ad.bits.AttrLen = be16_to_cpu(FOURBYTES + len); in lpfc_fdmi_cmd()
1461 ae->ad.bits.AttrType = be16_to_cpu(MODEL); in lpfc_fdmi_cmd()
1465 ae->ad.bits.AttrLen = be16_to_cpu(FOURBYTES + len); in lpfc_fdmi_cmd()
1471 ae->ad.bits.AttrType = be16_to_cpu(MODEL_DESCRIPTION); in lpfc_fdmi_cmd()
1475 ae->ad.bits.AttrLen = be16_to_cpu(FOURBYTES + len); in lpfc_fdmi_cmd()
[all …]
/drivers/isdn/hisax/
Dteles0.c61 register u_char __iomem *ad = adr + 0x100; in read_fifo_isac() local
63 data[i] = readb(ad); in read_fifo_isac()
70 register u_char __iomem *ad = adr + 0x100; in write_fifo_isac() local
72 writeb(data[i], ad); mb(); in write_fifo_isac()
80 register u_char __iomem *ad = adr + (hscx ? 0x1c0 : 0x180); in read_fifo_hscx() local
82 data[i] = readb(ad); in read_fifo_hscx()
89 register u_char __iomem *ad = adr + (hscx ? 0x1c0 : 0x180); in write_fifo_hscx() local
91 writeb(data[i], ad); mb(); in write_fifo_hscx()
/drivers/input/mouse/
Dsentelic.c707 struct fsp_data *ad = psmouse->private; in fsp_process_byte() local
748 if (ad->last_mt_fgr == 2) { in fsp_process_byte()
757 ad->last_mt_fgr = 2; in fsp_process_byte()
762 if (ad->last_mt_fgr == 1) { in fsp_process_byte()
771 ad->last_mt_fgr = 1; in fsp_process_byte()
786 ad->last_mt_fgr = 0; in fsp_process_byte()
807 if ((ad->flags & FSPDRV_FLAG_EN_OPC) != FSPDRV_FLAG_EN_OPC) in fsp_process_byte()
/drivers/staging/fwserial/
DKconfig7 ad-hoc transport protocol and is currently limited to
/drivers/block/drbd/
Ddrbd_receiver.c665 struct accept_wait_data *ad = sk->sk_user_data; in drbd_incoming_connection() local
668 state_change = ad->original_sk_state_change; in drbd_incoming_connection()
670 complete(&ad->door_bell); in drbd_incoming_connection()
674 static int prepare_listen_socket(struct drbd_connection *connection, struct accept_wait_data *ad) in prepare_listen_socket() argument
711 ad->s_listen = s_listen; in prepare_listen_socket()
713 ad->original_sk_state_change = s_listen->sk->sk_state_change; in prepare_listen_socket()
715 s_listen->sk->sk_user_data = ad; in prepare_listen_socket()
737 static void unregister_state_change(struct sock *sk, struct accept_wait_data *ad) in unregister_state_change() argument
740 sk->sk_state_change = ad->original_sk_state_change; in unregister_state_change()
745 …ruct socket *drbd_wait_for_connect(struct drbd_connection *connection, struct accept_wait_data *ad) in drbd_wait_for_connect() argument
[all …]
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c57 .ad = {
94 .ad = {
Dmdp5_kms.h38 struct mdp5_sub_block ad; member
/drivers/net/wireless/ath/wil6210/
DKconfig9 60 GHz band, covered by the IEEE802.11ad standard.
/drivers/media/rc/keymaps/
DMakefile17 rc-azurewave-ad-tu700.o \
/drivers/media/platform/
Dfsl-viu.c1488 struct i2c_adapter *ad; in viu_of_probe() local
1544 ad = i2c_get_adapter(0); in viu_of_probe()
1545 viu_dev->decoder = v4l2_i2c_new_subdev(&viu_dev->v4l2_dev, ad, in viu_of_probe()
1617 i2c_put_adapter(ad); in viu_of_probe()
/drivers/media/usb/gspca/
Dvc032x.c3096 u16 ad = addr; in put_tab_to_reg() local
3099 reg_w(gspca_dev, 0xa0, tab[j], ad++); in put_tab_to_reg()
/drivers/ata/
Dlibata-core.c4301 const struct ata_blacklist_entry *ad = ata_device_blacklist; in ata_dev_blacklisted() local
4306 while (ad->model_num) { in ata_dev_blacklisted()
4307 if (glob_match(ad->model_num, model_num)) { in ata_dev_blacklisted()
4308 if (ad->model_rev == NULL) in ata_dev_blacklisted()
4309 return ad->horkage; in ata_dev_blacklisted()
4310 if (glob_match(ad->model_rev, model_rev)) in ata_dev_blacklisted()
4311 return ad->horkage; in ata_dev_blacklisted()
4313 ad++; in ata_dev_blacklisted()
/drivers/tty/vt/
Dcp437.uni64 0x2d U+002d U+00ad

12