Lines Matching refs:filp
174 static ssize_t xgmac_reg_addr_read(struct file *filp, char __user *buffer, in xgmac_reg_addr_read() argument
177 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_read()
182 static ssize_t xgmac_reg_addr_write(struct file *filp, in xgmac_reg_addr_write() argument
186 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_write()
192 static ssize_t xgmac_reg_value_read(struct file *filp, char __user *buffer, in xgmac_reg_value_read() argument
195 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_read()
203 static ssize_t xgmac_reg_value_write(struct file *filp, in xgmac_reg_value_write() argument
207 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_write()
234 static ssize_t xpcs_mmd_read(struct file *filp, char __user *buffer, in xpcs_mmd_read() argument
237 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_read()
242 static ssize_t xpcs_mmd_write(struct file *filp, const char __user *buffer, in xpcs_mmd_write() argument
245 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_write()
251 static ssize_t xpcs_reg_addr_read(struct file *filp, char __user *buffer, in xpcs_reg_addr_read() argument
254 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_read()
259 static ssize_t xpcs_reg_addr_write(struct file *filp, const char __user *buffer, in xpcs_reg_addr_write() argument
262 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_write()
268 static ssize_t xpcs_reg_value_read(struct file *filp, char __user *buffer, in xpcs_reg_value_read() argument
271 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_read()
280 static ssize_t xpcs_reg_value_write(struct file *filp, in xpcs_reg_value_write() argument
284 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_write()
319 static ssize_t xprop_reg_addr_read(struct file *filp, char __user *buffer, in xprop_reg_addr_read() argument
322 struct xgbe_prv_data *pdata = filp->private_data; in xprop_reg_addr_read()
327 static ssize_t xprop_reg_addr_write(struct file *filp, in xprop_reg_addr_write() argument
331 struct xgbe_prv_data *pdata = filp->private_data; in xprop_reg_addr_write()
337 static ssize_t xprop_reg_value_read(struct file *filp, char __user *buffer, in xprop_reg_value_read() argument
340 struct xgbe_prv_data *pdata = filp->private_data; in xprop_reg_value_read()
348 static ssize_t xprop_reg_value_write(struct file *filp, in xprop_reg_value_write() argument
352 struct xgbe_prv_data *pdata = filp->private_data; in xprop_reg_value_write()
379 static ssize_t xi2c_reg_addr_read(struct file *filp, char __user *buffer, in xi2c_reg_addr_read() argument
382 struct xgbe_prv_data *pdata = filp->private_data; in xi2c_reg_addr_read()
387 static ssize_t xi2c_reg_addr_write(struct file *filp, in xi2c_reg_addr_write() argument
391 struct xgbe_prv_data *pdata = filp->private_data; in xi2c_reg_addr_write()
397 static ssize_t xi2c_reg_value_read(struct file *filp, char __user *buffer, in xi2c_reg_value_read() argument
400 struct xgbe_prv_data *pdata = filp->private_data; in xi2c_reg_value_read()
408 static ssize_t xi2c_reg_value_write(struct file *filp, in xi2c_reg_value_write() argument
412 struct xgbe_prv_data *pdata = filp->private_data; in xi2c_reg_value_write()