/drivers/video/backlight/ |
H A D | backlight.c | 54 if (bd->ops) 55 if (!bd->ops->check_fb || 56 bd->ops->check_fb(bd, evdata->info)) { 145 if (bd->ops) { 181 if (bd->ops) { 224 if (bd->ops && bd->ops->get_brightness) 225 rc = sprintf(buf, "%d\n", bd->ops->get_brightness(bd)); 242 if (bd->ops && bd->ops 317 backlight_device_register(const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) argument 495 devm_backlight_device_register(struct device *dev, const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) argument [all...] |
/drivers/video/fbdev/omap2/displays-new/ |
H A D | panel-dsi-cm.c | 118 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); 131 return in->ops.dsi->dcs_write(in, ddata->channel, &dcs_cmd, 1); 139 return in->ops.dsi->dcs_write(in, ddata->channel, buf, 2); 152 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, &cmd, 1); 214 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, buf, sizeof(buf)); 224 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, buf, sizeof(buf)); 228 in->ops.dsi->bta_sync(in, ddata->channel); 262 in->ops.dsi->disable(in, false, true); 287 r = in->ops.dsi->enable(in); 293 in->ops [all...] |
H A D | connector-analog-tv.c | 65 r = in->ops.atv->connect(in, dssdev); 82 in->ops.atv->disconnect(in, dssdev); 99 in->ops.atv->set_timings(in, &ddata->timings); 102 in->ops.atv->set_type(in, ddata->connector_type); 104 in->ops.atv->invert_vid_out_polarity(in, 108 r = in->ops.atv->enable(in); 127 in->ops.atv->disable(in); 141 in->ops.atv->set_timings(in, timings); 158 return in->ops.atv->check_timings(in, timings); 166 return in->ops [all...] |
/drivers/net/ethernet/intel/ixgbevf/ |
H A D | vf.c | 57 s32 status = hw->mac.ops.start_hw(hw); 59 hw->mac.ops.get_mac_addr(hw, hw->mac.addr); 80 hw->mac.ops.stop_adapter(hw); 89 while (!mbx->ops.check_for_rst(hw) && timeout) { 101 mbx->ops.write_posted(hw, msgbuf, 1); 108 ret_val = mbx->ops.read_posted(hw, msgbuf, IXGBE_VF_PERMADDR_MSG_LEN); 246 ret_val = mbx->ops.write_posted(hw, msgbuf, 3); 249 ret_val = mbx->ops.read_posted(hw, msgbuf, 3); 279 ret_val = mbx->ops.write_posted(hw, msgbuf, 3); 282 ret_val = mbx->ops [all...] |
/drivers/regulator/ |
H A D | db8500-prcmu.c | 218 .ops = &db8500_regulator_ops, 227 .ops = &db8500_regulator_ops, 236 .ops = &db8500_regulator_ops, 245 .ops = &db8500_regulator_ops, 254 .ops = &db8500_regulator_ops, 263 .ops = &db8500_regulator_ops, 275 .ops = &db8500_regulator_ops, 284 .ops = &db8500_regulator_ops, 293 .ops = &db8500_regulator_switch_ops, 303 .ops [all...] |
H A D | rk808-regulator.c | 126 .ops = &rk808_buck1_2_ops, 140 .ops = &rk808_buck1_2_ops, 154 .ops = &rk808_switch_ops, 164 .ops = &rk808_reg_ops, 178 .ops = &rk808_reg_ops, 192 .ops = &rk808_reg_ops, 206 .ops = &rk808_reg_ops, 220 .ops = &rk808_reg_ops, 234 .ops = &rk808_reg_ops, 248 .ops [all...] |
/drivers/video/adf/ |
H A D | adf.c | 93 dev->ops->state_free(dev, post->state); 138 dev->ops->post(dev, &post->config, post->state); 140 if (dev->ops->advance_timeline) 141 dev->ops->advance_timeline(dev, &post->config, 195 * ADF will call the object's set_event() op if needed. ops are allowed 222 obj->ops->set_event(obj, type, true); 238 * ADF will call the object's set_event() op if needed. ops are allowed 269 obj->ops->set_event(obj, type, false); 460 const struct adf_obj_ops *ops, const char *fmt, va_list args) 464 if (ops 458 adf_obj_init(struct adf_obj *obj, enum adf_obj_type type, struct idr *idr, struct adf_device *parent, const struct adf_obj_ops *ops, const char *fmt, va_list args) argument 520 adf_device_init(struct adf_device *dev, struct device *parent, const struct adf_device_ops *ops, const char *fmt, ...) argument 645 adf_interface_init(struct adf_interface *intf, struct adf_device *dev, enum adf_interface_type type, u32 idx, u32 flags, const struct adf_interface_ops *ops, const char *fmt, ...) argument 735 adf_overlay_engine_has_custom_formats( const struct adf_overlay_engine_ops *ops) argument 762 adf_overlay_engine_init(struct adf_overlay_engine *eng, struct adf_device *dev, const struct adf_overlay_engine_ops *ops, const char *fmt, ...) argument [all...] |
/drivers/mtd/tests/ |
H A D | nandbiterrs.c | 115 struct mtd_oob_ops ops; local 120 ops.mode = MTD_OPS_RAW; /* No ECC */ 121 ops.len = mtd->writesize; 122 ops.retlen = 0; 123 ops.ooblen = 0; 124 ops.oobretlen = 0; 125 ops.ooboffs = 0; 126 ops.datbuf = wbuffer; 127 ops.oobbuf = NULL; 129 err = mtd_write_oob(mtd, offset, &ops); [all...] |
H A D | readtest.c | 62 struct mtd_oob_ops ops; local 64 ops.mode = MTD_OPS_PLACE_OOB; 65 ops.len = 0; 66 ops.retlen = 0; 67 ops.ooblen = mtd->oobsize; 68 ops.oobretlen = 0; 69 ops.ooboffs = 0; 70 ops.datbuf = NULL; 71 ops.oobbuf = oobbuf; 72 ret = mtd_read_oob(mtd, addr, &ops); [all...] |
/drivers/media/dvb-frontends/ |
H A D | dvb_dummy_fe.c | 81 if (fe->ops.tuner_ops.set_params) { 82 fe->ops.tuner_ops.set_params(fe); 83 if (fe->ops.i2c_gate_ctrl) 84 fe->ops.i2c_gate_ctrl(fe, 0); 128 memcpy(&state->frontend.ops, &dvb_dummy_fe_ofdm_ops, sizeof(struct dvb_frontend_ops)); 145 memcpy(&state->frontend.ops, &dvb_dummy_fe_qpsk_ops, sizeof(struct dvb_frontend_ops)); 162 memcpy(&state->frontend.ops, &dvb_dummy_fe_qam_ops, sizeof(struct dvb_frontend_ops));
|
/drivers/media/pci/mantis/ |
H A D | mantis_vp2033.c | 91 if (fe->ops.i2c_gate_ctrl) 92 fe->ops.i2c_gate_ctrl(fe, 1); 101 if (fe->ops.i2c_gate_ctrl) 102 fe->ops.i2c_gate_ctrl(fe, 1); 115 if (fe->ops.i2c_gate_ctrl) 116 fe->ops.i2c_gate_ctrl(fe, 1); 157 fe->ops.tuner_ops.set_params = tda1002x_cu1216_tuner_set;
|
H A D | mantis_vp2040.c | 73 if (fe->ops.i2c_gate_ctrl) 74 fe->ops.i2c_gate_ctrl(fe, 1); 83 if (fe->ops.i2c_gate_ctrl) 84 fe->ops.i2c_gate_ctrl(fe, 1); 97 if (fe->ops.i2c_gate_ctrl) 98 fe->ops.i2c_gate_ctrl(fe, 1); 157 fe->ops.tuner_ops.set_params = tda1002x_cu1216_tuner_set;
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00pci.c | 58 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); 62 rt2x00dev->rf = kzalloc(rt2x00dev->ops->rf_size, GFP_KERNEL); 76 int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops) argument 106 hw = ieee80211_alloc_hw(sizeof(struct rt2x00_dev), ops->hw); 117 rt2x00dev->ops = ops; 120 rt2x00dev->name = ops->name;
|
/drivers/media/tuners/ |
H A D | fc0012.c | 113 if (fe->ops.i2c_gate_ctrl) 114 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ 122 if (fe->ops.i2c_gate_ctrl) 123 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ 271 if (fe->ops.i2c_gate_ctrl) 272 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ 323 if (fe->ops.i2c_gate_ctrl) 324 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ 371 if (fe->ops.i2c_gate_ctrl) 372 fe->ops [all...] |
H A D | tda8290.c | 237 if (fe->ops.analog_ops.i2c_gate_ctrl) 238 fe->ops.analog_ops.i2c_gate_ctrl(fe, 1); 240 if (fe->ops.tuner_ops.set_analog_params) 241 fe->ops.tuner_ops.set_analog_params(fe, params); 307 if (fe->ops.analog_ops.i2c_gate_ctrl) 308 fe->ops.analog_ops.i2c_gate_ctrl(fe, 0); 431 if (fe->ops.analog_ops.i2c_gate_ctrl) 432 fe->ops.analog_ops.i2c_gate_ctrl(fe, 1); 434 if (fe->ops.tuner_ops.set_analog_params) 435 fe->ops [all...] |
/drivers/usb/musb/ |
H A D | musb_core.h | 295 const struct musb_platform_ops *ops; member in struct:musb 527 if (musb->ops->set_vbus) 528 musb->ops->set_vbus(musb, is_on); 533 if (musb->ops->enable) 534 musb->ops->enable(musb); 539 if (musb->ops->disable) 540 musb->ops->disable(musb); 545 if (!musb->ops->set_mode) 548 return musb->ops->set_mode(musb, mode); 554 if (musb->ops [all...] |
/drivers/hid/ |
H A D | hid-wiimote-core.c | 620 const struct wiimod_ops *ops; local 647 ops = wiimod_table[*iter]; 648 if (!ops->probe) 651 ret = ops->probe(ops, wdata); 669 ops = wiimod_table[*iter]; 670 if (ops->remove) 671 ops->remove(ops, wdata); 683 const struct wiimod_ops *ops; local 718 const struct wiimod_ops *ops; local 737 const struct wiimod_ops *ops; local 753 const struct wiimod_ops *ops; local 772 const struct wiimod_ops *ops; local 1241 const struct wiimod_ops *ops; local 1262 const struct wiimod_ops *ops; local 1280 valid_ext_handler(const struct wiimod_ops *ops, size_t len) argument 1302 const struct wiimod_ops *ops; local 1384 const struct wiimod_ops *ops; local [all...] |
/drivers/pinctrl/ |
H A D | pinmux.c | 35 const struct pinmux_ops *ops = pctldev->desc->pmxops; local 40 if (!ops || 41 !ops->get_functions_count || 42 !ops->get_function_name || 43 !ops->get_function_groups || 44 !ops->set_mux) { 45 dev_err(pctldev->dev, "pinmux ops lacks necessary functions\n"); 49 nfuncs = ops->get_functions_count(pctldev); 51 const char *fname = ops->get_function_name(pctldev, 54 dev_err(pctldev->dev, "pinmux ops ha 88 const struct pinmux_ops *ops = pctldev->desc->pmxops; local 185 const struct pinmux_ops *ops = pctldev->desc->pmxops; local 281 const struct pinmux_ops *ops; local 297 const struct pinmux_ops *ops = pctldev->desc->pmxops; local 393 const struct pinmux_ops *ops = pctldev->desc->pmxops; local [all...] |
H A D | pinconf.c | 29 const struct pinconf_ops *ops = pctldev->desc->confops; local 32 if (!ops->pin_config_set && !ops->pin_config_group_set) { 61 const struct pinconf_ops *ops = pctldev->desc->confops; local 63 if (!ops || !ops->pin_config_get) { 69 return ops->pin_config_get(pctldev, pin, config); 76 const struct pinconf_ops *ops; local 87 ops = pctldev->desc->confops; 89 if (!ops || !op 154 const struct pinconf_ops *ops = pctldev->desc->confops; local 288 const struct pinconf_ops *ops = pctldev->desc->confops; local 333 const struct pinconf_ops *ops = pctldev->desc->confops; local [all...] |
/drivers/media/platform/vivid/ |
H A D | vivid-ctrls.c | 129 .ops = &vivid_user_gen_ctrl_ops, 136 .ops = &vivid_user_gen_ctrl_ops, 147 .ops = &vivid_user_gen_ctrl_ops, 157 .ops = &vivid_user_gen_ctrl_ops, 177 .ops = &vivid_user_gen_ctrl_ops, 189 .ops = &vivid_user_gen_ctrl_ops, 199 .ops = &vivid_user_gen_ctrl_ops, 214 .ops = &vivid_user_gen_ctrl_ops, 226 .ops = &vivid_user_gen_ctrl_ops, 233 .ops [all...] |
/drivers/tty/hvc/ |
H A D | hvc_console.c | 272 int hvc_instantiate(uint32_t vtermno, int index, const struct hv_ops *ops) argument 290 cons_ops[index] = ops; 354 if (hp->ops->notifier_add) 355 rc = hp->ops->notifier_add(hp, hp->data); 371 if (hp->ops->dtr_rts) 372 hp->ops->dtr_rts(hp, 1); 406 if (hp->ops->dtr_rts) 407 hp->ops->dtr_rts(hp, 0); 409 if (hp->ops->notifier_del) 410 hp->ops 857 hvc_alloc(uint32_t vtermno, int data, const struct hv_ops *ops, int outbuf_size) argument [all...] |
/drivers/clk/sirf/ |
H A D | clk-common.c | 197 .ops = &std_pll_ops, 204 .ops = &std_pll_ops, 211 .ops = &std_pll_ops, 274 .ops = &usb_pll_ops, 448 .ops = &msi_ops, 462 .ops = &msi_ops, 477 .ops = &msi_ops, 499 .ops = &cpu_ops, 527 .ops = &dmn_ops, 542 .ops [all...] |
/drivers/crypto/qce/ |
H A D | core.c | 38 const struct qce_algo_ops *ops; local 42 ops = qce_ops[i]; 43 ops->unregister_algs(qce); 49 const struct qce_algo_ops *ops; local 53 ops = qce_ops[i]; 54 ret = ops->register_algs(qce); 65 const struct qce_algo_ops *ops; local 69 ops = qce_ops[i]; 70 if (type != ops->type) 72 ret = ops [all...] |
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_connector.c | 48 if (display->ops->get_edid) { 49 edid = display->ops->get_edid(display, connector); 72 if (display->ops->get_panel) 73 panel = display->ops->get_panel(display); 107 if (display->ops->check_mode) 108 if (!display->ops->check_mode(display, mode)) 144 if (display->ops->get_max_resol) 145 display->ops->get_max_resol(display, &width, &height); 160 if (display->ops->is_connected) { 161 if (display->ops [all...] |
/drivers/hwspinlock/ |
H A D | hwspinlock_core.c | 120 ret = hwlock->bank->ops->trylock(hwlock); 202 if (hwlock->bank->ops->relax) 203 hwlock->bank->ops->relax(hwlock); 248 hwlock->bank->ops->unlock(hwlock); 314 * @ops: hwspinlock handlers for this device 326 const struct hwspinlock_ops *ops, int base_id, int num_locks) 331 if (!bank || !ops || !dev || !num_locks || !ops->trylock || 332 !ops->unlock) { 338 bank->ops 325 hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev, const struct hwspinlock_ops *ops, int base_id, int num_locks) argument [all...] |