/drivers/net/wireless/ti/wlcore/ |
D | hw_ops.h | 31 if (!wl->ops->calc_tx_blocks) in wlcore_hw_calc_tx_blocks() 34 return wl->ops->calc_tx_blocks(wl, len, spare_blks); in wlcore_hw_calc_tx_blocks() 41 if (!wl->ops->set_tx_desc_blocks) in wlcore_hw_set_tx_desc_blocks() 44 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); in wlcore_hw_set_tx_desc_blocks() 52 if (!wl->ops->set_tx_desc_data_len) in wlcore_hw_set_tx_desc_data_len() 55 wl->ops->set_tx_desc_data_len(wl, desc, skb); in wlcore_hw_set_tx_desc_data_len() 62 if (!wl->ops->get_rx_buf_align) in wlcore_hw_get_rx_buf_align() 65 return wl->ops->get_rx_buf_align(wl, rx_desc); in wlcore_hw_get_rx_buf_align() 71 if (wl->ops->prepare_read) in wlcore_hw_prepare_read() 72 return wl->ops->prepare_read(wl, rx_desc, len); in wlcore_hw_prepare_read() [all …]
|
/drivers/mtd/tests/ |
D | oobtest.c | 71 struct mtd_oob_ops ops; in write_eraseblock() local 77 ops.mode = MTD_OPS_AUTO_OOB; in write_eraseblock() 78 ops.len = 0; in write_eraseblock() 79 ops.retlen = 0; in write_eraseblock() 80 ops.ooblen = use_len; in write_eraseblock() 81 ops.oobretlen = 0; in write_eraseblock() 82 ops.ooboffs = use_offset; in write_eraseblock() 83 ops.datbuf = NULL; in write_eraseblock() 84 ops.oobbuf = writebuf + (use_len_max * i) + use_offset; in write_eraseblock() 85 err = mtd_write_oob(mtd, addr, &ops); in write_eraseblock() [all …]
|
/drivers/mfd/ |
D | abx500-core.c | 19 struct abx500_ops ops; member 23 static void lookup_ops(struct device *dev, struct abx500_ops **ops) in lookup_ops() argument 27 *ops = NULL; in lookup_ops() 30 *ops = &dev_entry->ops; in lookup_ops() 36 int abx500_register_ops(struct device *dev, struct abx500_ops *ops) in abx500_register_ops() argument 48 memcpy(&dev_entry->ops, ops, sizeof(struct abx500_ops)); in abx500_register_ops() 68 struct abx500_ops *ops; in abx500_set_register_interruptible() local 70 lookup_ops(dev->parent, &ops); in abx500_set_register_interruptible() 71 if ((ops != NULL) && (ops->set_register != NULL)) in abx500_set_register_interruptible() 72 return ops->set_register(dev, bank, reg, value); in abx500_set_register_interruptible() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 505 #define SET_VALID_IOCTL(ops, cmd, op) \ argument 506 if (ops->op) \ 525 const struct v4l2_ioctl_ops *ops = vdev->ioctl_ops; in determine_valid_ioctls() local 538 SET_VALID_IOCTL(ops, VIDIOC_QUERYCAP, vidioc_querycap); in determine_valid_ioctls() 546 if (vdev->ctrl_handler || ops->vidioc_queryctrl) in determine_valid_ioctls() 548 if (vdev->ctrl_handler || ops->vidioc_query_ext_ctrl) in determine_valid_ioctls() 550 if (vdev->ctrl_handler || ops->vidioc_g_ctrl || ops->vidioc_g_ext_ctrls) in determine_valid_ioctls() 552 if (vdev->ctrl_handler || ops->vidioc_s_ctrl || ops->vidioc_s_ext_ctrls) in determine_valid_ioctls() 554 if (vdev->ctrl_handler || ops->vidioc_g_ext_ctrls) in determine_valid_ioctls() 556 if (vdev->ctrl_handler || ops->vidioc_s_ext_ctrls) in determine_valid_ioctls() [all …]
|
D | v4l2-ioctl.c | 898 const struct v4l2_ioctl_ops *ops = vfd->ioctl_ops; in check_fmt() local 906 if (ops == NULL) in check_fmt() 912 (ops->vidioc_g_fmt_vid_cap || ops->vidioc_g_fmt_vid_cap_mplane)) in check_fmt() 916 if (is_vid && is_rx && ops->vidioc_g_fmt_vid_cap_mplane) in check_fmt() 920 if (is_vid && is_rx && ops->vidioc_g_fmt_vid_overlay) in check_fmt() 925 (ops->vidioc_g_fmt_vid_out || ops->vidioc_g_fmt_vid_out_mplane)) in check_fmt() 929 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_mplane) in check_fmt() 933 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_overlay) in check_fmt() 937 if (is_vbi && is_rx && ops->vidioc_g_fmt_vbi_cap) in check_fmt() 941 if (is_vbi && is_tx && ops->vidioc_g_fmt_vbi_out) in check_fmt() [all …]
|
/drivers/base/ |
D | syscore.c | 23 void register_syscore_ops(struct syscore_ops *ops) in register_syscore_ops() argument 26 list_add_tail(&ops->node, &syscore_ops_list); in register_syscore_ops() 35 void unregister_syscore_ops(struct syscore_ops *ops) in unregister_syscore_ops() argument 38 list_del(&ops->node); in unregister_syscore_ops() 51 struct syscore_ops *ops; in syscore_suspend() local 64 list_for_each_entry_reverse(ops, &syscore_ops_list, node) in syscore_suspend() 65 if (ops->suspend) { in syscore_suspend() 67 pr_info("PM: Calling %pF\n", ops->suspend); in syscore_suspend() 68 ret = ops->suspend(); in syscore_suspend() 72 "Interrupts enabled after %pF\n", ops->suspend); in syscore_suspend() [all …]
|
/drivers/media/platform/qcom/venus/ |
D | hfi.c | 68 ret = core->ops->core_init(core); in hfi_core_init() 120 ret = core->ops->core_deinit(core); in hfi_core_deinit() 135 return core->ops->suspend(core); in hfi_core_suspend() 143 return core->ops->resume(core); in hfi_core_resume() 148 return core->ops->core_trigger_ssr(core, type); in hfi_core_trigger_ssr() 157 ret = core->ops->core_ping(core, 0xbeef); in hfi_core_ping() 188 int hfi_session_create(struct venus_inst *inst, const struct hfi_inst_ops *ops) in hfi_session_create() argument 192 if (!ops) in hfi_session_create() 197 inst->ops = ops; in hfi_session_create() 211 const struct hfi_ops *ops = core->ops; in hfi_session_init() local [all …]
|
/drivers/video/fbdev/core/ |
D | fbcon_ccw.c | 66 struct fbcon_ops *ops = info->fbcon_par; in ccw_bmove() local 68 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_bmove() 83 struct fbcon_ops *ops = info->fbcon_par; in ccw_clear() local 86 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_clear() 103 struct fbcon_ops *ops = info->fbcon_par; in ccw_putcs_aligned() local 109 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; in ccw_putcs_aligned() 134 struct fbcon_ops *ops = info->fbcon_par; in ccw_putcs() local 143 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_putcs() 145 if (!ops->fontbuffer) in ccw_putcs() 225 struct fbcon_ops *ops = info->fbcon_par; in ccw_cursor() local [all …]
|
D | fbcon_cw.c | 51 struct fbcon_ops *ops = info->fbcon_par; in cw_bmove() local 53 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_bmove() 68 struct fbcon_ops *ops = info->fbcon_par; in cw_clear() local 71 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_clear() 88 struct fbcon_ops *ops = info->fbcon_par; in cw_putcs_aligned() local 94 src = ops->fontbuffer + (scr_readw(s++) & charmask)*cellsize; in cw_putcs_aligned() 119 struct fbcon_ops *ops = info->fbcon_par; in cw_putcs() local 128 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_putcs() 130 if (!ops->fontbuffer) in cw_putcs() 208 struct fbcon_ops *ops = info->fbcon_par; in cw_cursor() local [all …]
|
D | fbcon_ud.c | 51 struct fbcon_ops *ops = info->fbcon_par; in ud_bmove() local 53 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ud_bmove() 54 u32 vxres = GETVXRES(ops->p->scrollmode, info); in ud_bmove() 69 struct fbcon_ops *ops = info->fbcon_par; in ud_clear() local 72 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ud_clear() 73 u32 vxres = GETVXRES(ops->p->scrollmode, info); in ud_clear() 90 struct fbcon_ops *ops = info->fbcon_par; in ud_putcs_aligned() local 96 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; in ud_putcs_aligned() 123 struct fbcon_ops *ops = info->fbcon_par; in ud_putcs_unaligned() local 131 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; in ud_putcs_unaligned() [all …]
|
D | fbcon_rotate.c | 23 struct fbcon_ops *ops = info->fbcon_par; in fbcon_rotate_font() local 29 if (vc->vc_font.data == ops->fontdata && in fbcon_rotate_font() 30 ops->p->con_rotate == ops->cur_rotate) in fbcon_rotate_font() 33 src = ops->fontdata = vc->vc_font.data; in fbcon_rotate_font() 34 ops->cur_rotate = ops->p->con_rotate; in fbcon_rotate_font() 35 len = (!ops->p->userfont) ? 256 : FNTCHARCNT(src); in fbcon_rotate_font() 40 if (ops->rotate == FB_ROTATE_CW || in fbcon_rotate_font() 41 ops->rotate == FB_ROTATE_CCW) in fbcon_rotate_font() 48 if (ops->fd_size < d_cellsize * len) { in fbcon_rotate_font() 56 ops->fd_size = d_cellsize * len; in fbcon_rotate_font() [all …]
|
D | bitblit.c | 240 struct fbcon_ops *ops = info->fbcon_par; in bit_cursor() local 243 int y = real_y(ops->p, vc->vc_y); in bit_cursor() 253 ops->cursor_flash = 0; in bit_cursor() 263 if (ops->cursor_state.image.data != src || in bit_cursor() 264 ops->cursor_reset) { in bit_cursor() 265 ops->cursor_state.image.data = src; in bit_cursor() 275 kfree(ops->cursor_data); in bit_cursor() 276 ops->cursor_data = dst; in bit_cursor() 281 if (ops->cursor_state.image.fg_color != fg || in bit_cursor() 282 ops->cursor_state.image.bg_color != bg || in bit_cursor() [all …]
|
/drivers/misc/c2port/ |
D | core.c | 66 struct c2port_ops *ops = dev->ops; in c2port_reset() local 72 ops->c2ck_set(dev, 0); in c2port_reset() 74 ops->c2ck_set(dev, 1); in c2port_reset() 82 struct c2port_ops *ops = dev->ops; in c2port_strobe_ck() local 90 ops->c2ck_set(dev, 0); in c2port_strobe_ck() 92 ops->c2ck_set(dev, 1); in c2port_strobe_ck() 104 struct c2port_ops *ops = dev->ops; in c2port_write_ar() local 111 ops->c2d_dir(dev, 0); in c2port_write_ar() 112 ops->c2d_set(dev, 1); in c2port_write_ar() 114 ops->c2d_set(dev, 1); in c2port_write_ar() [all …]
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 82 phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, 0); in igb_get_phy_id() 84 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igb_get_phy_id() 90 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igb_get_phy_id() 111 if (!(hw->phy.ops.write_reg)) in igb_phy_reset_dsp() 114 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0xC1); in igb_phy_reset_dsp() 118 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0); in igb_phy_reset_dsp() 404 if (!(hw->phy.ops.acquire)) in igb_read_phy_reg_igp() 407 ret_val = hw->phy.ops.acquire(hw); in igb_read_phy_reg_igp() 416 hw->phy.ops.release(hw); in igb_read_phy_reg_igp() 424 hw->phy.ops.release(hw); in igb_read_phy_reg_igp() [all …]
|
/drivers/net/wireless/ath/ath10k/ |
D | wmi-ops.h | 207 if (WARN_ON_ONCE(!ar->wmi.ops->rx)) in ath10k_wmi_rx() 210 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx() 218 if (!ar->wmi.ops->map_svc) in ath10k_wmi_map_svc() 221 ar->wmi.ops->map_svc(in, out, len); in ath10k_wmi_map_svc() 229 if (!ar->wmi.ops->pull_scan) in ath10k_wmi_pull_scan() 232 return ar->wmi.ops->pull_scan(ar, skb, arg); in ath10k_wmi_pull_scan() 239 if (!ar->wmi.ops->pull_mgmt_rx) in ath10k_wmi_pull_mgmt_rx() 242 return ar->wmi.ops->pull_mgmt_rx(ar, skb, arg); in ath10k_wmi_pull_mgmt_rx() 249 if (!ar->wmi.ops->pull_ch_info) in ath10k_wmi_pull_ch_info() 252 return ar->wmi.ops->pull_ch_info(ar, skb, arg); in ath10k_wmi_pull_ch_info() [all …]
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.h | 40 const struct qlcnic_dcb_ops *ops; member 52 if (dcb && dcb->ops->get_hw_capability) in qlcnic_dcb_get_hw_capability() 53 return dcb->ops->get_hw_capability(dcb); in qlcnic_dcb_get_hw_capability() 60 if (dcb && dcb->ops->free) in qlcnic_dcb_free() 61 dcb->ops->free(dcb); in qlcnic_dcb_free() 66 if (dcb && dcb->ops->attach) in qlcnic_dcb_attach() 67 return dcb->ops->attach(dcb); in qlcnic_dcb_attach() 75 if (dcb && dcb->ops->query_hw_capability) in qlcnic_dcb_query_hw_capability() 76 return dcb->ops->query_hw_capability(dcb, buf); in qlcnic_dcb_query_hw_capability() 83 if (dcb && dcb->ops->get_info) in qlcnic_dcb_get_info() [all …]
|
/drivers/clk/qcom/ |
D | gcc-apq8084.c | 123 .ops = &clk_pll_ops, 134 .ops = &clk_pll_vote_ops, 146 .ops = &clk_rcg2_ops, 158 .ops = &clk_rcg2_ops, 170 .ops = &clk_rcg2_ops, 186 .ops = &clk_pll_ops, 197 .ops = &clk_pll_vote_ops, 213 .ops = &clk_pll_ops, 224 .ops = &clk_pll_vote_ops, 245 .ops = &clk_rcg2_ops, [all …]
|
D | gcc-msm8996.c | 188 .ops = &clk_fixed_factor_ops, 201 .ops = &clk_alpha_pll_ops, 213 .ops = &clk_fixed_factor_ops, 223 .ops = &clk_alpha_pll_postdiv_ops, 236 .ops = &clk_alpha_pll_ops, 247 .ops = &clk_alpha_pll_postdiv_ops, 270 .ops = &clk_rcg2_ops, 290 .ops = &clk_rcg2_ops, 312 .ops = &clk_rcg2_ops, 333 .ops = &clk_rcg2_ops, [all …]
|
D | gcc-msm8974.c | 79 .ops = &clk_pll_ops, 90 .ops = &clk_pll_vote_ops, 102 .ops = &clk_rcg2_ops, 114 .ops = &clk_rcg2_ops, 126 .ops = &clk_rcg2_ops, 142 .ops = &clk_pll_ops, 153 .ops = &clk_pll_vote_ops, 169 .ops = &clk_pll_ops, 180 .ops = &clk_pll_vote_ops, 199 .ops = &clk_rcg2_ops, [all …]
|
D | gcc-msm8994.c | 70 .ops = &clk_fixed_factor_ops, 84 .ops = &clk_alpha_pll_ops, 96 .ops = &clk_alpha_pll_postdiv_ops, 110 .ops = &clk_alpha_pll_ops, 122 .ops = &clk_alpha_pll_postdiv_ops, 147 .ops = &clk_rcg2_ops, 168 .ops = &clk_rcg2_ops, 188 .ops = &clk_rcg2_ops, 216 .ops = &clk_rcg2_ops, 230 .ops = &clk_rcg2_ops, [all …]
|
D | mmcc-msm8974.c | 201 .ops = &clk_pll_ops, 212 .ops = &clk_pll_vote_ops, 228 .ops = &clk_pll_ops, 239 .ops = &clk_pll_vote_ops, 254 .ops = &clk_pll_ops, 270 .ops = &clk_pll_ops, 282 .ops = &clk_rcg2_ops, 307 .ops = &clk_rcg2_ops, 331 .ops = &clk_rcg2_ops, 350 .ops = &clk_rcg2_ops, [all …]
|
D | mmcc-apq8084.c | 236 .ops = &clk_pll_ops, 247 .ops = &clk_pll_vote_ops, 263 .ops = &clk_pll_ops, 274 .ops = &clk_pll_vote_ops, 289 .ops = &clk_pll_ops, 305 .ops = &clk_pll_ops, 320 .ops = &clk_pll_ops, 332 .ops = &clk_rcg2_ops, 357 .ops = &clk_rcg2_ops, 381 .ops = &clk_rcg2_ops, [all …]
|
D | mmcc-msm8996.c | 247 .ops = &clk_fixed_factor_ops, 279 .ops = &clk_alpha_pll_ops, 291 .ops = &clk_alpha_pll_postdiv_ops, 307 .ops = &clk_alpha_pll_ops, 319 .ops = &clk_alpha_pll_postdiv_ops, 332 .ops = &clk_alpha_pll_ops, 343 .ops = &clk_alpha_pll_postdiv_ops, 356 .ops = &clk_alpha_pll_ops, 367 .ops = &clk_alpha_pll_postdiv_ops, 380 .ops = &clk_alpha_pll_ops, [all …]
|
/drivers/net/phy/ |
D | sfp-bus.c | 267 const struct sfp_upstream_ops *ops = bus->upstream_ops; in sfp_register_bus() local 270 if (ops) { in sfp_register_bus() 271 if (ops->link_down) in sfp_register_bus() 272 ops->link_down(bus->upstream); in sfp_register_bus() 273 if (ops->connect_phy && bus->phydev) { in sfp_register_bus() 274 ret = ops->connect_phy(bus->upstream, bus->phydev); in sfp_register_bus() 288 const struct sfp_upstream_ops *ops = bus->upstream_ops; in sfp_unregister_bus() local 294 if (bus->phydev && ops && ops->disconnect_phy) in sfp_unregister_bus() 295 ops->disconnect_phy(bus->upstream); in sfp_unregister_bus() 336 const struct sfp_upstream_ops *ops) in sfp_register_upstream() argument [all …]
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 58 if (h->dev && h->dev->ops && h->dev->ops->get_status) in hns_nic_get_link() 59 link_stat = link_stat && h->dev->ops->get_status(h); in hns_nic_get_link() 133 if (!h->dev || !h->dev->ops || !h->dev->ops->get_info) in hns_nic_get_link_ksettings() 136 ret = h->dev->ops->get_info(h, NULL, &speed, &duplex); in hns_nic_get_link_ksettings() 216 !priv->ae_handle->dev->ops) in hns_nic_set_link_ksettings() 245 if (h->dev->ops->adjust_link) { in hns_nic_set_link_ksettings() 247 h->dev->ops->adjust_link(h, (int)speed, cmd->base.duplex); in hns_nic_set_link_ksettings() 299 ret = h->dev->ops->set_loopback(h, loop, 0x1); in __lb_setup() 302 if ((h->dev->ops->set_loopback) && in __lb_setup() 304 ret = h->dev->ops->set_loopback(h, loop, 0x1); in __lb_setup() [all …]
|