| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_resc.c | 15 static u16 bnge_num_tx_to_cp(struct bnge_dev *bd, u16 tx) in bnge_num_tx_to_cp() 25 static u16 bnge_get_max_func_irqs(struct bnge_dev *bd) in bnge_get_max_func_irqs() 32 static unsigned int bnge_get_max_func_stat_ctxs(struct bnge_dev *bd) in bnge_get_max_func_stat_ctxs() 37 bool bnge_aux_has_enough_resources(struct bnge_dev *bd) in bnge_aux_has_enough_resources() 49 static unsigned int bnge_get_max_func_cp_rings(struct bnge_dev *bd) in bnge_get_max_func_cp_rings() 54 static int bnge_aux_get_dflt_msix(struct bnge_dev *bd) in bnge_aux_get_dflt_msix() 61 u16 bnge_aux_get_msix(struct bnge_dev *bd) in bnge_aux_get_msix() 69 static void bnge_aux_set_msix_num(struct bnge_dev *bd, u16 num) in bnge_aux_set_msix_num() 75 static u16 bnge_aux_get_stat_ctxs(struct bnge_dev *bd) in bnge_aux_get_stat_ctxs() 83 static void bnge_aux_set_stat_ctxs(struct bnge_dev *bd, u16 num_aux_ctx) in bnge_aux_set_stat_ctxs() [all …]
|
| H A D | bnge_hwrm_lib.c | 18 int bnge_hwrm_ver_get(struct bnge_dev *bd) in bnge_hwrm_ver_get() 113 bnge_hwrm_nvm_dev_info(struct bnge_dev *bd, in bnge_hwrm_nvm_dev_info() 132 int bnge_hwrm_func_reset(struct bnge_dev *bd) in bnge_hwrm_func_reset() 146 int bnge_hwrm_fw_set_time(struct bnge_dev *bd) in bnge_hwrm_fw_set_time() 167 int bnge_hwrm_func_drv_rgtr(struct bnge_dev *bd) in bnge_hwrm_func_drv_rgtr() 205 int bnge_hwrm_func_drv_unrgtr(struct bnge_dev *bd) in bnge_hwrm_func_drv_unrgtr() 231 static int bnge_alloc_all_ctx_pg_info(struct bnge_dev *bd, int ctx_max) in bnge_alloc_all_ctx_pg_info() 257 int bnge_hwrm_func_backing_store_qcaps(struct bnge_dev *bd) in bnge_hwrm_func_backing_store_qcaps() 337 int bnge_hwrm_func_backing_store(struct bnge_dev *bd, in bnge_hwrm_func_backing_store() 386 static int bnge_hwrm_get_rings(struct bnge_dev *bd) in bnge_hwrm_get_rings() [all …]
|
| H A D | bnge_hwrm.c | 21 int bnge_hwrm_req_create(struct bnge_dev *bd, void **req, u16 req_type, in bnge_hwrm_req_create() 59 static struct bnge_hwrm_ctx *__hwrm_ctx_get(struct bnge_dev *bd, u8 *req_addr) in __hwrm_ctx_get() 84 void bnge_hwrm_req_timeout(struct bnge_dev *bd, in bnge_hwrm_req_timeout() 93 void bnge_hwrm_req_alloc_flags(struct bnge_dev *bd, void *req, gfp_t gfp) in bnge_hwrm_req_alloc_flags() 101 int bnge_hwrm_req_replace(struct bnge_dev *bd, void *req, void *new_req, in bnge_hwrm_req_replace() 141 void bnge_hwrm_req_flags(struct bnge_dev *bd, void *req, in bnge_hwrm_req_flags() 150 void *bnge_hwrm_req_hold(struct bnge_dev *bd, void *req) in bnge_hwrm_req_hold() 169 static void __hwrm_ctx_invalidate(struct bnge_dev *bd, in __hwrm_ctx_invalidate() 188 void bnge_hwrm_req_drop(struct bnge_dev *bd, void *req) in bnge_hwrm_req_drop() 228 bnge_hwrm_create_token(struct bnge_dev *bd, enum bnge_hwrm_chnl dst) in bnge_hwrm_create_token() [all …]
|
| H A D | bnge_core.c | 42 bool bnge_aux_registered(struct bnge_dev *bd) in bnge_aux_registered() 52 static void bnge_nvm_cfg_ver_get(struct bnge_dev *bd) in bnge_nvm_cfg_ver_get() 62 static int bnge_func_qcaps(struct bnge_dev *bd) in bnge_func_qcaps() 97 static void bnge_fw_unregister_dev(struct bnge_dev *bd) in bnge_fw_unregister_dev() 104 static void bnge_set_dflt_rss_hash_type(struct bnge_dev *bd) in bnge_set_dflt_rss_hash_type() 114 static int bnge_fw_register_dev(struct bnge_dev *bd) in bnge_fw_register_dev() 207 struct bnge_dev *bd = pci_get_drvdata(pdev); in bnge_unmap_bars() local 220 static void bnge_set_max_func_irqs(struct bnge_dev *bd, in bnge_set_max_func_irqs() 234 static int bnge_map_db_bar(struct bnge_dev *bd) in bnge_map_db_bar() 249 struct bnge_dev *bd; in bnge_probe_one() local [all …]
|
| H A D | bnge_auxr.c | 25 static void bnge_fill_msix_vecs(struct bnge_dev *bd, in bnge_fill_msix_vecs() 46 struct bnge_dev *bd = pci_get_drvdata(auxr_dev->pdev); in bnge_register_dev() local 79 struct bnge_dev *bd = pci_get_drvdata(auxr_dev->pdev); in bnge_unregister_dev() local 96 struct bnge_dev *bd = pci_get_drvdata(auxr_dev->pdev); in bnge_send_msg() local 126 void bnge_rdma_aux_device_uninit(struct bnge_dev *bd) in bnge_rdma_aux_device_uninit() 144 struct bnge_dev *bd = pci_get_drvdata(aux_priv->auxr_dev->pdev); in bnge_aux_dev_release() local 154 void bnge_rdma_aux_device_del(struct bnge_dev *bd) in bnge_rdma_aux_device_del() 163 struct bnge_dev *bd) in bnge_set_auxr_dev_info() 183 void bnge_rdma_aux_device_add(struct bnge_dev *bd) in bnge_rdma_aux_device_add() 202 void bnge_rdma_aux_device_init(struct bnge_dev *bd) in bnge_rdma_aux_device_init()
|
| H A D | bnge_netdev.c | 28 #define BNGE_RING_TO_TC_OFF(bd, tx) \ argument 31 #define BNGE_RING_TO_TC(bd, tx) \ argument 34 #define BNGE_TC_TO_RING_BASE(bd, tc) \ argument 40 struct bnge_dev *bd = bn->bd; in bnge_free_stats_mem() local 52 struct bnge_dev *bd = bn->bd; in bnge_alloc_stats_mem() local 64 struct bnge_dev *bd = bn->bd; in bnge_free_ring_stats() local 80 struct bnge_dev *bd = bn->bd; in bnge_alloc_ring_stats() local 164 struct bnge_dev *bd = bn->bd; in bnge_free_nq_arrays() local 176 struct bnge_dev *bd = bn->bd; in bnge_alloc_nq_arrays() local 195 struct bnge_dev *bd = bn->bd; in bnge_free_nq_tree() local [all …]
|
| H A D | bnge_rmem.c | 36 void bnge_free_ring(struct bnge_dev *bd, struct bnge_ring_mem_info *rmem) in bnge_free_ring() 69 int bnge_alloc_ring(struct bnge_dev *bd, struct bnge_ring_mem_info *rmem) in bnge_alloc_ring() 128 static int bnge_alloc_ctx_one_lvl(struct bnge_dev *bd, in bnge_alloc_ctx_one_lvl() 142 static int bnge_alloc_ctx_pg_tbls(struct bnge_dev *bd, in bnge_alloc_ctx_pg_tbls() 203 static void bnge_free_ctx_pg_tbls(struct bnge_dev *bd, in bnge_free_ctx_pg_tbls() 232 static int bnge_setup_ctxm_pg_tbls(struct bnge_dev *bd, in bnge_setup_ctxm_pg_tbls() 257 static int bnge_backing_store_cfg(struct bnge_dev *bd, u32 ena) in bnge_backing_store_cfg() 284 void bnge_free_ctx_mem(struct bnge_dev *bd) in bnge_free_ctx_mem() 320 int bnge_alloc_ctx_mem(struct bnge_dev *bd) in bnge_alloc_ctx_mem() 444 struct bnge_dev *bd = bn->bd; in bnge_init_ring_struct() local
|
| /linux/drivers/video/backlight/ |
| H A D | backlight.c | 81 void backlight_notify_blank(struct backlight_device *bd, struct device *display_dev, in backlight_notify_blank() 107 struct backlight_device *bd; in backlight_notify_blank_all() local 116 static void backlight_generate_event(struct backlight_device *bd, in backlight_generate_event() 140 struct backlight_device *bd = to_backlight_device(dev); in bl_power_show() local 149 struct backlight_device *bd = to_backlight_device(dev); in bl_power_store() local 181 struct backlight_device *bd = to_backlight_device(dev); in brightness_show() local 186 int backlight_device_set_brightness(struct backlight_device *bd, in backlight_device_set_brightness() 213 struct backlight_device *bd = to_backlight_device(dev); in brightness_store() local 229 struct backlight_device *bd = to_backlight_device(dev); in type_show() local 238 struct backlight_device *bd = to_backlight_device(dev); in max_brightness_show() local [all …]
|
| H A D | aat2870_bl.c | 20 struct backlight_device *bd; member 30 struct backlight_device *bd = aat2870_bl->bd; in aat2870_brightness() local 56 static int aat2870_bl_update_status(struct backlight_device *bd) in aat2870_bl_update_status() 101 struct backlight_device *bd; in aat2870_bl_probe() local 177 struct backlight_device *bd = aat2870_bl->bd; in aat2870_bl_remove() local
|
| H A D | apple_bl.c | 56 static int intel_chipset_send_intensity(struct backlight_device *bd) in intel_chipset_send_intensity() 67 static int intel_chipset_get_intensity(struct backlight_device *bd) in intel_chipset_get_intensity() 101 static int nvidia_chipset_send_intensity(struct backlight_device *bd) in nvidia_chipset_send_intensity() 112 static int nvidia_chipset_get_intensity(struct backlight_device *bd) in nvidia_chipset_get_intensity()
|
| H A D | kb3886_bl.c | 88 static int kb3886bl_send_intensity(struct backlight_device *bd) in kb3886bl_send_intensity() 104 struct backlight_device *bd = dev_get_drvdata(dev); in kb3886bl_suspend() local 113 struct backlight_device *bd = dev_get_drvdata(dev); in kb3886bl_resume() local 123 static int kb3886bl_get_intensity(struct backlight_device *bd) in kb3886bl_get_intensity()
|
| H A D | lm3533_bl.c | 28 struct backlight_device *bd; member 38 static int lm3533_bl_update_status(struct backlight_device *bd) in lm3533_bl_update_status() 45 static int lm3533_bl_get_brightness(struct backlight_device *bd) in lm3533_bl_get_brightness() 266 struct backlight_device *bd; in lm3533_bl_probe() local 342 struct backlight_device *bd = bl->bd; in lm3533_bl_remove() local
|
| H A D | ipaq_micro_bl.c | 15 static int micro_bl_update_status(struct backlight_device *bd) in micro_bl_update_status() 50 struct backlight_device *bd; in micro_backlight_probe() local
|
| /linux/sound/soc/codecs/ |
| H A D | bd28623.c | 47 static int bd28623_power_on(struct bd28623_priv *bd) in bd28623_power_on() argument 63 static void bd28623_power_off(struct bd28623_priv *bd) in bd28623_power_off() argument 75 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); bd28623_get_switch_spk() local 87 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); bd28623_set_switch_spk() local 106 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); bd28623_codec_probe() local 122 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); bd28623_codec_remove() local 129 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); bd28623_codec_suspend() local 138 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); bd28623_codec_resume() local 183 struct bd28623_priv *bd; bd28623_probe() local [all...] |
| /linux/block/ |
| H A D | bsg.c | 45 static unsigned int bsg_timeout(struct bsg_device *bd, struct sg_io_v4 *hdr) in bsg_timeout() 57 static int bsg_sg_io(struct bsg_device *bd, bool open_for_write, in bsg_sg_io() 87 static int bsg_get_command_q(struct bsg_device *bd, int __user *uarg) in bsg_get_command_q() 92 static int bsg_set_command_q(struct bsg_device *bd, int __user *uarg) in bsg_set_command_q() 106 struct bsg_device *bd = to_bsg_device(file_inode(file)); in bsg_ioctl() local 172 struct bsg_device *bd = container_of(dev, struct bsg_device, device); in bsg_device_release() local 178 void bsg_unregister_queue(struct bsg_device *bd) in bsg_unregister_queue() 192 struct bsg_device *bd; in bsg_register_queue() local
|
| /linux/drivers/net/wireless/ath/wcn36xx/ |
| H A D | txrx.c | 22 static inline int get_rssi0(struct wcn36xx_rx_bd *bd) in get_rssi0() 27 static inline int get_snr(struct wcn36xx_rx_bd *bd) in get_snr() 311 struct wcn36xx_rx_bd *bd; in wcn36xx_rx_skb() local 458 static void wcn36xx_set_tx_pdu(struct wcn36xx_tx_bd *bd, in wcn36xx_set_tx_pdu() 520 static void wcn36xx_set_tx_data(struct wcn36xx_tx_bd *bd, in wcn36xx_set_tx_data() 599 static void wcn36xx_set_tx_mgmt(struct wcn36xx_tx_bd *bd, in wcn36xx_set_tx_mgmt() 661 struct wcn36xx_tx_bd bd; in wcn36xx_start_tx() local
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_backlight.c | 64 nv40_get_intensity(struct backlight_device *bd) in nv40_get_intensity() 76 nv40_set_intensity(struct backlight_device *bd) in nv40_set_intensity() 117 nv50_edp_get_brightness(struct backlight_device *bd) in nv50_edp_get_brightness() 158 nv50_edp_set_brightness(struct backlight_device *bd) in nv50_edp_set_brightness() 205 nv50_get_intensity(struct backlight_device *bd) in nv50_get_intensity() 213 nv50_set_intensity(struct backlight_device *bd) in nv50_set_intensity()
|
| /linux/include/linux/fsl/bestcomm/ |
| H A D | bestcomm.h | 52 struct bcom_bd *bd; member 162 struct bcom_bd *bd; in bcom_buffer_done() local 179 struct bcom_bd *bd; in bcom_prepare_next_buffer() local 189 struct bcom_bd *bd = bcom_get_bd(tsk, tsk->index); in bcom_submit_next_buffer() local 203 struct bcom_bd *bd = bcom_get_bd(tsk, tsk->outdex); in bcom_retrieve_buffer() local
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | radeon_backlight.c | 46 static int radeon_bl_update_status(struct backlight_device *bd) in radeon_bl_update_status() 126 struct backlight_device *bd; in radeonfb_bl_init() local 196 struct backlight_device *bd = rinfo->info->bl_dev; in radeonfb_bl_exit() local
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | fsl_qe_udc.c | 284 struct qe_bd __iomem *bd; in qe_epbds_reset() local 354 struct qe_bd __iomem *bd; in qe_ep_bd_init() local 412 struct qe_bd __iomem *bd; in qe_ep_rxbd_update() local 727 struct qe_bd __iomem *bd, *nextbd; in recycle_rxbds() local 753 struct qe_bd __iomem *bd = ep->n_rxbd; in ep_recycle_rxbds() local 819 struct qe_bd __iomem *bd; in qe_ep0_rx() local 938 struct qe_bd __iomem *bd; in ep_rx_tasklet() local 1025 struct qe_bd __iomem *bd; in qe_ep_rx() local 1070 struct qe_bd __iomem *bd; in qe_ep_tx() local 1363 struct qe_bd __iomem *bd; in qe_ep0_txconf() local [all …]
|
| /linux/drivers/macintosh/ |
| H A D | via-pmu-backlight.c | 74 static int __pmu_backlight_update_status(struct backlight_device *bd) in __pmu_backlight_update_status() 97 static int pmu_backlight_update_status(struct backlight_device *bd) in pmu_backlight_update_status() 140 struct backlight_device *bd; in pmu_backlight_init() local
|
| /linux/drivers/mtd/nand/onenand/ |
| H A D | onenand_bbt.c | 56 static int create_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *bd, int chip) in create_bbt() 131 static inline int onenand_memory_bbt (struct mtd_info *mtd, struct nand_bbt_descr *bd) in onenand_memory_bbt() 181 static int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) in onenand_scan_bbt()
|
| /linux/fs/gfs2/ |
| H A D | lops.c | 44 struct gfs2_bufdata *bd; in gfs2_pin() local 66 static bool buffer_is_rgrp(const struct gfs2_bufdata *bd) in buffer_is_rgrp() 71 static void maybe_release_space(struct gfs2_bufdata *bd) in maybe_release_space() 105 struct gfs2_bufdata *bd = bh->b_private; in gfs2_unpin() local 725 struct gfs2_bufdata *bd; in buf_lo_after_commit() local 852 struct gfs2_bufdata *bd; in revoke_lo_before_commit() local 889 struct gfs2_bufdata *bd; in gfs2_drain_revokes() local 1071 struct gfs2_bufdata *bd; in databuf_lo_after_commit() local
|
| /linux/drivers/md/ |
| H A D | dm-bio-record.h | 33 static inline void dm_bio_record(struct dm_bio_details *bd, struct bio *bio) in dm_bio_record() 45 static inline void dm_bio_restore(struct dm_bio_details *bd, struct bio *bio) in dm_bio_restore()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nand_bbt.c | 414 static int scan_block_fast(struct nand_chip *this, struct nand_bbt_descr *bd, in scan_block_fast() 454 struct nand_bbt_descr *bd = this->badblock_pattern; in bbt_block_checkbad() local 491 struct nand_bbt_descr *bd, int chip) in create_bbt() 931 struct nand_bbt_descr *bd) in nand_memory_bbt() 950 struct nand_bbt_descr *bd) in check_create() 1190 static void verify_bbt_descr(struct nand_chip *this, struct nand_bbt_descr *bd) in verify_bbt_descr() 1243 static int nand_scan_bbt(struct nand_chip *this, struct nand_bbt_descr *bd) in nand_scan_bbt() 1373 struct nand_bbt_descr *bd; in nand_create_badblock_pattern() local
|